From 6694e058c4aaba38ff31f19fc811af9f563decf2 Mon Sep 17 00:00:00 2001 From: Michael Benfield Date: Mon, 21 Oct 2024 11:51:10 -0700 Subject: [PATCH 1/2] Switch to TOML for tests instead of YAML. --- Cargo.lock | 34 +- Cargo.toml | 6 +- compiler/compiler/Cargo.toml | 4 +- compiler/compiler/tests/compile.rs | 4 +- compiler/compiler/tests/execute.rs | 29 +- compiler/compiler/tests/utilities/mod.rs | 6 +- compiler/parser/Cargo.toml | 4 +- compiler/parser/src/test.rs | 18 +- tests/README.md | 18 +- .../expectations/compiler/address/binary.out | 21 +- .../expectations/compiler/address/branch.out | 21 +- tests/expectations/compiler/address/equal.out | 21 +- .../expectations/compiler/address/gt_fail.out | 21 +- .../compiler/address/gte_fail.out | 21 +- .../expectations/compiler/address/lt_fail.out | 21 +- .../compiler/address/lte_fail.out | 21 +- .../compiler/address/special_address.out | 21 +- .../expectations/compiler/address/ternary.out | 21 +- .../array/access_array_with_loop_counter.out | 21 +- .../compiler/array/array_access.out | 21 +- .../array/array_in_composite_data_types.out | 21 +- .../compiler/array/array_in_finalize.out | 21 +- .../array/array_in_function_signature.out | 21 +- .../compiler/array/array_in_mapping.out | 21 +- .../compiler/array/array_initialization.out | 21 +- .../array/array_initialization_fail.out | 19 +- .../compiler/array/array_of_records.out | 14 +- .../compiler/array/array_of_structs.out | 21 +- .../compiler/array/array_size_limits.out | 21 +- .../compiler/array/array_too_large_fail.out | 14 +- .../compiler/array/array_too_small_fail.out | 14 +- .../array/array_variable_access_fail.out | 14 +- .../compiler/array/array_with_units_fail.out | 26 +- .../compiler/array/array_write_fail.out | 19 +- .../compiler/array/nested_array_sum_fail.out | 19 +- .../compiler/assert/early_return.out | 21 +- tests/expectations/compiler/boolean/and.out | 21 +- .../compiler/boolean/conditional.out | 21 +- tests/expectations/compiler/boolean/equal.out | 21 +- .../compiler/boolean/not_equal.out | 21 +- .../compiler/boolean/operator_methods.out | 21 +- tests/expectations/compiler/boolean/or.out | 21 +- .../compiler/bugs/unknown_variable_fail.out | 63 +- .../expectations/compiler/console/assert.out | 21 +- .../compiler/console/assert_fail.out | 13 +- .../compiler/console/conditional_assert.out | 21 +- .../constants/const_tuple_declaration.out | 21 +- .../constants/const_type_error_fail.out | 36 +- .../compiler/constants/constant_finalize.out | 21 +- .../constants/constant_loop_bound.out | 21 +- ...constant_loop_bound_type_mismatch_fail.out | 14 +- .../decreasing_constant_loop_bound_fail.out | 14 +- .../global_shadowing_constant_fail.out | 14 +- .../constants/local_shadowing_fail.out | 14 +- .../compiler/constants/loop_unrolling.out | 21 +- .../compiler/constants/reassignment_fail.out | 14 +- .../constants/tuple_definition_fail.out | 13 +- .../compiler/constants/tuple_shadow_fail.out | 13 +- .../unroll_loop_with_tuple_definition.out | 21 +- .../algorithms/bhp1024_commit_to_address.out | 21 +- .../algorithms/bhp1024_commit_to_field.out | 21 +- .../algorithms/bhp1024_commit_to_group.out | 21 +- .../algorithms/bhp1024_hash_to_address.out | 21 +- .../core/algorithms/bhp1024_hash_to_field.out | 21 +- .../core/algorithms/bhp1024_hash_to_group.out | 21 +- .../algorithms/bhp1024_hash_to_scalar.out | 21 +- .../algorithms/bhp256_commit_to_address.out | 21 +- .../algorithms/bhp256_commit_to_field.out | 21 +- .../algorithms/bhp256_commit_to_group.out | 21 +- .../algorithms/bhp256_hash_to_address.out | 21 +- .../core/algorithms/bhp256_hash_to_field.out | 21 +- .../core/algorithms/bhp256_hash_to_group.out | 21 +- .../core/algorithms/bhp256_hash_to_scalar.out | 21 +- .../algorithms/bhp512_commit_to_address.out | 21 +- .../algorithms/bhp512_commit_to_field.out | 21 +- .../algorithms/bhp512_commit_to_group.out | 21 +- .../algorithms/bhp512_hash_to_address.out | 21 +- .../core/algorithms/bhp512_hash_to_field.out | 21 +- .../core/algorithms/bhp512_hash_to_group.out | 21 +- .../core/algorithms/bhp512_hash_to_scalar.out | 21 +- .../algorithms/bhp768_commit_to_address.out | 21 +- .../algorithms/bhp768_commit_to_field.out | 21 +- .../algorithms/bhp768_commit_to_group.out | 21 +- .../algorithms/bhp768_hash_to_address.out | 21 +- .../core/algorithms/bhp768_hash_to_field.out | 21 +- .../core/algorithms/bhp768_hash_to_group.out | 21 +- .../core/algorithms/bhp768_hash_to_scalar.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i128.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i16.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i32.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i64.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i8.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u128.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u16.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u32.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u64.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u8.out | 21 +- .../integers/bhp256/bhp256_hash_to_i128.out | 21 +- .../integers/bhp256/bhp256_hash_to_i16.out | 21 +- .../integers/bhp256/bhp256_hash_to_i32.out | 21 +- .../integers/bhp256/bhp256_hash_to_i64.out | 21 +- .../integers/bhp256/bhp256_hash_to_i8.out | 21 +- .../integers/bhp256/bhp256_hash_to_u128.out | 21 +- .../integers/bhp256/bhp256_hash_to_u16.out | 21 +- .../integers/bhp256/bhp256_hash_to_u32.out | 21 +- .../integers/bhp256/bhp256_hash_to_u64.out | 21 +- .../integers/bhp256/bhp256_hash_to_u8.out | 21 +- .../integers/bhp512/bhp512_hash_to_i128.out | 21 +- .../integers/bhp512/bhp512_hash_to_i16.out | 21 +- .../integers/bhp512/bhp512_hash_to_i32.out | 21 +- .../integers/bhp512/bhp512_hash_to_i64.out | 21 +- .../integers/bhp512/bhp512_hash_to_i8.out | 21 +- .../integers/bhp512/bhp512_hash_to_u128.out | 21 +- .../integers/bhp512/bhp512_hash_to_u16.out | 21 +- .../integers/bhp512/bhp512_hash_to_u32.out | 21 +- .../integers/bhp512/bhp512_hash_to_u64.out | 21 +- .../integers/bhp512/bhp512_hash_to_u8.out | 21 +- .../integers/bhp768/bhp768_hash_to_i128.out | 21 +- .../integers/bhp768/bhp768_hash_to_i16.out | 21 +- .../integers/bhp768/bhp768_hash_to_i32.out | 21 +- .../integers/bhp768/bhp768_hash_to_i64.out | 21 +- .../integers/bhp768/bhp768_hash_to_i8.out | 21 +- .../integers/bhp768/bhp768_hash_to_u128.out | 21 +- .../integers/bhp768/bhp768_hash_to_u16.out | 21 +- .../integers/bhp768/bhp768_hash_to_u32.out | 21 +- .../integers/bhp768/bhp768_hash_to_u64.out | 21 +- .../integers/bhp768/bhp768_hash_to_u8.out | 21 +- .../keccak256/keccak256_hash_to_i128.out | 21 +- .../keccak256/keccak256_hash_to_i16.out | 21 +- .../keccak256/keccak256_hash_to_i32.out | 21 +- .../keccak256/keccak256_hash_to_i64.out | 21 +- .../keccak256/keccak256_hash_to_i8.out | 21 +- .../keccak256/keccak256_hash_to_u128.out | 21 +- .../keccak256/keccak256_hash_to_u16.out | 21 +- .../keccak256/keccak256_hash_to_u32.out | 21 +- .../keccak256/keccak256_hash_to_u64.out | 21 +- .../keccak256/keccak256_hash_to_u8.out | 21 +- .../keccak384/keccak384_hash_to_i128.out | 21 +- .../keccak384/keccak384_hash_to_i16.out | 21 +- .../keccak384/keccak384_hash_to_i32.out | 21 +- .../keccak384/keccak384_hash_to_i64.out | 21 +- .../keccak384/keccak384_hash_to_i8.out | 21 +- .../keccak384/keccak384_hash_to_u128.out | 21 +- .../keccak384/keccak384_hash_to_u16.out | 21 +- .../keccak384/keccak384_hash_to_u32.out | 21 +- .../keccak384/keccak384_hash_to_u64.out | 21 +- .../keccak384/keccak384_hash_to_u8.out | 21 +- .../keccak512/keccak512_hash_to_i128.out | 21 +- .../keccak512/keccak512_hash_to_i16.out | 21 +- .../keccak512/keccak512_hash_to_i32.out | 21 +- .../keccak512/keccak512_hash_to_i64.out | 21 +- .../keccak512/keccak512_hash_to_i8.out | 21 +- .../keccak512/keccak512_hash_to_u128.out | 21 +- .../keccak512/keccak512_hash_to_u16.out | 21 +- .../keccak512/keccak512_hash_to_u32.out | 21 +- .../keccak512/keccak512_hash_to_u64.out | 21 +- .../keccak512/keccak512_hash_to_u8.out | 21 +- .../pedersen128/pedersen128_hash_to_i128.out | 21 +- .../pedersen128/pedersen128_hash_to_i16.out | 21 +- .../pedersen128/pedersen128_hash_to_i32.out | 21 +- .../pedersen128/pedersen128_hash_to_i64.out | 21 +- .../pedersen128/pedersen128_hash_to_i8.out | 21 +- .../pedersen128/pedersen128_hash_to_u128.out | 21 +- .../pedersen128/pedersen128_hash_to_u16.out | 21 +- .../pedersen128/pedersen128_hash_to_u32.out | 21 +- .../pedersen128/pedersen128_hash_to_u64.out | 21 +- .../pedersen128/pedersen128_hash_to_u8.out | 21 +- .../pedersen64/pedersen64_hash_to_i128.out | 21 +- .../pedersen64/pedersen64_hash_to_i16.out | 21 +- .../pedersen64/pedersen64_hash_to_i32.out | 21 +- .../pedersen64/pedersen64_hash_to_i64.out | 21 +- .../pedersen64/pedersen64_hash_to_i8.out | 21 +- .../pedersen64/pedersen64_hash_to_u128.out | 21 +- .../pedersen64/pedersen64_hash_to_u16.out | 21 +- .../pedersen64/pedersen64_hash_to_u32.out | 21 +- .../pedersen64/pedersen64_hash_to_u64.out | 21 +- .../pedersen64/pedersen64_hash_to_u8.out | 21 +- .../poseidon2/poseidon2_hash_to_i128.out | 21 +- .../poseidon2/poseidon2_hash_to_i16.out | 21 +- .../poseidon2/poseidon2_hash_to_i32.out | 21 +- .../poseidon2/poseidon2_hash_to_i64.out | 21 +- .../poseidon2/poseidon2_hash_to_i8.out | 21 +- .../poseidon2/poseidon2_hash_to_u128.out | 21 +- .../poseidon2/poseidon2_hash_to_u16.out | 21 +- .../poseidon2/poseidon2_hash_to_u32.out | 21 +- .../poseidon2/poseidon2_hash_to_u64.out | 21 +- .../poseidon2/poseidon2_hash_to_u8.out | 21 +- .../poseidon4/poseidon4_hash_to_i128.out | 21 +- .../poseidon4/poseidon4_hash_to_i16.out | 21 +- .../poseidon4/poseidon4_hash_to_i32.out | 21 +- .../poseidon4/poseidon4_hash_to_i64.out | 21 +- .../poseidon4/poseidon4_hash_to_i8.out | 21 +- .../poseidon4/poseidon4_hash_to_u128.out | 21 +- .../poseidon4/poseidon4_hash_to_u16.out | 21 +- .../poseidon4/poseidon4_hash_to_u32.out | 21 +- .../poseidon4/poseidon4_hash_to_u64.out | 21 +- .../poseidon4/poseidon4_hash_to_u8.out | 21 +- .../poseidon8/poseidon8_hash_to_i128.out | 21 +- .../poseidon8/poseidon8_hash_to_i16.out | 21 +- .../poseidon8/poseidon8_hash_to_i32.out | 21 +- .../poseidon8/poseidon8_hash_to_i64.out | 21 +- .../poseidon8/poseidon8_hash_to_i8.out | 21 +- .../poseidon8/poseidon8_hash_to_u128.out | 21 +- .../poseidon8/poseidon8_hash_to_u16.out | 21 +- .../poseidon8/poseidon8_hash_to_u32.out | 21 +- .../poseidon8/poseidon8_hash_to_u64.out | 21 +- .../poseidon8/poseidon8_hash_to_u8.out | 21 +- .../sha3_256/sha3_256_hash_to_i128.out | 21 +- .../sha3_256/sha3_256_hash_to_i16.out | 21 +- .../sha3_256/sha3_256_hash_to_i32.out | 21 +- .../sha3_256/sha3_256_hash_to_i64.out | 21 +- .../integers/sha3_256/sha3_256_hash_to_i8.out | 21 +- .../sha3_256/sha3_256_hash_to_u128.out | 21 +- .../sha3_256/sha3_256_hash_to_u16.out | 21 +- .../sha3_256/sha3_256_hash_to_u32.out | 21 +- .../sha3_256/sha3_256_hash_to_u64.out | 21 +- .../integers/sha3_256/sha3_256_hash_to_u8.out | 21 +- .../sha3_384/sha3_384_hash_to_i128.out | 21 +- .../sha3_384/sha3_384_hash_to_i16.out | 21 +- .../sha3_384/sha3_384_hash_to_i32.out | 21 +- .../sha3_384/sha3_384_hash_to_i64.out | 21 +- .../integers/sha3_384/sha3_384_hash_to_i8.out | 21 +- .../sha3_384/sha3_384_hash_to_u128.out | 21 +- .../sha3_384/sha3_384_hash_to_u16.out | 21 +- .../sha3_384/sha3_384_hash_to_u32.out | 21 +- .../sha3_384/sha3_384_hash_to_u64.out | 21 +- .../integers/sha3_384/sha3_384_hash_to_u8.out | 21 +- .../sha3_512/sha3_512_hash_to_i128.out | 21 +- .../sha3_512/sha3_512_hash_to_i16.out | 21 +- .../sha3_512/sha3_512_hash_to_i32.out | 21 +- .../sha3_512/sha3_512_hash_to_i64.out | 21 +- .../integers/sha3_512/sha3_512_hash_to_i8.out | 21 +- .../sha3_512/sha3_512_hash_to_u128.out | 21 +- .../sha3_512/sha3_512_hash_to_u16.out | 21 +- .../sha3_512/sha3_512_hash_to_u32.out | 21 +- .../sha3_512/sha3_512_hash_to_u64.out | 21 +- .../integers/sha3_512/sha3_512_hash_to_u8.out | 21 +- .../algorithms/keccak256_hash_to_address.out | 21 +- .../algorithms/keccak256_hash_to_field.out | 21 +- .../algorithms/keccak256_hash_to_group.out | 21 +- .../algorithms/keccak256_hash_to_scalar.out | 21 +- .../algorithms/keccak384_hash_to_address.out | 21 +- .../algorithms/keccak384_hash_to_field.out | 21 +- .../algorithms/keccak384_hash_to_group.out | 21 +- .../algorithms/keccak384_hash_to_scalar.out | 21 +- .../algorithms/keccak512_hash_to_address.out | 21 +- .../algorithms/keccak512_hash_to_field.out | 21 +- .../algorithms/keccak512_hash_to_group.out | 21 +- .../algorithms/keccak512_hash_to_scalar.out | 21 +- .../pedersen128_commit_to_address.out | 21 +- .../pedersen128_commit_to_field.out | 21 +- .../pedersen128_commit_to_group.out | 21 +- .../pedersen128_hash_to_address.out | 21 +- .../algorithms/pedersen128_hash_to_field.out | 21 +- .../algorithms/pedersen128_hash_to_group.out | 21 +- .../pedersen64_commit_to_address.out | 21 +- .../algorithms/pedersen64_commit_to_field.out | 21 +- .../algorithms/pedersen64_commit_to_group.out | 21 +- .../algorithms/pedersen64_hash_to_address.out | 21 +- .../algorithms/pedersen64_hash_to_field.out | 21 +- .../algorithms/pedersen64_hash_to_group.out | 21 +- .../algorithms/pedersen64_hash_to_scalar.out | 21 +- .../core/algorithms/pedersen_fail.out | 26 +- .../algorithms/poseidon2_hash_to_address.out | 21 +- .../algorithms/poseidon2_hash_to_field.out | 21 +- .../algorithms/poseidon2_hash_to_group.out | 21 +- .../algorithms/poseidon2_hash_to_scalar.out | 21 +- .../algorithms/poseidon4_hash_to_address.out | 21 +- .../algorithms/poseidon4_hash_to_field.out | 21 +- .../algorithms/poseidon4_hash_to_group.out | 21 +- .../algorithms/poseidon4_hash_to_scalar.out | 21 +- .../algorithms/poseidon8_hash_to_address.out | 21 +- .../algorithms/poseidon8_hash_to_field.out | 21 +- .../algorithms/poseidon8_hash_to_group.out | 21 +- .../algorithms/poseidon8_hash_to_scalar.out | 21 +- .../algorithms/sha3_256_hash_to_address.out | 21 +- .../algorithms/sha3_256_hash_to_field.out | 21 +- .../algorithms/sha3_256_hash_to_group.out | 21 +- .../algorithms/sha3_256_hash_to_scalar.out | 21 +- .../algorithms/sha3_384_hash_to_address.out | 21 +- .../algorithms/sha3_384_hash_to_field.out | 21 +- .../algorithms/sha3_384_hash_to_group.out | 21 +- .../algorithms/sha3_384_hash_to_scalar.out | 21 +- .../algorithms/sha3_512_hash_to_address.out | 21 +- .../algorithms/sha3_512_hash_to_field.out | 21 +- .../algorithms/sha3_512_hash_to_group.out | 21 +- .../algorithms/sha3_512_hash_to_scalar.out | 21 +- .../compiler/core/constants/group_gen.out | 21 +- .../core/constants/group_gen_fail.out | 19 +- .../define_multiple_variables_fail.out | 31 +- .../compiler/definition/out_of_order.out | 21 +- .../compiler/definition/tuple_def_fail.out | 21 +- .../use_decl_variable_as_assign_fail.out | 21 +- .../compiler/examples/auction.out | 21 +- .../compiler/examples/basic_bank.out | 21 +- .../expectations/compiler/examples/board.out | 21 +- .../compiler/examples/bubblesort.out | 21 +- tests/expectations/compiler/examples/core.out | 21 +- .../compiler/examples/fibonacci.out | 21 +- .../expectations/compiler/examples/groups.out | 21 +- .../compiler/examples/helloworld.out | 21 +- .../compiler/examples/interest.out | 21 +- .../compiler/examples/lottery.out | 21 +- .../compiler/examples/message.out | 21 +- tests/expectations/compiler/examples/move.out | 21 +- .../compiler/examples/ntzdebruijn.out | 21 +- .../compiler/examples/ntzgaudet.out | 21 +- .../compiler/examples/ntzloops.out | 21 +- .../compiler/examples/ntzmasks.out | 21 +- .../compiler/examples/ntzreisers.out | 21 +- .../compiler/examples/ntzseals.out | 21 +- .../compiler/examples/ntzsearchtree.out | 21 +- .../compiler/examples/ntzsmallvals.out | 21 +- .../compiler/examples/simple_token.out | 21 +- .../compiler/examples/tictactoe.out | 21 +- .../expectations/compiler/examples/token.out | 21 +- .../compiler/examples/twoadicity.out | 21 +- .../expectations/compiler/examples/verify.out | 21 +- tests/expectations/compiler/examples/vote.out | 21 +- .../expectations/compiler/expression/cast.out | 21 +- .../compiler/expression/cast_coersion.out | 21 +- .../compiler/expression/cast_fail.out | 34 +- .../compiler/expression/network_id.out | 21 +- .../compiler/expression/ternary.out | 21 +- tests/expectations/compiler/field/add.out | 21 +- tests/expectations/compiler/field/div.out | 21 +- tests/expectations/compiler/field/eq.out | 21 +- tests/expectations/compiler/field/field.out | 21 +- tests/expectations/compiler/field/mul.out | 21 +- tests/expectations/compiler/field/negate.out | 21 +- .../field/no_space_between_literal.out | 13 +- .../compiler/field/operator_methods.out | 21 +- tests/expectations/compiler/field/pow.out | 21 +- tests/expectations/compiler/field/sub.out | 21 +- tests/expectations/compiler/field/ternary.out | 21 +- .../compiler/finalize/block_height.out | 21 +- .../compiler/finalize/block_height_fail.out | 14 +- .../finalize/closure_with_finalize_fail.out | 68 +- .../compiler/finalize/contains.out | 21 +- .../compiler/finalize/decrement_fail.out | 20 +- .../finalize/decrement_via_get_set.out | 21 +- .../compiler/finalize/empty_finalize_fail.out | 14 +- .../compiler/finalize/finalize.out | 21 +- .../compiler/finalize/finalize_fail.out | 37 +- .../finalize_incorrect_modes_fail.out | 47 +- .../finalize_incorrect_return_fail.out | 29 +- .../finalize/finalize_missing_return_fail.out | 25 +- .../finalize/finalize_name_mismatch_fail.out | 29 +- .../finalize_reassign_to_outer_scope_fail.out | 16 +- .../finalize/finalize_returns_value_fail.out | 18 +- ...finalize_statement_incorrect_args_fail.out | 14 +- .../finalize/finalize_with_method_calls.out | 21 +- .../finalize/finalize_with_return.out | 28 +- ...nalize_without_finalize_statement_fail.out | 24 +- .../finalize/get_incorrect_num_operands.out | 18 +- .../finalize/get_incorrect_type_fail.out | 34 +- .../get_or_incorrect_num_operands.out | 23 +- .../finalize/get_or_incorrect_type_fail.out | 64 +- .../compiler/finalize/increment_fail.out | 20 +- .../finalize/increment_via_get_set.out | 21 +- .../compiler/finalize/inline_in_finalize.out | 21 +- .../compiler/finalize/mapping.out | 21 +- .../compiler/finalize/mapping_fail.out | 66 +- .../mapping_operations_in_inline_fail.out | 83 +- .../only_finalize_with_flattening.out | 21 +- .../finalize/private_input_ouput_fail.out | 13 +- tests/expectations/compiler/finalize/rand.out | 21 +- .../finalize/rand_incorrect_num_operands.out | 19 +- .../finalize/rand_incorrect_type_fail.out | 19 +- .../finalize/rand_not_in_finalize.out | 14 +- .../finalize/read_write_mapping_fail.out | 13 +- .../expectations/compiler/finalize/remove.out | 21 +- .../finalize/set_in_an_assignment_fail.out | 24 +- .../finalize/set_incorrect_num_operands.out | 23 +- .../finalize/set_incorrect_type_fail.out | 64 +- .../compiler/finalize/shadow_mapping_fail.out | 21 +- .../unknown_mapping_operation_fail.out | 29 +- .../compiler/function/9_inputs_fail.out | 13 +- .../function/annotated_function_fail.out | 26 +- .../compiler/function/basic_async.out | 21 +- .../function/complex_recursion_fail.out | 60 +- .../compiler/function/conditional_return.out | 21 +- .../function/dead_code_elimination.out | 21 +- .../function/duplicate_definition_fail.out | 15 +- .../function/duplicate_parameter_fail.out | 15 +- .../compiler/function/flatten_arrays.out | 21 +- .../flatten_inlined_tuples_of_structs.out | 21 +- .../compiler/function/flatten_test.out | 21 +- .../compiler/function/flatten_test_2.out | 38 +- .../function/flatten_tuples_of_structs.out | 21 +- .../function/flatten_unit_expressions.out | 38 +- .../compiler/function/function_call.out | 21 +- .../function/function_call_inline.out | 21 +- .../function/function_call_out_of_order.out | 21 +- .../function/function_call_tyc_fail.out | 24 +- .../function_input_else_assignment.out | 21 +- .../function/function_returns_record_fail.out | 39 +- .../function/global_shadow_function_fail.out | 16 +- .../helper_function_with_interface.out | 21 +- .../function/inline_expr_statement.out | 38 +- .../compiler/function/inline_twice.out | 21 +- .../function/mutual_recursion_fail.out | 30 +- .../compiler/function/no_return.out | 14 +- .../compiler/function/no_transition_fail.out | 16 +- ...n_transition_variant_input_record_fail.out | 36 +- .../function/private_input_output.out | 21 +- ...ction_any_number_of_inputs_and_outputs.out | 21 +- .../function/program_function_empty_body.out | 21 +- ...program_function_no_constant_mode_fail.out | 16 +- .../function/program_function_unit_type.out | 21 +- .../function/program_function_with_mode.out | 21 +- .../function/record_in_conditional_return.out | 21 +- .../compiler/function/scope_fail.out | 13 +- tests/expectations/compiler/function/self.out | 21 +- .../compiler/function/self_fail.out | 19 +- .../compiler/function/self_finalize_fail.out | 14 +- .../function/self_recursive_cycle_fail.out | 30 +- .../function/shadow_parameter_fail.out | 13 +- ..._function_calls_standard_function_fail.out | 26 +- ...unction_calls_transition_function_fail.out | 19 +- .../function/too_many_transitions_fail.out | 16 +- .../transition_calls_async_function_fail.out | 36 +- ...unction_calls_transition_function_fail.out | 19 +- .../function/undefined_data_type_fail.out | 42 +- .../compiler/function/undefined_fail.out | 21 +- .../function/unknown_parameter_type_fail.out | 28 +- .../futures/explicit_return_type_fail.out | 32 +- .../compiler/futures/explicit_type_simple.out | 37 +- .../compiler/futures/future_in_tuple.out | 37 +- .../futures/future_not_all_awaited_fail.out | 22 +- ...ture_not_all_passed_to_async_call_fail.out | 16 +- .../expectations/compiler/futures/nested.out | 86 +- .../futures/partial_type_specification.out | 86 +- .../expectations/compiler/futures/simple.out | 37 +- tests/expectations/compiler/group/add.out | 21 +- .../expectations/compiler/group/assert_eq.out | 21 +- tests/expectations/compiler/group/eq.out | 21 +- .../expectations/compiler/group/group_mul.out | 21 +- tests/expectations/compiler/group/input.out | 21 +- tests/expectations/compiler/group/mul.out | 21 +- .../compiler/group/mult_by_group_fail.out | 21 +- .../compiler/group/mult_by_scalar.out | 21 +- tests/expectations/compiler/group/negate.out | 21 +- .../group/no_space_between_literal.out | 13 +- .../compiler/group/operator_methods.out | 21 +- .../compiler/group/point_input.out | 21 +- tests/expectations/compiler/group/sub.out | 21 +- tests/expectations/compiler/group/ternary.out | 21 +- .../compiler/group/to_x_coordinate.out | 21 +- .../compiler/group/to_y_coordinate.out | 21 +- tests/expectations/compiler/group/x_and_y.out | 21 +- .../compiler/group/x_sign_high.out | 21 +- .../compiler/group/x_sign_inferred.out | 21 +- .../compiler/group/x_sign_low.out | 21 +- tests/expectations/compiler/group/zero.out | 21 +- tests/expectations/compiler/input/main.out | 21 +- .../compiler/input/main_field.out | 21 +- .../compiler/integers/i128/add.out | 21 +- .../compiler/integers/i128/and.out | 21 +- .../compiler/integers/i128/console_assert.out | 21 +- .../compiler/integers/i128/div.out | 21 +- .../compiler/integers/i128/eq.out | 21 +- .../compiler/integers/i128/ge.out | 21 +- .../compiler/integers/i128/gt.out | 21 +- .../compiler/integers/i128/hex_and_bin.out | 21 +- .../compiler/integers/i128/le.out | 21 +- .../compiler/integers/i128/lt.out | 21 +- .../compiler/integers/i128/max.out | 21 +- .../compiler/integers/i128/max_fail.out | 21 +- .../compiler/integers/i128/min.out | 21 +- .../compiler/integers/i128/min_fail.out | 21 +- .../compiler/integers/i128/mul.out | 21 +- .../compiler/integers/i128/ne.out | 21 +- .../compiler/integers/i128/negate.out | 21 +- .../integers/i128/negate_min_fail.out | 21 +- .../compiler/integers/i128/negate_zero.out | 21 +- .../i128/no_space_between_literal.out | 13 +- .../integers/i128/operator_methods.out | 21 +- .../compiler/integers/i128/or.out | 21 +- .../compiler/integers/i128/pow.out | 21 +- .../compiler/integers/i128/rem.out | 21 +- .../compiler/integers/i128/shl.out | 21 +- .../compiler/integers/i128/shr.out | 21 +- .../compiler/integers/i128/sub.out | 21 +- .../compiler/integers/i128/ternary.out | 21 +- .../compiler/integers/i128/xor.out | 21 +- .../compiler/integers/i16/add.out | 21 +- .../compiler/integers/i16/and.out | 21 +- .../compiler/integers/i16/console_assert.out | 21 +- .../compiler/integers/i16/div.out | 21 +- .../expectations/compiler/integers/i16/eq.out | 21 +- .../expectations/compiler/integers/i16/ge.out | 21 +- .../expectations/compiler/integers/i16/gt.out | 21 +- .../compiler/integers/i16/hex_and_bin.out | 21 +- .../expectations/compiler/integers/i16/le.out | 21 +- .../expectations/compiler/integers/i16/lt.out | 21 +- .../compiler/integers/i16/max.out | 21 +- .../compiler/integers/i16/max_fail.out | 14 +- .../compiler/integers/i16/min.out | 21 +- .../compiler/integers/i16/min_fail.out | 21 +- .../compiler/integers/i16/mul.out | 21 +- .../expectations/compiler/integers/i16/ne.out | 21 +- .../compiler/integers/i16/negate.out | 21 +- .../compiler/integers/i16/negate_min_fail.out | 21 +- .../compiler/integers/i16/negate_zero.out | 21 +- .../integers/i16/no_space_between_literal.out | 13 +- .../integers/i16/operator_methods.out | 21 +- .../expectations/compiler/integers/i16/or.out | 21 +- .../compiler/integers/i16/pow.out | 21 +- .../compiler/integers/i16/rem.out | 21 +- .../compiler/integers/i16/shl.out | 21 +- .../compiler/integers/i16/shr.out | 21 +- .../compiler/integers/i16/sub.out | 21 +- .../compiler/integers/i16/ternary.out | 21 +- .../compiler/integers/i16/xor.out | 21 +- .../compiler/integers/i32/add.out | 21 +- .../compiler/integers/i32/and.out | 21 +- .../compiler/integers/i32/console_assert.out | 21 +- .../compiler/integers/i32/div.out | 21 +- .../expectations/compiler/integers/i32/eq.out | 21 +- .../expectations/compiler/integers/i32/ge.out | 21 +- .../expectations/compiler/integers/i32/gt.out | 21 +- .../compiler/integers/i32/hex_and_bin.out | 21 +- .../expectations/compiler/integers/i32/le.out | 21 +- .../expectations/compiler/integers/i32/lt.out | 21 +- .../compiler/integers/i32/max.out | 21 +- .../compiler/integers/i32/max_fail.out | 21 +- .../compiler/integers/i32/min.out | 21 +- .../compiler/integers/i32/min_fail.out | 21 +- .../compiler/integers/i32/mul.out | 21 +- .../expectations/compiler/integers/i32/ne.out | 21 +- .../compiler/integers/i32/negate.out | 21 +- .../compiler/integers/i32/negate_min_fail.out | 21 +- .../compiler/integers/i32/negate_zero.out | 21 +- .../integers/i32/no_space_between_literal.out | 13 +- .../integers/i32/operator_methods.out | 21 +- .../expectations/compiler/integers/i32/or.out | 21 +- .../compiler/integers/i32/pow.out | 21 +- .../compiler/integers/i32/rem.out | 21 +- .../compiler/integers/i32/shl.out | 21 +- .../compiler/integers/i32/shr.out | 21 +- .../compiler/integers/i32/sub.out | 21 +- .../compiler/integers/i32/ternary.out | 21 +- .../compiler/integers/i32/xor.out | 21 +- .../compiler/integers/i64/add.out | 21 +- .../compiler/integers/i64/and.out | 21 +- .../compiler/integers/i64/console_assert.out | 21 +- .../compiler/integers/i64/div.out | 21 +- .../expectations/compiler/integers/i64/eq.out | 21 +- .../expectations/compiler/integers/i64/ge.out | 21 +- .../expectations/compiler/integers/i64/gt.out | 21 +- .../compiler/integers/i64/hex_and_bin.out | 21 +- .../expectations/compiler/integers/i64/le.out | 21 +- .../expectations/compiler/integers/i64/lt.out | 21 +- .../compiler/integers/i64/max.out | 21 +- .../compiler/integers/i64/max_fail.out | 21 +- .../compiler/integers/i64/min.out | 21 +- .../compiler/integers/i64/min_fail.out | 21 +- .../compiler/integers/i64/mul.out | 21 +- .../expectations/compiler/integers/i64/ne.out | 21 +- .../compiler/integers/i64/negate.out | 21 +- .../compiler/integers/i64/negate_min_fail.out | 21 +- .../compiler/integers/i64/negate_zero.out | 21 +- .../integers/i64/no_space_between_literal.out | 13 +- .../integers/i64/operator_methods.out | 21 +- .../expectations/compiler/integers/i64/or.out | 21 +- .../compiler/integers/i64/pow.out | 21 +- .../compiler/integers/i64/rem.out | 21 +- .../compiler/integers/i64/shl.out | 21 +- .../compiler/integers/i64/shr.out | 21 +- .../compiler/integers/i64/sub.out | 21 +- .../compiler/integers/i64/ternary.out | 21 +- .../compiler/integers/i64/xor.out | 21 +- .../expectations/compiler/integers/i8/add.out | 21 +- .../expectations/compiler/integers/i8/and.out | 21 +- .../compiler/integers/i8/console_assert.out | 21 +- .../expectations/compiler/integers/i8/div.out | 21 +- .../expectations/compiler/integers/i8/eq.out | 21 +- .../expectations/compiler/integers/i8/ge.out | 21 +- .../expectations/compiler/integers/i8/gt.out | 21 +- .../compiler/integers/i8/hex_and_bin.out | 21 +- .../expectations/compiler/integers/i8/le.out | 21 +- .../expectations/compiler/integers/i8/lt.out | 21 +- .../expectations/compiler/integers/i8/max.out | 21 +- .../compiler/integers/i8/max_fail.out | 21 +- .../expectations/compiler/integers/i8/min.out | 21 +- .../compiler/integers/i8/min_fail.out | 21 +- .../expectations/compiler/integers/i8/mul.out | 21 +- .../expectations/compiler/integers/i8/ne.out | 21 +- .../compiler/integers/i8/negate.out | 21 +- .../compiler/integers/i8/negate_min_fail.out | 21 +- .../compiler/integers/i8/negate_zero.out | 21 +- .../integers/i8/no_space_between_literal.out | 13 +- .../compiler/integers/i8/operator_methods.out | 21 +- .../expectations/compiler/integers/i8/or.out | 21 +- .../expectations/compiler/integers/i8/pow.out | 21 +- .../expectations/compiler/integers/i8/rem.out | 21 +- .../expectations/compiler/integers/i8/shl.out | 21 +- .../expectations/compiler/integers/i8/shr.out | 21 +- .../expectations/compiler/integers/i8/sub.out | 21 +- .../compiler/integers/i8/ternary.out | 21 +- .../expectations/compiler/integers/i8/xor.out | 21 +- .../compiler/integers/u128/add.out | 21 +- .../compiler/integers/u128/and.out | 21 +- .../compiler/integers/u128/console_assert.out | 21 +- .../compiler/integers/u128/div.out | 21 +- .../compiler/integers/u128/eq.out | 21 +- .../compiler/integers/u128/ge.out | 21 +- .../compiler/integers/u128/gt.out | 21 +- .../compiler/integers/u128/hex_and_bin.out | 21 +- .../compiler/integers/u128/hex_min_fail.out | 21 +- .../compiler/integers/u128/le.out | 21 +- .../compiler/integers/u128/lt.out | 21 +- .../compiler/integers/u128/max.out | 21 +- .../compiler/integers/u128/max_fail.out | 21 +- .../compiler/integers/u128/min.out | 21 +- .../compiler/integers/u128/min_fail.out | 21 +- .../compiler/integers/u128/mul.out | 21 +- .../compiler/integers/u128/ne.out | 21 +- .../u128/no_space_between_literal.out | 13 +- .../integers/u128/operator_methods.out | 21 +- .../compiler/integers/u128/or.out | 21 +- .../compiler/integers/u128/pow.out | 21 +- .../compiler/integers/u128/rem.out | 21 +- .../compiler/integers/u128/shl.out | 21 +- .../compiler/integers/u128/shr.out | 21 +- .../compiler/integers/u128/sub.out | 21 +- .../compiler/integers/u128/ternary.out | 21 +- .../compiler/integers/u128/xor.out | 21 +- .../compiler/integers/u16/add.out | 21 +- .../compiler/integers/u16/and.out | 21 +- .../compiler/integers/u16/console_assert.out | 21 +- .../compiler/integers/u16/div.out | 21 +- .../expectations/compiler/integers/u16/eq.out | 21 +- .../expectations/compiler/integers/u16/ge.out | 21 +- .../expectations/compiler/integers/u16/gt.out | 21 +- .../compiler/integers/u16/hex_and_bin.out | 21 +- .../compiler/integers/u16/hex_min_fail.out | 21 +- .../expectations/compiler/integers/u16/le.out | 21 +- .../expectations/compiler/integers/u16/lt.out | 21 +- .../compiler/integers/u16/max.out | 21 +- .../compiler/integers/u16/max_fail.out | 21 +- .../compiler/integers/u16/min.out | 21 +- .../compiler/integers/u16/min_fail.out | 21 +- .../compiler/integers/u16/mul.out | 21 +- .../expectations/compiler/integers/u16/ne.out | 21 +- .../integers/u16/no_space_between_literal.out | 13 +- .../integers/u16/operator_methods.out | 21 +- .../expectations/compiler/integers/u16/or.out | 21 +- .../compiler/integers/u16/pow.out | 21 +- .../compiler/integers/u16/rem.out | 21 +- .../compiler/integers/u16/shl.out | 21 +- .../compiler/integers/u16/shr.out | 21 +- .../compiler/integers/u16/sub.out | 21 +- .../compiler/integers/u16/ternary.out | 21 +- .../compiler/integers/u16/xor.out | 21 +- .../compiler/integers/u32/add.out | 21 +- .../compiler/integers/u32/and.out | 21 +- .../compiler/integers/u32/console_assert.out | 21 +- .../compiler/integers/u32/div.out | 21 +- .../expectations/compiler/integers/u32/eq.out | 21 +- .../expectations/compiler/integers/u32/ge.out | 21 +- .../expectations/compiler/integers/u32/gt.out | 21 +- .../compiler/integers/u32/hex_and_bin.out | 21 +- .../compiler/integers/u32/hex_min_fail.out | 21 +- .../expectations/compiler/integers/u32/le.out | 21 +- .../expectations/compiler/integers/u32/lt.out | 21 +- .../compiler/integers/u32/max.out | 21 +- .../compiler/integers/u32/max_fail.out | 21 +- .../compiler/integers/u32/min.out | 21 +- .../compiler/integers/u32/min_fail.out | 21 +- .../compiler/integers/u32/mul.out | 21 +- .../expectations/compiler/integers/u32/ne.out | 21 +- .../integers/u32/no_space_between_literal.out | 13 +- .../integers/u32/operator_methods.out | 21 +- .../expectations/compiler/integers/u32/or.out | 21 +- .../compiler/integers/u32/pow.out | 21 +- .../compiler/integers/u32/rem.out | 21 +- .../compiler/integers/u32/shl.out | 21 +- .../compiler/integers/u32/shr.out | 21 +- .../compiler/integers/u32/sub.out | 21 +- .../compiler/integers/u32/ternary.out | 21 +- .../compiler/integers/u32/xor.out | 21 +- .../compiler/integers/u64/add.out | 21 +- .../compiler/integers/u64/and.out | 21 +- .../compiler/integers/u64/console_assert.out | 21 +- .../compiler/integers/u64/div.out | 21 +- .../expectations/compiler/integers/u64/eq.out | 21 +- .../expectations/compiler/integers/u64/ge.out | 21 +- .../expectations/compiler/integers/u64/gt.out | 21 +- .../compiler/integers/u64/hex_and_bin.out | 21 +- .../compiler/integers/u64/hex_min_fail.out | 21 +- .../expectations/compiler/integers/u64/le.out | 21 +- .../expectations/compiler/integers/u64/lt.out | 21 +- .../compiler/integers/u64/max.out | 21 +- .../compiler/integers/u64/max_fail.out | 21 +- .../compiler/integers/u64/min.out | 21 +- .../compiler/integers/u64/min_fail.out | 21 +- .../compiler/integers/u64/mul.out | 21 +- .../expectations/compiler/integers/u64/ne.out | 21 +- .../integers/u64/no_space_between_literal.out | 13 +- .../integers/u64/operator_methods.out | 21 +- .../expectations/compiler/integers/u64/or.out | 21 +- .../compiler/integers/u64/pow.out | 21 +- .../compiler/integers/u64/rem.out | 21 +- .../compiler/integers/u64/shl.out | 21 +- .../compiler/integers/u64/shr.out | 21 +- .../compiler/integers/u64/sub.out | 21 +- .../compiler/integers/u64/ternary.out | 21 +- .../compiler/integers/u64/xor.out | 21 +- .../expectations/compiler/integers/u8/add.out | 21 +- .../expectations/compiler/integers/u8/and.out | 21 +- .../compiler/integers/u8/console_assert.out | 21 +- .../expectations/compiler/integers/u8/div.out | 21 +- .../expectations/compiler/integers/u8/eq.out | 21 +- .../expectations/compiler/integers/u8/ge.out | 21 +- .../expectations/compiler/integers/u8/gt.out | 21 +- .../compiler/integers/u8/hex_and_bin.out | 21 +- .../compiler/integers/u8/hex_min_fail.out | 21 +- .../expectations/compiler/integers/u8/le.out | 21 +- .../expectations/compiler/integers/u8/lt.out | 21 +- .../expectations/compiler/integers/u8/max.out | 21 +- .../compiler/integers/u8/max_fail.out | 21 +- .../expectations/compiler/integers/u8/min.out | 21 +- .../compiler/integers/u8/min_fail.out | 21 +- .../expectations/compiler/integers/u8/mul.out | 21 +- .../expectations/compiler/integers/u8/ne.out | 21 +- .../integers/u8/no_space_between_literal.out | 13 +- .../compiler/integers/u8/operator_methods.out | 21 +- .../expectations/compiler/integers/u8/or.out | 21 +- .../expectations/compiler/integers/u8/pow.out | 21 +- .../expectations/compiler/integers/u8/rem.out | 21 +- .../expectations/compiler/integers/u8/shl.out | 21 +- .../expectations/compiler/integers/u8/shr.out | 21 +- .../expectations/compiler/integers/u8/sub.out | 21 +- .../compiler/integers/u8/ternary.out | 21 +- .../expectations/compiler/integers/u8/xor.out | 21 +- .../external_read_with_local_fail.out | 14 +- .../mappings/global_shadow_mapping_fail.out | 14 +- .../mappings/locator_expression_fail.out | 19 +- .../compiler/mappings/max_mappings.out | 21 +- .../mappings/no_import_external_read_fail.out | 14 +- .../mappings/read_external_mapping.out | 37 +- .../mappings/shadowed_mapping_fail.out | 14 +- .../mappings/too_many_mappings_fail.out | 16 +- .../unknown_external_mapping_fail.out | 14 +- .../compiler/records/balance_wrong_ty.out | 21 +- .../compiler/records/declaration.out | 21 +- .../records/duplicate_circuit_name_fail.out | 16 +- .../compiler/records/duplicate_var_fail.out | 28 +- .../records/external_nested_record.out | 51 +- .../compiler/records/gates_is_allowed.out | 21 +- .../records/global_shadow_records_fail.out | 19 +- .../compiler/records/init_expression.out | 21 +- .../records/init_expression_shorthand.out | 21 +- .../records/init_expression_type_fail.out | 41 +- .../records/init_expression_var_fail.out | 39 +- .../compiler/records/nested_record.out | 21 +- .../compiler/records/nested_record_1_fail.out | 23 +- .../compiler/records/nested_record_2_fail.out | 35 +- .../compiler/records/nested_record_3_fail.out | 23 +- .../compiler/records/nested_record_4_fail.out | 40 +- .../records/nested_record_as_function_io.out | 51 +- .../compiler/records/no_owner_fail.out | 24 +- .../compiler/records/owner_wrong_ty.out | 23 +- .../record_declaration_out_of_order.out | 21 +- .../records/record_init_out_of_order.out | 21 +- .../records/record_with_visibility.out | 21 +- .../return_record_instead_of_unit_fail.out | 14 +- .../compiler/return/ifelse_chain.out | 21 +- tests/expectations/compiler/scalar/add.out | 21 +- tests/expectations/compiler/scalar/cmp.out | 21 +- .../expectations/compiler/scalar/div_fail.out | 21 +- tests/expectations/compiler/scalar/eq.out | 21 +- .../scalar/no_space_between_literal.out | 13 +- .../compiler/scalar/operator_methods.out | 21 +- tests/expectations/compiler/scalar/scalar.out | 21 +- .../compiler/scalar/square_root_fail.out | 21 +- .../expectations/compiler/scalar/ternary.out | 21 +- .../compiler/signature/signature.out | 21 +- .../signature_with_wrong_types_fail.out | 39 +- .../compiler/statements/all_loops_fail.out | 13 +- .../compiler/statements/assign.out | 21 +- .../compiler/statements/assign_fail.out | 10 +- .../compiler/statements/assign_ternary.out | 26 +- .../compiler/statements/block.out | 21 +- .../compiler/statements/chain.out | 21 +- .../statements/compare_diff_types_fail.out | 56 +- .../compare_invalid_negates_fail.out | 86 +- .../statements/duplicate_variable.out | 21 +- .../compiler/statements/expr_statement.out | 21 +- .../statements/expr_statement_fail.out | 51 +- .../compiler/statements/iteration_basic.out | 21 +- .../iteration_bound_too_large_fail.out | 21 +- .../compiler/statements/iteration_nested.out | 21 +- .../statements/loop_decreasing_fail.out | 14 +- .../loop_non_literal_bound_fail.out | 14 +- .../compiler/statements/loop_returns_fail.out | 38 +- .../compiler/statements/multiple_returns.out | 21 +- .../multiple_returns_in_one_block_fail.out | 30 +- .../compiler/statements/mutate.out | 21 +- .../statements/non_existant_var_exp_fail.out | 21 +- .../statements/non_existant_vars_mul_fail.out | 36 +- .../statements/operations/add_assign.out | 21 +- .../statements/operations/and_assign.out | 21 +- .../statements/operations/bitand_assign.out | 21 +- .../statements/operations/bitor_assign.out | 21 +- .../statements/operations/bitxor_assign.out | 21 +- .../statements/operations/div_assign.out | 21 +- .../statements/operations/mul_assign.out | 21 +- .../statements/operations/or_assign.out | 21 +- .../statements/operations/pow_assign.out | 21 +- .../statements/operations/rem_assign.out | 21 +- .../statements/operations/shl_assign.out | 21 +- .../statements/operations/shr_assign.out | 21 +- .../statements/operations/sub_assign.out | 21 +- ...after_complete_conditional_return_fail.out | 30 +- .../ternary_explicit_and_implicit.out | 21 +- .../statements/typecheck_statements_fail.out | 134 +- .../statements/underscore_for_loop.out | 21 +- .../unknown_type_in_definition_fail.out | 21 +- .../expectations/compiler/strings/string.out | 24 +- .../structs/cyclic_structs_four_fail.out | 13 +- .../structs/cyclic_structs_one_fail.out | 17 +- .../structs/cyclic_structs_three_fail.out | 17 +- .../structs/cyclic_structs_two_fail.out | 17 +- .../structs/duplicate_struct_variable.out | 24 +- .../compiler/structs/empty_struct_fail.out | 21 +- .../compiler/structs/external_record.out | 51 +- .../compiler/structs/external_struct.out | 51 +- .../external_struct_in_async_function.out | 37 +- .../structs/global_shadow_struct_fail.out | 18 +- .../expectations/compiler/structs/inline.out | 21 +- .../compiler/structs/inline_fail.out | 21 +- .../compiler/structs/inline_member_fail.out | 13 +- .../compiler/structs/inline_member_pass.out | 13 +- .../compiler/structs/inline_undefined.out | 28 +- .../compiler/structs/member_variable.out | 21 +- .../compiler/structs/member_variable_fail.out | 13 +- .../structs/redefine_external_struct.out | 37 +- .../structs/shadow_external_struct_fail.out | 19 +- .../compiler/structs/struct_access_fail.out | 14 +- .../structs/struct_contains_record_fail.out | 24 +- .../struct_declaration_out_of_order.out | 21 +- ...truct_function_namespace_conflict_fail.out | 14 +- .../structs/struct_init_out_of_order.out | 21 +- .../structs/struct_with_visibility_fail.out | 24 +- .../structs/unknown_member_type_fail.out | 16 +- .../compiler/tuple/access_negative_fail.out | 13 +- .../tuple/access_out_of_bounds_fail.out | 26 +- .../compiler/tuple/assign_unit_fail.out | 34 +- .../compiler/tuple/declare_fail.out | 14 +- .../tuple/function_call_returns_tuple.out | 21 +- .../compiler/tuple/function_early_return.out | 21 +- .../compiler/tuple/function_return.out | 21 +- .../tuple/function_return_nothing.out | 21 +- .../tuple/function_return_single_fail.out | 13 +- .../compiler/tuple/function_return_unit.out | 21 +- .../tuple/function_return_varying_modes.out | 21 +- .../tuple/function_unit_input_fail.out | 14 +- .../compiler/tuple/return_statement_fail.out | 14 +- .../tuple/return_with_different_modes.out | 21 +- .../compiler/tuple/singleton_tuple_fail.out | 13 +- .../compiler/tuple/tuple_access.out | 21 +- .../compiler/tuple/tuple_destructure.out | 21 +- .../compiler/tuple/tuple_in_assignment.out | 21 +- .../compiler/tuple/tuple_in_definition.out | 21 +- .../tuple/tuple_in_function_param.out | 14 +- .../compiler/tuple/tuple_in_loop.out | 21 +- .../compiler/tuple/tuple_in_record_fail.out | 21 +- .../compiler/tuple/tuple_in_return_type.out | 24 +- .../compiler/tuple/tuple_in_struct_fail.out | 26 +- .../compiler/tuple/tuple_not_allowed_fail.out | 56 +- .../expectations/compiler/tuple/type_fail.out | 19 +- tests/expectations/compiler/tuple/unit.out | 21 +- tests/expectations/execution/array_sum.out | 69 +- .../execution/assert_early_return.out | 121 +- .../expectations/execution/cast_coersion.out | 179 +- tests/expectations/execution/chain.out | 115 +- .../execution/complex_finalization.out | 405 ++-- .../execution/cond_exec_in_finalize.out | 134 +- tests/expectations/execution/counter.out | 131 +- tests/expectations/execution/eq.out | 93 +- .../flattened_function_and_inline_matches.out | 399 +--- .../execution/group_operations.out | 81 +- tests/expectations/execution/metadata.out | 263 +-- tests/expectations/execution/mint.out | 83 +- .../execution/primitive_casts.out | 1151 ++-------- .../expression/access/associated_function.out | 54 +- .../parser/expression/access/call.out | 137 +- .../expression/access/method_function.out | 48 +- .../parser/expression/array_init_fail.out | 36 +- .../parser/expression/array_inline_fail.out | 43 +- .../parser/expression/binary/add.out | 1198 +++++----- .../parser/expression/binary/add_wrapped.out | 642 +++--- .../parser/expression/binary/and.out | 810 ++++--- .../parser/expression/binary/bit_and.out | 1198 +++++----- .../parser/expression/binary/bit_or.out | 1198 +++++----- .../parser/expression/binary/bit_xor.out | 1198 +++++----- .../parser/expression/binary/div.out | 938 ++++---- .../parser/expression/binary/div_wrapped.out | 642 +++--- .../parser/expression/binary/eq.out | 1098 +++++---- .../parser/expression/binary/eq_fail.out | 13 +- .../parser/expression/binary/ge.out | 856 ++++--- .../parser/expression/binary/ge_fail.out | 29 +- .../parser/expression/binary/gt.out | 856 ++++--- .../parser/expression/binary/gt_fail.out | 29 +- .../parser/expression/binary/le.out | 856 ++++--- .../parser/expression/binary/le_fail.out | 29 +- .../parser/expression/binary/lt.out | 856 ++++--- .../parser/expression/binary/lt_fail.out | 29 +- .../parser/expression/binary/modulo.out | 642 +++--- .../parser/expression/binary/mul.out | 1116 ++++----- .../parser/expression/binary/mul_wrapped.out | 642 +++--- .../parser/expression/binary/nand.out | 642 +++--- .../parser/expression/binary/neq.out | 1098 +++++---- .../parser/expression/binary/neq_fail.out | 13 +- .../parser/expression/binary/nor.out | 642 +++--- .../parser/expression/binary/or.out | 386 ++-- .../parser/expression/binary/pow.out | 824 ++++--- .../parser/expression/binary/pow_wrapped.out | 642 +++--- .../parser/expression/binary/rem.out | 938 ++++---- .../parser/expression/binary/rem_wrapped.out | 642 +++--- .../parser/expression/binary/shl.out | 1198 +++++----- .../parser/expression/binary/shl_wrapped.out | 642 +++--- .../parser/expression/binary/shr.out | 1198 +++++----- .../parser/expression/binary/shr_wrapped.out | 642 +++--- .../parser/expression/binary/sub.out | 938 ++++---- .../parser/expression/binary/sub_wrapped.out | 642 +++--- tests/expectations/parser/expression/cast.out | 319 +-- .../parser/expression/cast_fail.out | 35 +- .../parser/expression/circuit_init_fail.out | 89 +- .../expectations/parser/expression/ident.out | 82 +- .../parser/expression/literal/address.out | 20 +- .../expression/literal/address_fail.out | 83 +- .../expression/literal/address_parse.out | 70 +- .../parser/expression/literal/bool.out | 24 +- .../parser/expression/literal/bool_parse.out | 38 +- .../parser/expression/literal/char.out | 220 +- .../parser/expression/literal/char_fail.out | 196 +- .../parser/expression/literal/char_parse.out | 212 +- .../parser/expression/literal/comment.out | 35 +- .../expression/literal/comment_fail.out | 44 +- .../expression/literal/field_hexbin_fail.out | 22 +- .../expression/literal/formatted_string.out | 48 +- .../parser/expression/literal/group.out | 1000 ++++---- .../parser/expression/literal/group_fail.out | 86 +- .../expression/literal/group_hexbin_fail.out | 22 +- .../parser/expression/literal/int.out | 222 +- .../expression/literal/int_parse/field.out | 1686 ++++++++------ .../expression/literal/int_parse/i128.out | 2022 +++++++++-------- .../expression/literal/int_parse/i16.out | 2022 +++++++++-------- .../expression/literal/int_parse/i32.out | 2022 +++++++++-------- .../expression/literal/int_parse/i64.out | 2022 +++++++++-------- .../expression/literal/int_parse/i8.out | 2022 +++++++++-------- .../expression/literal/int_parse/implicit.out | 743 +++++- .../literal/int_parse/mono_group.out | 1791 ++++++++------- .../expression/literal/int_parse/scalar.out | 1686 ++++++++------ .../expression/literal/int_parse/u128.out | 2022 +++++++++-------- .../expression/literal/int_parse/u16.out | 2022 +++++++++-------- .../expression/literal/int_parse/u32.out | 2022 +++++++++-------- .../expression/literal/int_parse/u64.out | 2022 +++++++++-------- .../expression/literal/int_parse/u8.out | 2022 +++++++++-------- .../literal/invalid_digits_fail.out | 18 +- .../expression/literal/postfix_types.out | 124 +- .../expression/literal/scalar_hexbin_fail.out | 22 +- .../parser/expression/literal/string.out | 50 +- .../parser/expression/literal/string_fail.out | 16 +- .../parser/expression/literal/underscore.out | 1459 +++++------- .../expression/literal/underscore_fail.out | 127 +- .../parser/expression/ternary.out | 139 +- .../parser/expression/token_format.out | 426 +++- .../parser/expression/unary/abs.out | 396 ++-- .../parser/expression/unary/abs_wrapped.out | 396 ++-- .../parser/expression/unary/double.out | 396 ++-- .../parser/expression/unary/inv.out | 396 ++-- .../parser/expression/unary/neg.out | 580 +++-- .../parser/expression/unary/not.out | 520 +++-- .../parser/expression/unary/sqrt.out | 426 ++-- .../parser/expression/unary/square.out | 426 ++-- .../parser/finalize/decrement.out | 203 +- .../parser/finalize/decrement_fail.out | 35 +- .../expectations/parser/finalize/finalize.out | 167 +- .../parser/finalize/finalize_fail.out | 13 +- .../finalize/finalize_statement_fail.out | 36 +- .../parser/finalize/increment.out | 203 +- .../parser/finalize/increment_fail.out | 35 +- .../expectations/parser/finalize/mapping.out | 68 +- .../parser/finalize/mapping_fail.out | 13 +- .../annotated_arg_not_ident_fail.out | 13 +- .../parser/functions/annotated_context.out | 142 +- .../parser/functions/annotated_functions.out | 181 +- .../parser/functions/bounded_recursion.out | 217 +- .../parser/functions/const_input_fail.out | 13 +- .../parser/functions/const_param.out | 170 +- .../functions/const_public_param_fail.out | 13 +- .../parser/functions/constant_input.out | 71 +- .../functions/danling_annotations_fail.out | 68 +- .../expectations/parser/functions/empty2.out | 63 +- .../parser/functions/escape_fail.out | 10 +- .../function_name_is_not_identifier.out | 13 +- .../parser/functions/ident_token_fail.out | 13 +- .../parser/functions/infinite_recursion.out | 139 +- .../parser/functions/inline_function.out | 101 +- .../parser/functions/mode_outside_tuple.out | 13 +- .../parser/functions/mut_input_fail.out | 13 +- .../expectations/parser/functions/params.out | 101 +- .../parser/functions/params_return.out | 101 +- .../functions/public_const_param_fail.out | 13 +- .../parser/functions/public_param.out | 170 +- .../expectations/parser/functions/return.out | 82 +- .../functions/spaced_annotation_fail.out | 15 +- .../parser/functions/test_keyword_fail.out | 13 +- .../parser/functions/transition_function.out | 101 +- .../parser/future/explicit_future_typing.out | 407 +--- .../parser/inputs/input_const.out | 5 - .../parser/inputs/input_constant.out | 215 -- .../inputs/input_constant_public_fail.out | 5 - .../expectations/parser/inputs/input_fail.out | 5 - .../parser/inputs/input_public.out | 215 -- .../inputs/input_public_constant_fail.out | 5 - .../parser/program/async_basic.out | 222 +- .../parser/program/backslash_eof.out | 10 +- .../parser/program/bidi_comment_2_fail.out | 8 +- .../parser/program/bidi_comment_fail.out | 8 +- .../program/circuit_deprecated_fail.out | 13 +- .../parser/program/dollar_eof.out | 10 +- .../parser/program/escape_u8_eof.out | 10 +- .../parser/program/external_mapping.out | 320 +-- tests/expectations/parser/program/hex_eof.out | 13 +- .../parser/program/illegal_import_fail.out | 13 +- tests/expectations/parser/program/import.out | 95 +- .../parser/program/import_fail.out | 13 +- .../program/locator_expression_fail.out | 13 +- tests/expectations/parser/program/mapping.out | 67 +- .../parser/program/mapping_fail.out | 13 +- .../parser/program/network_id.out | 104 +- .../parser/program/non_aleo_network_fail.out | 13 +- .../expectations/parser/program/pipe_eof.out | 13 +- tests/expectations/parser/program/q_eof.out | 10 +- .../parser/program/record_with_visibility.out | 54 +- .../parser/program/special_address.out | 160 +- tests/expectations/parser/program/sq_eof.out | 10 +- .../parser/program/struct_with_visibility.out | 73 +- .../expectations/parser/program/stub_fail.out | 13 +- .../expectations/parser/program/tilde_eof.out | 10 +- .../program/unclosed_unicode_eof_fail.out | 10 +- .../parser/serialize/one_plus_one.out | 73 +- .../parser/serialize/parser_error.out | 13 +- .../expectations/parser/statement/assert.out | 170 +- .../expectations/parser/statement/assign.out | 114 +- .../parser/statement/async_fail.out | 13 +- tests/expectations/parser/statement/block.out | 239 +- .../parser/statement/conditional.out | 386 ++-- .../parser/statement/conditional_fail.out | 13 +- .../parser/statement/console_fail.out | 109 +- .../parser/statement/definition.out | 751 +++--- .../parser/statement/definition_fail.out | 320 ++- .../parser/statement/exported_type_fail.out | 22 +- .../parser/statement/expression.out | 99 +- .../parser/statement/expression_fail.out | 47 +- .../parser/statement/finalize_fail.out | 44 +- .../parser/statement/iteration.out | 360 +-- .../parser/statement/let_mut_recover.out | 13 +- .../expectations/parser/statement/return.out | 56 +- .../parser/statement/return_fail.out | 29 +- .../parser/structs/comma_separators_fail.out | 13 +- .../structs/only_comma_separators_fail.out | 18 +- tests/expectations/parser/type_/signature.out | 323 +-- .../signature_verify_bad_syntax_fail.out | 18 +- .../parser/unreachable/define.out | 325 ++- .../parser/unreachable/eat_ident.out | 13 +- .../parser/unreachable/eat_int.out | 381 +++- .../equality_and_order_expression.out | 372 ++- .../parser/unreachable/expect_ident.out | 372 ++- .../parser/unreachable/math_op_fail.out | 385 +++- .../parser/unreachable/math_op_pass.out | 867 ++++--- .../parser/unreachable/postfix_fail.out | 148 +- .../parser/unreachable/postfix_pass.out | 781 ++++--- tests/test-framework/Cargo.toml | 4 +- tests/test-framework/src/error.rs | 14 +- tests/test-framework/src/output.rs | 2 +- tests/test-framework/src/runner.rs | 8 +- tests/test-framework/src/test.rs | 4 +- .../src/unused/both_sign_high.leo | 4 +- .../src/unused/both_sign_inferred.leo | 4 +- .../src/unused/both_sign_low.leo | 4 +- tests/test-framework/src/unused/repeated.leo | 4 +- tests/test-framework/src/unused/return.leo | 4 +- .../src/unused/string/invalid_char.leo | 4 +- .../test-framework/src/unused/string/neq.leo | 4 +- .../test-framework/src/unused/string/out.leo | 4 +- .../src/unused/string/string.leo | 4 +- .../test-framework/src/unused/y_sign_high.leo | 4 +- .../src/unused/y_sign_inferred.leo | 4 +- .../test-framework/src/unused/y_sign_low.leo | 4 +- .../tests/compiler/additional_benches/big.leo | 4 +- .../additional_benches/big_circuit.leo | 4 +- .../additional_benches/big_if_else.leo | 4 +- .../additional_benches/big_ternary.leo | 4 +- .../compiler/additional_benches/large_1.leo | 4 +- .../compiler/additional_benches/large_2.leo | 4 +- .../compiler/additional_benches/large_3.leo | 4 +- .../compiler/additional_benches/large_4.leo | 4 +- .../compiler/additional_benches/large_5.leo | 4 +- .../additional_benches/long_array.leo | 4 +- .../compiler/additional_benches/long_expr.leo | 4 +- .../additional_benches/many_assigns.leo | 4 +- .../compiler/additional_benches/many_foos.leo | 4 +- .../compiler/additional_benches/massive.leo | 4 +- .../compiler/additional_benches/medium_1.leo | 4 +- .../compiler/additional_benches/medium_2.leo | 4 +- .../compiler/additional_benches/medium_3.leo | 4 +- .../compiler/additional_benches/medium_4.leo | 4 +- .../compiler/additional_benches/medium_5.leo | 4 +- .../compiler/additional_benches/small_1.leo | 4 +- .../compiler/additional_benches/small_2.leo | 4 +- .../compiler/additional_benches/small_3.leo | 4 +- .../compiler/additional_benches/small_4.leo | 4 +- .../compiler/additional_benches/small_5.leo | 4 +- tests/tests/compiler/address/binary.leo | 4 +- tests/tests/compiler/address/branch.leo | 4 +- tests/tests/compiler/address/equal.leo | 4 +- tests/tests/compiler/address/gt_fail.leo | 4 +- tests/tests/compiler/address/gte_fail.leo | 4 +- tests/tests/compiler/address/lt_fail.leo | 4 +- tests/tests/compiler/address/lte_fail.leo | 4 +- .../compiler/address/special_address.leo | 4 +- tests/tests/compiler/address/ternary.leo | 4 +- .../array/access_array_with_loop_counter.leo | 4 +- tests/tests/compiler/array/array_access.leo | 4 +- .../array/array_in_composite_data_types.leo | 4 +- .../compiler/array/array_in_finalize.leo | 4 +- .../array/array_in_function_signature.leo | 4 +- .../tests/compiler/array/array_in_mapping.leo | 4 +- .../compiler/array/array_initialization.leo | 4 +- .../array/array_initialization_fail.leo | 4 +- .../tests/compiler/array/array_of_records.leo | 4 +- .../tests/compiler/array/array_of_structs.leo | 4 +- .../compiler/array/array_size_limits.leo | 4 +- .../compiler/array/array_too_large_fail.leo | 4 +- .../compiler/array/array_too_small_fail.leo | 4 +- .../array/array_variable_access_fail.leo | 4 +- .../compiler/array/array_with_units_fail.leo | 4 +- .../tests/compiler/array/array_write_fail.leo | 4 +- .../compiler/array/nested_array_sum_fail.leo | 4 +- tests/tests/compiler/assert/early_return.leo | 4 +- tests/tests/compiler/boolean/and.leo | 4 +- tests/tests/compiler/boolean/conditional.leo | 4 +- tests/tests/compiler/boolean/equal.leo | 4 +- tests/tests/compiler/boolean/not_equal.leo | 4 +- .../compiler/boolean/operator_methods.leo | 4 +- tests/tests/compiler/boolean/or.leo | 4 +- .../compiler/bugs/unknown_variable_fail.leo | 4 +- tests/tests/compiler/console/assert.leo | 4 +- tests/tests/compiler/console/assert_fail.leo | 4 +- .../compiler/console/conditional_assert.leo | 4 +- .../constants/const_tuple_declaration.leo | 4 +- .../constants/const_type_error_fail.leo | 4 +- .../compiler/constants/constant_finalize.leo | 4 +- .../constants/constant_loop_bound.leo | 4 +- ...constant_loop_bound_type_mismatch_fail.leo | 4 +- .../decreasing_constant_loop_bound_fail.leo | 4 +- .../global_shadowing_constant_fail.leo | 4 +- .../constants/local_shadowing_fail.leo | 4 +- .../compiler/constants/loop_unrolling.leo | 4 +- .../compiler/constants/reassignment_fail.leo | 4 +- .../constants/tuple_definition_fail.leo | 4 +- .../compiler/constants/tuple_shadow_fail.leo | 4 +- .../unroll_loop_with_tuple_definition.leo | 4 +- .../algorithms/bhp1024_commit_to_address.leo | 4 +- .../algorithms/bhp1024_commit_to_field.leo | 4 +- .../algorithms/bhp1024_commit_to_group.leo | 4 +- .../algorithms/bhp1024_hash_to_address.leo | 4 +- .../core/algorithms/bhp1024_hash_to_field.leo | 4 +- .../core/algorithms/bhp1024_hash_to_group.leo | 4 +- .../algorithms/bhp1024_hash_to_scalar.leo | 4 +- .../algorithms/bhp256_commit_to_address.leo | 4 +- .../algorithms/bhp256_commit_to_field.leo | 4 +- .../algorithms/bhp256_commit_to_group.leo | 4 +- .../algorithms/bhp256_hash_to_address.leo | 4 +- .../core/algorithms/bhp256_hash_to_field.leo | 4 +- .../core/algorithms/bhp256_hash_to_group.leo | 4 +- .../core/algorithms/bhp256_hash_to_scalar.leo | 4 +- .../algorithms/bhp512_commit_to_address.leo | 4 +- .../algorithms/bhp512_commit_to_field.leo | 4 +- .../algorithms/bhp512_commit_to_group.leo | 4 +- .../algorithms/bhp512_hash_to_address.leo | 4 +- .../core/algorithms/bhp512_hash_to_field.leo | 4 +- .../core/algorithms/bhp512_hash_to_group.leo | 4 +- .../core/algorithms/bhp512_hash_to_scalar.leo | 4 +- .../algorithms/bhp768_commit_to_address.leo | 4 +- .../algorithms/bhp768_commit_to_field.leo | 4 +- .../algorithms/bhp768_commit_to_group.leo | 4 +- .../algorithms/bhp768_hash_to_address.leo | 4 +- .../core/algorithms/bhp768_hash_to_field.leo | 4 +- .../core/algorithms/bhp768_hash_to_group.leo | 4 +- .../core/algorithms/bhp768_hash_to_scalar.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_i128.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_i16.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_i32.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_i64.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_i8.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_u128.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_u16.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_u32.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_u64.leo | 4 +- .../integers/bhp1024/bhp1024_hash_to_u8.leo | 4 +- .../integers/bhp256/bhp256_hash_to_i128.leo | 4 +- .../integers/bhp256/bhp256_hash_to_i16.leo | 4 +- .../integers/bhp256/bhp256_hash_to_i32.leo | 4 +- .../integers/bhp256/bhp256_hash_to_i64.leo | 4 +- .../integers/bhp256/bhp256_hash_to_i8.leo | 4 +- .../integers/bhp256/bhp256_hash_to_u128.leo | 4 +- .../integers/bhp256/bhp256_hash_to_u16.leo | 4 +- .../integers/bhp256/bhp256_hash_to_u32.leo | 4 +- .../integers/bhp256/bhp256_hash_to_u64.leo | 4 +- .../integers/bhp256/bhp256_hash_to_u8.leo | 4 +- .../integers/bhp512/bhp512_hash_to_i128.leo | 4 +- .../integers/bhp512/bhp512_hash_to_i16.leo | 4 +- .../integers/bhp512/bhp512_hash_to_i32.leo | 4 +- .../integers/bhp512/bhp512_hash_to_i64.leo | 4 +- .../integers/bhp512/bhp512_hash_to_i8.leo | 4 +- .../integers/bhp512/bhp512_hash_to_u128.leo | 4 +- .../integers/bhp512/bhp512_hash_to_u16.leo | 4 +- .../integers/bhp512/bhp512_hash_to_u32.leo | 4 +- .../integers/bhp512/bhp512_hash_to_u64.leo | 4 +- .../integers/bhp512/bhp512_hash_to_u8.leo | 4 +- .../integers/bhp768/bhp768_hash_to_i128.leo | 4 +- .../integers/bhp768/bhp768_hash_to_i16.leo | 4 +- .../integers/bhp768/bhp768_hash_to_i32.leo | 4 +- .../integers/bhp768/bhp768_hash_to_i64.leo | 4 +- .../integers/bhp768/bhp768_hash_to_i8.leo | 4 +- .../integers/bhp768/bhp768_hash_to_u128.leo | 4 +- .../integers/bhp768/bhp768_hash_to_u16.leo | 4 +- .../integers/bhp768/bhp768_hash_to_u32.leo | 4 +- .../integers/bhp768/bhp768_hash_to_u64.leo | 4 +- .../integers/bhp768/bhp768_hash_to_u8.leo | 4 +- .../keccak256/keccak256_hash_to_i128.leo | 4 +- .../keccak256/keccak256_hash_to_i16.leo | 4 +- .../keccak256/keccak256_hash_to_i32.leo | 4 +- .../keccak256/keccak256_hash_to_i64.leo | 4 +- .../keccak256/keccak256_hash_to_i8.leo | 4 +- .../keccak256/keccak256_hash_to_u128.leo | 4 +- .../keccak256/keccak256_hash_to_u16.leo | 4 +- .../keccak256/keccak256_hash_to_u32.leo | 4 +- .../keccak256/keccak256_hash_to_u64.leo | 4 +- .../keccak256/keccak256_hash_to_u8.leo | 4 +- .../keccak384/keccak384_hash_to_i128.leo | 4 +- .../keccak384/keccak384_hash_to_i16.leo | 4 +- .../keccak384/keccak384_hash_to_i32.leo | 4 +- .../keccak384/keccak384_hash_to_i64.leo | 4 +- .../keccak384/keccak384_hash_to_i8.leo | 4 +- .../keccak384/keccak384_hash_to_u128.leo | 4 +- .../keccak384/keccak384_hash_to_u16.leo | 4 +- .../keccak384/keccak384_hash_to_u32.leo | 4 +- .../keccak384/keccak384_hash_to_u64.leo | 4 +- .../keccak384/keccak384_hash_to_u8.leo | 4 +- .../keccak512/keccak512_hash_to_i128.leo | 4 +- .../keccak512/keccak512_hash_to_i16.leo | 4 +- .../keccak512/keccak512_hash_to_i32.leo | 4 +- .../keccak512/keccak512_hash_to_i64.leo | 4 +- .../keccak512/keccak512_hash_to_i8.leo | 4 +- .../keccak512/keccak512_hash_to_u128.leo | 4 +- .../keccak512/keccak512_hash_to_u16.leo | 4 +- .../keccak512/keccak512_hash_to_u32.leo | 4 +- .../keccak512/keccak512_hash_to_u64.leo | 4 +- .../keccak512/keccak512_hash_to_u8.leo | 4 +- .../pedersen128/pedersen128_hash_to_i128.leo | 4 +- .../pedersen128/pedersen128_hash_to_i16.leo | 4 +- .../pedersen128/pedersen128_hash_to_i32.leo | 4 +- .../pedersen128/pedersen128_hash_to_i64.leo | 4 +- .../pedersen128/pedersen128_hash_to_i8.leo | 4 +- .../pedersen128/pedersen128_hash_to_u128.leo | 4 +- .../pedersen128/pedersen128_hash_to_u16.leo | 4 +- .../pedersen128/pedersen128_hash_to_u32.leo | 4 +- .../pedersen128/pedersen128_hash_to_u64.leo | 4 +- .../pedersen128/pedersen128_hash_to_u8.leo | 4 +- .../pedersen64/pedersen64_hash_to_i128.leo | 4 +- .../pedersen64/pedersen64_hash_to_i16.leo | 4 +- .../pedersen64/pedersen64_hash_to_i32.leo | 4 +- .../pedersen64/pedersen64_hash_to_i64.leo | 4 +- .../pedersen64/pedersen64_hash_to_i8.leo | 4 +- .../pedersen64/pedersen64_hash_to_u128.leo | 4 +- .../pedersen64/pedersen64_hash_to_u16.leo | 4 +- .../pedersen64/pedersen64_hash_to_u32.leo | 4 +- .../pedersen64/pedersen64_hash_to_u64.leo | 4 +- .../pedersen64/pedersen64_hash_to_u8.leo | 4 +- .../poseidon2/poseidon2_hash_to_i128.leo | 4 +- .../poseidon2/poseidon2_hash_to_i16.leo | 4 +- .../poseidon2/poseidon2_hash_to_i32.leo | 4 +- .../poseidon2/poseidon2_hash_to_i64.leo | 4 +- .../poseidon2/poseidon2_hash_to_i8.leo | 4 +- .../poseidon2/poseidon2_hash_to_u128.leo | 4 +- .../poseidon2/poseidon2_hash_to_u16.leo | 4 +- .../poseidon2/poseidon2_hash_to_u32.leo | 4 +- .../poseidon2/poseidon2_hash_to_u64.leo | 4 +- .../poseidon2/poseidon2_hash_to_u8.leo | 4 +- .../poseidon4/poseidon4_hash_to_i128.leo | 4 +- .../poseidon4/poseidon4_hash_to_i16.leo | 4 +- .../poseidon4/poseidon4_hash_to_i32.leo | 4 +- .../poseidon4/poseidon4_hash_to_i64.leo | 4 +- .../poseidon4/poseidon4_hash_to_i8.leo | 4 +- .../poseidon4/poseidon4_hash_to_u128.leo | 4 +- .../poseidon4/poseidon4_hash_to_u16.leo | 4 +- .../poseidon4/poseidon4_hash_to_u32.leo | 4 +- .../poseidon4/poseidon4_hash_to_u64.leo | 4 +- .../poseidon4/poseidon4_hash_to_u8.leo | 4 +- .../poseidon8/poseidon8_hash_to_i128.leo | 4 +- .../poseidon8/poseidon8_hash_to_i16.leo | 4 +- .../poseidon8/poseidon8_hash_to_i32.leo | 4 +- .../poseidon8/poseidon8_hash_to_i64.leo | 4 +- .../poseidon8/poseidon8_hash_to_i8.leo | 4 +- .../poseidon8/poseidon8_hash_to_u128.leo | 4 +- .../poseidon8/poseidon8_hash_to_u16.leo | 4 +- .../poseidon8/poseidon8_hash_to_u32.leo | 4 +- .../poseidon8/poseidon8_hash_to_u64.leo | 4 +- .../poseidon8/poseidon8_hash_to_u8.leo | 4 +- .../sha3_256/sha3_256_hash_to_i128.leo | 4 +- .../sha3_256/sha3_256_hash_to_i16.leo | 4 +- .../sha3_256/sha3_256_hash_to_i32.leo | 4 +- .../sha3_256/sha3_256_hash_to_i64.leo | 4 +- .../integers/sha3_256/sha3_256_hash_to_i8.leo | 4 +- .../sha3_256/sha3_256_hash_to_u128.leo | 4 +- .../sha3_256/sha3_256_hash_to_u16.leo | 4 +- .../sha3_256/sha3_256_hash_to_u32.leo | 4 +- .../sha3_256/sha3_256_hash_to_u64.leo | 4 +- .../integers/sha3_256/sha3_256_hash_to_u8.leo | 4 +- .../sha3_384/sha3_384_hash_to_i128.leo | 4 +- .../sha3_384/sha3_384_hash_to_i16.leo | 4 +- .../sha3_384/sha3_384_hash_to_i32.leo | 4 +- .../sha3_384/sha3_384_hash_to_i64.leo | 4 +- .../integers/sha3_384/sha3_384_hash_to_i8.leo | 4 +- .../sha3_384/sha3_384_hash_to_u128.leo | 4 +- .../sha3_384/sha3_384_hash_to_u16.leo | 4 +- .../sha3_384/sha3_384_hash_to_u32.leo | 4 +- .../sha3_384/sha3_384_hash_to_u64.leo | 4 +- .../integers/sha3_384/sha3_384_hash_to_u8.leo | 4 +- .../sha3_512/sha3_512_hash_to_i128.leo | 4 +- .../sha3_512/sha3_512_hash_to_i16.leo | 4 +- .../sha3_512/sha3_512_hash_to_i32.leo | 4 +- .../sha3_512/sha3_512_hash_to_i64.leo | 4 +- .../integers/sha3_512/sha3_512_hash_to_i8.leo | 4 +- .../sha3_512/sha3_512_hash_to_u128.leo | 4 +- .../sha3_512/sha3_512_hash_to_u16.leo | 4 +- .../sha3_512/sha3_512_hash_to_u32.leo | 4 +- .../sha3_512/sha3_512_hash_to_u64.leo | 4 +- .../integers/sha3_512/sha3_512_hash_to_u8.leo | 4 +- .../algorithms/keccak256_hash_to_address.leo | 4 +- .../algorithms/keccak256_hash_to_field.leo | 4 +- .../algorithms/keccak256_hash_to_group.leo | 4 +- .../algorithms/keccak256_hash_to_scalar.leo | 4 +- .../algorithms/keccak384_hash_to_address.leo | 4 +- .../algorithms/keccak384_hash_to_field.leo | 4 +- .../algorithms/keccak384_hash_to_group.leo | 4 +- .../algorithms/keccak384_hash_to_scalar.leo | 4 +- .../algorithms/keccak512_hash_to_address.leo | 4 +- .../algorithms/keccak512_hash_to_field.leo | 4 +- .../algorithms/keccak512_hash_to_group.leo | 4 +- .../algorithms/keccak512_hash_to_scalar.leo | 4 +- .../pedersen128_commit_to_address.leo | 4 +- .../pedersen128_commit_to_field.leo | 4 +- .../pedersen128_commit_to_group.leo | 4 +- .../pedersen128_hash_to_address.leo | 4 +- .../algorithms/pedersen128_hash_to_field.leo | 4 +- .../algorithms/pedersen128_hash_to_group.leo | 4 +- .../pedersen64_commit_to_address.leo | 4 +- .../algorithms/pedersen64_commit_to_field.leo | 4 +- .../algorithms/pedersen64_commit_to_group.leo | 4 +- .../algorithms/pedersen64_hash_to_address.leo | 4 +- .../algorithms/pedersen64_hash_to_field.leo | 4 +- .../algorithms/pedersen64_hash_to_group.leo | 4 +- .../algorithms/pedersen64_hash_to_scalar.leo | 4 +- .../core/algorithms/pedersen_fail.leo | 4 +- .../algorithms/poseidon2_hash_to_address.leo | 4 +- .../algorithms/poseidon2_hash_to_field.leo | 4 +- .../algorithms/poseidon2_hash_to_group.leo | 4 +- .../algorithms/poseidon2_hash_to_scalar.leo | 4 +- .../algorithms/poseidon4_hash_to_address.leo | 4 +- .../algorithms/poseidon4_hash_to_field.leo | 4 +- .../algorithms/poseidon4_hash_to_group.leo | 4 +- .../algorithms/poseidon4_hash_to_scalar.leo | 4 +- .../algorithms/poseidon8_hash_to_address.leo | 4 +- .../algorithms/poseidon8_hash_to_field.leo | 4 +- .../algorithms/poseidon8_hash_to_group.leo | 4 +- .../algorithms/poseidon8_hash_to_scalar.leo | 4 +- .../algorithms/sha3_256_hash_to_address.leo | 4 +- .../algorithms/sha3_256_hash_to_field.leo | 4 +- .../algorithms/sha3_256_hash_to_group.leo | 4 +- .../algorithms/sha3_256_hash_to_scalar.leo | 4 +- .../algorithms/sha3_384_hash_to_address.leo | 4 +- .../algorithms/sha3_384_hash_to_field.leo | 4 +- .../algorithms/sha3_384_hash_to_group.leo | 4 +- .../algorithms/sha3_384_hash_to_scalar.leo | 4 +- .../algorithms/sha3_512_hash_to_address.leo | 4 +- .../algorithms/sha3_512_hash_to_field.leo | 4 +- .../algorithms/sha3_512_hash_to_group.leo | 4 +- .../algorithms/sha3_512_hash_to_scalar.leo | 4 +- .../compiler/core/constants/group_gen.leo | 4 +- .../core/constants/group_gen_fail.leo | 4 +- .../define_multiple_variables_fail.leo | 4 +- .../compiler/definition/out_of_order.leo | 4 +- .../compiler/definition/tuple_def_fail.leo | 4 +- .../use_decl_variable_as_assign_fail.leo | 4 +- tests/tests/compiler/examples/auction.leo | 4 +- tests/tests/compiler/examples/basic_bank.leo | 4 +- tests/tests/compiler/examples/board.leo | 4 +- tests/tests/compiler/examples/bubblesort.leo | 4 +- tests/tests/compiler/examples/core.leo | 4 +- tests/tests/compiler/examples/fibonacci.leo | 4 +- tests/tests/compiler/examples/groups.leo | 4 +- tests/tests/compiler/examples/helloworld.leo | 4 +- tests/tests/compiler/examples/interest.leo | 4 +- tests/tests/compiler/examples/lottery.leo | 4 +- tests/tests/compiler/examples/message.leo | 4 +- tests/tests/compiler/examples/move.leo | 4 +- tests/tests/compiler/examples/ntzdebruijn.leo | 4 +- tests/tests/compiler/examples/ntzgaudet.leo | 4 +- tests/tests/compiler/examples/ntzloops.leo | 4 +- tests/tests/compiler/examples/ntzmasks.leo | 4 +- tests/tests/compiler/examples/ntzreisers.leo | 4 +- tests/tests/compiler/examples/ntzseals.leo | 4 +- .../tests/compiler/examples/ntzsearchtree.leo | 4 +- .../tests/compiler/examples/ntzsmallvals.leo | 4 +- .../tests/compiler/examples/simple_token.leo | 4 +- tests/tests/compiler/examples/tictactoe.leo | 4 +- tests/tests/compiler/examples/token.leo | 4 +- tests/tests/compiler/examples/twoadicity.leo | 4 +- tests/tests/compiler/examples/verify.leo | 4 +- tests/tests/compiler/examples/vote.leo | 4 +- tests/tests/compiler/expression/cast.leo | 4 +- .../compiler/expression/cast_coersion.leo | 4 +- tests/tests/compiler/expression/cast_fail.leo | 4 +- .../tests/compiler/expression/network_id.leo | 4 +- tests/tests/compiler/expression/ternary.leo | 4 +- tests/tests/compiler/field/add.leo | 4 +- tests/tests/compiler/field/div.leo | 4 +- tests/tests/compiler/field/eq.leo | 4 +- tests/tests/compiler/field/field.leo | 4 +- tests/tests/compiler/field/mul.leo | 4 +- tests/tests/compiler/field/negate.leo | 4 +- .../field/no_space_between_literal.leo | 4 +- .../tests/compiler/field/operator_methods.leo | 4 +- tests/tests/compiler/field/pow.leo | 4 +- tests/tests/compiler/field/sub.leo | 4 +- tests/tests/compiler/field/ternary.leo | 4 +- .../tests/compiler/finalize/block_height.leo | 4 +- .../compiler/finalize/block_height_fail.leo | 4 +- .../finalize/closure_with_finalize_fail.leo | 4 +- tests/tests/compiler/finalize/contains.leo | 4 +- .../compiler/finalize/decrement_fail.leo | 4 +- .../finalize/decrement_via_get_set.leo | 4 +- .../compiler/finalize/empty_finalize_fail.leo | 4 +- tests/tests/compiler/finalize/finalize.leo | 4 +- .../tests/compiler/finalize/finalize_fail.leo | 4 +- .../finalize_incorrect_modes_fail.leo | 4 +- .../finalize_incorrect_return_fail.leo | 4 +- .../finalize/finalize_missing_return_fail.leo | 4 +- .../finalize/finalize_name_mismatch_fail.leo | 4 +- .../finalize_reassign_to_outer_scope_fail.leo | 8 +- .../finalize/finalize_returns_value_fail.leo | 4 +- ...finalize_statement_incorrect_args_fail.leo | 4 +- .../finalize/finalize_with_method_calls.leo | 4 +- .../finalize/finalize_with_return.leo | 4 +- ...nalize_without_finalize_statement_fail.leo | 4 +- .../finalize/get_incorrect_num_operands.leo | 4 +- .../finalize/get_incorrect_type_fail.leo | 4 +- .../get_or_incorrect_num_operands.leo | 4 +- .../finalize/get_or_incorrect_type_fail.leo | 4 +- .../compiler/finalize/increment_fail.leo | 4 +- .../finalize/increment_via_get_set.leo | 4 +- .../compiler/finalize/inline_in_finalize.leo | 4 +- tests/tests/compiler/finalize/mapping.leo | 4 +- .../tests/compiler/finalize/mapping_fail.leo | 4 +- .../mapping_operations_in_inline_fail.leo | 4 +- .../only_finalize_with_flattening.leo | 8 +- .../finalize/private_input_ouput_fail.leo | 4 +- tests/tests/compiler/finalize/rand.leo | 4 +- .../finalize/rand_incorrect_num_operands.leo | 4 +- .../finalize/rand_incorrect_type_fail.leo | 4 +- .../finalize/rand_not_in_finalize.leo | 4 +- .../finalize/read_write_mapping_fail.leo | 4 +- tests/tests/compiler/finalize/remove.leo | 4 +- .../finalize/set_in_an_assignment_fail.leo | 4 +- .../finalize/set_incorrect_num_operands.leo | 4 +- .../finalize/set_incorrect_type_fail.leo | 4 +- .../compiler/finalize/shadow_mapping_fail.leo | 4 +- .../unknown_mapping_operation_fail.leo | 4 +- .../tests/compiler/function/9_inputs_fail.leo | 4 +- .../function/annotated_function_fail.leo | 4 +- tests/tests/compiler/function/basic_async.leo | 4 +- .../function/complex_recursion_fail.leo | 4 +- .../compiler/function/conditional_return.leo | 4 +- .../function/dead_code_elimination.leo | 4 +- .../function/duplicate_definition_fail.leo | 4 +- .../function/duplicate_parameter_fail.leo | 4 +- .../compiler/function/flatten_arrays.leo | 4 +- .../flatten_inlined_tuples_of_structs.leo | 4 +- .../tests/compiler/function/flatten_test.leo | 4 +- .../compiler/function/flatten_test_2.leo | 11 +- .../function/flatten_tuples_of_structs.leo | 4 +- .../function/flatten_unit_expressions.leo | 13 +- .../tests/compiler/function/function_call.leo | 4 +- .../function/function_call_inline.leo | 4 +- .../function/function_call_out_of_order.leo | 4 +- .../function/function_call_tyc_fail.leo | 4 +- .../function_input_else_assignment.leo | 4 +- .../function/function_returns_record_fail.leo | 4 +- .../function/global_shadow_function_fail.leo | 4 +- .../helper_function_with_interface.leo | 4 +- .../function/inline_expr_statement.leo | 13 +- .../tests/compiler/function/inline_twice.leo | 4 +- .../function/mutual_recursion_fail.leo | 4 +- tests/tests/compiler/function/no_return.leo | 4 +- .../compiler/function/no_transition_fail.leo | 4 +- ...n_transition_variant_input_record_fail.leo | 4 +- .../function/private_input_output.leo | 4 +- ...ction_any_number_of_inputs_and_outputs.leo | 4 +- .../function/program_function_empty_body.leo | 4 +- ...program_function_no_constant_mode_fail.leo | 4 +- .../function/program_function_unit_type.leo | 4 +- .../function/program_function_with_mode.leo | 4 +- .../function/record_in_conditional_return.leo | 4 +- tests/tests/compiler/function/scope_fail.leo | 4 +- tests/tests/compiler/function/self.leo | 4 +- tests/tests/compiler/function/self_fail.leo | 4 +- .../compiler/function/self_finalize_fail.leo | 4 +- .../function/self_recursive_cycle_fail.leo | 4 +- .../function/shadow_parameter_fail.leo | 4 +- ..._function_calls_standard_function_fail.leo | 4 +- ...unction_calls_transition_function_fail.leo | 4 +- .../function/too_many_transitions_fail.leo | 4 +- .../transition_calls_async_function_fail.leo | 4 +- ...unction_calls_transition_function_fail.leo | 4 +- .../function/undefined_data_type_fail.leo | 4 +- .../compiler/function/undefined_fail.leo | 4 +- .../function/unknown_parameter_type_fail.leo | 4 +- .../futures/explicit_return_type_fail.leo | 4 +- .../compiler/futures/explicit_type_simple.leo | 4 +- .../compiler/futures/future_in_tuple.leo | 4 +- .../futures/future_not_all_awaited_fail.leo | 4 +- ...ture_not_all_passed_to_async_call_fail.leo | 4 +- tests/tests/compiler/futures/nested.leo | 4 +- .../futures/partial_type_specification.leo | 4 +- tests/tests/compiler/futures/simple.leo | 4 +- tests/tests/compiler/group/add.leo | 4 +- tests/tests/compiler/group/assert_eq.leo | 4 +- tests/tests/compiler/group/eq.leo | 4 +- tests/tests/compiler/group/group_mul.leo | 4 +- tests/tests/compiler/group/input.leo | 4 +- tests/tests/compiler/group/mul.leo | 4 +- .../compiler/group/mult_by_group_fail.leo | 4 +- tests/tests/compiler/group/mult_by_scalar.leo | 4 +- tests/tests/compiler/group/negate.leo | 4 +- .../group/no_space_between_literal.leo | 4 +- .../tests/compiler/group/operator_methods.leo | 4 +- tests/tests/compiler/group/point_input.leo | 4 +- tests/tests/compiler/group/sub.leo | 4 +- tests/tests/compiler/group/ternary.leo | 4 +- .../tests/compiler/group/to_x_coordinate.leo | 4 +- .../tests/compiler/group/to_y_coordinate.leo | 4 +- tests/tests/compiler/group/x_and_y.leo | 4 +- tests/tests/compiler/group/x_sign_high.leo | 4 +- .../tests/compiler/group/x_sign_inferred.leo | 4 +- tests/tests/compiler/group/x_sign_low.leo | 4 +- tests/tests/compiler/group/zero.leo | 4 +- tests/tests/compiler/input/main.leo | 4 +- tests/tests/compiler/input/main_field.leo | 4 +- tests/tests/compiler/integers/i128/add.leo | 4 +- tests/tests/compiler/integers/i128/and.leo | 4 +- .../compiler/integers/i128/console_assert.leo | 4 +- tests/tests/compiler/integers/i128/div.leo | 4 +- tests/tests/compiler/integers/i128/eq.leo | 4 +- tests/tests/compiler/integers/i128/ge.leo | 4 +- tests/tests/compiler/integers/i128/gt.leo | 4 +- .../compiler/integers/i128/hex_and_bin.leo | 4 +- tests/tests/compiler/integers/i128/le.leo | 4 +- tests/tests/compiler/integers/i128/lt.leo | 4 +- tests/tests/compiler/integers/i128/max.leo | 4 +- .../tests/compiler/integers/i128/max_fail.leo | 4 +- tests/tests/compiler/integers/i128/min.leo | 4 +- .../tests/compiler/integers/i128/min_fail.leo | 4 +- tests/tests/compiler/integers/i128/mul.leo | 4 +- tests/tests/compiler/integers/i128/ne.leo | 4 +- tests/tests/compiler/integers/i128/negate.leo | 4 +- .../integers/i128/negate_min_fail.leo | 4 +- .../compiler/integers/i128/negate_zero.leo | 4 +- .../i128/no_space_between_literal.leo | 4 +- .../integers/i128/operator_methods.leo | 4 +- tests/tests/compiler/integers/i128/or.leo | 4 +- tests/tests/compiler/integers/i128/pow.leo | 4 +- tests/tests/compiler/integers/i128/rem.leo | 4 +- tests/tests/compiler/integers/i128/shl.leo | 4 +- tests/tests/compiler/integers/i128/shr.leo | 4 +- tests/tests/compiler/integers/i128/sub.leo | 4 +- .../tests/compiler/integers/i128/ternary.leo | 4 +- tests/tests/compiler/integers/i128/xor.leo | 4 +- tests/tests/compiler/integers/i16/add.leo | 4 +- tests/tests/compiler/integers/i16/and.leo | 4 +- .../compiler/integers/i16/console_assert.leo | 4 +- tests/tests/compiler/integers/i16/div.leo | 4 +- tests/tests/compiler/integers/i16/eq.leo | 4 +- tests/tests/compiler/integers/i16/ge.leo | 4 +- tests/tests/compiler/integers/i16/gt.leo | 4 +- .../compiler/integers/i16/hex_and_bin.leo | 4 +- tests/tests/compiler/integers/i16/le.leo | 4 +- tests/tests/compiler/integers/i16/lt.leo | 4 +- tests/tests/compiler/integers/i16/max.leo | 4 +- .../tests/compiler/integers/i16/max_fail.leo | 4 +- tests/tests/compiler/integers/i16/min.leo | 4 +- .../tests/compiler/integers/i16/min_fail.leo | 4 +- tests/tests/compiler/integers/i16/mul.leo | 4 +- tests/tests/compiler/integers/i16/ne.leo | 4 +- tests/tests/compiler/integers/i16/negate.leo | 4 +- .../compiler/integers/i16/negate_min_fail.leo | 4 +- .../compiler/integers/i16/negate_zero.leo | 4 +- .../integers/i16/no_space_between_literal.leo | 4 +- .../integers/i16/operator_methods.leo | 4 +- tests/tests/compiler/integers/i16/or.leo | 4 +- tests/tests/compiler/integers/i16/pow.leo | 4 +- tests/tests/compiler/integers/i16/rem.leo | 4 +- tests/tests/compiler/integers/i16/shl.leo | 4 +- tests/tests/compiler/integers/i16/shr.leo | 4 +- tests/tests/compiler/integers/i16/sub.leo | 4 +- tests/tests/compiler/integers/i16/ternary.leo | 4 +- tests/tests/compiler/integers/i16/xor.leo | 4 +- tests/tests/compiler/integers/i32/add.leo | 4 +- tests/tests/compiler/integers/i32/and.leo | 4 +- .../compiler/integers/i32/console_assert.leo | 4 +- tests/tests/compiler/integers/i32/div.leo | 4 +- tests/tests/compiler/integers/i32/eq.leo | 4 +- tests/tests/compiler/integers/i32/ge.leo | 4 +- tests/tests/compiler/integers/i32/gt.leo | 4 +- .../compiler/integers/i32/hex_and_bin.leo | 4 +- tests/tests/compiler/integers/i32/le.leo | 4 +- tests/tests/compiler/integers/i32/lt.leo | 4 +- tests/tests/compiler/integers/i32/max.leo | 4 +- .../tests/compiler/integers/i32/max_fail.leo | 4 +- tests/tests/compiler/integers/i32/min.leo | 4 +- .../tests/compiler/integers/i32/min_fail.leo | 4 +- tests/tests/compiler/integers/i32/mul.leo | 4 +- tests/tests/compiler/integers/i32/ne.leo | 4 +- tests/tests/compiler/integers/i32/negate.leo | 4 +- .../compiler/integers/i32/negate_min_fail.leo | 4 +- .../compiler/integers/i32/negate_zero.leo | 4 +- .../integers/i32/no_space_between_literal.leo | 4 +- .../integers/i32/operator_methods.leo | 4 +- tests/tests/compiler/integers/i32/or.leo | 4 +- tests/tests/compiler/integers/i32/pow.leo | 4 +- tests/tests/compiler/integers/i32/rem.leo | 4 +- tests/tests/compiler/integers/i32/shl.leo | 4 +- tests/tests/compiler/integers/i32/shr.leo | 4 +- tests/tests/compiler/integers/i32/sub.leo | 4 +- tests/tests/compiler/integers/i32/ternary.leo | 4 +- tests/tests/compiler/integers/i32/xor.leo | 4 +- tests/tests/compiler/integers/i64/add.leo | 4 +- tests/tests/compiler/integers/i64/and.leo | 4 +- .../compiler/integers/i64/console_assert.leo | 4 +- tests/tests/compiler/integers/i64/div.leo | 4 +- tests/tests/compiler/integers/i64/eq.leo | 4 +- tests/tests/compiler/integers/i64/ge.leo | 4 +- tests/tests/compiler/integers/i64/gt.leo | 4 +- .../compiler/integers/i64/hex_and_bin.leo | 4 +- tests/tests/compiler/integers/i64/le.leo | 4 +- tests/tests/compiler/integers/i64/lt.leo | 4 +- tests/tests/compiler/integers/i64/max.leo | 4 +- .../tests/compiler/integers/i64/max_fail.leo | 4 +- tests/tests/compiler/integers/i64/min.leo | 4 +- .../tests/compiler/integers/i64/min_fail.leo | 4 +- tests/tests/compiler/integers/i64/mul.leo | 4 +- tests/tests/compiler/integers/i64/ne.leo | 4 +- tests/tests/compiler/integers/i64/negate.leo | 4 +- .../compiler/integers/i64/negate_min_fail.leo | 4 +- .../compiler/integers/i64/negate_zero.leo | 4 +- .../integers/i64/no_space_between_literal.leo | 4 +- .../integers/i64/operator_methods.leo | 4 +- tests/tests/compiler/integers/i64/or.leo | 4 +- tests/tests/compiler/integers/i64/pow.leo | 4 +- tests/tests/compiler/integers/i64/rem.leo | 4 +- tests/tests/compiler/integers/i64/shl.leo | 4 +- tests/tests/compiler/integers/i64/shr.leo | 4 +- tests/tests/compiler/integers/i64/sub.leo | 4 +- tests/tests/compiler/integers/i64/ternary.leo | 4 +- tests/tests/compiler/integers/i64/xor.leo | 4 +- tests/tests/compiler/integers/i8/add.leo | 4 +- tests/tests/compiler/integers/i8/and.leo | 4 +- .../compiler/integers/i8/console_assert.leo | 4 +- tests/tests/compiler/integers/i8/div.leo | 4 +- tests/tests/compiler/integers/i8/eq.leo | 4 +- tests/tests/compiler/integers/i8/ge.leo | 4 +- tests/tests/compiler/integers/i8/gt.leo | 4 +- .../compiler/integers/i8/hex_and_bin.leo | 4 +- tests/tests/compiler/integers/i8/le.leo | 4 +- tests/tests/compiler/integers/i8/lt.leo | 4 +- tests/tests/compiler/integers/i8/max.leo | 4 +- tests/tests/compiler/integers/i8/max_fail.leo | 4 +- tests/tests/compiler/integers/i8/min.leo | 4 +- tests/tests/compiler/integers/i8/min_fail.leo | 4 +- tests/tests/compiler/integers/i8/mul.leo | 4 +- tests/tests/compiler/integers/i8/ne.leo | 4 +- tests/tests/compiler/integers/i8/negate.leo | 4 +- .../compiler/integers/i8/negate_min_fail.leo | 4 +- .../compiler/integers/i8/negate_zero.leo | 4 +- .../integers/i8/no_space_between_literal.leo | 4 +- .../compiler/integers/i8/operator_methods.leo | 4 +- tests/tests/compiler/integers/i8/or.leo | 4 +- tests/tests/compiler/integers/i8/pow.leo | 4 +- tests/tests/compiler/integers/i8/rem.leo | 4 +- tests/tests/compiler/integers/i8/shl.leo | 4 +- tests/tests/compiler/integers/i8/shr.leo | 4 +- tests/tests/compiler/integers/i8/sub.leo | 4 +- tests/tests/compiler/integers/i8/ternary.leo | 4 +- tests/tests/compiler/integers/i8/xor.leo | 4 +- tests/tests/compiler/integers/u128/add.leo | 4 +- tests/tests/compiler/integers/u128/and.leo | 4 +- .../compiler/integers/u128/console_assert.leo | 4 +- tests/tests/compiler/integers/u128/div.leo | 4 +- tests/tests/compiler/integers/u128/eq.leo | 4 +- tests/tests/compiler/integers/u128/ge.leo | 4 +- tests/tests/compiler/integers/u128/gt.leo | 4 +- .../compiler/integers/u128/hex_and_bin.leo | 4 +- .../compiler/integers/u128/hex_min_fail.leo | 4 +- tests/tests/compiler/integers/u128/le.leo | 4 +- tests/tests/compiler/integers/u128/lt.leo | 4 +- tests/tests/compiler/integers/u128/max.leo | 4 +- .../tests/compiler/integers/u128/max_fail.leo | 4 +- tests/tests/compiler/integers/u128/min.leo | 4 +- .../tests/compiler/integers/u128/min_fail.leo | 4 +- tests/tests/compiler/integers/u128/mul.leo | 4 +- tests/tests/compiler/integers/u128/ne.leo | 4 +- .../u128/no_space_between_literal.leo | 4 +- .../integers/u128/operator_methods.leo | 4 +- tests/tests/compiler/integers/u128/or.leo | 4 +- tests/tests/compiler/integers/u128/pow.leo | 4 +- tests/tests/compiler/integers/u128/rem.leo | 4 +- tests/tests/compiler/integers/u128/shl.leo | 4 +- tests/tests/compiler/integers/u128/shr.leo | 4 +- tests/tests/compiler/integers/u128/sub.leo | 4 +- .../tests/compiler/integers/u128/ternary.leo | 4 +- tests/tests/compiler/integers/u128/xor.leo | 4 +- tests/tests/compiler/integers/u16/add.leo | 4 +- tests/tests/compiler/integers/u16/and.leo | 4 +- .../compiler/integers/u16/console_assert.leo | 4 +- tests/tests/compiler/integers/u16/div.leo | 4 +- tests/tests/compiler/integers/u16/eq.leo | 4 +- tests/tests/compiler/integers/u16/ge.leo | 4 +- tests/tests/compiler/integers/u16/gt.leo | 4 +- .../compiler/integers/u16/hex_and_bin.leo | 4 +- .../compiler/integers/u16/hex_min_fail.leo | 4 +- tests/tests/compiler/integers/u16/le.leo | 4 +- tests/tests/compiler/integers/u16/lt.leo | 4 +- tests/tests/compiler/integers/u16/max.leo | 4 +- .../tests/compiler/integers/u16/max_fail.leo | 4 +- tests/tests/compiler/integers/u16/min.leo | 4 +- .../tests/compiler/integers/u16/min_fail.leo | 4 +- tests/tests/compiler/integers/u16/mul.leo | 4 +- tests/tests/compiler/integers/u16/ne.leo | 4 +- .../integers/u16/no_space_between_literal.leo | 4 +- .../integers/u16/operator_methods.leo | 4 +- tests/tests/compiler/integers/u16/or.leo | 4 +- tests/tests/compiler/integers/u16/pow.leo | 4 +- tests/tests/compiler/integers/u16/rem.leo | 4 +- tests/tests/compiler/integers/u16/shl.leo | 4 +- tests/tests/compiler/integers/u16/shr.leo | 4 +- tests/tests/compiler/integers/u16/sub.leo | 4 +- tests/tests/compiler/integers/u16/ternary.leo | 4 +- tests/tests/compiler/integers/u16/xor.leo | 4 +- tests/tests/compiler/integers/u32/add.leo | 4 +- tests/tests/compiler/integers/u32/and.leo | 4 +- .../compiler/integers/u32/console_assert.leo | 4 +- tests/tests/compiler/integers/u32/div.leo | 4 +- tests/tests/compiler/integers/u32/eq.leo | 4 +- tests/tests/compiler/integers/u32/ge.leo | 4 +- tests/tests/compiler/integers/u32/gt.leo | 4 +- .../compiler/integers/u32/hex_and_bin.leo | 4 +- .../compiler/integers/u32/hex_min_fail.leo | 4 +- tests/tests/compiler/integers/u32/le.leo | 4 +- tests/tests/compiler/integers/u32/lt.leo | 4 +- tests/tests/compiler/integers/u32/max.leo | 4 +- .../tests/compiler/integers/u32/max_fail.leo | 4 +- tests/tests/compiler/integers/u32/min.leo | 4 +- .../tests/compiler/integers/u32/min_fail.leo | 4 +- tests/tests/compiler/integers/u32/mul.leo | 4 +- tests/tests/compiler/integers/u32/ne.leo | 4 +- .../integers/u32/no_space_between_literal.leo | 4 +- .../integers/u32/operator_methods.leo | 4 +- tests/tests/compiler/integers/u32/or.leo | 4 +- tests/tests/compiler/integers/u32/pow.leo | 4 +- tests/tests/compiler/integers/u32/rem.leo | 4 +- tests/tests/compiler/integers/u32/shl.leo | 4 +- tests/tests/compiler/integers/u32/shr.leo | 4 +- tests/tests/compiler/integers/u32/sub.leo | 4 +- tests/tests/compiler/integers/u32/ternary.leo | 4 +- tests/tests/compiler/integers/u32/xor.leo | 4 +- tests/tests/compiler/integers/u64/add.leo | 4 +- tests/tests/compiler/integers/u64/and.leo | 4 +- .../compiler/integers/u64/console_assert.leo | 4 +- tests/tests/compiler/integers/u64/div.leo | 4 +- tests/tests/compiler/integers/u64/eq.leo | 4 +- tests/tests/compiler/integers/u64/ge.leo | 4 +- tests/tests/compiler/integers/u64/gt.leo | 4 +- .../compiler/integers/u64/hex_and_bin.leo | 4 +- .../compiler/integers/u64/hex_min_fail.leo | 4 +- tests/tests/compiler/integers/u64/le.leo | 4 +- tests/tests/compiler/integers/u64/lt.leo | 4 +- tests/tests/compiler/integers/u64/max.leo | 4 +- .../tests/compiler/integers/u64/max_fail.leo | 4 +- tests/tests/compiler/integers/u64/min.leo | 4 +- .../tests/compiler/integers/u64/min_fail.leo | 4 +- tests/tests/compiler/integers/u64/mul.leo | 4 +- tests/tests/compiler/integers/u64/ne.leo | 4 +- .../integers/u64/no_space_between_literal.leo | 4 +- .../integers/u64/operator_methods.leo | 4 +- tests/tests/compiler/integers/u64/or.leo | 4 +- tests/tests/compiler/integers/u64/pow.leo | 4 +- tests/tests/compiler/integers/u64/rem.leo | 4 +- tests/tests/compiler/integers/u64/shl.leo | 4 +- tests/tests/compiler/integers/u64/shr.leo | 4 +- tests/tests/compiler/integers/u64/sub.leo | 4 +- tests/tests/compiler/integers/u64/ternary.leo | 4 +- tests/tests/compiler/integers/u64/xor.leo | 4 +- tests/tests/compiler/integers/u8/add.leo | 4 +- tests/tests/compiler/integers/u8/and.leo | 4 +- .../compiler/integers/u8/console_assert.leo | 4 +- tests/tests/compiler/integers/u8/div.leo | 4 +- tests/tests/compiler/integers/u8/eq.leo | 4 +- tests/tests/compiler/integers/u8/ge.leo | 4 +- tests/tests/compiler/integers/u8/gt.leo | 4 +- .../compiler/integers/u8/hex_and_bin.leo | 4 +- .../compiler/integers/u8/hex_min_fail.leo | 4 +- tests/tests/compiler/integers/u8/le.leo | 4 +- tests/tests/compiler/integers/u8/lt.leo | 4 +- tests/tests/compiler/integers/u8/max.leo | 4 +- tests/tests/compiler/integers/u8/max_fail.leo | 4 +- tests/tests/compiler/integers/u8/min.leo | 4 +- tests/tests/compiler/integers/u8/min_fail.leo | 4 +- tests/tests/compiler/integers/u8/mul.leo | 4 +- tests/tests/compiler/integers/u8/ne.leo | 4 +- .../integers/u8/no_space_between_literal.leo | 4 +- .../compiler/integers/u8/operator_methods.leo | 4 +- tests/tests/compiler/integers/u8/or.leo | 4 +- tests/tests/compiler/integers/u8/pow.leo | 4 +- tests/tests/compiler/integers/u8/rem.leo | 4 +- tests/tests/compiler/integers/u8/shl.leo | 4 +- tests/tests/compiler/integers/u8/shr.leo | 4 +- tests/tests/compiler/integers/u8/sub.leo | 4 +- tests/tests/compiler/integers/u8/ternary.leo | 4 +- tests/tests/compiler/integers/u8/xor.leo | 4 +- .../external_read_with_local_fail.leo | 4 +- .../mappings/global_shadow_mapping_fail.leo | 4 +- .../mappings/locator_expression_fail.leo | 4 +- .../tests/compiler/mappings/max_mappings.leo | 4 +- .../mappings/no_import_external_read_fail.leo | 4 +- .../mappings/read_external_mapping.leo | 4 +- .../mappings/shadowed_mapping_fail.leo | 4 +- .../mappings/too_many_mappings_fail.leo | 4 +- .../unknown_external_mapping_fail.leo | 4 +- .../compiler/records/balance_wrong_ty.leo | 4 +- tests/tests/compiler/records/declaration.leo | 4 +- .../records/duplicate_circuit_name_fail.leo | 4 +- .../compiler/records/duplicate_var_fail.leo | 4 +- .../records/external_nested_record.leo | 4 +- .../compiler/records/gates_is_allowed.leo | 4 +- .../records/global_shadow_records_fail.leo | 4 +- .../compiler/records/init_expression.leo | 4 +- .../records/init_expression_shorthand.leo | 4 +- .../records/init_expression_type_fail.leo | 4 +- .../records/init_expression_var_fail.leo | 4 +- .../tests/compiler/records/nested_record.leo | 4 +- .../compiler/records/nested_record_1_fail.leo | 4 +- .../compiler/records/nested_record_2_fail.leo | 4 +- .../compiler/records/nested_record_3_fail.leo | 4 +- .../compiler/records/nested_record_4_fail.leo | 4 +- .../records/nested_record_as_function_io.leo | 4 +- .../tests/compiler/records/no_owner_fail.leo | 4 +- .../tests/compiler/records/owner_wrong_ty.leo | 4 +- .../record_declaration_out_of_order.leo | 4 +- .../records/record_init_out_of_order.leo | 4 +- .../records/record_with_visibility.leo | 4 +- .../return_record_instead_of_unit_fail.leo | 4 +- tests/tests/compiler/return/ifelse_chain.leo | 4 +- tests/tests/compiler/scalar/add.leo | 4 +- tests/tests/compiler/scalar/cmp.leo | 4 +- tests/tests/compiler/scalar/div_fail.leo | 4 +- tests/tests/compiler/scalar/eq.leo | 4 +- .../scalar/no_space_between_literal.leo | 4 +- .../compiler/scalar/operator_methods.leo | 4 +- tests/tests/compiler/scalar/scalar.leo | 4 +- .../compiler/scalar/square_root_fail.leo | 4 +- tests/tests/compiler/scalar/ternary.leo | 4 +- tests/tests/compiler/signature/signature.leo | 4 +- .../signature_with_wrong_types_fail.leo | 4 +- .../compiler/statements/all_loops_fail.leo | 4 +- tests/tests/compiler/statements/assign.leo | 4 +- .../tests/compiler/statements/assign_fail.leo | 4 +- .../compiler/statements/assign_ternary.leo | 4 +- tests/tests/compiler/statements/block.leo | 4 +- tests/tests/compiler/statements/chain.leo | 4 +- .../statements/compare_diff_types_fail.leo | 4 +- .../compare_invalid_negates_fail.leo | 4 +- .../statements/duplicate_variable.leo | 4 +- .../compiler/statements/expr_statement.leo | 4 +- .../statements/expr_statement_fail.leo | 4 +- .../compiler/statements/iteration_basic.leo | 4 +- .../iteration_bound_too_large_fail.leo | 4 +- .../compiler/statements/iteration_nested.leo | 4 +- .../statements/loop_decreasing_fail.leo | 4 +- .../loop_non_literal_bound_fail.leo | 4 +- .../compiler/statements/loop_returns_fail.leo | 4 +- .../compiler/statements/multiple_returns.leo | 4 +- .../multiple_returns_in_one_block_fail.leo | 4 +- tests/tests/compiler/statements/mutate.leo | 4 +- .../statements/non_existant_var_exp_fail.leo | 4 +- .../statements/non_existant_vars_mul_fail.leo | 4 +- .../statements/operations/add_assign.leo | 4 +- .../statements/operations/and_assign.leo | 4 +- .../statements/operations/bitand_assign.leo | 4 +- .../statements/operations/bitor_assign.leo | 4 +- .../statements/operations/bitxor_assign.leo | 4 +- .../statements/operations/div_assign.leo | 4 +- .../statements/operations/mul_assign.leo | 4 +- .../statements/operations/or_assign.leo | 4 +- .../statements/operations/pow_assign.leo | 4 +- .../statements/operations/rem_assign.leo | 4 +- .../statements/operations/shl_assign.leo | 4 +- .../statements/operations/shr_assign.leo | 4 +- .../statements/operations/sub_assign.leo | 4 +- ...after_complete_conditional_return_fail.leo | 4 +- .../ternary_explicit_and_implicit.leo | 4 +- .../statements/typecheck_statements_fail.leo | 4 +- .../statements/underscore_for_loop.leo | 4 +- .../unknown_type_in_definition_fail.leo | 4 +- tests/tests/compiler/strings/string.leo | 4 +- .../structs/cyclic_structs_four_fail.leo | 4 +- .../structs/cyclic_structs_one_fail.leo | 4 +- .../structs/cyclic_structs_three_fail.leo | 4 +- .../structs/cyclic_structs_two_fail.leo | 4 +- .../structs/duplicate_struct_variable.leo | 4 +- .../compiler/structs/empty_struct_fail.leo | 4 +- .../compiler/structs/external_record.leo | 4 +- .../compiler/structs/external_struct.leo | 4 +- .../external_struct_in_async_function.leo | 4 +- .../structs/global_shadow_struct_fail.leo | 4 +- tests/tests/compiler/structs/inline.leo | 11 +- tests/tests/compiler/structs/inline_fail.leo | 4 +- .../compiler/structs/inline_member_fail.leo | 4 +- .../compiler/structs/inline_member_pass.leo | 14 +- .../compiler/structs/inline_undefined.leo | 4 +- .../compiler/structs/member_variable.leo | 4 +- .../compiler/structs/member_variable_fail.leo | 4 +- .../structs/redefine_external_struct.leo | 4 +- .../structs/shadow_external_struct_fail.leo | 4 +- .../compiler/structs/struct_access_fail.leo | 4 +- .../structs/struct_contains_record_fail.leo | 4 +- .../struct_declaration_out_of_order.leo | 4 +- ...truct_function_namespace_conflict_fail.leo | 4 +- .../structs/struct_init_out_of_order.leo | 4 +- .../structs/struct_with_visibility_fail.leo | 4 +- .../structs/unknown_member_type_fail.leo | 4 +- .../compiler/tuple/access_negative_fail.leo | 4 +- .../tuple/access_out_of_bounds_fail.leo | 4 +- .../tests/compiler/tuple/assign_unit_fail.leo | 4 +- tests/tests/compiler/tuple/declare_fail.leo | 4 +- .../tuple/function_call_returns_tuple.leo | 4 +- .../compiler/tuple/function_early_return.leo | 4 +- .../tests/compiler/tuple/function_return.leo | 4 +- .../tuple/function_return_nothing.leo | 4 +- .../tuple/function_return_single_fail.leo | 4 +- .../compiler/tuple/function_return_unit.leo | 4 +- .../tuple/function_return_varying_modes.leo | 4 +- .../tuple/function_unit_input_fail.leo | 4 +- .../compiler/tuple/return_statement_fail.leo | 4 +- .../tuple/return_with_different_modes.leo | 4 +- .../compiler/tuple/singleton_tuple_fail.leo | 4 +- tests/tests/compiler/tuple/tuple_access.leo | 4 +- .../compiler/tuple/tuple_destructure.leo | 4 +- .../compiler/tuple/tuple_in_assignment.leo | 4 +- .../compiler/tuple/tuple_in_definition.leo | 4 +- .../tuple/tuple_in_function_param.leo | 4 +- tests/tests/compiler/tuple/tuple_in_loop.leo | 4 +- .../compiler/tuple/tuple_in_record_fail.leo | 4 +- .../compiler/tuple/tuple_in_return_type.leo | 4 +- .../compiler/tuple/tuple_in_struct_fail.leo | 4 +- .../compiler/tuple/tuple_not_allowed_fail.leo | 4 +- tests/tests/compiler/tuple/type_fail.leo | 4 +- tests/tests/compiler/tuple/unit.leo | 4 +- tests/tests/execution/array_sum.leo | 19 +- tests/tests/execution/assert_early_return.leo | 40 +- tests/tests/execution/cast_coersion.leo | 33 +- tests/tests/execution/chain.leo | 33 +- .../tests/execution/complex_finalization.leo | 12 +- .../tests/execution/cond_exec_in_finalize.leo | 26 +- tests/tests/execution/counter.leo | 41 +- tests/tests/execution/eq.leo | 33 +- .../flattened_function_and_inline_matches.leo | 61 +- tests/tests/execution/group_operations.leo | 19 +- tests/tests/execution/metadata.leo | 61 +- tests/tests/execution/mint.leo | 19 +- tests/tests/execution/primitive_casts.leo | 112 +- .../expression/access/associated_function.leo | 4 +- tests/tests/parser/expression/access/call.leo | 4 +- .../expression/access/method_function.leo | 4 +- .../parser/expression/array_init_fail.leo | 4 +- .../parser/expression/array_inline_fail.leo | 4 +- tests/tests/parser/expression/binary/add.leo | 4 +- .../parser/expression/binary/add_wrapped.leo | 4 +- tests/tests/parser/expression/binary/and.leo | 4 +- .../parser/expression/binary/bit_and.leo | 4 +- .../tests/parser/expression/binary/bit_or.leo | 4 +- .../parser/expression/binary/bit_xor.leo | 4 +- tests/tests/parser/expression/binary/div.leo | 4 +- .../parser/expression/binary/div_wrapped.leo | 4 +- tests/tests/parser/expression/binary/eq.leo | 4 +- .../parser/expression/binary/eq_fail.leo | 4 +- tests/tests/parser/expression/binary/ge.leo | 4 +- .../parser/expression/binary/ge_fail.leo | 4 +- tests/tests/parser/expression/binary/gt.leo | 4 +- .../parser/expression/binary/gt_fail.leo | 4 +- tests/tests/parser/expression/binary/le.leo | 4 +- .../parser/expression/binary/le_fail.leo | 4 +- tests/tests/parser/expression/binary/lt.leo | 4 +- .../parser/expression/binary/lt_fail.leo | 4 +- .../tests/parser/expression/binary/modulo.leo | 4 +- tests/tests/parser/expression/binary/mul.leo | 4 +- .../parser/expression/binary/mul_wrapped.leo | 4 +- tests/tests/parser/expression/binary/nand.leo | 4 +- tests/tests/parser/expression/binary/neq.leo | 4 +- .../parser/expression/binary/neq_fail.leo | 4 +- tests/tests/parser/expression/binary/nor.leo | 4 +- tests/tests/parser/expression/binary/or.leo | 4 +- tests/tests/parser/expression/binary/pow.leo | 4 +- .../parser/expression/binary/pow_wrapped.leo | 4 +- tests/tests/parser/expression/binary/rem.leo | 4 +- .../parser/expression/binary/rem_wrapped.leo | 4 +- tests/tests/parser/expression/binary/shl.leo | 4 +- .../parser/expression/binary/shl_wrapped.leo | 4 +- tests/tests/parser/expression/binary/shr.leo | 4 +- .../parser/expression/binary/shr_wrapped.leo | 4 +- tests/tests/parser/expression/binary/sub.leo | 4 +- .../parser/expression/binary/sub_wrapped.leo | 4 +- tests/tests/parser/expression/cast.leo | 4 +- tests/tests/parser/expression/cast_fail.leo | 4 +- .../parser/expression/circuit_init_fail.leo | 4 +- tests/tests/parser/expression/ident.leo | 4 +- .../parser/expression/literal/address.leo | 4 +- .../expression/literal/address_fail.leo | 4 +- .../expression/literal/address_parse.leo | 4 +- .../tests/parser/expression/literal/bool.leo | 4 +- .../parser/expression/literal/bool_parse.leo | 4 +- .../tests/parser/expression/literal/char.leo | 4 +- .../parser/expression/literal/char_fail.leo | 4 +- .../parser/expression/literal/char_parse.leo | 4 +- .../parser/expression/literal/comment.leo | 4 +- .../expression/literal/comment_fail.leo | 4 +- .../expression/literal/field_hexbin_fail.leo | 4 +- .../expression/literal/formatted_string.leo | 4 +- .../tests/parser/expression/literal/group.leo | 4 +- .../parser/expression/literal/group_fail.leo | 4 +- .../expression/literal/group_hexbin_fail.leo | 4 +- tests/tests/parser/expression/literal/int.leo | 4 +- .../expression/literal/int_parse/field.leo | 4 +- .../expression/literal/int_parse/i128.leo | 4 +- .../expression/literal/int_parse/i16.leo | 4 +- .../expression/literal/int_parse/i32.leo | 4 +- .../expression/literal/int_parse/i64.leo | 4 +- .../expression/literal/int_parse/i8.leo | 4 +- .../expression/literal/int_parse/implicit.leo | 4 +- .../literal/int_parse/mono_group.leo | 4 +- .../expression/literal/int_parse/scalar.leo | 4 +- .../expression/literal/int_parse/u128.leo | 4 +- .../expression/literal/int_parse/u16.leo | 4 +- .../expression/literal/int_parse/u32.leo | 4 +- .../expression/literal/int_parse/u64.leo | 4 +- .../expression/literal/int_parse/u8.leo | 4 +- .../literal/invalid_digits_fail.leo | 4 +- .../expression/literal/postfix_types.leo | 4 +- .../expression/literal/scalar_hexbin_fail.leo | 4 +- .../parser/expression/literal/string.leo | 4 +- .../parser/expression/literal/string_fail.leo | 4 +- .../parser/expression/literal/underscore.leo | 4 +- .../expression/literal/underscore_fail.leo | 4 +- tests/tests/parser/expression/ternary.leo | 4 +- .../tests/parser/expression/token_format.leo | 4 +- tests/tests/parser/expression/unary/abs.leo | 4 +- .../parser/expression/unary/abs_wrapped.leo | 4 +- .../tests/parser/expression/unary/double.leo | 4 +- tests/tests/parser/expression/unary/inv.leo | 4 +- tests/tests/parser/expression/unary/neg.leo | 4 +- tests/tests/parser/expression/unary/not.leo | 4 +- tests/tests/parser/expression/unary/sqrt.leo | 4 +- .../tests/parser/expression/unary/square.leo | 4 +- tests/tests/parser/finalize/decrement.leo | 4 +- .../tests/parser/finalize/decrement_fail.leo | 4 +- tests/tests/parser/finalize/finalize.leo | 4 +- tests/tests/parser/finalize/finalize_fail.leo | 4 +- .../finalize/finalize_statement_fail.leo | 4 +- tests/tests/parser/finalize/increment.leo | 4 +- .../tests/parser/finalize/increment_fail.leo | 4 +- tests/tests/parser/finalize/mapping.leo | 4 +- tests/tests/parser/finalize/mapping_fail.leo | 4 +- .../annotated_arg_not_ident_fail.leo | 4 +- .../parser/functions/annotated_context.leo | 4 +- .../parser/functions/annotated_functions.leo | 4 +- .../parser/functions/bounded_recursion.leo | 4 +- .../parser/functions/const_input_fail.leo | 4 +- tests/tests/parser/functions/const_param.leo | 4 +- .../functions/const_public_param_fail.leo | 4 +- .../tests/parser/functions/constant_input.leo | 4 +- .../functions/danling_annotations_fail.leo | 4 +- tests/tests/parser/functions/empty2.leo | 4 +- tests/tests/parser/functions/escape_fail.leo | 4 +- .../function_name_is_not_identifier.leo | 4 +- .../parser/functions/ident_token_fail.leo | 4 +- .../parser/functions/infinite_recursion.leo | 4 +- .../parser/functions/inline_function.leo | 4 +- .../parser/functions/mode_outside_tuple.leo | 4 +- .../tests/parser/functions/mut_input_fail.leo | 4 +- tests/tests/parser/functions/params.leo | 4 +- .../tests/parser/functions/params_return.leo | 4 +- .../functions/public_const_param_fail.leo | 4 +- tests/tests/parser/functions/public_param.leo | 4 +- tests/tests/parser/functions/return.leo | 4 +- .../functions/spaced_annotation_fail.leo | 4 +- .../parser/functions/test_keyword_fail.leo | 4 +- .../parser/functions/transition_function.leo | 4 +- .../parser/future/explicit_future_typing.leo | 4 +- tests/tests/parser/inputs/input_const.leo | 4 +- tests/tests/parser/inputs/input_constant.leo | 4 +- .../inputs/input_constant_public_fail.leo | 4 +- tests/tests/parser/inputs/input_fail.leo | 4 +- tests/tests/parser/inputs/input_public.leo | 4 +- .../inputs/input_public_constant_fail.leo | 4 +- tests/tests/parser/program/async_basic.leo | 4 +- tests/tests/parser/program/backslash_eof.leo | 4 +- .../parser/program/bidi_comment_2_fail.leo | 4 +- .../parser/program/bidi_comment_fail.leo | 4 +- .../program/circuit_deprecated_fail.leo | 4 +- tests/tests/parser/program/dollar_eof.leo | 4 +- tests/tests/parser/program/escape_u8_eof.leo | 4 +- .../tests/parser/program/external_mapping.leo | 4 +- tests/tests/parser/program/hex_eof.leo | 4 +- .../parser/program/illegal_import_fail.leo | 4 +- tests/tests/parser/program/import.leo | 4 +- tests/tests/parser/program/import_fail.leo | 4 +- .../program/locator_expression_fail.leo | 4 +- tests/tests/parser/program/mapping.leo | 4 +- tests/tests/parser/program/mapping_fail.leo | 4 +- tests/tests/parser/program/network_id.leo | 4 +- .../parser/program/non_aleo_network_fail.leo | 4 +- tests/tests/parser/program/pipe_eof.leo | 4 +- tests/tests/parser/program/q_eof.leo | 4 +- .../parser/program/record_with_visibility.leo | 4 +- .../tests/parser/program/special_address.leo | 4 +- tests/tests/parser/program/sq_eof.leo | 4 +- .../parser/program/struct_with_visibility.leo | 4 +- tests/tests/parser/program/stub_fail.leo | 4 +- tests/tests/parser/program/tilde_eof.leo | 4 +- .../program/unclosed_unicode_eof_fail.leo | 4 +- tests/tests/parser/serialize/one_plus_one.leo | 4 +- tests/tests/parser/serialize/parser_error.leo | 4 +- tests/tests/parser/statement/all_loops.leo | 4 +- tests/tests/parser/statement/assert.leo | 4 +- tests/tests/parser/statement/assign.leo | 4 +- tests/tests/parser/statement/async_fail.leo | 4 +- tests/tests/parser/statement/block.leo | 4 +- tests/tests/parser/statement/cond_mut.leo | 4 +- tests/tests/parser/statement/conditional.leo | 4 +- .../parser/statement/conditional_fail.leo | 4 +- tests/tests/parser/statement/console_fail.leo | 4 +- tests/tests/parser/statement/definition.leo | 4 +- .../parser/statement/definition_fail.leo | 4 +- .../parser/statement/exported_type_fail.leo | 4 +- tests/tests/parser/statement/expression.leo | 4 +- .../parser/statement/expression_fail.leo | 4 +- .../tests/parser/statement/finalize_fail.leo | 4 +- tests/tests/parser/statement/for_loop.leo | 4 +- .../parser/statement/function_input_mut.leo | 4 +- .../tests/parser/statement/import_circuit.leo | 4 +- tests/tests/parser/statement/iteration.leo | 4 +- .../parser/statement/iteration_repeated.leo | 4 +- .../parser/statement/iteration_variable.leo | 4 +- .../tests/parser/statement/let_mut_nested.leo | 4 +- .../parser/statement/let_mut_recover.leo | 4 +- tests/tests/parser/statement/return.leo | 4 +- tests/tests/parser/statement/return_fail.leo | 4 +- .../parser/structs/comma_separators_fail.leo | 4 +- .../structs/only_comma_separators_fail.leo | 4 +- tests/tests/parser/type_/signature.leo | 4 +- .../signature_verify_bad_syntax_fail.leo | 4 +- tests/tests/parser/unreachable/define.leo | 4 +- tests/tests/parser/unreachable/eat_ident.leo | 4 +- tests/tests/parser/unreachable/eat_int.leo | 4 +- .../equality_and_order_expression.leo | 4 +- .../tests/parser/unreachable/expect_ident.leo | 4 +- .../tests/parser/unreachable/math_op_fail.leo | 4 +- .../tests/parser/unreachable/math_op_pass.leo | 4 +- .../tests/parser/unreachable/postfix_fail.leo | 4 +- .../tests/parser/unreachable/postfix_pass.leo | 4 +- 2198 files changed, 49467 insertions(+), 50824 deletions(-) delete mode 100644 tests/expectations/parser/inputs/input_const.out delete mode 100644 tests/expectations/parser/inputs/input_constant.out delete mode 100644 tests/expectations/parser/inputs/input_constant_public_fail.out delete mode 100644 tests/expectations/parser/inputs/input_fail.out delete mode 100644 tests/expectations/parser/inputs/input_public.out delete mode 100644 tests/expectations/parser/inputs/input_public_constant_fail.out diff --git a/Cargo.lock b/Cargo.lock index e12216425b..dd992adfdd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1529,10 +1529,10 @@ dependencies = [ "leo-test-framework", "regex", "serde", - "serde_yaml", "sha2", "snarkvm", "tempfile", + "toml 0.8.19", ] [[package]] @@ -1625,8 +1625,8 @@ dependencies = [ "leo-test-framework", "serde", "serde_json", - "serde_yaml", "snarkvm", + "toml 0.8.19", "tracing", ] @@ -1690,8 +1690,8 @@ dependencies = [ "regex", "serde", "serde_json", - "serde_yaml", "snarkvm", + "toml 0.8.19", "walkdir", ] @@ -1723,12 +1723,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "linked-hash-map" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" - [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -2676,18 +2670,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_yaml" -version = "0.8.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b" -dependencies = [ - "indexmap 1.9.3", - "ryu", - "serde", - "yaml-rust", -] - [[package]] name = "serial_test" version = "3.1.1" @@ -4043,6 +4025,7 @@ version = "0.8.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" dependencies = [ + "indexmap 2.6.0", "serde", "serde_spanned", "toml_datetime", @@ -4603,15 +4586,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "yaml-rust" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85" -dependencies = [ - "linked-hash-map", -] - [[package]] name = "zerocopy" version = "0.7.34" diff --git a/Cargo.toml b/Cargo.toml index 9362fdf3f8..cf8fb95fcf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,6 +108,10 @@ features = [ "derive", "rc" ] version = "1.0" features = [ "preserve_order" ] +[workspace.dependencies.toml] +version = "0.8" +features = [ "preserve_order" ] + [workspace.dependencies.tracing] version = "0.1" @@ -202,7 +206,7 @@ features = [ "circuit", "console" ] version = "0.9.1" [dependencies.toml] -version = "0.8" +workspace = true [dependencies.tracing] version = "0.1" diff --git a/compiler/compiler/Cargo.toml b/compiler/compiler/Cargo.toml index 4bb575e53b..2da24b8301 100644 --- a/compiler/compiler/Cargo.toml +++ b/compiler/compiler/Cargo.toml @@ -67,8 +67,8 @@ workspace = true [dev-dependencies.serde] workspace = true -[dev-dependencies.serde_yaml] -version = "0.8.25" +[dev-dependencies.toml] +workspace = true [dev-dependencies.tempfile] version = "3.13" diff --git a/compiler/compiler/tests/compile.rs b/compiler/compiler/tests/compile.rs index 65b491fe41..0fd85c6939 100644 --- a/compiler/compiler/tests/compile.rs +++ b/compiler/compiler/tests/compile.rs @@ -43,9 +43,9 @@ use snarkvm::console::prelude::*; use indexmap::IndexMap; use leo_span::Symbol; use regex::Regex; -use serde_yaml::Value; use snarkvm::{prelude::Process, synthesizer::program::ProgramCore}; use std::{fs, path::Path, rc::Rc}; +use toml::Value; struct CompileNamespace; @@ -180,7 +180,7 @@ fn run_test(test: Test, handler: &Handler, buf: &BufferEmitter) -> Result Result TestRng::from_seed(seed), + let rng = &mut match test.config.extra.get("seed").map(|seed| seed.as_integer()) { + Some(Some(seed)) => TestRng::from_seed(seed as u64), _ => TestRng::from_seed(1234567890), }; @@ -222,31 +222,26 @@ fn run_test(test: Test, handler: &Handler, buf: &BufferEmitter) -> Result = case - .get(&Value::from("input")) + .get("input") .unwrap() - .as_sequence() + .as_array() .unwrap() .iter() .map(|input| console::program::Value::::from_str(input.as_str().unwrap()).unwrap()) .collect(); - let private_key = match case.get(&Value::from("private_key")) { + let private_key = match case.get("private_key") { Some(private_key) => { PrivateKey::from_str(private_key.as_str().expect("expected string for private key")) .expect("unable to parse private key") @@ -325,7 +320,7 @@ fn run_test(test: Test, handler: &Handler, buf: &BufferEmitter) -> Result Vec { Some(configs) => { // Parse the sequence of compiler configurations. configs - .as_sequence() + .as_array() .unwrap() .iter() .map(|config| { - let config = config.as_mapping().expect("Expected the compiler configuration to be a mapping."); + let config = config.as_table().expect("Expected the compiler configuration to be a mapping."); assert_eq!( config.len(), 1, @@ -98,7 +98,7 @@ pub fn get_build_options(test_config: &TestConfig) -> Vec { ); BuildOptions { dce_enabled: config - .get(&serde_yaml::Value::String("dce_enabled".to_string())) + .get("dce_enabled") .expect("Expected key `dce_enabled`") .as_bool() .expect("Expected value to be a boolean."), diff --git a/compiler/parser/Cargo.toml b/compiler/parser/Cargo.toml index 93888d1757..236c5e4ac5 100644 --- a/compiler/parser/Cargo.toml +++ b/compiler/parser/Cargo.toml @@ -49,8 +49,8 @@ path = "../../tests/test-framework" [dev-dependencies.serde_json] workspace = true -[dev-dependencies.serde_yaml] -version = "0.8" +[dev-dependencies.toml] +workspace = true [features] default = [ ] diff --git a/compiler/parser/src/test.rs b/compiler/parser/src/test.rs index 85f3de9cf5..16f3e072ad 100644 --- a/compiler/parser/src/test.rs +++ b/compiler/parser/src/test.rs @@ -28,8 +28,8 @@ use leo_test_framework::{ runner::{Namespace, ParseType, Runner}, }; use serde::Serialize; -use serde_yaml::Value; use tokenizer::Token; +use toml::Value; type CurrentNetwork = snarkvm::prelude::MainnetV0; @@ -87,8 +87,8 @@ fn all_are_comments(tokens: &[SpannedToken]) -> bool { tokens.iter().all(|x| matches!(x.token, Token::CommentLine(_) | Token::CommentBlock(_))) } -fn yaml_or_fail(value: T) -> Value { - serde_yaml::to_value(value).expect("serialization failed") +fn toml_or_fail(value: T) -> Value { + Value::try_from(value).expect("serialization failed") } struct ParseExpressionNamespace; @@ -102,9 +102,9 @@ impl Namespace for ParseExpressionNamespace { create_session_if_not_set_then(|s| { let tokenizer = tokenize(test, s)?; if all_are_comments(&tokenizer) { - return Ok(yaml_or_fail("")); + return Ok(toml_or_fail("")); } - with_handler(tokenizer, |p| p.parse_expression()).map(yaml_or_fail) + with_handler(tokenizer, |p| p.parse_expression()).map(toml_or_fail) }) } } @@ -120,9 +120,9 @@ impl Namespace for ParseStatementNamespace { create_session_if_not_set_then(|s| { let tokenizer = tokenize(test, s)?; if all_are_comments(&tokenizer) { - return Ok(yaml_or_fail(Statement::dummy(Span::default(), NodeID::default()))); + return Ok(toml_or_fail(Statement::dummy(Span::default(), NodeID::default()))); } - with_handler(tokenizer, |p| p.parse_statement()).map(yaml_or_fail) + with_handler(tokenizer, |p| p.parse_statement()).map(toml_or_fail) }) } } @@ -135,7 +135,7 @@ impl Namespace for ParseNamespace { } fn run_test(&self, test: Test) -> Result { - create_session_if_not_set_then(|s| with_handler(tokenize(test, s)?, |p| p.parse_program()).map(yaml_or_fail)) + create_session_if_not_set_then(|s| with_handler(tokenize(test, s)?, |p| p.parse_program()).map(toml_or_fail)) } } @@ -199,7 +199,7 @@ impl Namespace for SerializeNamespace { remove_key_from_json(&mut json, "span"); json = normalize_json_value(json); - Ok(serde_json::from_value::(json).expect("failed serialization")) + Ok(serde_json::from_value::(json).expect("failed serialization")) }) } } diff --git a/tests/README.md b/tests/README.md index a061c3d83f..c3bfbbe072 100644 --- a/tests/README.md +++ b/tests/README.md @@ -15,8 +15,8 @@ incorrect) Leo code. What makes Leo file a test is a block comment at the top of ``` /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ struct X { @@ -25,7 +25,7 @@ struct X { } ``` -This comment contains YAML structure with set of mandatory and optional fields. +This comment is a TOML document with some mandatory and optional fields. ## Test Expectations @@ -43,17 +43,7 @@ generated instead. A PR should contain changes to expectations as well as to tes ## Test Configuration -Here is the list of all possible configuration options for compiler and parser tests. - -### namespace - -```yaml -- Mandatory: yes -- Namespace: all -- Values: ... -``` - -Several values are supported, but they vary depending on the directory you are in. +There are several different values for the `namespace` test option. Parser Directory namespaces: diff --git a/tests/expectations/compiler/address/binary.out b/tests/expectations/compiler/address/binary.out index f0abfd9429..a8c9a885b5 100644 --- a/tests/expectations/compiler/address/binary.out +++ b/tests/expectations/compiler/address/binary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 756e2b87734bb537caa46fae8a2b650aab26e96062df959e32e4828535c6affd - type_checked_symbol_table: d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793 - unrolled_symbol_table: d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793 - initial_ast: 3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2 - unrolled_ast: 3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2 - ssa_ast: e4e399f95f533afdcd018463d8a27bc573fcc02dfd11b0e32990e690b98584da - flattened_ast: 2b95ef75e175131a082bc796f2b57942c2fb395373c91ef5fbbf1ed70d80a2c3 - destructured_ast: 6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646 - inlined_ast: 6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646 - dce_ast: 23001f440ab4c99e89ac05facdfe45b10206fcc86a80bb11f8108c9b3785151b - bytecode: e434c09cee27a5dfb5a4e9e9fd26aa2ba6e7f0653fad3a4f2a7d85983ba559c9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "756e2b87734bb537caa46fae8a2b650aab26e96062df959e32e4828535c6affd", type_checked_symbol_table = "d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793", unrolled_symbol_table = "d53bb8960397c6ee70314bcd5a30dbb59d655bda52b4937c16a94af0417fe793", initial_ast = "3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2", unrolled_ast = "3e0dce3c7ac38e237c811a557ddf5422d92024cd3a2f9a050f5089fb49e1c0d2", ssa_ast = "e4e399f95f533afdcd018463d8a27bc573fcc02dfd11b0e32990e690b98584da", flattened_ast = "2b95ef75e175131a082bc796f2b57942c2fb395373c91ef5fbbf1ed70d80a2c3", destructured_ast = "6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646", inlined_ast = "6b932fa3264ea209145cb10679089bb14e6f5e667c8cff3b9adef16424e70646", dce_ast = "23001f440ab4c99e89ac05facdfe45b10206fcc86a80bb11f8108c9b3785151b", bytecode = "e434c09cee27a5dfb5a4e9e9fd26aa2ba6e7f0653fad3a4f2a7d85983ba559c9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/address/branch.out b/tests/expectations/compiler/address/branch.out index 3bd17ed1ae..9baf17d5ca 100644 --- a/tests/expectations/compiler/address/branch.out +++ b/tests/expectations/compiler/address/branch.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: aa5665d4b9e05e78e9181f1bb7e07f98f0009c1f82b29b781173679d0392f75c - type_checked_symbol_table: c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723 - unrolled_symbol_table: c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723 - initial_ast: 55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82 - unrolled_ast: 55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82 - ssa_ast: ec3c124600b30e1bbe9c2745037f4a841ad4d12e9b4ce41f446faa1d7b34be6c - flattened_ast: a47513dc4d7f5aadd738b38b152d16e73e4d41b4d3329b9b2ccab72dfc7c8528 - destructured_ast: 67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b - inlined_ast: 67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b - dce_ast: 3c317e1a5194206c1a6a41ffb463da578330bf0040ecae4e9cdccbc1c16c9d22 - bytecode: da1b0a83a17b801368b0a583b158d88d9d807a33000c8e89e82da123c8041aea - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "aa5665d4b9e05e78e9181f1bb7e07f98f0009c1f82b29b781173679d0392f75c", type_checked_symbol_table = "c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723", unrolled_symbol_table = "c9a355adf84dd491014c8150453db6edb824f841877c1e912bc659ca15416723", initial_ast = "55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82", unrolled_ast = "55ccd130c0fb8317c3ccd6eeafdd9630fdab2447c4368c0f6870ce0f81a60e82", ssa_ast = "ec3c124600b30e1bbe9c2745037f4a841ad4d12e9b4ce41f446faa1d7b34be6c", flattened_ast = "a47513dc4d7f5aadd738b38b152d16e73e4d41b4d3329b9b2ccab72dfc7c8528", destructured_ast = "67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b", inlined_ast = "67b5a3b7d55cf41ff4af1069e3a6a2d4b2e5b4adeccfc145e24db5018111499b", dce_ast = "3c317e1a5194206c1a6a41ffb463da578330bf0040ecae4e9cdccbc1c16c9d22", bytecode = "da1b0a83a17b801368b0a583b158d88d9d807a33000c8e89e82da123c8041aea", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/address/equal.out b/tests/expectations/compiler/address/equal.out index e26281e78c..d208bbae4d 100644 --- a/tests/expectations/compiler/address/equal.out +++ b/tests/expectations/compiler/address/equal.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67 - type_checked_symbol_table: a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087 - unrolled_symbol_table: a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087 - initial_ast: a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b - unrolled_ast: a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b - ssa_ast: 048c531ce2a9cbecfa2e1ea0479ff3e245adcac3641843092083354074a3eeab - flattened_ast: 01c4814b6404c3801fedfd3e54056cb765af01f26209407347826bc3651f9adc - destructured_ast: 6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4 - inlined_ast: 6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4 - dce_ast: 6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4 - bytecode: bde2653fac0393940c5400272e53492228206e50abb36ce080b95043003ee976 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67", type_checked_symbol_table = "a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087", unrolled_symbol_table = "a87370905b296fa38a2921ce60df21da4670958bcf91d6c236acf70d02343087", initial_ast = "a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b", unrolled_ast = "a1b18ca13abd5d553005007013851ea090ce27a325f360f36a087fd7125b1c9b", ssa_ast = "048c531ce2a9cbecfa2e1ea0479ff3e245adcac3641843092083354074a3eeab", flattened_ast = "01c4814b6404c3801fedfd3e54056cb765af01f26209407347826bc3651f9adc", destructured_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", inlined_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", dce_ast = "6ec15e189f4ff47f7b8b18aad652dfb6d440415341b6e8df1f18706f80d9c8b4", bytecode = "bde2653fac0393940c5400272e53492228206e50abb36ce080b95043003ee976", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/address/gt_fail.out b/tests/expectations/compiler/address/gt_fail.out index ff78da47f3..ddcedee123 100644 --- a/tests/expectations/compiler/address/gt_fail.out +++ b/tests/expectations/compiler/address/gt_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372021]: Comparison `>` is not supported for the address type.\n --> compiler-test:7:16\n |\n 7 | return x > sender;\n | ^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372021]: Comparison `>` is not supported for the address type. + --> compiler-test:7:16 + | + 7 | return x > sender; + | ^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/address/gte_fail.out b/tests/expectations/compiler/address/gte_fail.out index eddc176969..a1091337ef 100644 --- a/tests/expectations/compiler/address/gte_fail.out +++ b/tests/expectations/compiler/address/gte_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372021]: Comparison `>=` is not supported for the address type.\n --> compiler-test:7:16\n |\n 7 | return x >= sender;\n | ^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372021]: Comparison `>=` is not supported for the address type. + --> compiler-test:7:16 + | + 7 | return x >= sender; + | ^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/address/lt_fail.out b/tests/expectations/compiler/address/lt_fail.out index c7e4a98534..401cadb145 100644 --- a/tests/expectations/compiler/address/lt_fail.out +++ b/tests/expectations/compiler/address/lt_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372021]: Comparison `<` is not supported for the address type.\n --> compiler-test:7:16\n |\n 7 | return x < sender;\n | ^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372021]: Comparison `<` is not supported for the address type. + --> compiler-test:7:16 + | + 7 | return x < sender; + | ^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/address/lte_fail.out b/tests/expectations/compiler/address/lte_fail.out index 8c64aa8860..14995496f0 100644 --- a/tests/expectations/compiler/address/lte_fail.out +++ b/tests/expectations/compiler/address/lte_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372021]: Comparison `<=` is not supported for the address type.\n --> compiler-test:7:16\n |\n 7 | return x <= sender;\n | ^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372021]: Comparison `<=` is not supported for the address type. + --> compiler-test:7:16 + | + 7 | return x <= sender; + | ^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/address/special_address.out b/tests/expectations/compiler/address/special_address.out index a971584f72..76d6b9d204 100644 --- a/tests/expectations/compiler/address/special_address.out +++ b/tests/expectations/compiler/address/special_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9093a20a62879f03d6a7a4dc24b051778d2c543d1df6a59af8c423d047ec2e13 - type_checked_symbol_table: 639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae - unrolled_symbol_table: 639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae - initial_ast: da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21 - unrolled_ast: da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21 - ssa_ast: f76c8e4b70096ec05a1583648b295127d0a60d8b9973a1d5c7dff53782282c1d - flattened_ast: d743a19b1faa6b66b90bd8496249cc5b94e9ba8260ad7ce95da721b68e59c3a9 - destructured_ast: d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4 - inlined_ast: d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4 - dce_ast: d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4 - bytecode: d9e6c28f9e5527abe9cdb07b9d35375901446415f5d645b0363597200ee45be7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9093a20a62879f03d6a7a4dc24b051778d2c543d1df6a59af8c423d047ec2e13", type_checked_symbol_table = "639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae", unrolled_symbol_table = "639ed2aefe557daf6c3433d645bec25030a82e3296f26ac46961f451d2bb28ae", initial_ast = "da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21", unrolled_ast = "da0a545e9de3b8cdec100132e7d9886d08b7e69217d129229e8a86489199ec21", ssa_ast = "f76c8e4b70096ec05a1583648b295127d0a60d8b9973a1d5c7dff53782282c1d", flattened_ast = "d743a19b1faa6b66b90bd8496249cc5b94e9ba8260ad7ce95da721b68e59c3a9", destructured_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", inlined_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", dce_ast = "d36731bec3ce6fd1c46b5660340e8e396fb874b0c3d3f6ae407e5f55aeb07aa4", bytecode = "d9e6c28f9e5527abe9cdb07b9d35375901446415f5d645b0363597200ee45be7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/address/ternary.out b/tests/expectations/compiler/address/ternary.out index f2725a9486..dc45d19db2 100644 --- a/tests/expectations/compiler/address/ternary.out +++ b/tests/expectations/compiler/address/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67 - type_checked_symbol_table: a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa - unrolled_symbol_table: a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa - initial_ast: fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c - unrolled_ast: fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c - ssa_ast: 315ce58a6c118e5955412d56ab3d52990475bf2452b8d8e21aba7c7628f59e84 - flattened_ast: f90ae68ee0bcbd72c41672353efc856b34f166a20a6de512fb70f8217ec5051e - destructured_ast: afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91 - inlined_ast: afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91 - dce_ast: afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91 - bytecode: c0b90b7f7e80041dc1a314c1a87290534936018fb001c6e1291266a02393c6f2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "af1b9dd4e2e7f82e1a536bfc53948de3c814fc9ccf61e5115c2109e09cfb2b67", type_checked_symbol_table = "a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa", unrolled_symbol_table = "a7e0e6793233e6dec4b48137418a894ee322ac0635bccf5376979766adf2bbfa", initial_ast = "fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c", unrolled_ast = "fb145169ad1e437da9a503342918f5793085d4f5355837ac261984c33042831c", ssa_ast = "315ce58a6c118e5955412d56ab3d52990475bf2452b8d8e21aba7c7628f59e84", flattened_ast = "f90ae68ee0bcbd72c41672353efc856b34f166a20a6de512fb70f8217ec5051e", destructured_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", inlined_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", dce_ast = "afb641b9398c8b97833609f67e51483893d56505c6c2e64ed4173e79ad226e91", bytecode = "c0b90b7f7e80041dc1a314c1a87290534936018fb001c6e1291266a02393c6f2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/access_array_with_loop_counter.out b/tests/expectations/compiler/array/access_array_with_loop_counter.out index fb77081b8d..793eb8c844 100644 --- a/tests/expectations/compiler/array/access_array_with_loop_counter.out +++ b/tests/expectations/compiler/array/access_array_with_loop_counter.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 86cc47c4ae9edafe0811fe203d260ee357a3f7853a2ffbf0a9afc8e911369f51 - type_checked_symbol_table: d27200bee59ed91be0d42e9c04b8b89a8afb8a8518db3372f0ff65d097967144 - unrolled_symbol_table: 168951779efa956128e2892c5c3d538b3f34cabec54dd8efb70c4105a22f8edb - initial_ast: e638024190743e42d22971bf4a5d2ae071661a5c05a9774f97763362531c3f99 - unrolled_ast: 9e599c1b6e6ab0b8f32f83b2cb2e327848eb02bca60c782ae40a0bd051bc9662 - ssa_ast: a43e3ef81113c1d9c70cfbfef5052b4fa26eb2feb8094ce60dd68aff58d6c2b7 - flattened_ast: 8b353b3efece3f3c00a6742a9706db425d1c93cb2f69be28071917304212d43f - destructured_ast: a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef - inlined_ast: a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef - dce_ast: a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef - bytecode: 5f0cb09518f39fc62d32faa38cb42fa04dca2587eaaaa1e0ac30fa9885ce4248 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "86cc47c4ae9edafe0811fe203d260ee357a3f7853a2ffbf0a9afc8e911369f51", type_checked_symbol_table = "d27200bee59ed91be0d42e9c04b8b89a8afb8a8518db3372f0ff65d097967144", unrolled_symbol_table = "168951779efa956128e2892c5c3d538b3f34cabec54dd8efb70c4105a22f8edb", initial_ast = "e638024190743e42d22971bf4a5d2ae071661a5c05a9774f97763362531c3f99", unrolled_ast = "9e599c1b6e6ab0b8f32f83b2cb2e327848eb02bca60c782ae40a0bd051bc9662", ssa_ast = "a43e3ef81113c1d9c70cfbfef5052b4fa26eb2feb8094ce60dd68aff58d6c2b7", flattened_ast = "8b353b3efece3f3c00a6742a9706db425d1c93cb2f69be28071917304212d43f", destructured_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", inlined_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", dce_ast = "a673e29723f018691dd0f9585836e9b8361b043b1d514961837f0c6099f54eef", bytecode = "5f0cb09518f39fc62d32faa38cb42fa04dca2587eaaaa1e0ac30fa9885ce4248", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_access.out b/tests/expectations/compiler/array/array_access.out index 3f2f8c09ed..0a384a517f 100644 --- a/tests/expectations/compiler/array/array_access.out +++ b/tests/expectations/compiler/array/array_access.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: bbff18546983d05503a84e82edfc8ba43a819761a4966180f364b658bee7c71c - type_checked_symbol_table: 68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c - unrolled_symbol_table: 68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c - initial_ast: 994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf - unrolled_ast: 994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf - ssa_ast: cf69c0c5a757a9387c0100f3cac9ed3292a1b4189a872f7d70cefec4b687f2ec - flattened_ast: f83a1302e81bb2ad8737ee001d3e577106774175b87186f4237500db6a1e4e4d - destructured_ast: c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134 - inlined_ast: c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134 - dce_ast: c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134 - bytecode: d5ca429014c67ec53c9ce4c200f06611379969892725237b5164737ea8100c12 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "bbff18546983d05503a84e82edfc8ba43a819761a4966180f364b658bee7c71c", type_checked_symbol_table = "68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c", unrolled_symbol_table = "68601235ddc6c200098d7374a78da4acbb29d3d5d1a6d67bdb7b5baa7ddfce4c", initial_ast = "994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf", unrolled_ast = "994bad0eab3a9fd89b319668c2e45551fc8ca2d0722e751ef8ece6eddd7d11bf", ssa_ast = "cf69c0c5a757a9387c0100f3cac9ed3292a1b4189a872f7d70cefec4b687f2ec", flattened_ast = "f83a1302e81bb2ad8737ee001d3e577106774175b87186f4237500db6a1e4e4d", destructured_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", inlined_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", dce_ast = "c5f3b9d50a5b6bab1b5a992608653b865f619ec19e95f42fef43ac709f4b3134", bytecode = "d5ca429014c67ec53c9ce4c200f06611379969892725237b5164737ea8100c12", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_in_composite_data_types.out b/tests/expectations/compiler/array/array_in_composite_data_types.out index b2132c4267..316436b8f9 100644 --- a/tests/expectations/compiler/array/array_in_composite_data_types.out +++ b/tests/expectations/compiler/array/array_in_composite_data_types.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4f8ab92e1b0589f9f72c264bded41a74ab81a95c0863bbb2128c2e455f8940ce - type_checked_symbol_table: 80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758 - unrolled_symbol_table: 80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758 - initial_ast: 85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687 - unrolled_ast: 85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687 - ssa_ast: d0361696dcc37db64ddb4dd16c46da32544b40473ab527a7ead74006e606aa27 - flattened_ast: 62ed1887b901a2595b4a0501739273c9a1be99f7087d69dc0c3ea3e3ad7608a3 - destructured_ast: 1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08 - inlined_ast: 1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08 - dce_ast: 1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08 - bytecode: 96a3dd2c8b423fc1830c547bb318ef7379dd2b3d3ba030142fe344b51c0ecfc2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4f8ab92e1b0589f9f72c264bded41a74ab81a95c0863bbb2128c2e455f8940ce", type_checked_symbol_table = "80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758", unrolled_symbol_table = "80855e8466f2d8c141ade84f032cd8e08d31253bd9ed6d5961e22ed21fa60758", initial_ast = "85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687", unrolled_ast = "85c3840f1f944a2935fb3c72572498e35718479567668c2021b58c351770e687", ssa_ast = "d0361696dcc37db64ddb4dd16c46da32544b40473ab527a7ead74006e606aa27", flattened_ast = "62ed1887b901a2595b4a0501739273c9a1be99f7087d69dc0c3ea3e3ad7608a3", destructured_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", inlined_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", dce_ast = "1269eb8715c7b65336f707b4a034353214600e240b5771bc1c7ce20630cd8b08", bytecode = "96a3dd2c8b423fc1830c547bb318ef7379dd2b3d3ba030142fe344b51c0ecfc2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_in_finalize.out b/tests/expectations/compiler/array/array_in_finalize.out index f66b176d54..08a61f4120 100644 --- a/tests/expectations/compiler/array/array_in_finalize.out +++ b/tests/expectations/compiler/array/array_in_finalize.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ba3fc19ac12ac6857103131150087f2008db2ed17e29f81333e71448b7460bdc - type_checked_symbol_table: e9456a96681c99f57e277529196368b924eb914dcc1e747246eceaa6fe3cda30 - unrolled_symbol_table: e9456a96681c99f57e277529196368b924eb914dcc1e747246eceaa6fe3cda30 - initial_ast: d7838abbe0ad26b7a8bc6eae9ab9c0f7be4d180426d060f86e4bb158b7f177a0 - unrolled_ast: d7838abbe0ad26b7a8bc6eae9ab9c0f7be4d180426d060f86e4bb158b7f177a0 - ssa_ast: d7d54b8076d9dfe9cf0d87015531ce37dcf3af5bc2849ba783ccbedef88dbfcb - flattened_ast: 579cc01e705c2b6d9d1e7622c34a034e3328b8e625fbe0bf541b7bd54ae49d17 - destructured_ast: db35f913e14ba042c5c5010eecc9e0bbdf46c3e73ca91b302ea8578dc4f60b3e - inlined_ast: ebb9563fb18a8a38343a1e264ba17b7b4285f36016a52bde85777fb66b8308e1 - dce_ast: ebb9563fb18a8a38343a1e264ba17b7b4285f36016a52bde85777fb66b8308e1 - bytecode: 6d2dea5677417b5359aa082a7ffd6afbbfbba7a3557f7f6011a88d3b93fc8d03 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ba3fc19ac12ac6857103131150087f2008db2ed17e29f81333e71448b7460bdc", type_checked_symbol_table = "e9456a96681c99f57e277529196368b924eb914dcc1e747246eceaa6fe3cda30", unrolled_symbol_table = "e9456a96681c99f57e277529196368b924eb914dcc1e747246eceaa6fe3cda30", initial_ast = "d7838abbe0ad26b7a8bc6eae9ab9c0f7be4d180426d060f86e4bb158b7f177a0", unrolled_ast = "d7838abbe0ad26b7a8bc6eae9ab9c0f7be4d180426d060f86e4bb158b7f177a0", ssa_ast = "d7d54b8076d9dfe9cf0d87015531ce37dcf3af5bc2849ba783ccbedef88dbfcb", flattened_ast = "579cc01e705c2b6d9d1e7622c34a034e3328b8e625fbe0bf541b7bd54ae49d17", destructured_ast = "db35f913e14ba042c5c5010eecc9e0bbdf46c3e73ca91b302ea8578dc4f60b3e", inlined_ast = "ebb9563fb18a8a38343a1e264ba17b7b4285f36016a52bde85777fb66b8308e1", dce_ast = "ebb9563fb18a8a38343a1e264ba17b7b4285f36016a52bde85777fb66b8308e1", bytecode = "6d2dea5677417b5359aa082a7ffd6afbbfbba7a3557f7f6011a88d3b93fc8d03", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_in_function_signature.out b/tests/expectations/compiler/array/array_in_function_signature.out index f45ab13496..80f33ca6ed 100644 --- a/tests/expectations/compiler/array/array_in_function_signature.out +++ b/tests/expectations/compiler/array/array_in_function_signature.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d3153d9d3c9bb2bda13d044f58b950de44094f4e2d76a2a8d8d013294ca2d846 - type_checked_symbol_table: eef34677156a9fa46022baf27398ad7cf7f378cd772990dadbb567939be5807c - unrolled_symbol_table: eef34677156a9fa46022baf27398ad7cf7f378cd772990dadbb567939be5807c - initial_ast: ea45d56006d7ddd3c6a7e98aa7f145343703aa3b60e24cedecee209592ea0558 - unrolled_ast: ea45d56006d7ddd3c6a7e98aa7f145343703aa3b60e24cedecee209592ea0558 - ssa_ast: ffe35f7b45090d1997fb2865d837e31ac9c385f89c819386bd245a5757d3e2fa - flattened_ast: 28e3936f1ae645aa57cc20d946996c1b9a4e715ec8c50c3957d00280b517b4fb - destructured_ast: 772c5ec8d0c490932cb4f1baa510284f76af446a220ff119441bb6bfb00133e5 - inlined_ast: 772c5ec8d0c490932cb4f1baa510284f76af446a220ff119441bb6bfb00133e5 - dce_ast: 772c5ec8d0c490932cb4f1baa510284f76af446a220ff119441bb6bfb00133e5 - bytecode: 0871c25bd990602b411e2492035ed37dfd4243251c0b6aed5d0937e00f91ec89 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d3153d9d3c9bb2bda13d044f58b950de44094f4e2d76a2a8d8d013294ca2d846", type_checked_symbol_table = "eef34677156a9fa46022baf27398ad7cf7f378cd772990dadbb567939be5807c", unrolled_symbol_table = "eef34677156a9fa46022baf27398ad7cf7f378cd772990dadbb567939be5807c", initial_ast = "ea45d56006d7ddd3c6a7e98aa7f145343703aa3b60e24cedecee209592ea0558", unrolled_ast = "ea45d56006d7ddd3c6a7e98aa7f145343703aa3b60e24cedecee209592ea0558", ssa_ast = "ffe35f7b45090d1997fb2865d837e31ac9c385f89c819386bd245a5757d3e2fa", flattened_ast = "28e3936f1ae645aa57cc20d946996c1b9a4e715ec8c50c3957d00280b517b4fb", destructured_ast = "772c5ec8d0c490932cb4f1baa510284f76af446a220ff119441bb6bfb00133e5", inlined_ast = "772c5ec8d0c490932cb4f1baa510284f76af446a220ff119441bb6bfb00133e5", dce_ast = "772c5ec8d0c490932cb4f1baa510284f76af446a220ff119441bb6bfb00133e5", bytecode = "0871c25bd990602b411e2492035ed37dfd4243251c0b6aed5d0937e00f91ec89", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_in_mapping.out b/tests/expectations/compiler/array/array_in_mapping.out index 438dfe2ebc..a45301bba7 100644 --- a/tests/expectations/compiler/array/array_in_mapping.out +++ b/tests/expectations/compiler/array/array_in_mapping.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c6fc8262389c0b237ca6df4e821f4349b7cd99be8c74e2f8e701b65ef04d9dac - type_checked_symbol_table: e0fc713c4d1f50fabbe07798887487cb12acf512fb318aa3c23c0ae8975bcb04 - unrolled_symbol_table: e0fc713c4d1f50fabbe07798887487cb12acf512fb318aa3c23c0ae8975bcb04 - initial_ast: ce204eee225f30e052b92f0e285d931e94ea5571ac661d83d82adf30139c72cf - unrolled_ast: ce204eee225f30e052b92f0e285d931e94ea5571ac661d83d82adf30139c72cf - ssa_ast: 03ca65a17d563c58c8649780aee2e497b6ef45e6f1df8e80f4a5ee6a28f43882 - flattened_ast: fa5ee74c7be755e17165cdd38b0865a5ecb94dad7cd8a81ddb26c9d0ed7ffd5f - destructured_ast: c3759b57ebd0d4fc539d1b6f8838e51cc77272bfd23b09e2b39ccd6b22feddaa - inlined_ast: fa6fc247bec284c9ecbc8e62406c5a499f0ee73917ca83023813a6e6c7aa3017 - dce_ast: fa6fc247bec284c9ecbc8e62406c5a499f0ee73917ca83023813a6e6c7aa3017 - bytecode: 3914a12d8c1225083e703e35499e8c4fccb9dde44d02f0b281c1538ba6f93156 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "c6fc8262389c0b237ca6df4e821f4349b7cd99be8c74e2f8e701b65ef04d9dac", type_checked_symbol_table = "e0fc713c4d1f50fabbe07798887487cb12acf512fb318aa3c23c0ae8975bcb04", unrolled_symbol_table = "e0fc713c4d1f50fabbe07798887487cb12acf512fb318aa3c23c0ae8975bcb04", initial_ast = "ce204eee225f30e052b92f0e285d931e94ea5571ac661d83d82adf30139c72cf", unrolled_ast = "ce204eee225f30e052b92f0e285d931e94ea5571ac661d83d82adf30139c72cf", ssa_ast = "03ca65a17d563c58c8649780aee2e497b6ef45e6f1df8e80f4a5ee6a28f43882", flattened_ast = "fa5ee74c7be755e17165cdd38b0865a5ecb94dad7cd8a81ddb26c9d0ed7ffd5f", destructured_ast = "c3759b57ebd0d4fc539d1b6f8838e51cc77272bfd23b09e2b39ccd6b22feddaa", inlined_ast = "fa6fc247bec284c9ecbc8e62406c5a499f0ee73917ca83023813a6e6c7aa3017", dce_ast = "fa6fc247bec284c9ecbc8e62406c5a499f0ee73917ca83023813a6e6c7aa3017", bytecode = "3914a12d8c1225083e703e35499e8c4fccb9dde44d02f0b281c1538ba6f93156", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_initialization.out b/tests/expectations/compiler/array/array_initialization.out index 76dc7a98ad..83d237a90a 100644 --- a/tests/expectations/compiler/array/array_initialization.out +++ b/tests/expectations/compiler/array/array_initialization.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 55de67e7f0caf5fcb2a3871448a83fee766b22b96eeaa1d5d172d2456b55688b - type_checked_symbol_table: 613bad49201700a62fe19d05bba61f39b48b2635ed657fee6e20475fa29c6ed8 - unrolled_symbol_table: 613bad49201700a62fe19d05bba61f39b48b2635ed657fee6e20475fa29c6ed8 - initial_ast: 51b578b772c900066283e01863cf3b96d894d50aa2d9323f830e8cd83a0b487b - unrolled_ast: 51b578b772c900066283e01863cf3b96d894d50aa2d9323f830e8cd83a0b487b - ssa_ast: aa32ba8a21c90c8070ada697e720e87ca3f858feabe71a36d5ad769f3ff275c4 - flattened_ast: c768aef56ba8c31205dd30930fbdc1b923ac541e070fd18ede0aba30f1514b01 - destructured_ast: f53c800f3654d52fdbf46067aa93ba6f0501c1565b2ed911239cfc1813ee1e73 - inlined_ast: f53c800f3654d52fdbf46067aa93ba6f0501c1565b2ed911239cfc1813ee1e73 - dce_ast: f53c800f3654d52fdbf46067aa93ba6f0501c1565b2ed911239cfc1813ee1e73 - bytecode: 5adcc7b9450eedbada20f55565a821769e58c3cacb624d7e45061693d167a079 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "55de67e7f0caf5fcb2a3871448a83fee766b22b96eeaa1d5d172d2456b55688b", type_checked_symbol_table = "613bad49201700a62fe19d05bba61f39b48b2635ed657fee6e20475fa29c6ed8", unrolled_symbol_table = "613bad49201700a62fe19d05bba61f39b48b2635ed657fee6e20475fa29c6ed8", initial_ast = "51b578b772c900066283e01863cf3b96d894d50aa2d9323f830e8cd83a0b487b", unrolled_ast = "51b578b772c900066283e01863cf3b96d894d50aa2d9323f830e8cd83a0b487b", ssa_ast = "aa32ba8a21c90c8070ada697e720e87ca3f858feabe71a36d5ad769f3ff275c4", flattened_ast = "c768aef56ba8c31205dd30930fbdc1b923ac541e070fd18ede0aba30f1514b01", destructured_ast = "f53c800f3654d52fdbf46067aa93ba6f0501c1565b2ed911239cfc1813ee1e73", inlined_ast = "f53c800f3654d52fdbf46067aa93ba6f0501c1565b2ed911239cfc1813ee1e73", dce_ast = "f53c800f3654d52fdbf46067aa93ba6f0501c1565b2ed911239cfc1813ee1e73", bytecode = "5adcc7b9450eedbada20f55565a821769e58c3cacb624d7e45061693d167a079", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_initialization_fail.out b/tests/expectations/compiler/array/array_initialization_fail.out index 805f5cca7e..4b64140084 100644 --- a/tests/expectations/compiler/array/array_initialization_fail.out +++ b/tests/expectations/compiler/array/array_initialization_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `[bool; 8]` but type `[bool; 7]` was found\n --> compiler-test:5:16\n |\n 5 | return [a, a, a, a, a, a, a];\n | ^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `u8` but type `u32` was found\n --> compiler-test:9:52\n |\n 9 | return [1u8, 2u8, 3u8, 4u8, 5u8, 6u8, 7u8, 8u32];\n | ^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `[bool; 8]` but type `[bool; 7]` was found + --> compiler-test:5:16 + | + 5 | return [a, a, a, a, a, a, a]; + | ^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `u8` but type `u32` was found + --> compiler-test:9:52 + | + 9 | return [1u8, 2u8, 3u8, 4u8, 5u8, 6u8, 7u8, 8u32]; + | ^^^^ +"""] diff --git a/tests/expectations/compiler/array/array_of_records.out b/tests/expectations/compiler/array/array_of_records.out index fc93be8bdf..abfecc9441 100644 --- a/tests/expectations/compiler/array/array_of_records.out +++ b/tests/expectations/compiler/array/array_of_records.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372079]: An array cannot have a record as an element type\n --> compiler-test:9:20\n |\n 9 | transition foo(a: [bar; 8]) -> u8 {\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372079]: An array cannot have a record as an element type + --> compiler-test:9:20 + | + 9 | transition foo(a: [bar; 8]) -> u8 { + | ^ +"""] diff --git a/tests/expectations/compiler/array/array_of_structs.out b/tests/expectations/compiler/array/array_of_structs.out index acc4a7466f..4185c6af22 100644 --- a/tests/expectations/compiler/array/array_of_structs.out +++ b/tests/expectations/compiler/array/array_of_structs.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2810f9059b0a96a9416ee2a7212debabcb4bc6802095bdff039065d3fda7f3c7 - type_checked_symbol_table: b6307badfe522266447d5503e92045f5935d26a0c13cbcc7d78f0da6b6128a0b - unrolled_symbol_table: b6307badfe522266447d5503e92045f5935d26a0c13cbcc7d78f0da6b6128a0b - initial_ast: c5174335068d386bf09f1613ddc2765ab788afbce0a83dc94c8197d792570324 - unrolled_ast: c5174335068d386bf09f1613ddc2765ab788afbce0a83dc94c8197d792570324 - ssa_ast: ec179cc367b277c201b59fc08a6063297f826e09867caf663f30629a0d6bc8e4 - flattened_ast: cdd4b046fda370d0630b92e41a7544214dd31b5b58c830f40ac93c5b4e33e542 - destructured_ast: 19737108a3b3f9a45517e31a0d273c74ae5cda9c8bc86480c96317e6cd33d478 - inlined_ast: 19737108a3b3f9a45517e31a0d273c74ae5cda9c8bc86480c96317e6cd33d478 - dce_ast: 19737108a3b3f9a45517e31a0d273c74ae5cda9c8bc86480c96317e6cd33d478 - bytecode: 53499e77217ba5d8d146384234cbed9abe5c47abcbfe547f7bff6fbef4194a56 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2810f9059b0a96a9416ee2a7212debabcb4bc6802095bdff039065d3fda7f3c7", type_checked_symbol_table = "b6307badfe522266447d5503e92045f5935d26a0c13cbcc7d78f0da6b6128a0b", unrolled_symbol_table = "b6307badfe522266447d5503e92045f5935d26a0c13cbcc7d78f0da6b6128a0b", initial_ast = "c5174335068d386bf09f1613ddc2765ab788afbce0a83dc94c8197d792570324", unrolled_ast = "c5174335068d386bf09f1613ddc2765ab788afbce0a83dc94c8197d792570324", ssa_ast = "ec179cc367b277c201b59fc08a6063297f826e09867caf663f30629a0d6bc8e4", flattened_ast = "cdd4b046fda370d0630b92e41a7544214dd31b5b58c830f40ac93c5b4e33e542", destructured_ast = "19737108a3b3f9a45517e31a0d273c74ae5cda9c8bc86480c96317e6cd33d478", inlined_ast = "19737108a3b3f9a45517e31a0d273c74ae5cda9c8bc86480c96317e6cd33d478", dce_ast = "19737108a3b3f9a45517e31a0d273c74ae5cda9c8bc86480c96317e6cd33d478", bytecode = "53499e77217ba5d8d146384234cbed9abe5c47abcbfe547f7bff6fbef4194a56", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_size_limits.out b/tests/expectations/compiler/array/array_size_limits.out index 0cc0472c82..6ecccf116a 100644 --- a/tests/expectations/compiler/array/array_size_limits.out +++ b/tests/expectations/compiler/array/array_size_limits.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a3b393d4d2e51b53c5987cd958d821983658c755d21235d09c43dbde9b8e9c41 - type_checked_symbol_table: 15c3df980bfbc43752b6c09a98536dfb3a0804f116c3e9bdf93423771fe50068 - unrolled_symbol_table: 15c3df980bfbc43752b6c09a98536dfb3a0804f116c3e9bdf93423771fe50068 - initial_ast: 01ba2ed0dbbaf22997296a20adcec7b7c560178815dc6e627f7f8094943e3478 - unrolled_ast: 01ba2ed0dbbaf22997296a20adcec7b7c560178815dc6e627f7f8094943e3478 - ssa_ast: bbbe8bb7d4113353990307e429133d9e85252740801d8004dcb2b796035db8f0 - flattened_ast: 48e6ffa711f1250106f70abd6e2f729c54e4e95ec8b54a4f4a0f4e280351de25 - destructured_ast: edd8a5eee97046c6e0ce96e43c20078827e04389bb74f703dbe8a6f4de367783 - inlined_ast: edd8a5eee97046c6e0ce96e43c20078827e04389bb74f703dbe8a6f4de367783 - dce_ast: edd8a5eee97046c6e0ce96e43c20078827e04389bb74f703dbe8a6f4de367783 - bytecode: 87676231f14ea25fc123a2569754b9ff0dca4a4f7cee0eb4ed6419174dd0af4c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a3b393d4d2e51b53c5987cd958d821983658c755d21235d09c43dbde9b8e9c41", type_checked_symbol_table = "15c3df980bfbc43752b6c09a98536dfb3a0804f116c3e9bdf93423771fe50068", unrolled_symbol_table = "15c3df980bfbc43752b6c09a98536dfb3a0804f116c3e9bdf93423771fe50068", initial_ast = "01ba2ed0dbbaf22997296a20adcec7b7c560178815dc6e627f7f8094943e3478", unrolled_ast = "01ba2ed0dbbaf22997296a20adcec7b7c560178815dc6e627f7f8094943e3478", ssa_ast = "bbbe8bb7d4113353990307e429133d9e85252740801d8004dcb2b796035db8f0", flattened_ast = "48e6ffa711f1250106f70abd6e2f729c54e4e95ec8b54a4f4a0f4e280351de25", destructured_ast = "edd8a5eee97046c6e0ce96e43c20078827e04389bb74f703dbe8a6f4de367783", inlined_ast = "edd8a5eee97046c6e0ce96e43c20078827e04389bb74f703dbe8a6f4de367783", dce_ast = "edd8a5eee97046c6e0ce96e43c20078827e04389bb74f703dbe8a6f4de367783", bytecode = "87676231f14ea25fc123a2569754b9ff0dca4a4f7cee0eb4ed6419174dd0af4c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/array/array_too_large_fail.out b/tests/expectations/compiler/array/array_too_large_fail.out index 136ee1c64e..c36adb1789 100644 --- a/tests/expectations/compiler/array/array_too_large_fail.out +++ b/tests/expectations/compiler/array/array_too_large_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372077]: An array cannot have more than 32 elements, found one with 33 elements\n --> compiler-test:4:20\n |\n 4 | transition foo(a: [bool; 33]) -> bool {\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372077]: An array cannot have more than 32 elements, found one with 33 elements + --> compiler-test:4:20 + | + 4 | transition foo(a: [bool; 33]) -> bool { + | ^ +"""] diff --git a/tests/expectations/compiler/array/array_too_small_fail.out b/tests/expectations/compiler/array/array_too_small_fail.out index e623cd9b9f..87b9ba7226 100644 --- a/tests/expectations/compiler/array/array_too_small_fail.out +++ b/tests/expectations/compiler/array/array_too_small_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372076]: An array cannot be empty\n --> compiler-test:4:20\n |\n 4 | transition foo(a: [bool; 0]) -> bool {\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372076]: An array cannot be empty + --> compiler-test:4:20 + | + 4 | transition foo(a: [bool; 0]) -> bool { + | ^ +"""] diff --git a/tests/expectations/compiler/array/array_variable_access_fail.out b/tests/expectations/compiler/array/array_variable_access_fail.out index 76fc7ff1ee..09c942f083 100644 --- a/tests/expectations/compiler/array/array_variable_access_fail.out +++ b/tests/expectations/compiler/array/array_variable_access_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ELUN0379001]: The array index must be constant.\n --> compiler-test:5:16\n |\n 5 | return a[index];\n | ^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ELUN0379001]: The array index must be constant. + --> compiler-test:5:16 + | + 5 | return a[index]; + | ^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/array/array_with_units_fail.out b/tests/expectations/compiler/array/array_with_units_fail.out index 3a480b1b0d..b7f0e9bf22 100644 --- a/tests/expectations/compiler/array/array_with_units_fail.out +++ b/tests/expectations/compiler/array/array_with_units_fail.out @@ -1,5 +1,21 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372056]: Unit expressions can only be used in return statements.\n --> compiler-test:5:29\n |\n 5 | let bar: [(); 2] = [(), ()];\n | ^^\nError [ETYC0372056]: Unit expressions can only be used in return statements.\n --> compiler-test:5:33\n |\n 5 | let bar: [(); 2] = [(), ()];\n | ^^\nError [ETYC0372036]: Function must return a value.\n --> compiler-test:4:5\n |\n 4 | transition foo() -> bool {\n 5 | let bar: [(); 2] = [(), ()];\n 6 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372056]: Unit expressions can only be used in return statements. + --> compiler-test:5:29 + | + 5 | let bar: [(); 2] = [(), ()]; + | ^^ +Error [ETYC0372056]: Unit expressions can only be used in return statements. + --> compiler-test:5:33 + | + 5 | let bar: [(); 2] = [(), ()]; + | ^^ +Error [ETYC0372036]: Function must return a value. + --> compiler-test:4:5 + | + 4 | transition foo() -> bool { + 5 | let bar: [(); 2] = [(), ()]; + 6 | } + | ^ +"""] diff --git a/tests/expectations/compiler/array/array_write_fail.out b/tests/expectations/compiler/array/array_write_fail.out index 3f3c803150..2fd2710866 100644 --- a/tests/expectations/compiler/array/array_write_fail.out +++ b/tests/expectations/compiler/array/array_write_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372000]: invalid assignment target\n --> compiler-test:5:9\n |\n 5 | a[0u32] = false;\n | ^^^^^^^\nError [ETYC0372000]: invalid assignment target\n --> compiler-test:6:9\n |\n 6 | a[1u32] = true;\n | ^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372000]: invalid assignment target + --> compiler-test:5:9 + | + 5 | a[0u32] = false; + | ^^^^^^^ +Error [ETYC0372000]: invalid assignment target + --> compiler-test:6:9 + | + 6 | a[1u32] = true; + | ^^^^^^^ +"""] diff --git a/tests/expectations/compiler/array/nested_array_sum_fail.out b/tests/expectations/compiler/array/nested_array_sum_fail.out index 88b037296d..84d1bf3388 100644 --- a/tests/expectations/compiler/array/nested_array_sum_fail.out +++ b/tests/expectations/compiler/array/nested_array_sum_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372007]: Expected one type from `array`, but got `u32`\n --> compiler-test:9:29\n |\n 9 | sum = sum + a[i][j];\n | ^^^^\nError [ETYC0372003]: Expected type `u32` but type `no type` was found\n --> compiler-test:9:23\n |\n 9 | sum = sum + a[i][j];\n | ^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372007]: Expected one type from `array`, but got `u32` + --> compiler-test:9:29 + | + 9 | sum = sum + a[i][j]; + | ^^^^ +Error [ETYC0372003]: Expected type `u32` but type `no type` was found + --> compiler-test:9:23 + | + 9 | sum = sum + a[i][j]; + | ^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/assert/early_return.out b/tests/expectations/compiler/assert/early_return.out index 836bc40f4a..c5a8b1db00 100644 --- a/tests/expectations/compiler/assert/early_return.out +++ b/tests/expectations/compiler/assert/early_return.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e965a8af9217457a872227ba3bf36a713ab10cbddfbea556d187ef82d54656d6 - type_checked_symbol_table: d94342d0ceac96b56ea536f27be02101a259cc6059843d75ed0eba6813cd36c2 - unrolled_symbol_table: d94342d0ceac96b56ea536f27be02101a259cc6059843d75ed0eba6813cd36c2 - initial_ast: e7a9420a403419844c2b328330be1264ec8a0ff518ed881f84970fe71845c6b6 - unrolled_ast: e7a9420a403419844c2b328330be1264ec8a0ff518ed881f84970fe71845c6b6 - ssa_ast: 13d8fdfd7a4e3f8a225e74f3520204957edbef4ae041cfbc0144084e347b7086 - flattened_ast: e4b2496a10ba914ae051f0bf01c7da7336ae581da2f66a4434fe47b600272235 - destructured_ast: 194243154841f88aead74d3c31339189104e4a675c0e2c8f44b33783905a5171 - inlined_ast: 194243154841f88aead74d3c31339189104e4a675c0e2c8f44b33783905a5171 - dce_ast: 194243154841f88aead74d3c31339189104e4a675c0e2c8f44b33783905a5171 - bytecode: 9eb1cb369a0b26adb4c56b497cb21915e34d7aad8c72224713d9a2d912d18907 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e965a8af9217457a872227ba3bf36a713ab10cbddfbea556d187ef82d54656d6", type_checked_symbol_table = "d94342d0ceac96b56ea536f27be02101a259cc6059843d75ed0eba6813cd36c2", unrolled_symbol_table = "d94342d0ceac96b56ea536f27be02101a259cc6059843d75ed0eba6813cd36c2", initial_ast = "e7a9420a403419844c2b328330be1264ec8a0ff518ed881f84970fe71845c6b6", unrolled_ast = "e7a9420a403419844c2b328330be1264ec8a0ff518ed881f84970fe71845c6b6", ssa_ast = "13d8fdfd7a4e3f8a225e74f3520204957edbef4ae041cfbc0144084e347b7086", flattened_ast = "e4b2496a10ba914ae051f0bf01c7da7336ae581da2f66a4434fe47b600272235", destructured_ast = "194243154841f88aead74d3c31339189104e4a675c0e2c8f44b33783905a5171", inlined_ast = "194243154841f88aead74d3c31339189104e4a675c0e2c8f44b33783905a5171", dce_ast = "194243154841f88aead74d3c31339189104e4a675c0e2c8f44b33783905a5171", bytecode = "9eb1cb369a0b26adb4c56b497cb21915e34d7aad8c72224713d9a2d912d18907", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/boolean/and.out b/tests/expectations/compiler/boolean/and.out index fccd8434b2..ed2659a9c9 100644 --- a/tests/expectations/compiler/boolean/and.out +++ b/tests/expectations/compiler/boolean/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1 - type_checked_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - unrolled_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - initial_ast: eaad5ac882c9ab1f4f88a2460e59f856458cb83517dfef68a07dc5cf3d11c7e3 - unrolled_ast: eaad5ac882c9ab1f4f88a2460e59f856458cb83517dfef68a07dc5cf3d11c7e3 - ssa_ast: 690eacae3ba50c90ea847823283c225380fd162468c448ca176d206724f9b486 - flattened_ast: 2acb2f118de37e8c8bccdefa4c557b9aa29e9a1ccb3ec75ba5a37a8ebe771e32 - destructured_ast: 7188aa240e3316581a7e7e84d12a8ebc7cbbcdfcb373c0e69b4cf50a163f0455 - inlined_ast: 7188aa240e3316581a7e7e84d12a8ebc7cbbcdfcb373c0e69b4cf50a163f0455 - dce_ast: 7188aa240e3316581a7e7e84d12a8ebc7cbbcdfcb373c0e69b4cf50a163f0455 - bytecode: 134904b86b96581876c2ca0c6ead651dda0dc9f2fb6dc583400133410b7deede - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1", type_checked_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", unrolled_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", initial_ast = "eaad5ac882c9ab1f4f88a2460e59f856458cb83517dfef68a07dc5cf3d11c7e3", unrolled_ast = "eaad5ac882c9ab1f4f88a2460e59f856458cb83517dfef68a07dc5cf3d11c7e3", ssa_ast = "690eacae3ba50c90ea847823283c225380fd162468c448ca176d206724f9b486", flattened_ast = "2acb2f118de37e8c8bccdefa4c557b9aa29e9a1ccb3ec75ba5a37a8ebe771e32", destructured_ast = "7188aa240e3316581a7e7e84d12a8ebc7cbbcdfcb373c0e69b4cf50a163f0455", inlined_ast = "7188aa240e3316581a7e7e84d12a8ebc7cbbcdfcb373c0e69b4cf50a163f0455", dce_ast = "7188aa240e3316581a7e7e84d12a8ebc7cbbcdfcb373c0e69b4cf50a163f0455", bytecode = "134904b86b96581876c2ca0c6ead651dda0dc9f2fb6dc583400133410b7deede", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/boolean/conditional.out b/tests/expectations/compiler/boolean/conditional.out index cbc038c367..7216f7a603 100644 --- a/tests/expectations/compiler/boolean/conditional.out +++ b/tests/expectations/compiler/boolean/conditional.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1 - type_checked_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - unrolled_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - initial_ast: 5f26db89efd720e9fd89f93107a5096ef7f600e769e44b01a6b43d86ed849de0 - unrolled_ast: 5f26db89efd720e9fd89f93107a5096ef7f600e769e44b01a6b43d86ed849de0 - ssa_ast: e5974a0e1add0fbde6f86104bed47aae9bb59b8b131b46c7f77489336dff21b0 - flattened_ast: 61bed3f773821b1b80eda03f5a05d5bfb12399db89bf9f93c248aa09b5b250f6 - destructured_ast: 00481fd379ca20887a4b45be2ef03ff42a27954cf22e2494882a390b9f42bce8 - inlined_ast: 00481fd379ca20887a4b45be2ef03ff42a27954cf22e2494882a390b9f42bce8 - dce_ast: 00481fd379ca20887a4b45be2ef03ff42a27954cf22e2494882a390b9f42bce8 - bytecode: 56a9fa48a00d1b38b6f60a93ef2168b2c0ce9c23ba3cb7bffa40debfc1b16180 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1", type_checked_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", unrolled_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", initial_ast = "5f26db89efd720e9fd89f93107a5096ef7f600e769e44b01a6b43d86ed849de0", unrolled_ast = "5f26db89efd720e9fd89f93107a5096ef7f600e769e44b01a6b43d86ed849de0", ssa_ast = "e5974a0e1add0fbde6f86104bed47aae9bb59b8b131b46c7f77489336dff21b0", flattened_ast = "61bed3f773821b1b80eda03f5a05d5bfb12399db89bf9f93c248aa09b5b250f6", destructured_ast = "00481fd379ca20887a4b45be2ef03ff42a27954cf22e2494882a390b9f42bce8", inlined_ast = "00481fd379ca20887a4b45be2ef03ff42a27954cf22e2494882a390b9f42bce8", dce_ast = "00481fd379ca20887a4b45be2ef03ff42a27954cf22e2494882a390b9f42bce8", bytecode = "56a9fa48a00d1b38b6f60a93ef2168b2c0ce9c23ba3cb7bffa40debfc1b16180", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/boolean/equal.out b/tests/expectations/compiler/boolean/equal.out index 7f1babed78..425226ee62 100644 --- a/tests/expectations/compiler/boolean/equal.out +++ b/tests/expectations/compiler/boolean/equal.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1 - type_checked_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - unrolled_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - initial_ast: 62350ccf85cc0e5ebaa8fb5103845b87d70165e0bc3153bfaf2e42ef6b85505b - unrolled_ast: 62350ccf85cc0e5ebaa8fb5103845b87d70165e0bc3153bfaf2e42ef6b85505b - ssa_ast: 1b2d39677eea7198dd46956061d8bac6c36ed700e45be42354af9a7bc4548bd9 - flattened_ast: 198e38a41d0504a079c98e6a4898e2a94442d9ffdd767f0b04873125972f75f5 - destructured_ast: 41812b545fb9f9539b4721f3e42bf57df57bbc097869a9993ca48fc89af07d7b - inlined_ast: 41812b545fb9f9539b4721f3e42bf57df57bbc097869a9993ca48fc89af07d7b - dce_ast: 41812b545fb9f9539b4721f3e42bf57df57bbc097869a9993ca48fc89af07d7b - bytecode: 2332d5b7ed9910dc65c885e1aeedbbde00e02d95a55caa300a9cb72456707034 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1", type_checked_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", unrolled_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", initial_ast = "62350ccf85cc0e5ebaa8fb5103845b87d70165e0bc3153bfaf2e42ef6b85505b", unrolled_ast = "62350ccf85cc0e5ebaa8fb5103845b87d70165e0bc3153bfaf2e42ef6b85505b", ssa_ast = "1b2d39677eea7198dd46956061d8bac6c36ed700e45be42354af9a7bc4548bd9", flattened_ast = "198e38a41d0504a079c98e6a4898e2a94442d9ffdd767f0b04873125972f75f5", destructured_ast = "41812b545fb9f9539b4721f3e42bf57df57bbc097869a9993ca48fc89af07d7b", inlined_ast = "41812b545fb9f9539b4721f3e42bf57df57bbc097869a9993ca48fc89af07d7b", dce_ast = "41812b545fb9f9539b4721f3e42bf57df57bbc097869a9993ca48fc89af07d7b", bytecode = "2332d5b7ed9910dc65c885e1aeedbbde00e02d95a55caa300a9cb72456707034", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/boolean/not_equal.out b/tests/expectations/compiler/boolean/not_equal.out index df1079a9d8..1ce2c61214 100644 --- a/tests/expectations/compiler/boolean/not_equal.out +++ b/tests/expectations/compiler/boolean/not_equal.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1 - type_checked_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - unrolled_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - initial_ast: 5fd20de6d0cdad3eabf5467f323426da3ccb6e1ea08a2a7fc95457ee7e10fa56 - unrolled_ast: 5fd20de6d0cdad3eabf5467f323426da3ccb6e1ea08a2a7fc95457ee7e10fa56 - ssa_ast: 5f72b32831de268d754e859875b8d55d2d9c41b93e8004b35e4a77bda3641dd9 - flattened_ast: 880b09f5d0a626bfcd3312e2cfd75889a3ad8bfad901110c3a9008397b696bb3 - destructured_ast: 595f46c5f74c3ebf5da3dac2142637a7073ef1f3af8771ed9c12004de481eb3d - inlined_ast: 595f46c5f74c3ebf5da3dac2142637a7073ef1f3af8771ed9c12004de481eb3d - dce_ast: 595f46c5f74c3ebf5da3dac2142637a7073ef1f3af8771ed9c12004de481eb3d - bytecode: 990eee0b87d70df046bad969201ad8afabff10162eb70c00f837fde81fed4104 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1", type_checked_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", unrolled_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", initial_ast = "5fd20de6d0cdad3eabf5467f323426da3ccb6e1ea08a2a7fc95457ee7e10fa56", unrolled_ast = "5fd20de6d0cdad3eabf5467f323426da3ccb6e1ea08a2a7fc95457ee7e10fa56", ssa_ast = "5f72b32831de268d754e859875b8d55d2d9c41b93e8004b35e4a77bda3641dd9", flattened_ast = "880b09f5d0a626bfcd3312e2cfd75889a3ad8bfad901110c3a9008397b696bb3", destructured_ast = "595f46c5f74c3ebf5da3dac2142637a7073ef1f3af8771ed9c12004de481eb3d", inlined_ast = "595f46c5f74c3ebf5da3dac2142637a7073ef1f3af8771ed9c12004de481eb3d", dce_ast = "595f46c5f74c3ebf5da3dac2142637a7073ef1f3af8771ed9c12004de481eb3d", bytecode = "990eee0b87d70df046bad969201ad8afabff10162eb70c00f837fde81fed4104", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/boolean/operator_methods.out b/tests/expectations/compiler/boolean/operator_methods.out index 41bcde50a3..194ddd1778 100644 --- a/tests/expectations/compiler/boolean/operator_methods.out +++ b/tests/expectations/compiler/boolean/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1 - type_checked_symbol_table: 784af104f55654a81e3c2546a1eab0fdbdd208681567d89e9b9286ab1a75cac3 - unrolled_symbol_table: 784af104f55654a81e3c2546a1eab0fdbdd208681567d89e9b9286ab1a75cac3 - initial_ast: 4d8dac42b745182842d0699c703b8cd4bb875da014b3d93f993779020f643e59 - unrolled_ast: 4d8dac42b745182842d0699c703b8cd4bb875da014b3d93f993779020f643e59 - ssa_ast: 198d0af4f4d9aeaab70de4df15b8a15e87078a19d164afeb612c4fac256c7908 - flattened_ast: 8e67e164404e6fcbc4918492660dc59572103060be8141be63a058139cfded43 - destructured_ast: 58d1e81d725b83b56d365add74a33f083d364f1b9842c639621ea95339605d70 - inlined_ast: 58d1e81d725b83b56d365add74a33f083d364f1b9842c639621ea95339605d70 - dce_ast: fbe283e571b7a63ca2d2ac2c0001e1ced041e7ee1866c92c8046138363400239 - bytecode: bb260232bbd0ccede368961a31abeef5edc7e00cab3348b4b8518d4e5798a6b5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1", type_checked_symbol_table = "784af104f55654a81e3c2546a1eab0fdbdd208681567d89e9b9286ab1a75cac3", unrolled_symbol_table = "784af104f55654a81e3c2546a1eab0fdbdd208681567d89e9b9286ab1a75cac3", initial_ast = "4d8dac42b745182842d0699c703b8cd4bb875da014b3d93f993779020f643e59", unrolled_ast = "4d8dac42b745182842d0699c703b8cd4bb875da014b3d93f993779020f643e59", ssa_ast = "198d0af4f4d9aeaab70de4df15b8a15e87078a19d164afeb612c4fac256c7908", flattened_ast = "8e67e164404e6fcbc4918492660dc59572103060be8141be63a058139cfded43", destructured_ast = "58d1e81d725b83b56d365add74a33f083d364f1b9842c639621ea95339605d70", inlined_ast = "58d1e81d725b83b56d365add74a33f083d364f1b9842c639621ea95339605d70", dce_ast = "fbe283e571b7a63ca2d2ac2c0001e1ced041e7ee1866c92c8046138363400239", bytecode = "bb260232bbd0ccede368961a31abeef5edc7e00cab3348b4b8518d4e5798a6b5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/boolean/or.out b/tests/expectations/compiler/boolean/or.out index b35782285e..2f32a59507 100644 --- a/tests/expectations/compiler/boolean/or.out +++ b/tests/expectations/compiler/boolean/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1 - type_checked_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - unrolled_symbol_table: 29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e - initial_ast: a7a40fd49b89c3e4b8b427a81384d52bee87a6de9be4d323faaf6c56c201f05b - unrolled_ast: a7a40fd49b89c3e4b8b427a81384d52bee87a6de9be4d323faaf6c56c201f05b - ssa_ast: b4e000a08d956d72c31cdc7e4d41be3a0c7be7c174a625f4c59f8d0422834291 - flattened_ast: 46355d55070db6206d101b33c93a643a7fae8efe6501b8d2062ec22866e01f10 - destructured_ast: 920af3171d61da86d9ae1803e344bfbf48c0273f449de1c4db1dcbaf5f2cef75 - inlined_ast: 920af3171d61da86d9ae1803e344bfbf48c0273f449de1c4db1dcbaf5f2cef75 - dce_ast: 920af3171d61da86d9ae1803e344bfbf48c0273f449de1c4db1dcbaf5f2cef75 - bytecode: c3a0c03f4324a6dd6baea42e664ffad91868714739e03525dcbc968582007ceb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1b5c611464ecf9e3bdafa92a46c5b9d7ff2f75b57aba7e90eced6f363fb580a1", type_checked_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", unrolled_symbol_table = "29a17f191dd193447c1182ec08351227f100183d7fbe41bdf4b113e0f304e33e", initial_ast = "a7a40fd49b89c3e4b8b427a81384d52bee87a6de9be4d323faaf6c56c201f05b", unrolled_ast = "a7a40fd49b89c3e4b8b427a81384d52bee87a6de9be4d323faaf6c56c201f05b", ssa_ast = "b4e000a08d956d72c31cdc7e4d41be3a0c7be7c174a625f4c59f8d0422834291", flattened_ast = "46355d55070db6206d101b33c93a643a7fae8efe6501b8d2062ec22866e01f10", destructured_ast = "920af3171d61da86d9ae1803e344bfbf48c0273f449de1c4db1dcbaf5f2cef75", inlined_ast = "920af3171d61da86d9ae1803e344bfbf48c0273f449de1c4db1dcbaf5f2cef75", dce_ast = "920af3171d61da86d9ae1803e344bfbf48c0273f449de1c4db1dcbaf5f2cef75", bytecode = "c3a0c03f4324a6dd6baea42e664ffad91868714739e03525dcbc968582007ceb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/bugs/unknown_variable_fail.out b/tests/expectations/compiler/bugs/unknown_variable_fail.out index 9d53affe71..147cb14aeb 100644 --- a/tests/expectations/compiler/bugs/unknown_variable_fail.out +++ b/tests/expectations/compiler/bugs/unknown_variable_fail.out @@ -1,5 +1,58 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `caller`\n --> compiler-test:37:44\n |\n 37 | return (self.caller, finalize_init(caller));\n | ^^^^^^\nError [ETYC0372088]: An async transition must call an async function.\n --> compiler-test:36:5\n |\n 36 | async transition init(b: bool) -> (address, Future) {\n 37 | return (self.caller, finalize_init(caller));\n 38 | }\n | ^\n |\n = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }`\nError [ETYC0372005]: Unknown variable `account`\n --> compiler-test:54:53\n |\n 54 | let owner_amount: u64 = Mapping::get_or_use(account, caller, 0u64);\n | ^^^^^^^\nError [ETYC0372005]: Unknown variable `account`\n --> compiler-test:56:22\n |\n 56 | Mapping::set(account, caller, owner_amount + admin_token_amt);\n | ^^^^^^^\nWarning [WTYC0372002]: The async function `finalize_init` is never called by an async transition.\n --> compiler-test:40:5\n |\n 40 | async function finalize_init(caller: address) {\n 41 | let gs: GlobalState = Mapping::get_or_use(global_state, true, GlobalState {\n 42 | next_token_id: 0field,\n 43 | admin: aleo1az8p9vlllyqwtj0c2g9svkd0e5v0p3zzdflwwrpa7kpe8xrfxgfqqpru7m,\n 44 | });\n 45 | assert_eq(gs.next_token_id, 0field);\n 46 | assert_eq(caller, gs.admin);\n 47 | Mapping::set(global_state, true, GlobalState {\n 48 | next_token_id: 1field,\n 49 | admin: gs.admin,\n 50 | });\n 51 | \n 52 | let test_supply: u64 = 15000000000000u64;\n 53 | let admin_token_amt: u64 = 60000000u64;\n 54 | let owner_amount: u64 = Mapping::get_or_use(account, caller, 0u64);\n 55 | assert(owner_amount == 0u64);\n 56 | Mapping::set(account, caller, owner_amount + admin_token_amt);\n 57 | \n 58 | Mapping::set(test_token, test_supply, TestToken {\n 59 | name: 4577111110111112111108121field,\n 60 | symbol: 4577111110111112111108121field,\n 61 | decimals: 6u8,\n 62 | circulating_supply: 0u64 + admin_token_amt,\n 63 | total_supply: test_supply,\n 64 | admin: gs.admin,\n 65 | });\n 66 | }\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `caller` + --> compiler-test:37:44 + | + 37 | return (self.caller, finalize_init(caller)); + | ^^^^^^ +Error [ETYC0372088]: An async transition must call an async function. + --> compiler-test:36:5 + | + 36 | async transition init(b: bool) -> (address, Future) { + 37 | return (self.caller, finalize_init(caller)); + 38 | } + | ^ + | + = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }` +Error [ETYC0372005]: Unknown variable `account` + --> compiler-test:54:53 + | + 54 | let owner_amount: u64 = Mapping::get_or_use(account, caller, 0u64); + | ^^^^^^^ +Error [ETYC0372005]: Unknown variable `account` + --> compiler-test:56:22 + | + 56 | Mapping::set(account, caller, owner_amount + admin_token_amt); + | ^^^^^^^ +Warning [WTYC0372002]: The async function `finalize_init` is never called by an async transition. + --> compiler-test:40:5 + | + 40 | async function finalize_init(caller: address) { + 41 | let gs: GlobalState = Mapping::get_or_use(global_state, true, GlobalState { + 42 | next_token_id: 0field, + 43 | admin: aleo1az8p9vlllyqwtj0c2g9svkd0e5v0p3zzdflwwrpa7kpe8xrfxgfqqpru7m, + 44 | }); + 45 | assert_eq(gs.next_token_id, 0field); + 46 | assert_eq(caller, gs.admin); + 47 | Mapping::set(global_state, true, GlobalState { + 48 | next_token_id: 1field, + 49 | admin: gs.admin, + 50 | }); + 51 | + 52 | let test_supply: u64 = 15000000000000u64; + 53 | let admin_token_amt: u64 = 60000000u64; + 54 | let owner_amount: u64 = Mapping::get_or_use(account, caller, 0u64); + 55 | assert(owner_amount == 0u64); + 56 | Mapping::set(account, caller, owner_amount + admin_token_amt); + 57 | + 58 | Mapping::set(test_token, test_supply, TestToken { + 59 | name: 4577111110111112111108121field, + 60 | symbol: 4577111110111112111108121field, + 61 | decimals: 6u8, + 62 | circulating_supply: 0u64 + admin_token_amt, + 63 | total_supply: test_supply, + 64 | admin: gs.admin, + 65 | }); + 66 | } + | ^"""] diff --git a/tests/expectations/compiler/console/assert.out b/tests/expectations/compiler/console/assert.out index c2a247649b..6f56c9c006 100644 --- a/tests/expectations/compiler/console/assert.out +++ b/tests/expectations/compiler/console/assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e842df421595b3b67809502efd4090ad62f3a1c381caff3e87fdb0db1d8f05e3 - type_checked_symbol_table: 488dfeda4033ab38d660e18201b8374a0afdab04b361438010b4f781d34246b7 - unrolled_symbol_table: 488dfeda4033ab38d660e18201b8374a0afdab04b361438010b4f781d34246b7 - initial_ast: 6d7ed631427a4ab10f27d2452a1964ad467c76d926d7728a879ecc04dc1cf223 - unrolled_ast: 6d7ed631427a4ab10f27d2452a1964ad467c76d926d7728a879ecc04dc1cf223 - ssa_ast: 127fc107ad2d3bfd8d45ee0776aa87d5ceb98ea74021834e0a2be91b3aabc2ab - flattened_ast: 384b9c3dc0e6dd88220902841f0b60485d5618eb8c294fad74fa50e695354778 - destructured_ast: 0df4d5d73bcbbc4eb62ed67c5b14d1b8838ccef0a38617f9bffae87e9e8f61d2 - inlined_ast: 0df4d5d73bcbbc4eb62ed67c5b14d1b8838ccef0a38617f9bffae87e9e8f61d2 - dce_ast: 0df4d5d73bcbbc4eb62ed67c5b14d1b8838ccef0a38617f9bffae87e9e8f61d2 - bytecode: 3c391009be59588562aa4a34d1b00508cd253c94d35a66741962352c76a92633 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e842df421595b3b67809502efd4090ad62f3a1c381caff3e87fdb0db1d8f05e3", type_checked_symbol_table = "488dfeda4033ab38d660e18201b8374a0afdab04b361438010b4f781d34246b7", unrolled_symbol_table = "488dfeda4033ab38d660e18201b8374a0afdab04b361438010b4f781d34246b7", initial_ast = "6d7ed631427a4ab10f27d2452a1964ad467c76d926d7728a879ecc04dc1cf223", unrolled_ast = "6d7ed631427a4ab10f27d2452a1964ad467c76d926d7728a879ecc04dc1cf223", ssa_ast = "127fc107ad2d3bfd8d45ee0776aa87d5ceb98ea74021834e0a2be91b3aabc2ab", flattened_ast = "384b9c3dc0e6dd88220902841f0b60485d5618eb8c294fad74fa50e695354778", destructured_ast = "0df4d5d73bcbbc4eb62ed67c5b14d1b8838ccef0a38617f9bffae87e9e8f61d2", inlined_ast = "0df4d5d73bcbbc4eb62ed67c5b14d1b8838ccef0a38617f9bffae87e9e8f61d2", dce_ast = "0df4d5d73bcbbc4eb62ed67c5b14d1b8838ccef0a38617f9bffae87e9e8f61d2", bytecode = "3c391009be59588562aa4a34d1b00508cd253c94d35a66741962352c76a92633", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/console/assert_fail.out b/tests/expectations/compiler/console/assert_fail.out index 75f74f166e..cf104ad0a2 100644 --- a/tests/expectations/compiler/console/assert_fail.out +++ b/tests/expectations/compiler/console/assert_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected , -- found ')'\n --> compiler-test:6:27\n |\n 6 | assert_eq(a == 1u8);\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected , -- found ')' + --> compiler-test:6:27 + | + 6 | assert_eq(a == 1u8); + | ^"""] diff --git a/tests/expectations/compiler/console/conditional_assert.out b/tests/expectations/compiler/console/conditional_assert.out index 40f87b8726..4388ffb776 100644 --- a/tests/expectations/compiler/console/conditional_assert.out +++ b/tests/expectations/compiler/console/conditional_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fe88d0b4607c83e6ad15970976a4b53d4805409c31cf4f130c800a94ee42c95a - type_checked_symbol_table: b4995f1268d8d8bbcaadf5f2c28c1a198b7f858d1890f11684ab0c68bdbba5aa - unrolled_symbol_table: b4995f1268d8d8bbcaadf5f2c28c1a198b7f858d1890f11684ab0c68bdbba5aa - initial_ast: ba67a500726316de1c9fc21a11c793b2af8c1d356b129aa0e4daca8e97685ef6 - unrolled_ast: ba67a500726316de1c9fc21a11c793b2af8c1d356b129aa0e4daca8e97685ef6 - ssa_ast: d0458d630038e53c60b016d68897fbb8f7cbaacdcf55ae82a7b57499f2a14a8c - flattened_ast: 3367b1ecfa78339cfc5ef51db8b63de8bd8c8d56e136dbc4ef66735bc7196c23 - destructured_ast: e903da526e4b32d88dfd87b3216523e6015340e945612d4683f23d3904e3e887 - inlined_ast: e903da526e4b32d88dfd87b3216523e6015340e945612d4683f23d3904e3e887 - dce_ast: e903da526e4b32d88dfd87b3216523e6015340e945612d4683f23d3904e3e887 - bytecode: 6c1429f518559f2ed199b19fff8774614cde60ca6f8a4b28f3ca55f1d96bfbed - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fe88d0b4607c83e6ad15970976a4b53d4805409c31cf4f130c800a94ee42c95a", type_checked_symbol_table = "b4995f1268d8d8bbcaadf5f2c28c1a198b7f858d1890f11684ab0c68bdbba5aa", unrolled_symbol_table = "b4995f1268d8d8bbcaadf5f2c28c1a198b7f858d1890f11684ab0c68bdbba5aa", initial_ast = "ba67a500726316de1c9fc21a11c793b2af8c1d356b129aa0e4daca8e97685ef6", unrolled_ast = "ba67a500726316de1c9fc21a11c793b2af8c1d356b129aa0e4daca8e97685ef6", ssa_ast = "d0458d630038e53c60b016d68897fbb8f7cbaacdcf55ae82a7b57499f2a14a8c", flattened_ast = "3367b1ecfa78339cfc5ef51db8b63de8bd8c8d56e136dbc4ef66735bc7196c23", destructured_ast = "e903da526e4b32d88dfd87b3216523e6015340e945612d4683f23d3904e3e887", inlined_ast = "e903da526e4b32d88dfd87b3216523e6015340e945612d4683f23d3904e3e887", dce_ast = "e903da526e4b32d88dfd87b3216523e6015340e945612d4683f23d3904e3e887", bytecode = "6c1429f518559f2ed199b19fff8774614cde60ca6f8a4b28f3ca55f1d96bfbed", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/constants/const_tuple_declaration.out b/tests/expectations/compiler/constants/const_tuple_declaration.out index 0c8fc81670..110c218ae1 100644 --- a/tests/expectations/compiler/constants/const_tuple_declaration.out +++ b/tests/expectations/compiler/constants/const_tuple_declaration.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7b7639da9364ec7e9fbdbeca060c73f5f0d338486b6d823b0b4704d23f9427ab - type_checked_symbol_table: 0802a02c884f0c8c409af2c2e5832393edc51a289dd6eebfebfc4ce2de29ba65 - unrolled_symbol_table: 435885a17bd622f24f237a8d2eb4ee510a4977dbabd380530ae0d2e8cac26101 - initial_ast: 38245c6dcf3dd2eefe622109ac7e464c771fb453600c0abbe56b09d35b53aebd - unrolled_ast: a26bb8e37c66a077fba6f366ffc7e68d3c298f7f82bc3d6e72a4445ec9ecc23a - ssa_ast: ab86608c012145f682109ec167f2beadd27b4285e712bf9d16096409c4f47fd4 - flattened_ast: fc788aaa793d64b66169199559b0630dba62116216c9c7b38530719ba9775e9f - destructured_ast: 6882bbc3e61e5b5e088128719c3c03f20eb32bfd06312e68eedd05182b5260dc - inlined_ast: 6882bbc3e61e5b5e088128719c3c03f20eb32bfd06312e68eedd05182b5260dc - dce_ast: 6adf6b5a2b6be4dcc8ebf46d30acc4dc8082816c90679404869dc0f76a014981 - bytecode: acfb8fc365ba153cf8598a04dad8ff4ac65b9df6c6356cb077fcf9dafbead7e9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7b7639da9364ec7e9fbdbeca060c73f5f0d338486b6d823b0b4704d23f9427ab", type_checked_symbol_table = "0802a02c884f0c8c409af2c2e5832393edc51a289dd6eebfebfc4ce2de29ba65", unrolled_symbol_table = "435885a17bd622f24f237a8d2eb4ee510a4977dbabd380530ae0d2e8cac26101", initial_ast = "38245c6dcf3dd2eefe622109ac7e464c771fb453600c0abbe56b09d35b53aebd", unrolled_ast = "a26bb8e37c66a077fba6f366ffc7e68d3c298f7f82bc3d6e72a4445ec9ecc23a", ssa_ast = "ab86608c012145f682109ec167f2beadd27b4285e712bf9d16096409c4f47fd4", flattened_ast = "fc788aaa793d64b66169199559b0630dba62116216c9c7b38530719ba9775e9f", destructured_ast = "6882bbc3e61e5b5e088128719c3c03f20eb32bfd06312e68eedd05182b5260dc", inlined_ast = "6882bbc3e61e5b5e088128719c3c03f20eb32bfd06312e68eedd05182b5260dc", dce_ast = "6adf6b5a2b6be4dcc8ebf46d30acc4dc8082816c90679404869dc0f76a014981", bytecode = "acfb8fc365ba153cf8598a04dad8ff4ac65b9df6c6356cb077fcf9dafbead7e9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/constants/const_type_error_fail.out b/tests/expectations/compiler/constants/const_type_error_fail.out index 8fe06f816c..8d5c6581ed 100644 --- a/tests/expectations/compiler/constants/const_type_error_fail.out +++ b/tests/expectations/compiler/constants/const_type_error_fail.out @@ -1,5 +1,31 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements.\n --> compiler-test:7:9\n |\n 7 | const A: () = ();\n | ^^^^^^^^^^^^^^^^\nError [ETYC0372070]: The value of a const declaration must be a literal\n --> compiler-test:7:9\n |\n 7 | const A: () = ();\n | ^^^^^^^^^^^^^^^^\nError [ETYC0372056]: Unit expressions can only be used in return statements.\n --> compiler-test:7:23\n |\n 7 | const A: () = ();\n | ^^\nError [ETYC0372070]: The value of a const declaration must be a literal\n --> compiler-test:8:9\n |\n 8 | const B: u8 = ((1u8,1u8),1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372023]: Tuples must be explicitly typed in Leo\n --> compiler-test:8:23\n |\n 8 | const B: u8 = ((1u8,1u8),1u8);\n | ^^^^^^^^^^^^^^^\n |\n = The function definition must match the function return statement\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements. + --> compiler-test:7:9 + | + 7 | const A: () = (); + | ^^^^^^^^^^^^^^^^ +Error [ETYC0372070]: The value of a const declaration must be a literal + --> compiler-test:7:9 + | + 7 | const A: () = (); + | ^^^^^^^^^^^^^^^^ +Error [ETYC0372056]: Unit expressions can only be used in return statements. + --> compiler-test:7:23 + | + 7 | const A: () = (); + | ^^ +Error [ETYC0372070]: The value of a const declaration must be a literal + --> compiler-test:8:9 + | + 8 | const B: u8 = ((1u8,1u8),1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372023]: Tuples must be explicitly typed in Leo + --> compiler-test:8:23 + | + 8 | const B: u8 = ((1u8,1u8),1u8); + | ^^^^^^^^^^^^^^^ + | + = The function definition must match the function return statement +"""] diff --git a/tests/expectations/compiler/constants/constant_finalize.out b/tests/expectations/compiler/constants/constant_finalize.out index 9b99939137..08a9dc19ca 100644 --- a/tests/expectations/compiler/constants/constant_finalize.out +++ b/tests/expectations/compiler/constants/constant_finalize.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 83e7e0873dd72e3da1df2a1a82b891a510ec0016f0e37208c42daca6ecc114d9 - type_checked_symbol_table: 9cff521828b8695385727d732d8cbc0d877b6158f29582d8fe6716f43fc52dc9 - unrolled_symbol_table: 9ba51c3ab1f4d8c42d09214355c9b7f0a7ba785e037e2bfb0c536e29afc1a469 - initial_ast: be00d02ab3c3b889fc1842c26280c35c1d2811e8ad97dfe9aae939cb6e17528d - unrolled_ast: 492de3b239329a520383e6f09fc9988dedfecd6709006127af2d32f233a1c76e - ssa_ast: 88f0d788cc578eb9255c096157fa8d3e801ba656314f39459a3413de844a52fe - flattened_ast: 5e2bd3e32ab5add74daaf4f7d0287d4f987d3ea34a87c953ffc1a3207511e8f6 - destructured_ast: d49494485feecc89a2dc13fe39e0a904d17e79630f6dd2bc61c03a8fae22967a - inlined_ast: 4e916f4e4287ff120cf4c99ab5c6c652e44bc083f1a994d8b9e7118fc3b6c26c - dce_ast: 4e916f4e4287ff120cf4c99ab5c6c652e44bc083f1a994d8b9e7118fc3b6c26c - bytecode: 1f274ff221668a27f086b94c9485486b9d5fe1374384f9092bb3198632da3b91 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "83e7e0873dd72e3da1df2a1a82b891a510ec0016f0e37208c42daca6ecc114d9", type_checked_symbol_table = "9cff521828b8695385727d732d8cbc0d877b6158f29582d8fe6716f43fc52dc9", unrolled_symbol_table = "9ba51c3ab1f4d8c42d09214355c9b7f0a7ba785e037e2bfb0c536e29afc1a469", initial_ast = "be00d02ab3c3b889fc1842c26280c35c1d2811e8ad97dfe9aae939cb6e17528d", unrolled_ast = "492de3b239329a520383e6f09fc9988dedfecd6709006127af2d32f233a1c76e", ssa_ast = "88f0d788cc578eb9255c096157fa8d3e801ba656314f39459a3413de844a52fe", flattened_ast = "5e2bd3e32ab5add74daaf4f7d0287d4f987d3ea34a87c953ffc1a3207511e8f6", destructured_ast = "d49494485feecc89a2dc13fe39e0a904d17e79630f6dd2bc61c03a8fae22967a", inlined_ast = "4e916f4e4287ff120cf4c99ab5c6c652e44bc083f1a994d8b9e7118fc3b6c26c", dce_ast = "4e916f4e4287ff120cf4c99ab5c6c652e44bc083f1a994d8b9e7118fc3b6c26c", bytecode = "1f274ff221668a27f086b94c9485486b9d5fe1374384f9092bb3198632da3b91", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/constants/constant_loop_bound.out b/tests/expectations/compiler/constants/constant_loop_bound.out index fdfd8adbf1..be40d95db0 100644 --- a/tests/expectations/compiler/constants/constant_loop_bound.out +++ b/tests/expectations/compiler/constants/constant_loop_bound.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4a5d78e0b3e37a6b912a8277304e8152e36e3376df8239c851bafa147a3a7aed - type_checked_symbol_table: 56d61d0bc95b11c83a9d8bdff97d5f3b96ffcd2ed64f3d031ae12fb3419cb8d3 - unrolled_symbol_table: 7687d1610a4caa85db7b4fbaca1b57e88a4cd634bb218ebb6907041391a421a1 - initial_ast: 812159a832e2cf564c38afc08d09e2bae9f3d1cf76fb833b5cc554aebc32c90a - unrolled_ast: 13e11cafcf91d5b7d0cfe69930d22a09b1e95c6e42abd614c12c2341a943c3d5 - ssa_ast: 8dd73c84e71e192b7d1b72c9f920043f1a2a3045a6761ef2ba493bd1853962c6 - flattened_ast: 6f80c4f0886538291cbed18cfee5b7a295cf2d9ec8d98a62a34a1664e465c023 - destructured_ast: 1a5edd4f63b4678c5e2d0dd844b1255d269ba2e0562b02884069824f0a58a554 - inlined_ast: 1a5edd4f63b4678c5e2d0dd844b1255d269ba2e0562b02884069824f0a58a554 - dce_ast: 1a5edd4f63b4678c5e2d0dd844b1255d269ba2e0562b02884069824f0a58a554 - bytecode: a6350aaded46f7047061f7e68a8ae41eb8aa0d29f02560257ecdc582a6c684f9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4a5d78e0b3e37a6b912a8277304e8152e36e3376df8239c851bafa147a3a7aed", type_checked_symbol_table = "56d61d0bc95b11c83a9d8bdff97d5f3b96ffcd2ed64f3d031ae12fb3419cb8d3", unrolled_symbol_table = "7687d1610a4caa85db7b4fbaca1b57e88a4cd634bb218ebb6907041391a421a1", initial_ast = "812159a832e2cf564c38afc08d09e2bae9f3d1cf76fb833b5cc554aebc32c90a", unrolled_ast = "13e11cafcf91d5b7d0cfe69930d22a09b1e95c6e42abd614c12c2341a943c3d5", ssa_ast = "8dd73c84e71e192b7d1b72c9f920043f1a2a3045a6761ef2ba493bd1853962c6", flattened_ast = "6f80c4f0886538291cbed18cfee5b7a295cf2d9ec8d98a62a34a1664e465c023", destructured_ast = "1a5edd4f63b4678c5e2d0dd844b1255d269ba2e0562b02884069824f0a58a554", inlined_ast = "1a5edd4f63b4678c5e2d0dd844b1255d269ba2e0562b02884069824f0a58a554", dce_ast = "1a5edd4f63b4678c5e2d0dd844b1255d269ba2e0562b02884069824f0a58a554", bytecode = "a6350aaded46f7047061f7e68a8ae41eb8aa0d29f02560257ecdc582a6c684f9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/constants/constant_loop_bound_type_mismatch_fail.out b/tests/expectations/compiler/constants/constant_loop_bound_type_mismatch_fail.out index b3364447d1..45076ec730 100644 --- a/tests/expectations/compiler/constants/constant_loop_bound_type_mismatch_fail.out +++ b/tests/expectations/compiler/constants/constant_loop_bound_type_mismatch_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `u8` but type `u32` was found\n --> compiler-test:8:22\n |\n 8 | for i: u8 in START..STOP {\n | ^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `u8` but type `u32` was found + --> compiler-test:8:22 + | + 8 | for i: u8 in START..STOP { + | ^^^^^ +"""] diff --git a/tests/expectations/compiler/constants/decreasing_constant_loop_bound_fail.out b/tests/expectations/compiler/constants/decreasing_constant_loop_bound_fail.out index 9aa0d25a2e..8bc9b71d07 100644 --- a/tests/expectations/compiler/constants/decreasing_constant_loop_bound_fail.out +++ b/tests/expectations/compiler/constants/decreasing_constant_loop_bound_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ELUN0379000]: The loop range must be increasing.\n --> compiler-test:6:26\n |\n 6 | const STOP: u8 = 0u8;\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ELUN0379000]: The loop range must be increasing. + --> compiler-test:6:26 + | + 6 | const STOP: u8 = 0u8; + | ^^^ +"""] diff --git a/tests/expectations/compiler/constants/global_shadowing_constant_fail.out b/tests/expectations/compiler/constants/global_shadowing_constant_fail.out index 812fac88f9..138957fca2 100644 --- a/tests/expectations/compiler/constants/global_shadowing_constant_fail.out +++ b/tests/expectations/compiler/constants/global_shadowing_constant_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372009]: variable `HELLO` shadowed by\n --> compiler-test:5:11\n |\n 5 | const HELLO: u8 = 1u8;\n | ^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372009]: variable `HELLO` shadowed by + --> compiler-test:5:11 + | + 5 | const HELLO: u8 = 1u8; + | ^^^^^ +"""] diff --git a/tests/expectations/compiler/constants/local_shadowing_fail.out b/tests/expectations/compiler/constants/local_shadowing_fail.out index 4baa51f73d..d3d215d71e 100644 --- a/tests/expectations/compiler/constants/local_shadowing_fail.out +++ b/tests/expectations/compiler/constants/local_shadowing_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372009]: variable `HELLO` shadowed by\n --> compiler-test:11:23\n |\n 11 | const HELLO:u8 = 1u8;\n | ^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372009]: variable `HELLO` shadowed by + --> compiler-test:11:23 + | + 11 | const HELLO:u8 = 1u8; + | ^^^^^ +"""] diff --git a/tests/expectations/compiler/constants/loop_unrolling.out b/tests/expectations/compiler/constants/loop_unrolling.out index af6bfcf8a6..3fdf1cc9a2 100644 --- a/tests/expectations/compiler/constants/loop_unrolling.out +++ b/tests/expectations/compiler/constants/loop_unrolling.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b0ff324bab016466fe1fca2bda97adeb161701ab4672d91b41146b5da9670c2d - type_checked_symbol_table: caee45876db76ab86161fc873cb28207d70ea4729d392e855519ab1bf92d601b - unrolled_symbol_table: 218eaa9124ad3e749032a408f978b28426b90f5c1528b00d057f44d389294c2f - initial_ast: 6deebcd133753c70df38755447443e16cc528daee1b9832cd43abdb154276cba - unrolled_ast: 480ca5e4a2b87dd0ef24c8eaa333c527b18e2f99aac30dbc10b07041cf1afef1 - ssa_ast: 6d2a5eea33565e9e6173cbd1ed3ab91e7aa1cad1868d6af5f6542ecabb0837a7 - flattened_ast: 9e8950b9c0afceabfb1a408fd75bf37c0c02544fbc34bdba964445f9e0ad86c4 - destructured_ast: cc73034601bb08edfc50cbd2561e65ef0a7a9f81ff91d40017ede94796a950a2 - inlined_ast: cc73034601bb08edfc50cbd2561e65ef0a7a9f81ff91d40017ede94796a950a2 - dce_ast: fafdebf410274a50ca44c9cc9e139686fe2701ea2f6e5715c8a586198fc6d4ec - bytecode: d9595550f8a3d55b350b4f46059fb01bf63308aa4b4416594c2eb20231f6483a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b0ff324bab016466fe1fca2bda97adeb161701ab4672d91b41146b5da9670c2d", type_checked_symbol_table = "caee45876db76ab86161fc873cb28207d70ea4729d392e855519ab1bf92d601b", unrolled_symbol_table = "218eaa9124ad3e749032a408f978b28426b90f5c1528b00d057f44d389294c2f", initial_ast = "6deebcd133753c70df38755447443e16cc528daee1b9832cd43abdb154276cba", unrolled_ast = "480ca5e4a2b87dd0ef24c8eaa333c527b18e2f99aac30dbc10b07041cf1afef1", ssa_ast = "6d2a5eea33565e9e6173cbd1ed3ab91e7aa1cad1868d6af5f6542ecabb0837a7", flattened_ast = "9e8950b9c0afceabfb1a408fd75bf37c0c02544fbc34bdba964445f9e0ad86c4", destructured_ast = "cc73034601bb08edfc50cbd2561e65ef0a7a9f81ff91d40017ede94796a950a2", inlined_ast = "cc73034601bb08edfc50cbd2561e65ef0a7a9f81ff91d40017ede94796a950a2", dce_ast = "fafdebf410274a50ca44c9cc9e139686fe2701ea2f6e5715c8a586198fc6d4ec", bytecode = "d9595550f8a3d55b350b4f46059fb01bf63308aa4b4416594c2eb20231f6483a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/constants/reassignment_fail.out b/tests/expectations/compiler/constants/reassignment_fail.out index c5ed5200e3..c89f7ac29a 100644 --- a/tests/expectations/compiler/constants/reassignment_fail.out +++ b/tests/expectations/compiler/constants/reassignment_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372002]: Cannot assign to const variable `HELLO`\n --> compiler-test:4:11\n |\n 4 | const HELLO: u8 = 0u8;\n | ^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372002]: Cannot assign to const variable `HELLO` + --> compiler-test:4:11 + | + 4 | const HELLO: u8 = 0u8; + | ^^^^^ +"""] diff --git a/tests/expectations/compiler/constants/tuple_definition_fail.out b/tests/expectations/compiler/constants/tuple_definition_fail.out index e1d2f2e926..83e64e8f4e 100644 --- a/tests/expectations/compiler/constants/tuple_definition_fail.out +++ b/tests/expectations/compiler/constants/tuple_definition_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '('\n --> compiler-test:4:11\n |\n 4 | const (HELLO,GOODBYE): (u8,u8) = (1u8, 1u8);\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found '(' + --> compiler-test:4:11 + | + 4 | const (HELLO,GOODBYE): (u8,u8) = (1u8, 1u8); + | ^"""] diff --git a/tests/expectations/compiler/constants/tuple_shadow_fail.out b/tests/expectations/compiler/constants/tuple_shadow_fail.out index 876771fcff..6964963614 100644 --- a/tests/expectations/compiler/constants/tuple_shadow_fail.out +++ b/tests/expectations/compiler/constants/tuple_shadow_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '('\n --> compiler-test:4:11\n |\n 4 | const (HELLO,GOODBYE): (u8,u8) = (0u8,0u8);\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found '(' + --> compiler-test:4:11 + | + 4 | const (HELLO,GOODBYE): (u8,u8) = (0u8,0u8); + | ^"""] diff --git a/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out b/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out index 77fb09f4db..102cbe3fad 100644 --- a/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out +++ b/tests/expectations/compiler/constants/unroll_loop_with_tuple_definition.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b0ff324bab016466fe1fca2bda97adeb161701ab4672d91b41146b5da9670c2d - type_checked_symbol_table: cae5172f09f56d0792b62803e7936f1431912008a8f94d3c81cf8e9fbad07686 - unrolled_symbol_table: be52d8f75e0af71b844cf4e0792f4f3fbf719719dcfcc498695f9f74462498f9 - initial_ast: 163b4dae689a449686c0502351d2551d84266e67e9fb1615e4d9111980318b98 - unrolled_ast: 3a1ad696a74a677470784b58c86892473569dc3ca24b5e8af369578d5b4c9e2c - ssa_ast: e72a98e3883f0413743a99d7fc497dbb4a0d3043dc799efad7e4e2c123f31798 - flattened_ast: cdba644ab0c19a4179af132ca31cd1954d568a43d4dd2c46607a8f3a6acd7b74 - destructured_ast: 106d309f035b5a9f27d68857465438181cced1fe2aeb55bb88b3bd78020b2d45 - inlined_ast: 106d309f035b5a9f27d68857465438181cced1fe2aeb55bb88b3bd78020b2d45 - dce_ast: 2850d94546108c234b8a53ad5509225fbb5f31143125812fdbffa5ddf6874f30 - bytecode: a5ef8b434b2a8b1939f1d042fd5706c996e0f1905bf2395a0f140cff779ce48a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b0ff324bab016466fe1fca2bda97adeb161701ab4672d91b41146b5da9670c2d", type_checked_symbol_table = "cae5172f09f56d0792b62803e7936f1431912008a8f94d3c81cf8e9fbad07686", unrolled_symbol_table = "be52d8f75e0af71b844cf4e0792f4f3fbf719719dcfcc498695f9f74462498f9", initial_ast = "163b4dae689a449686c0502351d2551d84266e67e9fb1615e4d9111980318b98", unrolled_ast = "3a1ad696a74a677470784b58c86892473569dc3ca24b5e8af369578d5b4c9e2c", ssa_ast = "e72a98e3883f0413743a99d7fc497dbb4a0d3043dc799efad7e4e2c123f31798", flattened_ast = "cdba644ab0c19a4179af132ca31cd1954d568a43d4dd2c46607a8f3a6acd7b74", destructured_ast = "106d309f035b5a9f27d68857465438181cced1fe2aeb55bb88b3bd78020b2d45", inlined_ast = "106d309f035b5a9f27d68857465438181cced1fe2aeb55bb88b3bd78020b2d45", dce_ast = "2850d94546108c234b8a53ad5509225fbb5f31143125812fdbffa5ddf6874f30", bytecode = "a5ef8b434b2a8b1939f1d042fd5706c996e0f1905bf2395a0f140cff779ce48a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out index 62c07d67bf..78d795ae67 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - unrolled_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - initial_ast: 9873ff758c10d6da0f990191e58448d7ce86eefdefcc552dadfa22704ae4b67c - unrolled_ast: 9873ff758c10d6da0f990191e58448d7ce86eefdefcc552dadfa22704ae4b67c - ssa_ast: cdeeb803bc2b12522f2212a8afbe77347365e3cbab96c0cc187153348724df30 - flattened_ast: 282834fdda271bfb3da0d2d7793c3a228291423b3841c0ee6647b5feeb20f3f5 - destructured_ast: 5923d26ca892984ea767bfcab7f8691ddd551b7063bee6718673a56d987738bc - inlined_ast: 5923d26ca892984ea767bfcab7f8691ddd551b7063bee6718673a56d987738bc - dce_ast: dd064cca623862213f1556626d81e10f592a335a1f7388059f821fd6353a6632 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", unrolled_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", initial_ast = "9873ff758c10d6da0f990191e58448d7ce86eefdefcc552dadfa22704ae4b67c", unrolled_ast = "9873ff758c10d6da0f990191e58448d7ce86eefdefcc552dadfa22704ae4b67c", ssa_ast = "cdeeb803bc2b12522f2212a8afbe77347365e3cbab96c0cc187153348724df30", flattened_ast = "282834fdda271bfb3da0d2d7793c3a228291423b3841c0ee6647b5feeb20f3f5", destructured_ast = "5923d26ca892984ea767bfcab7f8691ddd551b7063bee6718673a56d987738bc", inlined_ast = "5923d26ca892984ea767bfcab7f8691ddd551b7063bee6718673a56d987738bc", dce_ast = "dd064cca623862213f1556626d81e10f592a335a1f7388059f821fd6353a6632", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out index 616857d225..1d6d0f8a89 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67 - unrolled_symbol_table: 4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67 - initial_ast: 45954f2ded7ad4317c19985fc254d9dc70b01a8209b2c13dd211c1067adcb888 - unrolled_ast: 45954f2ded7ad4317c19985fc254d9dc70b01a8209b2c13dd211c1067adcb888 - ssa_ast: 91a085fe2fc9ad762873f67650da380c08934df9f9276be12fb407a194d6f684 - flattened_ast: 6d1599503d379d65c671296302ee6d64c127a1a161bf69c9a1b841436488b982 - destructured_ast: ffc1da3ede363d5fd8581998a698d85794bc19d79026943e34232563ca90e58b - inlined_ast: ffc1da3ede363d5fd8581998a698d85794bc19d79026943e34232563ca90e58b - dce_ast: 2273846d1d88dba8ce2b524e7b6dbaf0e093ded9354d8ef217111e87293651b9 - bytecode: 89209e8d86f847dbf47309d0092ee98ff4c7e72f93c06aa16b185b87931b4163 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67", unrolled_symbol_table = "4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67", initial_ast = "45954f2ded7ad4317c19985fc254d9dc70b01a8209b2c13dd211c1067adcb888", unrolled_ast = "45954f2ded7ad4317c19985fc254d9dc70b01a8209b2c13dd211c1067adcb888", ssa_ast = "91a085fe2fc9ad762873f67650da380c08934df9f9276be12fb407a194d6f684", flattened_ast = "6d1599503d379d65c671296302ee6d64c127a1a161bf69c9a1b841436488b982", destructured_ast = "ffc1da3ede363d5fd8581998a698d85794bc19d79026943e34232563ca90e58b", inlined_ast = "ffc1da3ede363d5fd8581998a698d85794bc19d79026943e34232563ca90e58b", dce_ast = "2273846d1d88dba8ce2b524e7b6dbaf0e093ded9354d8ef217111e87293651b9", bytecode = "89209e8d86f847dbf47309d0092ee98ff4c7e72f93c06aa16b185b87931b4163", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out index f4f5e6244f..7b8c71201b 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 1c163f034fd1e1185cdc76efb2e337dc3d46a4b12d55497245f209399c064a24 - unrolled_ast: 1c163f034fd1e1185cdc76efb2e337dc3d46a4b12d55497245f209399c064a24 - ssa_ast: 4e0df0b799fafd9e6fc57904ef02e0b026a17042cb6fbd3c19231d20124696cd - flattened_ast: 5bf3de768dd0d1772bb76aeaf703ab13f72e5e372a3e49a91ba37019df6eb613 - destructured_ast: 3b5e2a7639bd0ee09f32d1a8ecf7a98345b173333fe419bdfc5cb3a26287a1fe - inlined_ast: 3b5e2a7639bd0ee09f32d1a8ecf7a98345b173333fe419bdfc5cb3a26287a1fe - dce_ast: 6611276029e033b62fc0192539ae527a042085a066404dd3923267d6a28b2a2c - bytecode: 44723f1147fbb09b330db772453005ab5dae98a53925a9dc45b66daa51584290 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "1c163f034fd1e1185cdc76efb2e337dc3d46a4b12d55497245f209399c064a24", unrolled_ast = "1c163f034fd1e1185cdc76efb2e337dc3d46a4b12d55497245f209399c064a24", ssa_ast = "4e0df0b799fafd9e6fc57904ef02e0b026a17042cb6fbd3c19231d20124696cd", flattened_ast = "5bf3de768dd0d1772bb76aeaf703ab13f72e5e372a3e49a91ba37019df6eb613", destructured_ast = "3b5e2a7639bd0ee09f32d1a8ecf7a98345b173333fe419bdfc5cb3a26287a1fe", inlined_ast = "3b5e2a7639bd0ee09f32d1a8ecf7a98345b173333fe419bdfc5cb3a26287a1fe", dce_ast = "6611276029e033b62fc0192539ae527a042085a066404dd3923267d6a28b2a2c", bytecode = "44723f1147fbb09b330db772453005ab5dae98a53925a9dc45b66daa51584290", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out index fd3f1c12d7..275962c8ef 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: a3dd97bc31b1dc64c7608e1fc5ad68b8d0d3f781e49c207928f5d425f1fd1bf9 - unrolled_ast: a3dd97bc31b1dc64c7608e1fc5ad68b8d0d3f781e49c207928f5d425f1fd1bf9 - ssa_ast: ed3fd32fe2f8d8f419bdbf1abf78c6f1af1e0ee9ee74188e48886205b7a9744a - flattened_ast: 1296938ea71288a8b64f116c48377f091f366a4a01cf9f20a9aadd3676d89a84 - destructured_ast: aaf2797e71fc28e403368fbceb36062a0b1352e9d7ac6caeecb1d250f0e9e84c - inlined_ast: aaf2797e71fc28e403368fbceb36062a0b1352e9d7ac6caeecb1d250f0e9e84c - dce_ast: f22471183488a6b6d96935c302e8b542b24e5e7ea3c947b0c8f01c52687bc37e - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "a3dd97bc31b1dc64c7608e1fc5ad68b8d0d3f781e49c207928f5d425f1fd1bf9", unrolled_ast = "a3dd97bc31b1dc64c7608e1fc5ad68b8d0d3f781e49c207928f5d425f1fd1bf9", ssa_ast = "ed3fd32fe2f8d8f419bdbf1abf78c6f1af1e0ee9ee74188e48886205b7a9744a", flattened_ast = "1296938ea71288a8b64f116c48377f091f366a4a01cf9f20a9aadd3676d89a84", destructured_ast = "aaf2797e71fc28e403368fbceb36062a0b1352e9d7ac6caeecb1d250f0e9e84c", inlined_ast = "aaf2797e71fc28e403368fbceb36062a0b1352e9d7ac6caeecb1d250f0e9e84c", dce_ast = "f22471183488a6b6d96935c302e8b542b24e5e7ea3c947b0c8f01c52687bc37e", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out index dc17386504..c39c1af5f1 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: 61fef7bc7d35be574e5f9353c089561c113afe14c755051cdfac56879b67b6f8 - unrolled_ast: 61fef7bc7d35be574e5f9353c089561c113afe14c755051cdfac56879b67b6f8 - ssa_ast: 5de3029f4a7bb61031f1852bcd6163cf8e40e10352746016f33aad682f810e5d - flattened_ast: dd29a1fa78efcb5fa7e428276e9285105ffef017e43d8d4a3eee6a47d3604fab - destructured_ast: 420edf1819b67e9e9e25822608379793a3aa7a9c85e858695c0349a6dbc34881 - inlined_ast: 420edf1819b67e9e9e25822608379793a3aa7a9c85e858695c0349a6dbc34881 - dce_ast: 3cd075a82acacaf50339ddc532e27e0504d7c337ae6468998c2d8e82f20bfe40 - bytecode: 1ee04c880a78442953925baa8e3c60e416d77c926da80774db6961188aaba65a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "61fef7bc7d35be574e5f9353c089561c113afe14c755051cdfac56879b67b6f8", unrolled_ast = "61fef7bc7d35be574e5f9353c089561c113afe14c755051cdfac56879b67b6f8", ssa_ast = "5de3029f4a7bb61031f1852bcd6163cf8e40e10352746016f33aad682f810e5d", flattened_ast = "dd29a1fa78efcb5fa7e428276e9285105ffef017e43d8d4a3eee6a47d3604fab", destructured_ast = "420edf1819b67e9e9e25822608379793a3aa7a9c85e858695c0349a6dbc34881", inlined_ast = "420edf1819b67e9e9e25822608379793a3aa7a9c85e858695c0349a6dbc34881", dce_ast = "3cd075a82acacaf50339ddc532e27e0504d7c337ae6468998c2d8e82f20bfe40", bytecode = "1ee04c880a78442953925baa8e3c60e416d77c926da80774db6961188aaba65a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out index 7aeec0f86f..169db4533d 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 69ba7af7318b356010c470baa89403e4b3bf78c69678f4bdb8ff2a8795b622ed - unrolled_ast: 69ba7af7318b356010c470baa89403e4b3bf78c69678f4bdb8ff2a8795b622ed - ssa_ast: e7c54cfae2b8380df7a81f6cc3da47ea623b350766897ed1070e6ca9888bc4ad - flattened_ast: 11c06e77fb2d9c279653af9fe561ebdb18afc0d7d12209a6093716aae15e90f5 - destructured_ast: 0e3d7a62e620506342a715698e35dcc1711298adb8c49c88386bf0e16992f5d4 - inlined_ast: 0e3d7a62e620506342a715698e35dcc1711298adb8c49c88386bf0e16992f5d4 - dce_ast: a99474055784ba90aa18abb8f629f9e782426703805aa8221dad832b2fa4aa4b - bytecode: 6e17954a1a55bf11bcac1b381fc6a82ee849f92a9af06d755ee3d6e3cd3b748d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "69ba7af7318b356010c470baa89403e4b3bf78c69678f4bdb8ff2a8795b622ed", unrolled_ast = "69ba7af7318b356010c470baa89403e4b3bf78c69678f4bdb8ff2a8795b622ed", ssa_ast = "e7c54cfae2b8380df7a81f6cc3da47ea623b350766897ed1070e6ca9888bc4ad", flattened_ast = "11c06e77fb2d9c279653af9fe561ebdb18afc0d7d12209a6093716aae15e90f5", destructured_ast = "0e3d7a62e620506342a715698e35dcc1711298adb8c49c88386bf0e16992f5d4", inlined_ast = "0e3d7a62e620506342a715698e35dcc1711298adb8c49c88386bf0e16992f5d4", dce_ast = "a99474055784ba90aa18abb8f629f9e782426703805aa8221dad832b2fa4aa4b", bytecode = "6e17954a1a55bf11bcac1b381fc6a82ee849f92a9af06d755ee3d6e3cd3b748d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out index a0c5bec15f..81e97710a0 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: f405095809db6c091f111abe5150dd9006a07cd0f132f06b27a2a8b508358e18 - unrolled_ast: f405095809db6c091f111abe5150dd9006a07cd0f132f06b27a2a8b508358e18 - ssa_ast: 18e01f5084ba96a39dc25e18c44d911be333b8e9580dfd595f1de026582e9c19 - flattened_ast: fa21a9ca89789634065434f5ebc78410950a531176db8a832c7cc67d5a8f54a5 - destructured_ast: 1bc4d9e39e98ef64605bb826914d34a4396b47a08fc6fa8160d4441355e64893 - inlined_ast: 1bc4d9e39e98ef64605bb826914d34a4396b47a08fc6fa8160d4441355e64893 - dce_ast: 0d3f409259a87700f5d103681faecd747c6aeb3f4f1d614dfa45ea2910b65f02 - bytecode: 16448534dab09040c482f623815abdd0bd2e330d2cb99bc095142027c80e9bf0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "f405095809db6c091f111abe5150dd9006a07cd0f132f06b27a2a8b508358e18", unrolled_ast = "f405095809db6c091f111abe5150dd9006a07cd0f132f06b27a2a8b508358e18", ssa_ast = "18e01f5084ba96a39dc25e18c44d911be333b8e9580dfd595f1de026582e9c19", flattened_ast = "fa21a9ca89789634065434f5ebc78410950a531176db8a832c7cc67d5a8f54a5", destructured_ast = "1bc4d9e39e98ef64605bb826914d34a4396b47a08fc6fa8160d4441355e64893", inlined_ast = "1bc4d9e39e98ef64605bb826914d34a4396b47a08fc6fa8160d4441355e64893", dce_ast = "0d3f409259a87700f5d103681faecd747c6aeb3f4f1d614dfa45ea2910b65f02", bytecode = "16448534dab09040c482f623815abdd0bd2e330d2cb99bc095142027c80e9bf0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out index d6ece829ce..3bd270a31e 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - unrolled_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - initial_ast: d875d33ca0e9999c43abfd6ee599f810781eaa64ed0cdcc85f4cef1a26679326 - unrolled_ast: d875d33ca0e9999c43abfd6ee599f810781eaa64ed0cdcc85f4cef1a26679326 - ssa_ast: 8962273edb5e52fe057895069340389490eefe632f26e8481ef5db34acdf594c - flattened_ast: e37166f0aab409ccd348b334cea9c25f9536aceda73a28657e1725b42205a503 - destructured_ast: 6f7c0d49e5649e8771085066cd2293410c398c17e64ff8d62c8f2cd681d5fbe7 - inlined_ast: 6f7c0d49e5649e8771085066cd2293410c398c17e64ff8d62c8f2cd681d5fbe7 - dce_ast: bac68877a43e59546969a53a31ce99653130b5ab829ae7c191757101952c0410 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", unrolled_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", initial_ast = "d875d33ca0e9999c43abfd6ee599f810781eaa64ed0cdcc85f4cef1a26679326", unrolled_ast = "d875d33ca0e9999c43abfd6ee599f810781eaa64ed0cdcc85f4cef1a26679326", ssa_ast = "8962273edb5e52fe057895069340389490eefe632f26e8481ef5db34acdf594c", flattened_ast = "e37166f0aab409ccd348b334cea9c25f9536aceda73a28657e1725b42205a503", destructured_ast = "6f7c0d49e5649e8771085066cd2293410c398c17e64ff8d62c8f2cd681d5fbe7", inlined_ast = "6f7c0d49e5649e8771085066cd2293410c398c17e64ff8d62c8f2cd681d5fbe7", dce_ast = "bac68877a43e59546969a53a31ce99653130b5ab829ae7c191757101952c0410", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out index 84f1ab66f1..e270150f88 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67 - unrolled_symbol_table: 4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67 - initial_ast: 8a57c8bea6a6632fefc0df055235587cec77e606c7c1b942b6fd1efb48caf84f - unrolled_ast: 8a57c8bea6a6632fefc0df055235587cec77e606c7c1b942b6fd1efb48caf84f - ssa_ast: efb291de0328446a42e590c8bd4918694ebe459516fe86329fd747dbfc998472 - flattened_ast: a86616f6774a6e83edcd9b7574fbdbb691252a32df6918b73011059366d36dbe - destructured_ast: a6f5575da143e202778ba9de1f33e51cac92ce5e5a395479431b9a3b2d8422c7 - inlined_ast: a6f5575da143e202778ba9de1f33e51cac92ce5e5a395479431b9a3b2d8422c7 - dce_ast: 3bb158d2ef5fe7a8d387c35dbe4b7069f49fd474ed9a793eb1ce1fce2d1e75bf - bytecode: cbaea392a3a5a598090b5c75eebfc840f9fd1f4dd9460704bd82c17acfedcedf - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67", unrolled_symbol_table = "4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67", initial_ast = "8a57c8bea6a6632fefc0df055235587cec77e606c7c1b942b6fd1efb48caf84f", unrolled_ast = "8a57c8bea6a6632fefc0df055235587cec77e606c7c1b942b6fd1efb48caf84f", ssa_ast = "efb291de0328446a42e590c8bd4918694ebe459516fe86329fd747dbfc998472", flattened_ast = "a86616f6774a6e83edcd9b7574fbdbb691252a32df6918b73011059366d36dbe", destructured_ast = "a6f5575da143e202778ba9de1f33e51cac92ce5e5a395479431b9a3b2d8422c7", inlined_ast = "a6f5575da143e202778ba9de1f33e51cac92ce5e5a395479431b9a3b2d8422c7", dce_ast = "3bb158d2ef5fe7a8d387c35dbe4b7069f49fd474ed9a793eb1ce1fce2d1e75bf", bytecode = "cbaea392a3a5a598090b5c75eebfc840f9fd1f4dd9460704bd82c17acfedcedf", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out index 6c42cd2daf..9c2d96485c 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: e3bf36328e9bafe4e3b81ae0ceb5bd6dc73cc9ca51727d14501a5673d25afa53 - unrolled_ast: e3bf36328e9bafe4e3b81ae0ceb5bd6dc73cc9ca51727d14501a5673d25afa53 - ssa_ast: da0e22cfd7aae96b559fc2e2b41a6992c7bf4c277d67545c335a1586d4de7c7b - flattened_ast: 566dd8c1f54b3e74efa7e577902dd03f601f79d826b7dcf0c63872a94b59e560 - destructured_ast: f5b521fa1d75e961db1d41251288d968c27e40266402ebc69dbffa3a80d13861 - inlined_ast: f5b521fa1d75e961db1d41251288d968c27e40266402ebc69dbffa3a80d13861 - dce_ast: 7579e9d7d7bb4299281afb520d80f1e28309ea773c68ff5f981da57338d82ef0 - bytecode: 5d5cbe495e958d3762c2656dc336bd9fd903b5e0b8b51684f3556ca4b5281344 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "e3bf36328e9bafe4e3b81ae0ceb5bd6dc73cc9ca51727d14501a5673d25afa53", unrolled_ast = "e3bf36328e9bafe4e3b81ae0ceb5bd6dc73cc9ca51727d14501a5673d25afa53", ssa_ast = "da0e22cfd7aae96b559fc2e2b41a6992c7bf4c277d67545c335a1586d4de7c7b", flattened_ast = "566dd8c1f54b3e74efa7e577902dd03f601f79d826b7dcf0c63872a94b59e560", destructured_ast = "f5b521fa1d75e961db1d41251288d968c27e40266402ebc69dbffa3a80d13861", inlined_ast = "f5b521fa1d75e961db1d41251288d968c27e40266402ebc69dbffa3a80d13861", dce_ast = "7579e9d7d7bb4299281afb520d80f1e28309ea773c68ff5f981da57338d82ef0", bytecode = "5d5cbe495e958d3762c2656dc336bd9fd903b5e0b8b51684f3556ca4b5281344", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out index c20e149c66..7eef6a5838 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 54d5789b9203beae85c2a109a1cb48db19e732fc5a1c4ebd961404b548cbfec6 - unrolled_ast: 54d5789b9203beae85c2a109a1cb48db19e732fc5a1c4ebd961404b548cbfec6 - ssa_ast: 19f9e1226c418bfee16fb4db866978220a04685453abc1ea78b4c1ce9b8fcc6a - flattened_ast: 86050d5626e8e03a046b9c6e98ed1abe7ed1fcdceb928ff2bd536642b5cf46be - destructured_ast: 2e1906abbf3c7ae55a4059dc421c68c854135a22723e6560bbd6c5824137180c - inlined_ast: 2e1906abbf3c7ae55a4059dc421c68c854135a22723e6560bbd6c5824137180c - dce_ast: 0462c15d429b8c65c4375284d9496131c4441e67282fee93a9f0b9a581c9fc87 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "54d5789b9203beae85c2a109a1cb48db19e732fc5a1c4ebd961404b548cbfec6", unrolled_ast = "54d5789b9203beae85c2a109a1cb48db19e732fc5a1c4ebd961404b548cbfec6", ssa_ast = "19f9e1226c418bfee16fb4db866978220a04685453abc1ea78b4c1ce9b8fcc6a", flattened_ast = "86050d5626e8e03a046b9c6e98ed1abe7ed1fcdceb928ff2bd536642b5cf46be", destructured_ast = "2e1906abbf3c7ae55a4059dc421c68c854135a22723e6560bbd6c5824137180c", inlined_ast = "2e1906abbf3c7ae55a4059dc421c68c854135a22723e6560bbd6c5824137180c", dce_ast = "0462c15d429b8c65c4375284d9496131c4441e67282fee93a9f0b9a581c9fc87", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out index aecc30a80d..ac7ca5a9cd 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: f761e8138c6766dd7d8a1707de6ccec23c5c377812b477ebec3d295bc2f79a02 - unrolled_ast: f761e8138c6766dd7d8a1707de6ccec23c5c377812b477ebec3d295bc2f79a02 - ssa_ast: d9145a2183c23ebb95bd6518bff3b3f012f2e6da03e1d7e9cd3579f15720e7a6 - flattened_ast: ce87bef92fda0939fbd0d1ba19647df9cc91e17e51df18a8975371b56a6ed23e - destructured_ast: 1f3e64a523f29f00fa59c82fe910d5005031e8ebd21c789d51734c5d8e13aed5 - inlined_ast: 1f3e64a523f29f00fa59c82fe910d5005031e8ebd21c789d51734c5d8e13aed5 - dce_ast: cffb2c5eeb571350d21a5dd1d3a42bf9e8c81b11107852f549745c115aaeb604 - bytecode: 928ec4195678229549fe7ec5b3291d7c72afb95787099dbfca6118539bcc2fd0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "f761e8138c6766dd7d8a1707de6ccec23c5c377812b477ebec3d295bc2f79a02", unrolled_ast = "f761e8138c6766dd7d8a1707de6ccec23c5c377812b477ebec3d295bc2f79a02", ssa_ast = "d9145a2183c23ebb95bd6518bff3b3f012f2e6da03e1d7e9cd3579f15720e7a6", flattened_ast = "ce87bef92fda0939fbd0d1ba19647df9cc91e17e51df18a8975371b56a6ed23e", destructured_ast = "1f3e64a523f29f00fa59c82fe910d5005031e8ebd21c789d51734c5d8e13aed5", inlined_ast = "1f3e64a523f29f00fa59c82fe910d5005031e8ebd21c789d51734c5d8e13aed5", dce_ast = "cffb2c5eeb571350d21a5dd1d3a42bf9e8c81b11107852f549745c115aaeb604", bytecode = "928ec4195678229549fe7ec5b3291d7c72afb95787099dbfca6118539bcc2fd0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out index b1a9d5fa51..f03e166938 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 8e44992dd5fe4fe9e1e522e695ca70d239f3eeccc3728b150ed9364421be09c4 - unrolled_ast: 8e44992dd5fe4fe9e1e522e695ca70d239f3eeccc3728b150ed9364421be09c4 - ssa_ast: 6acbe24af7ad5a0c469dd53118362a8882c8d59a5f766af6782531108c47326c - flattened_ast: 9373e82b218ce1b7cd4f5276cfaf3295f93b3d104ae073c6b04e225018bb57fe - destructured_ast: e85f838f76070991ca098bdba4c1dce1f7918403840321920525250fa5ee4073 - inlined_ast: e85f838f76070991ca098bdba4c1dce1f7918403840321920525250fa5ee4073 - dce_ast: b4e7468676095289b2e6048f8644f63f87391e9670df3b27a60eba3089b4e3ef - bytecode: c87c15be54d6c1ca80ab86ca735443a949fd9e3bdf7534136ec4c9bb5443fa77 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "8e44992dd5fe4fe9e1e522e695ca70d239f3eeccc3728b150ed9364421be09c4", unrolled_ast = "8e44992dd5fe4fe9e1e522e695ca70d239f3eeccc3728b150ed9364421be09c4", ssa_ast = "6acbe24af7ad5a0c469dd53118362a8882c8d59a5f766af6782531108c47326c", flattened_ast = "9373e82b218ce1b7cd4f5276cfaf3295f93b3d104ae073c6b04e225018bb57fe", destructured_ast = "e85f838f76070991ca098bdba4c1dce1f7918403840321920525250fa5ee4073", inlined_ast = "e85f838f76070991ca098bdba4c1dce1f7918403840321920525250fa5ee4073", dce_ast = "b4e7468676095289b2e6048f8644f63f87391e9670df3b27a60eba3089b4e3ef", bytecode = "c87c15be54d6c1ca80ab86ca735443a949fd9e3bdf7534136ec4c9bb5443fa77", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out index c14aa1a76b..8b685d818f 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c - unrolled_ast: e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c - ssa_ast: 42bb275bb8f30f844e720e95ff44f8c2d8b2edc12ea4d29245ab4b13068b480f - flattened_ast: 018dc16ea828956c4831a0867627751a833bef0e4b474918db2bc17b3658b1d8 - destructured_ast: 821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a - inlined_ast: 821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a - dce_ast: 82b0310905bf404ce4d12c69f1955ec06b6e7d09e957b532f73fd9191aeb4fcb - bytecode: 39f2fd495ce761fe3a8fb011b05bfe34e50db91dbd7f9a5bec40a8aa8187f0b1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c", unrolled_ast = "e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c", ssa_ast = "42bb275bb8f30f844e720e95ff44f8c2d8b2edc12ea4d29245ab4b13068b480f", flattened_ast = "018dc16ea828956c4831a0867627751a833bef0e4b474918db2bc17b3658b1d8", destructured_ast = "821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a", inlined_ast = "821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a", dce_ast = "82b0310905bf404ce4d12c69f1955ec06b6e7d09e957b532f73fd9191aeb4fcb", bytecode = "39f2fd495ce761fe3a8fb011b05bfe34e50db91dbd7f9a5bec40a8aa8187f0b1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out index e99fb3174b..f19101999b 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - unrolled_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - initial_ast: 9beb01be0526c1dd87cf1ee4b518e380b933b4cc5ef32b489971808788443824 - unrolled_ast: 9beb01be0526c1dd87cf1ee4b518e380b933b4cc5ef32b489971808788443824 - ssa_ast: 4e4e56c9d3161547b75edb1da1569cf4ade698b7634827fcb92a4786ef2ec53c - flattened_ast: fb6e4dc3d16ceb4f97857e76e70172e39a43ac271445606b764fad9356532b7c - destructured_ast: 38629200e0a8a18e6678b4bfd323af0ffec8fd9c9d58b40b6b0c81ae693ad574 - inlined_ast: 38629200e0a8a18e6678b4bfd323af0ffec8fd9c9d58b40b6b0c81ae693ad574 - dce_ast: bac68877a43e59546969a53a31ce99653130b5ab829ae7c191757101952c0410 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", unrolled_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", initial_ast = "9beb01be0526c1dd87cf1ee4b518e380b933b4cc5ef32b489971808788443824", unrolled_ast = "9beb01be0526c1dd87cf1ee4b518e380b933b4cc5ef32b489971808788443824", ssa_ast = "4e4e56c9d3161547b75edb1da1569cf4ade698b7634827fcb92a4786ef2ec53c", flattened_ast = "fb6e4dc3d16ceb4f97857e76e70172e39a43ac271445606b764fad9356532b7c", destructured_ast = "38629200e0a8a18e6678b4bfd323af0ffec8fd9c9d58b40b6b0c81ae693ad574", inlined_ast = "38629200e0a8a18e6678b4bfd323af0ffec8fd9c9d58b40b6b0c81ae693ad574", dce_ast = "bac68877a43e59546969a53a31ce99653130b5ab829ae7c191757101952c0410", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out index 0ed447b066..1ba66f6702 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 319b3f28310fb0c1b8191943507da58e87f0b6366b36a1294819522c6a949595 - unrolled_symbol_table: 319b3f28310fb0c1b8191943507da58e87f0b6366b36a1294819522c6a949595 - initial_ast: 27bc5906a51928b0733372051121207550866d123c2242209e13c65d8f6e9281 - unrolled_ast: 27bc5906a51928b0733372051121207550866d123c2242209e13c65d8f6e9281 - ssa_ast: 593af3220f044892fc107b07de09853e37d3b66cb1a93657a40565fcfd6f4ca7 - flattened_ast: f2cd64af1a30688d84cdaade0e9c6eb231ecdd0d2f7be1de83e3fd49e0a3d981 - destructured_ast: 0f195735c43c1c026d5e5cbfd852eef6bcd5802ad49c0c41cf44682879ad0e67 - inlined_ast: 0f195735c43c1c026d5e5cbfd852eef6bcd5802ad49c0c41cf44682879ad0e67 - dce_ast: 59f7ee2d326e132dd3913ea2baff62b9a5c48e2744ea1ef51380e3787996762f - bytecode: 1a32babe51dec0ff82a035139fa96069e6b0f7b9e7ec8f08f0802bd076deffc9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "319b3f28310fb0c1b8191943507da58e87f0b6366b36a1294819522c6a949595", unrolled_symbol_table = "319b3f28310fb0c1b8191943507da58e87f0b6366b36a1294819522c6a949595", initial_ast = "27bc5906a51928b0733372051121207550866d123c2242209e13c65d8f6e9281", unrolled_ast = "27bc5906a51928b0733372051121207550866d123c2242209e13c65d8f6e9281", ssa_ast = "593af3220f044892fc107b07de09853e37d3b66cb1a93657a40565fcfd6f4ca7", flattened_ast = "f2cd64af1a30688d84cdaade0e9c6eb231ecdd0d2f7be1de83e3fd49e0a3d981", destructured_ast = "0f195735c43c1c026d5e5cbfd852eef6bcd5802ad49c0c41cf44682879ad0e67", inlined_ast = "0f195735c43c1c026d5e5cbfd852eef6bcd5802ad49c0c41cf44682879ad0e67", dce_ast = "59f7ee2d326e132dd3913ea2baff62b9a5c48e2744ea1ef51380e3787996762f", bytecode = "1a32babe51dec0ff82a035139fa96069e6b0f7b9e7ec8f08f0802bd076deffc9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out index 921e126671..3c3449e679 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 8e5af978a77e15bbbf47f9025c5ad93b11577ef9b82a1b20835d7b476000074a - unrolled_ast: 8e5af978a77e15bbbf47f9025c5ad93b11577ef9b82a1b20835d7b476000074a - ssa_ast: e937decfcaff95c515d583feb0a34bf731c67bcbda8630d0582b1401d2f6c894 - flattened_ast: b1edf1cc607cb5008e0bfb45fd1c335b31877b4701f3b9cdbe1f8dafc2dd7e06 - destructured_ast: 8fb196364453dd517d282ecec4cbf3214d001ec642a084b62b75214b17469cfc - inlined_ast: 8fb196364453dd517d282ecec4cbf3214d001ec642a084b62b75214b17469cfc - dce_ast: 91b7c373ab7d91ceaed92088c802966d231a1c58c82cf3ae0ec21fa48bb66b69 - bytecode: 834629ba3e42f71f47ce3499d777661c415ac89ad9d797c54ec4267202d48690 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "8e5af978a77e15bbbf47f9025c5ad93b11577ef9b82a1b20835d7b476000074a", unrolled_ast = "8e5af978a77e15bbbf47f9025c5ad93b11577ef9b82a1b20835d7b476000074a", ssa_ast = "e937decfcaff95c515d583feb0a34bf731c67bcbda8630d0582b1401d2f6c894", flattened_ast = "b1edf1cc607cb5008e0bfb45fd1c335b31877b4701f3b9cdbe1f8dafc2dd7e06", destructured_ast = "8fb196364453dd517d282ecec4cbf3214d001ec642a084b62b75214b17469cfc", inlined_ast = "8fb196364453dd517d282ecec4cbf3214d001ec642a084b62b75214b17469cfc", dce_ast = "91b7c373ab7d91ceaed92088c802966d231a1c58c82cf3ae0ec21fa48bb66b69", bytecode = "834629ba3e42f71f47ce3499d777661c415ac89ad9d797c54ec4267202d48690", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out index 39a3ce5c07..70ac2100b6 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 5f33c08cdb5e22d7c1205004378e2f12c9c1995ca6e2e5a4d26e3998f508c95b - unrolled_ast: 5f33c08cdb5e22d7c1205004378e2f12c9c1995ca6e2e5a4d26e3998f508c95b - ssa_ast: 8bbbff498274b89e30b9f1198241543378e0d6196b8b03035e2af4aafd054a7d - flattened_ast: e8ce32f070f276be670a8f16e75875b64f602ccdde870e32f9379f065bf3bca8 - destructured_ast: ecbd683e2fe643bf66884f87e51189ebb546e9911b6fdee878bfb2e6af1e6851 - inlined_ast: ecbd683e2fe643bf66884f87e51189ebb546e9911b6fdee878bfb2e6af1e6851 - dce_ast: 0462c15d429b8c65c4375284d9496131c4441e67282fee93a9f0b9a581c9fc87 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "5f33c08cdb5e22d7c1205004378e2f12c9c1995ca6e2e5a4d26e3998f508c95b", unrolled_ast = "5f33c08cdb5e22d7c1205004378e2f12c9c1995ca6e2e5a4d26e3998f508c95b", ssa_ast = "8bbbff498274b89e30b9f1198241543378e0d6196b8b03035e2af4aafd054a7d", flattened_ast = "e8ce32f070f276be670a8f16e75875b64f602ccdde870e32f9379f065bf3bca8", destructured_ast = "ecbd683e2fe643bf66884f87e51189ebb546e9911b6fdee878bfb2e6af1e6851", inlined_ast = "ecbd683e2fe643bf66884f87e51189ebb546e9911b6fdee878bfb2e6af1e6851", dce_ast = "0462c15d429b8c65c4375284d9496131c4441e67282fee93a9f0b9a581c9fc87", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out index b8523558c5..d97c353a96 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: 16cc9b0724e9b9710a1fb2b2a102bf195cdf67ef04faff80eb44a98684d53287 - unrolled_ast: 16cc9b0724e9b9710a1fb2b2a102bf195cdf67ef04faff80eb44a98684d53287 - ssa_ast: fdcb2dd71b3081a87535865597a60e3611c6d06099cb5f1437f87e8a854b860b - flattened_ast: 9622685fa672d5e99ecf1274e696cc0a24994bc508bb1cdaf49286344ff1e526 - destructured_ast: bc838823e9e86bb974a1f6078a49b60ba274812bca1058d5b276a6829f98fb1e - inlined_ast: bc838823e9e86bb974a1f6078a49b60ba274812bca1058d5b276a6829f98fb1e - dce_ast: c66a2e365c334442bd39de0096260a8f6d5dad071e3681fc5c24821f73978eb7 - bytecode: c702ea63bc91bf1aff738a0101761c3201a54f29324dfb4fbcfc7cef05017050 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "16cc9b0724e9b9710a1fb2b2a102bf195cdf67ef04faff80eb44a98684d53287", unrolled_ast = "16cc9b0724e9b9710a1fb2b2a102bf195cdf67ef04faff80eb44a98684d53287", ssa_ast = "fdcb2dd71b3081a87535865597a60e3611c6d06099cb5f1437f87e8a854b860b", flattened_ast = "9622685fa672d5e99ecf1274e696cc0a24994bc508bb1cdaf49286344ff1e526", destructured_ast = "bc838823e9e86bb974a1f6078a49b60ba274812bca1058d5b276a6829f98fb1e", inlined_ast = "bc838823e9e86bb974a1f6078a49b60ba274812bca1058d5b276a6829f98fb1e", dce_ast = "c66a2e365c334442bd39de0096260a8f6d5dad071e3681fc5c24821f73978eb7", bytecode = "c702ea63bc91bf1aff738a0101761c3201a54f29324dfb4fbcfc7cef05017050", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out index ed29246d83..c6be1a7cd1 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: f41b5d1390511e0b7498f813fba346f400ef66bf636f0d1e28dbb55869a80153 - unrolled_ast: f41b5d1390511e0b7498f813fba346f400ef66bf636f0d1e28dbb55869a80153 - ssa_ast: cbb8a516a4b76218ff24a3c56e42a435b0b8acb6ea33e2cb074a787ef51b22ab - flattened_ast: 87ba6241b5819ea21eb90f7eb502bd1674196560d3343f39c59119c8b380a402 - destructured_ast: e4612e20aa9f9dbb9128f4423910188ba27e66b21eed6afe615e6bb1574a500d - inlined_ast: e4612e20aa9f9dbb9128f4423910188ba27e66b21eed6afe615e6bb1574a500d - dce_ast: dea0015bae3270eed36e9d7e9a1988ad1924df3eff4728499da344346f5fb439 - bytecode: a0a563d61716d3c6b3a75384d04fe6227332979ff3fb5d04a672e1db4e6fa8cb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "f41b5d1390511e0b7498f813fba346f400ef66bf636f0d1e28dbb55869a80153", unrolled_ast = "f41b5d1390511e0b7498f813fba346f400ef66bf636f0d1e28dbb55869a80153", ssa_ast = "cbb8a516a4b76218ff24a3c56e42a435b0b8acb6ea33e2cb074a787ef51b22ab", flattened_ast = "87ba6241b5819ea21eb90f7eb502bd1674196560d3343f39c59119c8b380a402", destructured_ast = "e4612e20aa9f9dbb9128f4423910188ba27e66b21eed6afe615e6bb1574a500d", inlined_ast = "e4612e20aa9f9dbb9128f4423910188ba27e66b21eed6afe615e6bb1574a500d", dce_ast = "dea0015bae3270eed36e9d7e9a1988ad1924df3eff4728499da344346f5fb439", bytecode = "a0a563d61716d3c6b3a75384d04fe6227332979ff3fb5d04a672e1db4e6fa8cb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out index eb541c7027..34f1e04617 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: d60a209f48b0a4b33519f098daa79b8b28be280323adeae4c0a616bcc5d62110 - unrolled_ast: d60a209f48b0a4b33519f098daa79b8b28be280323adeae4c0a616bcc5d62110 - ssa_ast: 30b3e677012b1457ef425207307f185d8c6197ee1d5f6ccf368b74ed85b5048d - flattened_ast: 0f86fd9e319aefdb84bc8c75a61a1fa3be1f3df572b7eeced37a4e26b86ffb92 - destructured_ast: 77819eeb958302ce40bf40378fef4754d014a35cfbd966b8ea0bdd315fd0c0e2 - inlined_ast: 77819eeb958302ce40bf40378fef4754d014a35cfbd966b8ea0bdd315fd0c0e2 - dce_ast: 81b680f52e95ccb1c95e0342a4d2265504bce5056e28435d4dc99e3491ec4775 - bytecode: 6d1cfc85db8ba9546a0cce9391c99dc153031ab35a86b38ad443df534242c519 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "d60a209f48b0a4b33519f098daa79b8b28be280323adeae4c0a616bcc5d62110", unrolled_ast = "d60a209f48b0a4b33519f098daa79b8b28be280323adeae4c0a616bcc5d62110", ssa_ast = "30b3e677012b1457ef425207307f185d8c6197ee1d5f6ccf368b74ed85b5048d", flattened_ast = "0f86fd9e319aefdb84bc8c75a61a1fa3be1f3df572b7eeced37a4e26b86ffb92", destructured_ast = "77819eeb958302ce40bf40378fef4754d014a35cfbd966b8ea0bdd315fd0c0e2", inlined_ast = "77819eeb958302ce40bf40378fef4754d014a35cfbd966b8ea0bdd315fd0c0e2", dce_ast = "81b680f52e95ccb1c95e0342a4d2265504bce5056e28435d4dc99e3491ec4775", bytecode = "6d1cfc85db8ba9546a0cce9391c99dc153031ab35a86b38ad443df534242c519", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out index 1dd4821709..495ae0c166 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - unrolled_symbol_table: d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78 - initial_ast: f970f8bfc18a141d78c7ba2bc154e7b98d109fb79d49d68c732c30f2eaec094c - unrolled_ast: f970f8bfc18a141d78c7ba2bc154e7b98d109fb79d49d68c732c30f2eaec094c - ssa_ast: 115f168e8b8eae9d237a56538e7efd216e73df68014ac8a1b34dc01f3ac4d666 - flattened_ast: 59e98dfa468eaa53d6519c3cf7a21d5a47e1b284aae3d210e294345b59319b8d - destructured_ast: 2905c4ece34f216cd525b1c880d22c135f47b9449994893e308f7a813851087d - inlined_ast: 2905c4ece34f216cd525b1c880d22c135f47b9449994893e308f7a813851087d - dce_ast: bac68877a43e59546969a53a31ce99653130b5ab829ae7c191757101952c0410 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", unrolled_symbol_table = "d52a860b0d3e8ebb88c7ff710fb3fd66e426ecc5047b8e52c7d7d32f66e63f78", initial_ast = "f970f8bfc18a141d78c7ba2bc154e7b98d109fb79d49d68c732c30f2eaec094c", unrolled_ast = "f970f8bfc18a141d78c7ba2bc154e7b98d109fb79d49d68c732c30f2eaec094c", ssa_ast = "115f168e8b8eae9d237a56538e7efd216e73df68014ac8a1b34dc01f3ac4d666", flattened_ast = "59e98dfa468eaa53d6519c3cf7a21d5a47e1b284aae3d210e294345b59319b8d", destructured_ast = "2905c4ece34f216cd525b1c880d22c135f47b9449994893e308f7a813851087d", inlined_ast = "2905c4ece34f216cd525b1c880d22c135f47b9449994893e308f7a813851087d", dce_ast = "bac68877a43e59546969a53a31ce99653130b5ab829ae7c191757101952c0410", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out index f286f35dcb..2d687c0ec7 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67 - unrolled_symbol_table: 4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67 - initial_ast: c6cc94a0fd64829de7efde5303a166bcdd30e6303a81a0bedb3e957a35b273d7 - unrolled_ast: c6cc94a0fd64829de7efde5303a166bcdd30e6303a81a0bedb3e957a35b273d7 - ssa_ast: 3342bb8d705f2e0f1be18350663f586a9b21cf42ee48fb1fcd14e4f07d818b79 - flattened_ast: 429470fd2cb83f493269e462f979d3c236df515488b51088657e3bf7c20b0df5 - destructured_ast: 59ebef3d5188e447ae61794169567d30d9aa8f089dae5f49964818613a52a098 - inlined_ast: 59ebef3d5188e447ae61794169567d30d9aa8f089dae5f49964818613a52a098 - dce_ast: 3c91eda2d8f8935ef0c1e94d3f26d46f456b44a3568c5f410d2ed30df98dc406 - bytecode: d6282c666e51c8c3f3ce541b16d07701dc4d0900acf44bf392cc235ed79a2484 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67", unrolled_symbol_table = "4dd7167568691e168581afd4519fb6792ec2912eaa964dfa639d601d18afbe67", initial_ast = "c6cc94a0fd64829de7efde5303a166bcdd30e6303a81a0bedb3e957a35b273d7", unrolled_ast = "c6cc94a0fd64829de7efde5303a166bcdd30e6303a81a0bedb3e957a35b273d7", ssa_ast = "3342bb8d705f2e0f1be18350663f586a9b21cf42ee48fb1fcd14e4f07d818b79", flattened_ast = "429470fd2cb83f493269e462f979d3c236df515488b51088657e3bf7c20b0df5", destructured_ast = "59ebef3d5188e447ae61794169567d30d9aa8f089dae5f49964818613a52a098", inlined_ast = "59ebef3d5188e447ae61794169567d30d9aa8f089dae5f49964818613a52a098", dce_ast = "3c91eda2d8f8935ef0c1e94d3f26d46f456b44a3568c5f410d2ed30df98dc406", bytecode = "d6282c666e51c8c3f3ce541b16d07701dc4d0900acf44bf392cc235ed79a2484", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out index 50b429e5d1..8d824c21bf 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: fb08394f4d3809df07ea2bd43d1a2d603a5b60bd5ec0ebea53924e2e477932b3 - unrolled_ast: fb08394f4d3809df07ea2bd43d1a2d603a5b60bd5ec0ebea53924e2e477932b3 - ssa_ast: 7459d8925c091bdd6d6114d393ec10fd1b244dfa08cd35c2770cccb3dd14d74b - flattened_ast: 2c7a7d7a588435725614843424b7c52c5ce25e02c20a84af98b9c6312a6bf7c7 - destructured_ast: e33b97e520f7e1f94c024641d11365b706c815c4bc3af2f4c5ddd4d15abd7a1e - inlined_ast: e33b97e520f7e1f94c024641d11365b706c815c4bc3af2f4c5ddd4d15abd7a1e - dce_ast: 2ca3e75ed482aa6b570ff3a7ac124f10f3d243f9eba535c10759c4c36ce79070 - bytecode: 229ed43ca637238faed92dd4732941e7c471f274c74ecfe4c2a77beca892bb62 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "fb08394f4d3809df07ea2bd43d1a2d603a5b60bd5ec0ebea53924e2e477932b3", unrolled_ast = "fb08394f4d3809df07ea2bd43d1a2d603a5b60bd5ec0ebea53924e2e477932b3", ssa_ast = "7459d8925c091bdd6d6114d393ec10fd1b244dfa08cd35c2770cccb3dd14d74b", flattened_ast = "2c7a7d7a588435725614843424b7c52c5ce25e02c20a84af98b9c6312a6bf7c7", destructured_ast = "e33b97e520f7e1f94c024641d11365b706c815c4bc3af2f4c5ddd4d15abd7a1e", inlined_ast = "e33b97e520f7e1f94c024641d11365b706c815c4bc3af2f4c5ddd4d15abd7a1e", dce_ast = "2ca3e75ed482aa6b570ff3a7ac124f10f3d243f9eba535c10759c4c36ce79070", bytecode = "229ed43ca637238faed92dd4732941e7c471f274c74ecfe4c2a77beca892bb62", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out index b4554669d3..5f70ea2629 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 3e30a24d3bdbc75b54c300a8e99fc4e1d513af6c597b1291c9dfb7e67da8c297 - unrolled_ast: 3e30a24d3bdbc75b54c300a8e99fc4e1d513af6c597b1291c9dfb7e67da8c297 - ssa_ast: 9be7ed8b9da16a2c38800e35ebcfc92d33e7ffe72f68ee3b19bc46ec2c162dfd - flattened_ast: 8e8a6533cfd710c1e78601156991d3105b67d8a3998cf9e3986d35a92e7faedc - destructured_ast: 3d07ad984a3a1b8968fa045b62b6ebb7e8f7ecd654c1b59060147ec1b6c9598f - inlined_ast: 3d07ad984a3a1b8968fa045b62b6ebb7e8f7ecd654c1b59060147ec1b6c9598f - dce_ast: 0462c15d429b8c65c4375284d9496131c4441e67282fee93a9f0b9a581c9fc87 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "3e30a24d3bdbc75b54c300a8e99fc4e1d513af6c597b1291c9dfb7e67da8c297", unrolled_ast = "3e30a24d3bdbc75b54c300a8e99fc4e1d513af6c597b1291c9dfb7e67da8c297", ssa_ast = "9be7ed8b9da16a2c38800e35ebcfc92d33e7ffe72f68ee3b19bc46ec2c162dfd", flattened_ast = "8e8a6533cfd710c1e78601156991d3105b67d8a3998cf9e3986d35a92e7faedc", destructured_ast = "3d07ad984a3a1b8968fa045b62b6ebb7e8f7ecd654c1b59060147ec1b6c9598f", inlined_ast = "3d07ad984a3a1b8968fa045b62b6ebb7e8f7ecd654c1b59060147ec1b6c9598f", dce_ast = "0462c15d429b8c65c4375284d9496131c4441e67282fee93a9f0b9a581c9fc87", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out index 83f3e6cb3b..04c6ca6f65 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: 6b68c65600169f8c8cee0a021d375084f0ddeb6149fae46b9573c699766c5ab3 - unrolled_ast: 6b68c65600169f8c8cee0a021d375084f0ddeb6149fae46b9573c699766c5ab3 - ssa_ast: ee19175861e7e4461f9fa8cca8cae7fadf14c65c7b01a8b8be6954204dafcc8d - flattened_ast: 10cd22a4a10187d6e06d8c06634296f3645b14a042df3f9ea0ace3f4a6b74231 - destructured_ast: c91853dca89651fb270296c523104264a444cd1e60770ce61f814f049d24cd41 - inlined_ast: c91853dca89651fb270296c523104264a444cd1e60770ce61f814f049d24cd41 - dce_ast: 745d5f7d5e373f50f54aeeeb329f068083761fdae2946b3edc490a04f0c4fd99 - bytecode: 7da691d67f81116d91fb60593fa7fbac92c7409ecb5728174beee3fc612716a0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "6b68c65600169f8c8cee0a021d375084f0ddeb6149fae46b9573c699766c5ab3", unrolled_ast = "6b68c65600169f8c8cee0a021d375084f0ddeb6149fae46b9573c699766c5ab3", ssa_ast = "ee19175861e7e4461f9fa8cca8cae7fadf14c65c7b01a8b8be6954204dafcc8d", flattened_ast = "10cd22a4a10187d6e06d8c06634296f3645b14a042df3f9ea0ace3f4a6b74231", destructured_ast = "c91853dca89651fb270296c523104264a444cd1e60770ce61f814f049d24cd41", inlined_ast = "c91853dca89651fb270296c523104264a444cd1e60770ce61f814f049d24cd41", dce_ast = "745d5f7d5e373f50f54aeeeb329f068083761fdae2946b3edc490a04f0c4fd99", bytecode = "7da691d67f81116d91fb60593fa7fbac92c7409ecb5728174beee3fc612716a0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out index 7f4404b981..27a9666a21 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 3a42543b6248f5911940c48649b66b5e860f25a8b3255f3912a5e2770eef5ace - unrolled_ast: 3a42543b6248f5911940c48649b66b5e860f25a8b3255f3912a5e2770eef5ace - ssa_ast: fce17cd4c6a2f8463bc87e74d74d0624658b8a862ebf3ee7e525a59316876223 - flattened_ast: 0b78985bfbff4a61ecfc090b94041c542d923cf1cd6253a8c5473b04a7cb5787 - destructured_ast: e8a2fa4796f18b2c05b6702358ed9fd66a552446a322891ca8981ea1125e9893 - inlined_ast: e8a2fa4796f18b2c05b6702358ed9fd66a552446a322891ca8981ea1125e9893 - dce_ast: 32495442d293a49ba12481bba5ede7887615d7b5f631053bb75be087a41acdba - bytecode: 6d469fd18d4b6f00204c95b4a6f2b98ceecb94947ac706bcba8976d667d9921b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "3a42543b6248f5911940c48649b66b5e860f25a8b3255f3912a5e2770eef5ace", unrolled_ast = "3a42543b6248f5911940c48649b66b5e860f25a8b3255f3912a5e2770eef5ace", ssa_ast = "fce17cd4c6a2f8463bc87e74d74d0624658b8a862ebf3ee7e525a59316876223", flattened_ast = "0b78985bfbff4a61ecfc090b94041c542d923cf1cd6253a8c5473b04a7cb5787", destructured_ast = "e8a2fa4796f18b2c05b6702358ed9fd66a552446a322891ca8981ea1125e9893", inlined_ast = "e8a2fa4796f18b2c05b6702358ed9fd66a552446a322891ca8981ea1125e9893", dce_ast = "32495442d293a49ba12481bba5ede7887615d7b5f631053bb75be087a41acdba", bytecode = "6d469fd18d4b6f00204c95b4a6f2b98ceecb94947ac706bcba8976d667d9921b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out index c14aa1a76b..8b685d818f 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c - unrolled_ast: e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c - ssa_ast: 42bb275bb8f30f844e720e95ff44f8c2d8b2edc12ea4d29245ab4b13068b480f - flattened_ast: 018dc16ea828956c4831a0867627751a833bef0e4b474918db2bc17b3658b1d8 - destructured_ast: 821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a - inlined_ast: 821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a - dce_ast: 82b0310905bf404ce4d12c69f1955ec06b6e7d09e957b532f73fd9191aeb4fcb - bytecode: 39f2fd495ce761fe3a8fb011b05bfe34e50db91dbd7f9a5bec40a8aa8187f0b1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c", unrolled_ast = "e24ee1bcabcc08b4b186df3883e05bae4f6452569f613294a6ee7aaa5b51a67c", ssa_ast = "42bb275bb8f30f844e720e95ff44f8c2d8b2edc12ea4d29245ab4b13068b480f", flattened_ast = "018dc16ea828956c4831a0867627751a833bef0e4b474918db2bc17b3658b1d8", destructured_ast = "821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a", inlined_ast = "821596ca67920e30b4904b190cd9387029414909381747860fdd7575b671533a", dce_ast = "82b0310905bf404ce4d12c69f1955ec06b6e7d09e957b532f73fd9191aeb4fcb", bytecode = "39f2fd495ce761fe3a8fb011b05bfe34e50db91dbd7f9a5bec40a8aa8187f0b1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out index 0bbb5cc9d2..520fcd90be 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 442c5362ae1cccc6219eb6ed3535001f3aa1d8211912e35855d268e36c35d71e - unrolled_ast: 442c5362ae1cccc6219eb6ed3535001f3aa1d8211912e35855d268e36c35d71e - ssa_ast: a2fa6a2378ffe24ed6cbfe450e75935793bee13d0c62c8f66597ab20f6215b6e - flattened_ast: 282f6dacfa73e9b5344db2b401d04d3bbe20a106eb596c7686900bec344dbd95 - destructured_ast: f1749d788d7ccf00e5c8dd89d2487b8d92489c5ae09006f394e50b6d2ee712de - inlined_ast: f1749d788d7ccf00e5c8dd89d2487b8d92489c5ae09006f394e50b6d2ee712de - dce_ast: 2a8b0ea8985ab9c858f663ce59e0277a6d77f20820e0ac4960459e49efeabe0e - bytecode: 291203118efe8ad584e0fe1e5ad940b457fea07bc1833c28dcc64d0f5e380261 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "442c5362ae1cccc6219eb6ed3535001f3aa1d8211912e35855d268e36c35d71e", unrolled_ast = "442c5362ae1cccc6219eb6ed3535001f3aa1d8211912e35855d268e36c35d71e", ssa_ast = "a2fa6a2378ffe24ed6cbfe450e75935793bee13d0c62c8f66597ab20f6215b6e", flattened_ast = "282f6dacfa73e9b5344db2b401d04d3bbe20a106eb596c7686900bec344dbd95", destructured_ast = "f1749d788d7ccf00e5c8dd89d2487b8d92489c5ae09006f394e50b6d2ee712de", inlined_ast = "f1749d788d7ccf00e5c8dd89d2487b8d92489c5ae09006f394e50b6d2ee712de", dce_ast = "2a8b0ea8985ab9c858f663ce59e0277a6d77f20820e0ac4960459e49efeabe0e", bytecode = "291203118efe8ad584e0fe1e5ad940b457fea07bc1833c28dcc64d0f5e380261", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out index 8745a05f0b..b5515fab2c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: 1d5396288476d5e898e696c848ab2eddd039d20542dd4544de4fd5d47d742520 - unrolled_ast: 1d5396288476d5e898e696c848ab2eddd039d20542dd4544de4fd5d47d742520 - ssa_ast: 32842d3ffb2864a3aeb3560af67fd76d6bd2bcb7f499637b54a01bb723ab9e62 - flattened_ast: aab3af9dfa62a5d527fd350086e6d2899a485253ecc9c109c506f13bdd7efa9f - destructured_ast: 593e17839928f2e1ec1fd09989e710f90665cebef945ad2ea67a01485793b882 - inlined_ast: 593e17839928f2e1ec1fd09989e710f90665cebef945ad2ea67a01485793b882 - dce_ast: 62a27df6d35c3089d230b998d718f2ee2ebf71c4208093460f36be8c524d5494 - bytecode: aabc532da97dad13de4f6538e8b18c6696e0a4e16ba5c50624add1e547aadbb0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "1d5396288476d5e898e696c848ab2eddd039d20542dd4544de4fd5d47d742520", unrolled_ast = "1d5396288476d5e898e696c848ab2eddd039d20542dd4544de4fd5d47d742520", ssa_ast = "32842d3ffb2864a3aeb3560af67fd76d6bd2bcb7f499637b54a01bb723ab9e62", flattened_ast = "aab3af9dfa62a5d527fd350086e6d2899a485253ecc9c109c506f13bdd7efa9f", destructured_ast = "593e17839928f2e1ec1fd09989e710f90665cebef945ad2ea67a01485793b882", inlined_ast = "593e17839928f2e1ec1fd09989e710f90665cebef945ad2ea67a01485793b882", dce_ast = "62a27df6d35c3089d230b998d718f2ee2ebf71c4208093460f36be8c524d5494", bytecode = "aabc532da97dad13de4f6538e8b18c6696e0a4e16ba5c50624add1e547aadbb0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out index 4b4a084c36..3664cf0eb4 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: 468a619ae62ffb64127629908968dc3d9a7542085ce407f7513522de43b57e59 - unrolled_ast: 468a619ae62ffb64127629908968dc3d9a7542085ce407f7513522de43b57e59 - ssa_ast: 1c8e3b4ee612253ae49a68bbb5f1f022e2db729405765845eae1e78f4dc73aa5 - flattened_ast: 3b9583c20cb047fba616d5d78c0528c775e3f422dfbd0d13980062f8d0576498 - destructured_ast: 088e16c326f423b71e7a86380bf75e68cdb900fdd4c6f3d9626a5cdcadb36e63 - inlined_ast: 088e16c326f423b71e7a86380bf75e68cdb900fdd4c6f3d9626a5cdcadb36e63 - dce_ast: 02fa890d859e83b08f1e3aa06244ff3ae1b4b9b5349934e431fd878ee05dcfd5 - bytecode: fb50b455787039d40359e8561b3c38dce51cc9bfd62c06db7cdad7ed77575e4c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "468a619ae62ffb64127629908968dc3d9a7542085ce407f7513522de43b57e59", unrolled_ast = "468a619ae62ffb64127629908968dc3d9a7542085ce407f7513522de43b57e59", ssa_ast = "1c8e3b4ee612253ae49a68bbb5f1f022e2db729405765845eae1e78f4dc73aa5", flattened_ast = "3b9583c20cb047fba616d5d78c0528c775e3f422dfbd0d13980062f8d0576498", destructured_ast = "088e16c326f423b71e7a86380bf75e68cdb900fdd4c6f3d9626a5cdcadb36e63", inlined_ast = "088e16c326f423b71e7a86380bf75e68cdb900fdd4c6f3d9626a5cdcadb36e63", dce_ast = "02fa890d859e83b08f1e3aa06244ff3ae1b4b9b5349934e431fd878ee05dcfd5", bytecode = "fb50b455787039d40359e8561b3c38dce51cc9bfd62c06db7cdad7ed77575e4c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out index 279a3735c8..1480f2d213 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: ef6a8b12ab9a2990728744af5eed85e7488f25e22611778f05633be09dc639d0 - unrolled_ast: ef6a8b12ab9a2990728744af5eed85e7488f25e22611778f05633be09dc639d0 - ssa_ast: 6b57a9b84a5ba37ca589290b095883c39c40fff348600456f4531b130506a4d3 - flattened_ast: 1d390bcff74a7da50935a7c3d8e9bc9348902ea22e481fb7634f46cbc6e3077a - destructured_ast: 43ff018ba2b76a0532fd7e1c2753552ac40822b9654c55e0daf588e65f41fbfa - inlined_ast: 43ff018ba2b76a0532fd7e1c2753552ac40822b9654c55e0daf588e65f41fbfa - dce_ast: 498731da2308c28a6d1fb4a8f10757664918b05bc0a85a2987a93ab2573a83b4 - bytecode: 0f39fde0b1e15ee4f8db0c84a7a280cdeac852cdca4959a14a61776aa661ced5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "ef6a8b12ab9a2990728744af5eed85e7488f25e22611778f05633be09dc639d0", unrolled_ast = "ef6a8b12ab9a2990728744af5eed85e7488f25e22611778f05633be09dc639d0", ssa_ast = "6b57a9b84a5ba37ca589290b095883c39c40fff348600456f4531b130506a4d3", flattened_ast = "1d390bcff74a7da50935a7c3d8e9bc9348902ea22e481fb7634f46cbc6e3077a", destructured_ast = "43ff018ba2b76a0532fd7e1c2753552ac40822b9654c55e0daf588e65f41fbfa", inlined_ast = "43ff018ba2b76a0532fd7e1c2753552ac40822b9654c55e0daf588e65f41fbfa", dce_ast = "498731da2308c28a6d1fb4a8f10757664918b05bc0a85a2987a93ab2573a83b4", bytecode = "0f39fde0b1e15ee4f8db0c84a7a280cdeac852cdca4959a14a61776aa661ced5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out index 223c6983ca..fc8ebe897a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: e0a0f783611f7bcc08271c7259ef2978ee4571cb86633016317f8a61263f9bdb - unrolled_ast: e0a0f783611f7bcc08271c7259ef2978ee4571cb86633016317f8a61263f9bdb - ssa_ast: 1a8cded804c2c0bea4d3100239c920f9c05e27453743bb92d0c97de1876b922b - flattened_ast: 37a3d3534e557cdd41f43d1843889b5864ef5844cf784feaacd6ece2ce7531f1 - destructured_ast: 0b1c52c255fbb1d040c11c4abba2918759cb98e5097e3ef22804728d548e80a0 - inlined_ast: 0b1c52c255fbb1d040c11c4abba2918759cb98e5097e3ef22804728d548e80a0 - dce_ast: eec36bb7ac4980ba963769eaa1b9acae62a248aacf714c98c3e592560e1b38e2 - bytecode: b267a8888601eb2f66b0e0f9814268308403849dd65f3535cea29bcd4245360e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "e0a0f783611f7bcc08271c7259ef2978ee4571cb86633016317f8a61263f9bdb", unrolled_ast = "e0a0f783611f7bcc08271c7259ef2978ee4571cb86633016317f8a61263f9bdb", ssa_ast = "1a8cded804c2c0bea4d3100239c920f9c05e27453743bb92d0c97de1876b922b", flattened_ast = "37a3d3534e557cdd41f43d1843889b5864ef5844cf784feaacd6ece2ce7531f1", destructured_ast = "0b1c52c255fbb1d040c11c4abba2918759cb98e5097e3ef22804728d548e80a0", inlined_ast = "0b1c52c255fbb1d040c11c4abba2918759cb98e5097e3ef22804728d548e80a0", dce_ast = "eec36bb7ac4980ba963769eaa1b9acae62a248aacf714c98c3e592560e1b38e2", bytecode = "b267a8888601eb2f66b0e0f9814268308403849dd65f3535cea29bcd4245360e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out index f5bf9167d1..5850ebfb2c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: f186cd70d912c729173ba3daa52d09f432de6752ebcf8eb98c9ec9a173a6345f - unrolled_ast: f186cd70d912c729173ba3daa52d09f432de6752ebcf8eb98c9ec9a173a6345f - ssa_ast: cd21ab42ba7b71d49d574234afd69882e11252730169908971aec498a1da87c3 - flattened_ast: d3cb0c896a08af1429e3f2cb5d92a4d1fcda1c7eaf992ae2ab73b45ea724ab43 - destructured_ast: c509420b78791136df0db3e5e22b164c01b8b55fd7cb1bc0951659bf127496ec - inlined_ast: c509420b78791136df0db3e5e22b164c01b8b55fd7cb1bc0951659bf127496ec - dce_ast: 6c887cfc2804ab34098bd3cf43cfe6bfffde928c0daf118656a00d27542b970e - bytecode: 82114d77c21652d52ef1000d4f83e8539bcefb03acf8ceec8e75f36e4acb3062 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "f186cd70d912c729173ba3daa52d09f432de6752ebcf8eb98c9ec9a173a6345f", unrolled_ast = "f186cd70d912c729173ba3daa52d09f432de6752ebcf8eb98c9ec9a173a6345f", ssa_ast = "cd21ab42ba7b71d49d574234afd69882e11252730169908971aec498a1da87c3", flattened_ast = "d3cb0c896a08af1429e3f2cb5d92a4d1fcda1c7eaf992ae2ab73b45ea724ab43", destructured_ast = "c509420b78791136df0db3e5e22b164c01b8b55fd7cb1bc0951659bf127496ec", inlined_ast = "c509420b78791136df0db3e5e22b164c01b8b55fd7cb1bc0951659bf127496ec", dce_ast = "6c887cfc2804ab34098bd3cf43cfe6bfffde928c0daf118656a00d27542b970e", bytecode = "82114d77c21652d52ef1000d4f83e8539bcefb03acf8ceec8e75f36e4acb3062", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out index 3709df4ec1..a3a4b40d72 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 52e8149620770b85c4bcad0c3166c45ac4a4b16f2d40245f461e6fe66e1437ad - unrolled_ast: 52e8149620770b85c4bcad0c3166c45ac4a4b16f2d40245f461e6fe66e1437ad - ssa_ast: 421c0602f61bd698d43479fb6822dfae87f9884b7ef91850ad3f3cc62ead9320 - flattened_ast: 034a7232997144e71bfc33239ea6c56efc63151542b2c44228a9518a1c3c410a - destructured_ast: 4eb45d45ae72325a2bc7f92321cd38b717e449cb735a5562a1b043ee594e0beb - inlined_ast: 4eb45d45ae72325a2bc7f92321cd38b717e449cb735a5562a1b043ee594e0beb - dce_ast: 292b3e8a07570b27a6458ded0eab716827bdf9829a70e9cac4736c9bd0eb669b - bytecode: 5eeedee42e2476fb270490327599aed56d2d2086addd96030cb733ad90fff082 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "52e8149620770b85c4bcad0c3166c45ac4a4b16f2d40245f461e6fe66e1437ad", unrolled_ast = "52e8149620770b85c4bcad0c3166c45ac4a4b16f2d40245f461e6fe66e1437ad", ssa_ast = "421c0602f61bd698d43479fb6822dfae87f9884b7ef91850ad3f3cc62ead9320", flattened_ast = "034a7232997144e71bfc33239ea6c56efc63151542b2c44228a9518a1c3c410a", destructured_ast = "4eb45d45ae72325a2bc7f92321cd38b717e449cb735a5562a1b043ee594e0beb", inlined_ast = "4eb45d45ae72325a2bc7f92321cd38b717e449cb735a5562a1b043ee594e0beb", dce_ast = "292b3e8a07570b27a6458ded0eab716827bdf9829a70e9cac4736c9bd0eb669b", bytecode = "5eeedee42e2476fb270490327599aed56d2d2086addd96030cb733ad90fff082", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out index f19a329400..c9db076c20 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 0bf4f3e0c0909add978c1c86d40acfb2d6bcadf3fbefe2ee4716718d953d0d58 - unrolled_ast: 0bf4f3e0c0909add978c1c86d40acfb2d6bcadf3fbefe2ee4716718d953d0d58 - ssa_ast: e87e2291f9b5f42b8a9c24b56ee6cbe91704ae9f0009de34d5723f431a7843fd - flattened_ast: daabc553ae9cb250c1eab2b5f1329fdf0682bfb965ea230789485a04a06a546a - destructured_ast: c3693dbe23dc7d5e4af38d8a01729fa0b7fbbbfa73ec839a861bcda889994842 - inlined_ast: c3693dbe23dc7d5e4af38d8a01729fa0b7fbbbfa73ec839a861bcda889994842 - dce_ast: 40ee13466dabd45ba897e77bd2d403f749622fe926adc57df9c220c4670769b0 - bytecode: 5ec7cc3de6c113f85819e7425d3cba1d1c9d72dbd11bb4dcc38aa93ef89cdf2e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "0bf4f3e0c0909add978c1c86d40acfb2d6bcadf3fbefe2ee4716718d953d0d58", unrolled_ast = "0bf4f3e0c0909add978c1c86d40acfb2d6bcadf3fbefe2ee4716718d953d0d58", ssa_ast = "e87e2291f9b5f42b8a9c24b56ee6cbe91704ae9f0009de34d5723f431a7843fd", flattened_ast = "daabc553ae9cb250c1eab2b5f1329fdf0682bfb965ea230789485a04a06a546a", destructured_ast = "c3693dbe23dc7d5e4af38d8a01729fa0b7fbbbfa73ec839a861bcda889994842", inlined_ast = "c3693dbe23dc7d5e4af38d8a01729fa0b7fbbbfa73ec839a861bcda889994842", dce_ast = "40ee13466dabd45ba897e77bd2d403f749622fe926adc57df9c220c4670769b0", bytecode = "5ec7cc3de6c113f85819e7425d3cba1d1c9d72dbd11bb4dcc38aa93ef89cdf2e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out index 1d9b63f890..7beca12def 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: ebddb7d5799f23e53b3d61632ee643912bbb48b9cefa4ac065be85d37aaa50bd - unrolled_ast: ebddb7d5799f23e53b3d61632ee643912bbb48b9cefa4ac065be85d37aaa50bd - ssa_ast: 018b8ea7eeb49f42121314644edcdce86c83acef33a7ac68a880b6a704fc85e1 - flattened_ast: 809214e2a2f8f26a32fb09b29c01cf435e0249508518b2699d0bd9e366ceef78 - destructured_ast: 39010d7217c8fede44a27f2a90075d5c4873c2bba208861fdf64f1386557e70e - inlined_ast: 39010d7217c8fede44a27f2a90075d5c4873c2bba208861fdf64f1386557e70e - dce_ast: d2661ecfe254e43626511a2b506cf506ddf02ec58688c4a4372a84ee6a2cc873 - bytecode: 400dea3099e787d74f8c336d3a7cc2d26e8de8bf52e579bed30244f437aa25f6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "ebddb7d5799f23e53b3d61632ee643912bbb48b9cefa4ac065be85d37aaa50bd", unrolled_ast = "ebddb7d5799f23e53b3d61632ee643912bbb48b9cefa4ac065be85d37aaa50bd", ssa_ast = "018b8ea7eeb49f42121314644edcdce86c83acef33a7ac68a880b6a704fc85e1", flattened_ast = "809214e2a2f8f26a32fb09b29c01cf435e0249508518b2699d0bd9e366ceef78", destructured_ast = "39010d7217c8fede44a27f2a90075d5c4873c2bba208861fdf64f1386557e70e", inlined_ast = "39010d7217c8fede44a27f2a90075d5c4873c2bba208861fdf64f1386557e70e", dce_ast = "d2661ecfe254e43626511a2b506cf506ddf02ec58688c4a4372a84ee6a2cc873", bytecode = "400dea3099e787d74f8c336d3a7cc2d26e8de8bf52e579bed30244f437aa25f6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out index 1dca938397..782cfddb25 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 9aff620dd76ac53998b174eb9bf08401e5afd8d6a467b967e2b46cb5558241b6 - unrolled_ast: 9aff620dd76ac53998b174eb9bf08401e5afd8d6a467b967e2b46cb5558241b6 - ssa_ast: a5606345c7d4ede71acbf5525ad84760485d9cc717fadcbcbe4781e793bbee1d - flattened_ast: 0e262d936c09fb33795e7b050f9f3f7d127bc0769e16e8963a7ea5fa6dd0dbe1 - destructured_ast: a7f1a1acd14648f9d51cd504046bb439b420c20c07cad054ad04ba0aaac7e68a - inlined_ast: a7f1a1acd14648f9d51cd504046bb439b420c20c07cad054ad04ba0aaac7e68a - dce_ast: 037797e09ffb65db0d8e7afff652625a87d6d6774d807d10985e271533621d77 - bytecode: 7e364f0f5797c362156d92896d5c0ac0cb8923bdfce720d844550006535bfec9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "9aff620dd76ac53998b174eb9bf08401e5afd8d6a467b967e2b46cb5558241b6", unrolled_ast = "9aff620dd76ac53998b174eb9bf08401e5afd8d6a467b967e2b46cb5558241b6", ssa_ast = "a5606345c7d4ede71acbf5525ad84760485d9cc717fadcbcbe4781e793bbee1d", flattened_ast = "0e262d936c09fb33795e7b050f9f3f7d127bc0769e16e8963a7ea5fa6dd0dbe1", destructured_ast = "a7f1a1acd14648f9d51cd504046bb439b420c20c07cad054ad04ba0aaac7e68a", inlined_ast = "a7f1a1acd14648f9d51cd504046bb439b420c20c07cad054ad04ba0aaac7e68a", dce_ast = "037797e09ffb65db0d8e7afff652625a87d6d6774d807d10985e271533621d77", bytecode = "7e364f0f5797c362156d92896d5c0ac0cb8923bdfce720d844550006535bfec9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out index f2d98559f9..4e2feb0ba4 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: aa9928beca3c8bebbf79c20fdbde7a985791d8489b5d32aef9689ecbc0325a14 - unrolled_ast: aa9928beca3c8bebbf79c20fdbde7a985791d8489b5d32aef9689ecbc0325a14 - ssa_ast: 8265f4821b9744859e75afbc1e3f10be89252f1d65690e1025126c5d520ffc4b - flattened_ast: 87946afc0b53932ab784c974297704446c17f52a98b8dbe0308e39f0b05c3cf2 - destructured_ast: 61ca4389d23ae33791dbe6cd6168e9b277a873fa0824385390ece4b665834c15 - inlined_ast: 61ca4389d23ae33791dbe6cd6168e9b277a873fa0824385390ece4b665834c15 - dce_ast: a2dc0baa03e57cf937b52d4e2cbba3f6949d77dd84addff39f8f6ae2f92d9564 - bytecode: 6d1f9a3fa30f6b177ef5b8242e1608ab54576a5d82df58c97c2e367270c6d7f9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "aa9928beca3c8bebbf79c20fdbde7a985791d8489b5d32aef9689ecbc0325a14", unrolled_ast = "aa9928beca3c8bebbf79c20fdbde7a985791d8489b5d32aef9689ecbc0325a14", ssa_ast = "8265f4821b9744859e75afbc1e3f10be89252f1d65690e1025126c5d520ffc4b", flattened_ast = "87946afc0b53932ab784c974297704446c17f52a98b8dbe0308e39f0b05c3cf2", destructured_ast = "61ca4389d23ae33791dbe6cd6168e9b277a873fa0824385390ece4b665834c15", inlined_ast = "61ca4389d23ae33791dbe6cd6168e9b277a873fa0824385390ece4b665834c15", dce_ast = "a2dc0baa03e57cf937b52d4e2cbba3f6949d77dd84addff39f8f6ae2f92d9564", bytecode = "6d1f9a3fa30f6b177ef5b8242e1608ab54576a5d82df58c97c2e367270c6d7f9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out index afa38423e8..ef1921831c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: f46880150d359516cf54e876dd4b1b42cbd311d8044d50bcf2d6f6aeaf8e7047 - unrolled_ast: f46880150d359516cf54e876dd4b1b42cbd311d8044d50bcf2d6f6aeaf8e7047 - ssa_ast: 40a71ffba556963cb091c24494d41295641ab71cac1f727e3347a385da4f89a4 - flattened_ast: 492763110f4f20ddf27d4307adf8ce851d7bf680dbc1e1aeaee446dbc6daf4aa - destructured_ast: e8dcd4318b6090dca39ea9169dd5a42d1034bd41a1feb2ce878578454da96482 - inlined_ast: e8dcd4318b6090dca39ea9169dd5a42d1034bd41a1feb2ce878578454da96482 - dce_ast: c227849d36b096f5c3cdc2070c4a5b073f2e8d2e7088db60d50865b131ff4ed4 - bytecode: 324982aeedb7f0eb194a3744384b562834062c95c62d9007a74ec8e2a5612c4e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "f46880150d359516cf54e876dd4b1b42cbd311d8044d50bcf2d6f6aeaf8e7047", unrolled_ast = "f46880150d359516cf54e876dd4b1b42cbd311d8044d50bcf2d6f6aeaf8e7047", ssa_ast = "40a71ffba556963cb091c24494d41295641ab71cac1f727e3347a385da4f89a4", flattened_ast = "492763110f4f20ddf27d4307adf8ce851d7bf680dbc1e1aeaee446dbc6daf4aa", destructured_ast = "e8dcd4318b6090dca39ea9169dd5a42d1034bd41a1feb2ce878578454da96482", inlined_ast = "e8dcd4318b6090dca39ea9169dd5a42d1034bd41a1feb2ce878578454da96482", dce_ast = "c227849d36b096f5c3cdc2070c4a5b073f2e8d2e7088db60d50865b131ff4ed4", bytecode = "324982aeedb7f0eb194a3744384b562834062c95c62d9007a74ec8e2a5612c4e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out index 711f05561d..e598049d22 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: b46c4964c34bb041010d44e5e224a2a89044f42e7093b3c062fc6980cd70d35f - unrolled_ast: b46c4964c34bb041010d44e5e224a2a89044f42e7093b3c062fc6980cd70d35f - ssa_ast: 53190bed8a22df09ec5db6440bfa899efba7b447539aeffd5b4214f8aba55706 - flattened_ast: bf6b8e019ade473fd54467317ea77b3a7feacd5ba9132988d702ff5c3e6ec275 - destructured_ast: 9a76ad3b97e006b61e7729c287e917bc19f0aa6ea7a8e75341b28303d21ae354 - inlined_ast: 9a76ad3b97e006b61e7729c287e917bc19f0aa6ea7a8e75341b28303d21ae354 - dce_ast: 3db1184f6015256fb4a1ef9a3c49564a98bcbfccc86cf06d0bf806858d7d1e25 - bytecode: ead396ffd0d8084ce5fd2f208f904c27d3df3e0b42a22baef80d5778a0d63b23 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "b46c4964c34bb041010d44e5e224a2a89044f42e7093b3c062fc6980cd70d35f", unrolled_ast = "b46c4964c34bb041010d44e5e224a2a89044f42e7093b3c062fc6980cd70d35f", ssa_ast = "53190bed8a22df09ec5db6440bfa899efba7b447539aeffd5b4214f8aba55706", flattened_ast = "bf6b8e019ade473fd54467317ea77b3a7feacd5ba9132988d702ff5c3e6ec275", destructured_ast = "9a76ad3b97e006b61e7729c287e917bc19f0aa6ea7a8e75341b28303d21ae354", inlined_ast = "9a76ad3b97e006b61e7729c287e917bc19f0aa6ea7a8e75341b28303d21ae354", dce_ast = "3db1184f6015256fb4a1ef9a3c49564a98bcbfccc86cf06d0bf806858d7d1e25", bytecode = "ead396ffd0d8084ce5fd2f208f904c27d3df3e0b42a22baef80d5778a0d63b23", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out index 04b82411cc..96fe85eaa7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 0663047e3d732d241fd9d28c6b15973a8f08a87590ae3bd6b06daae22eeb1889 - unrolled_ast: 0663047e3d732d241fd9d28c6b15973a8f08a87590ae3bd6b06daae22eeb1889 - ssa_ast: ace9783581390ed0bc01010c74019fbf8200301442726d0efcba18a3174f16ce - flattened_ast: 9b2db2b1fe2adb61f7b19eff215f0e54eb31133c5188b577e9035fe1a500a9ca - destructured_ast: 2564df5ef89ecd338c70b821e946cb8ec1d017b89be6ffef0bed9345e4b0c0de - inlined_ast: 2564df5ef89ecd338c70b821e946cb8ec1d017b89be6ffef0bed9345e4b0c0de - dce_ast: 967099a9ba69e9789ffd15bcf6cf87c15938103bbb57e5aac7f281ad1d02fca5 - bytecode: 93c0ef7e8c5de4b6de716347078c7e7fb4f36c0d814396e7060423dac910a4eb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "0663047e3d732d241fd9d28c6b15973a8f08a87590ae3bd6b06daae22eeb1889", unrolled_ast = "0663047e3d732d241fd9d28c6b15973a8f08a87590ae3bd6b06daae22eeb1889", ssa_ast = "ace9783581390ed0bc01010c74019fbf8200301442726d0efcba18a3174f16ce", flattened_ast = "9b2db2b1fe2adb61f7b19eff215f0e54eb31133c5188b577e9035fe1a500a9ca", destructured_ast = "2564df5ef89ecd338c70b821e946cb8ec1d017b89be6ffef0bed9345e4b0c0de", inlined_ast = "2564df5ef89ecd338c70b821e946cb8ec1d017b89be6ffef0bed9345e4b0c0de", dce_ast = "967099a9ba69e9789ffd15bcf6cf87c15938103bbb57e5aac7f281ad1d02fca5", bytecode = "93c0ef7e8c5de4b6de716347078c7e7fb4f36c0d814396e7060423dac910a4eb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out index 4a0cf0bfba..b6885580aa 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: 408ff092c48d0daaa2603e45c07951f3449da4c82a2468b7a70ee081f2458868 - unrolled_ast: 408ff092c48d0daaa2603e45c07951f3449da4c82a2468b7a70ee081f2458868 - ssa_ast: 99e2733b269c445b983c7b2f0cd63c4cc4ca488108ee4bd925a23401638a5715 - flattened_ast: 677fbada1a53c0960776ef17bea7fc34865d59bcd6db7d406c70dba0a4c7bccc - destructured_ast: 21824a5baf65bf0c9ef44c4fb456766e25237032343e55ff35a73b8d9b44dbf6 - inlined_ast: 21824a5baf65bf0c9ef44c4fb456766e25237032343e55ff35a73b8d9b44dbf6 - dce_ast: 6db69551c717f92c133ee992629a9971e1c9f9325ac76c1103eeb6219b35e29c - bytecode: 35d57844635bb3a2fc0261442ef69b8d67a4767ad0f61fce6b396a430073f5e2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "408ff092c48d0daaa2603e45c07951f3449da4c82a2468b7a70ee081f2458868", unrolled_ast = "408ff092c48d0daaa2603e45c07951f3449da4c82a2468b7a70ee081f2458868", ssa_ast = "99e2733b269c445b983c7b2f0cd63c4cc4ca488108ee4bd925a23401638a5715", flattened_ast = "677fbada1a53c0960776ef17bea7fc34865d59bcd6db7d406c70dba0a4c7bccc", destructured_ast = "21824a5baf65bf0c9ef44c4fb456766e25237032343e55ff35a73b8d9b44dbf6", inlined_ast = "21824a5baf65bf0c9ef44c4fb456766e25237032343e55ff35a73b8d9b44dbf6", dce_ast = "6db69551c717f92c133ee992629a9971e1c9f9325ac76c1103eeb6219b35e29c", bytecode = "35d57844635bb3a2fc0261442ef69b8d67a4767ad0f61fce6b396a430073f5e2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out index 2de6fc6c81..f948b7b931 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: 5af291cee1598234a6dbc2d2e57253e795493ee900ca384b4737d32df27e2275 - unrolled_ast: 5af291cee1598234a6dbc2d2e57253e795493ee900ca384b4737d32df27e2275 - ssa_ast: 0b66886f95df7f84a1b58b3b78e80b7101a5eccb82f6048048a2e50e8723605d - flattened_ast: 8ad71b1d813a93068312826625d541b70baac4ba709507c0cae87292ac9a371b - destructured_ast: faeea0fbe56481bd8153d6c617a540429132235031acbe89454ecc7aa3e29e46 - inlined_ast: faeea0fbe56481bd8153d6c617a540429132235031acbe89454ecc7aa3e29e46 - dce_ast: 29ed2ce1d8ec68c8e121670344ddc01532e3b5b82b37fd285d7340fb21326cee - bytecode: c865484cdaac4f81578a7a47f6a1772139a2f4b03d5a4602c7b62be71519846d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "5af291cee1598234a6dbc2d2e57253e795493ee900ca384b4737d32df27e2275", unrolled_ast = "5af291cee1598234a6dbc2d2e57253e795493ee900ca384b4737d32df27e2275", ssa_ast = "0b66886f95df7f84a1b58b3b78e80b7101a5eccb82f6048048a2e50e8723605d", flattened_ast = "8ad71b1d813a93068312826625d541b70baac4ba709507c0cae87292ac9a371b", destructured_ast = "faeea0fbe56481bd8153d6c617a540429132235031acbe89454ecc7aa3e29e46", inlined_ast = "faeea0fbe56481bd8153d6c617a540429132235031acbe89454ecc7aa3e29e46", dce_ast = "29ed2ce1d8ec68c8e121670344ddc01532e3b5b82b37fd285d7340fb21326cee", bytecode = "c865484cdaac4f81578a7a47f6a1772139a2f4b03d5a4602c7b62be71519846d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out index 0a65f90fef..32e4cce624 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 127255a3073f38401e6dd2747da420529765cb6056b842f67b5d24445b09a69e - unrolled_ast: 127255a3073f38401e6dd2747da420529765cb6056b842f67b5d24445b09a69e - ssa_ast: 369444a205e7b3d36a387a9570d9a70c355a06999a096f99b6587f3d63ff5757 - flattened_ast: 13ba34fe717920cd5cb7340c42636ca5dcebd9e83a7f4225412b8e1ddfa13328 - destructured_ast: ef4cc482f373bf70d1434362c79570ce04ffcb38e94fda60c6f4cdd78be18450 - inlined_ast: ef4cc482f373bf70d1434362c79570ce04ffcb38e94fda60c6f4cdd78be18450 - dce_ast: a791412ddde8c80a016548b946bf27ad8f6dc74dbd50c5012efe1b7258274817 - bytecode: 722e9ba9eb7870003003efbee47f12319ccd9a2e873ccd6a165dc945dd5fee56 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "127255a3073f38401e6dd2747da420529765cb6056b842f67b5d24445b09a69e", unrolled_ast = "127255a3073f38401e6dd2747da420529765cb6056b842f67b5d24445b09a69e", ssa_ast = "369444a205e7b3d36a387a9570d9a70c355a06999a096f99b6587f3d63ff5757", flattened_ast = "13ba34fe717920cd5cb7340c42636ca5dcebd9e83a7f4225412b8e1ddfa13328", destructured_ast = "ef4cc482f373bf70d1434362c79570ce04ffcb38e94fda60c6f4cdd78be18450", inlined_ast = "ef4cc482f373bf70d1434362c79570ce04ffcb38e94fda60c6f4cdd78be18450", dce_ast = "a791412ddde8c80a016548b946bf27ad8f6dc74dbd50c5012efe1b7258274817", bytecode = "722e9ba9eb7870003003efbee47f12319ccd9a2e873ccd6a165dc945dd5fee56", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out index a6ff3b3ef1..7246b2d5e5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: c38ca1536436eda5344a2d62c7c6aa43cd8c4982f48668ca304c2236f8c86dbb - unrolled_ast: c38ca1536436eda5344a2d62c7c6aa43cd8c4982f48668ca304c2236f8c86dbb - ssa_ast: 5c6f03fef5e9020bdef9e4ea4dc3166b14cab4d556b793ac907392538226b1aa - flattened_ast: f6547c44c34a549f14d2c246fc2bd5fcd72648286c306ce6dd540978bdac4d29 - destructured_ast: 7cedea608cf5971eaa783638c455f107d930ff0d18de7247dbd656427202901a - inlined_ast: 7cedea608cf5971eaa783638c455f107d930ff0d18de7247dbd656427202901a - dce_ast: ae53c63dbc3bba96f89c89a1833884b8cae9b76cd3b6d56b9f300ef14343e4e6 - bytecode: 5b86f91ea85b5afdbd241b7623cbecedcb816272ca8b7250e2536955dfc55fed - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "c38ca1536436eda5344a2d62c7c6aa43cd8c4982f48668ca304c2236f8c86dbb", unrolled_ast = "c38ca1536436eda5344a2d62c7c6aa43cd8c4982f48668ca304c2236f8c86dbb", ssa_ast = "5c6f03fef5e9020bdef9e4ea4dc3166b14cab4d556b793ac907392538226b1aa", flattened_ast = "f6547c44c34a549f14d2c246fc2bd5fcd72648286c306ce6dd540978bdac4d29", destructured_ast = "7cedea608cf5971eaa783638c455f107d930ff0d18de7247dbd656427202901a", inlined_ast = "7cedea608cf5971eaa783638c455f107d930ff0d18de7247dbd656427202901a", dce_ast = "ae53c63dbc3bba96f89c89a1833884b8cae9b76cd3b6d56b9f300ef14343e4e6", bytecode = "5b86f91ea85b5afdbd241b7623cbecedcb816272ca8b7250e2536955dfc55fed", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out index 6a58c2cbe3..92be5b4200 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: f408a1ea2eb74d53724ef1ffd004c190ac3586d062c27e9992582e3a002e4ff6 - unrolled_ast: f408a1ea2eb74d53724ef1ffd004c190ac3586d062c27e9992582e3a002e4ff6 - ssa_ast: a9e7ad59884a3c6aa0958eddf7b8a0e77f9fcfb81d41f2a6550515169a4277d1 - flattened_ast: 264d89b798325f71b1fbc95d09362f8f7020518c7a283ac200c44510fa676d60 - destructured_ast: 48fe8d5b30c0508afd694804818c67da804253b48e6b19050f5f9d6bc6af7cce - inlined_ast: 48fe8d5b30c0508afd694804818c67da804253b48e6b19050f5f9d6bc6af7cce - dce_ast: e985f0eee0e65ea90d9314cd333c17b4bd9ca0d546f2c7f4079afa955f1f344a - bytecode: 5e555625818b5c9c27ea28fd0679e853c7ba41d422b0b1fe4ebf1888cc810898 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "f408a1ea2eb74d53724ef1ffd004c190ac3586d062c27e9992582e3a002e4ff6", unrolled_ast = "f408a1ea2eb74d53724ef1ffd004c190ac3586d062c27e9992582e3a002e4ff6", ssa_ast = "a9e7ad59884a3c6aa0958eddf7b8a0e77f9fcfb81d41f2a6550515169a4277d1", flattened_ast = "264d89b798325f71b1fbc95d09362f8f7020518c7a283ac200c44510fa676d60", destructured_ast = "48fe8d5b30c0508afd694804818c67da804253b48e6b19050f5f9d6bc6af7cce", inlined_ast = "48fe8d5b30c0508afd694804818c67da804253b48e6b19050f5f9d6bc6af7cce", dce_ast = "e985f0eee0e65ea90d9314cd333c17b4bd9ca0d546f2c7f4079afa955f1f344a", bytecode = "5e555625818b5c9c27ea28fd0679e853c7ba41d422b0b1fe4ebf1888cc810898", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out index 9d0d34d46f..3fcef015f5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 7b45e451cd1777a58559ac04d9af6d6e1d86e65b09442ec159330a4f38b59546 - unrolled_ast: 7b45e451cd1777a58559ac04d9af6d6e1d86e65b09442ec159330a4f38b59546 - ssa_ast: f948344b4c93f2297791b903f0e2b5ae7220c77826cb04d8db1fe95a69aba719 - flattened_ast: 921d72857c375c96832749ecfe50dd3e14d87ac15f6cfbe47cbd0a954ea177cc - destructured_ast: 524918abcf48ecb982df3fa247929998abba8b72252cc10a26908c3a1bb0177e - inlined_ast: 524918abcf48ecb982df3fa247929998abba8b72252cc10a26908c3a1bb0177e - dce_ast: 4c22e9208417f9e791d9eb2d509c2ed027511bae40abcc92df98120ba16eef8f - bytecode: ac0813db87d76ebf0f8b9716b4694dd6dcd4a833bdc7b13fc297363f835a723b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "7b45e451cd1777a58559ac04d9af6d6e1d86e65b09442ec159330a4f38b59546", unrolled_ast = "7b45e451cd1777a58559ac04d9af6d6e1d86e65b09442ec159330a4f38b59546", ssa_ast = "f948344b4c93f2297791b903f0e2b5ae7220c77826cb04d8db1fe95a69aba719", flattened_ast = "921d72857c375c96832749ecfe50dd3e14d87ac15f6cfbe47cbd0a954ea177cc", destructured_ast = "524918abcf48ecb982df3fa247929998abba8b72252cc10a26908c3a1bb0177e", inlined_ast = "524918abcf48ecb982df3fa247929998abba8b72252cc10a26908c3a1bb0177e", dce_ast = "4c22e9208417f9e791d9eb2d509c2ed027511bae40abcc92df98120ba16eef8f", bytecode = "ac0813db87d76ebf0f8b9716b4694dd6dcd4a833bdc7b13fc297363f835a723b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out index a7a3eba2f8..92d5148d57 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: a7f690d5f9fdf10e4861ed37c5291db9c543859523b890b74bb80e91a460ed9b - unrolled_ast: a7f690d5f9fdf10e4861ed37c5291db9c543859523b890b74bb80e91a460ed9b - ssa_ast: 5564d4a3af024639515800558bd59978f92edca4c9efc2aa746be0d24e0dae3c - flattened_ast: 8d3444b5c693ae303e395cd8355b224f719a1a5d9189f5cd6cf58ab056d33e95 - destructured_ast: 656d5c1b8f115cdc3961e6b9396634f2e3240db6d1925bf1409f070a1bfbd25d - inlined_ast: 656d5c1b8f115cdc3961e6b9396634f2e3240db6d1925bf1409f070a1bfbd25d - dce_ast: 1a839c56a2dd66194e81afdd9b4b5be212927ae57037f8a86253bf48befd49e1 - bytecode: cda5a5c278c39eba47e30601b6d8ae039a1e9a67b514f7da166b26e47d96ad38 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "a7f690d5f9fdf10e4861ed37c5291db9c543859523b890b74bb80e91a460ed9b", unrolled_ast = "a7f690d5f9fdf10e4861ed37c5291db9c543859523b890b74bb80e91a460ed9b", ssa_ast = "5564d4a3af024639515800558bd59978f92edca4c9efc2aa746be0d24e0dae3c", flattened_ast = "8d3444b5c693ae303e395cd8355b224f719a1a5d9189f5cd6cf58ab056d33e95", destructured_ast = "656d5c1b8f115cdc3961e6b9396634f2e3240db6d1925bf1409f070a1bfbd25d", inlined_ast = "656d5c1b8f115cdc3961e6b9396634f2e3240db6d1925bf1409f070a1bfbd25d", dce_ast = "1a839c56a2dd66194e81afdd9b4b5be212927ae57037f8a86253bf48befd49e1", bytecode = "cda5a5c278c39eba47e30601b6d8ae039a1e9a67b514f7da166b26e47d96ad38", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out index cea32bf643..6405598ab0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: f4733a66bc4cddca0d350e8af547fdde33e43b715ac5105f62aed7e45503ca2f - unrolled_ast: f4733a66bc4cddca0d350e8af547fdde33e43b715ac5105f62aed7e45503ca2f - ssa_ast: 65321971d129d6995335b03474e46ceaeecf691f11e22a49add789e481594b6e - flattened_ast: 040f2ba657c6d1ced86c37d521d8b3b6ad433a043ec2e2037a872b78f4170f18 - destructured_ast: 225d62b3ae7240a81e5a9b94379c8e44543fc97a34b60ad118eef21d46ac563e - inlined_ast: 225d62b3ae7240a81e5a9b94379c8e44543fc97a34b60ad118eef21d46ac563e - dce_ast: c103e4a82ac0f087032a18d0e25ab4220164bb33aa42d610f54be19f8003b5ad - bytecode: 772c3a89be9b29a160cbddfae2d0bd3edd4bef0291f89e4e6049af2139c6239e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "f4733a66bc4cddca0d350e8af547fdde33e43b715ac5105f62aed7e45503ca2f", unrolled_ast = "f4733a66bc4cddca0d350e8af547fdde33e43b715ac5105f62aed7e45503ca2f", ssa_ast = "65321971d129d6995335b03474e46ceaeecf691f11e22a49add789e481594b6e", flattened_ast = "040f2ba657c6d1ced86c37d521d8b3b6ad433a043ec2e2037a872b78f4170f18", destructured_ast = "225d62b3ae7240a81e5a9b94379c8e44543fc97a34b60ad118eef21d46ac563e", inlined_ast = "225d62b3ae7240a81e5a9b94379c8e44543fc97a34b60ad118eef21d46ac563e", dce_ast = "c103e4a82ac0f087032a18d0e25ab4220164bb33aa42d610f54be19f8003b5ad", bytecode = "772c3a89be9b29a160cbddfae2d0bd3edd4bef0291f89e4e6049af2139c6239e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out index 5949f3d3fb..678580c1f2 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: ea822de086b74c197715a51d4a757600ea8ffdd388ae030bab9f4b6614742c37 - unrolled_ast: ea822de086b74c197715a51d4a757600ea8ffdd388ae030bab9f4b6614742c37 - ssa_ast: 7df3a178cba9d0b69b911dc44167a60972aa3c34e588bec3d57022559e9066f7 - flattened_ast: 6cc4cd251dab34f09631ef598a6a561b08398edf50dce39c252f5734c7684755 - destructured_ast: 1ad6889aec9136d62dfda9109e2acc717afaf070623bf4d8380abba3d0f4637f - inlined_ast: 1ad6889aec9136d62dfda9109e2acc717afaf070623bf4d8380abba3d0f4637f - dce_ast: 18c9c5e92f57823ecaf704b5f5635fc93c589129d0c23c11f30f652af57a9b05 - bytecode: 63efcc50150da6e754319ed894fd92dcc5adc715f39da5b2425711c347836b60 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "ea822de086b74c197715a51d4a757600ea8ffdd388ae030bab9f4b6614742c37", unrolled_ast = "ea822de086b74c197715a51d4a757600ea8ffdd388ae030bab9f4b6614742c37", ssa_ast = "7df3a178cba9d0b69b911dc44167a60972aa3c34e588bec3d57022559e9066f7", flattened_ast = "6cc4cd251dab34f09631ef598a6a561b08398edf50dce39c252f5734c7684755", destructured_ast = "1ad6889aec9136d62dfda9109e2acc717afaf070623bf4d8380abba3d0f4637f", inlined_ast = "1ad6889aec9136d62dfda9109e2acc717afaf070623bf4d8380abba3d0f4637f", dce_ast = "18c9c5e92f57823ecaf704b5f5635fc93c589129d0c23c11f30f652af57a9b05", bytecode = "63efcc50150da6e754319ed894fd92dcc5adc715f39da5b2425711c347836b60", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out index 0604cfba10..bec9629f3c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 564575f4e6373b12b437541baf545a744ce94d322c8cc9d806584d3c6f0103ce - unrolled_ast: 564575f4e6373b12b437541baf545a744ce94d322c8cc9d806584d3c6f0103ce - ssa_ast: 8a7508cf9f6617d8210ffffed2c37dc77a6ba66be481cfc63b59574f01b48113 - flattened_ast: 72154b9fb27d28872245a159162cbcdac0ce64391e0f083365407cdb0eb720a1 - destructured_ast: 25f8298e6e2c9f33fcf5861d84885361474a77f81c5d245180d158d09097398d - inlined_ast: 25f8298e6e2c9f33fcf5861d84885361474a77f81c5d245180d158d09097398d - dce_ast: a9f29be99d9d4cddb1efd8d3b2556a199ff3b26b82f4b75d751a69dba85cf3bf - bytecode: b565adbdb2ae4047f19a09589010a3dce773e907a3dd3e4b873a4a3336c68af8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "564575f4e6373b12b437541baf545a744ce94d322c8cc9d806584d3c6f0103ce", unrolled_ast = "564575f4e6373b12b437541baf545a744ce94d322c8cc9d806584d3c6f0103ce", ssa_ast = "8a7508cf9f6617d8210ffffed2c37dc77a6ba66be481cfc63b59574f01b48113", flattened_ast = "72154b9fb27d28872245a159162cbcdac0ce64391e0f083365407cdb0eb720a1", destructured_ast = "25f8298e6e2c9f33fcf5861d84885361474a77f81c5d245180d158d09097398d", inlined_ast = "25f8298e6e2c9f33fcf5861d84885361474a77f81c5d245180d158d09097398d", dce_ast = "a9f29be99d9d4cddb1efd8d3b2556a199ff3b26b82f4b75d751a69dba85cf3bf", bytecode = "b565adbdb2ae4047f19a09589010a3dce773e907a3dd3e4b873a4a3336c68af8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out index 05ad988d56..4453b3fdd6 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: bb1650e04dbda5691d388fa7084fae0615de6bf8ff6a2c337baecd93f72fadbe - unrolled_ast: bb1650e04dbda5691d388fa7084fae0615de6bf8ff6a2c337baecd93f72fadbe - ssa_ast: acdf836505e7c677d05ede8cc857a750fee9d155f897b38556806c1841b3fbee - flattened_ast: 46b32fc44e663f2812a325929e52cd084b75fa196427fc472adf1ad03b66caa1 - destructured_ast: 9be0bcbf92b813b4a1baf8f5046c80ff553901130b9444d3682b1b48dbd6a583 - inlined_ast: 9be0bcbf92b813b4a1baf8f5046c80ff553901130b9444d3682b1b48dbd6a583 - dce_ast: 45c5dfbfcfb155a61b14a260dadd1eee5117612c4d76759ba08e88e3b34a179f - bytecode: 6bb1a87b470b0a3922ff01569b69b3eb7775546b86e8ac303cb80f03ab17692d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "bb1650e04dbda5691d388fa7084fae0615de6bf8ff6a2c337baecd93f72fadbe", unrolled_ast = "bb1650e04dbda5691d388fa7084fae0615de6bf8ff6a2c337baecd93f72fadbe", ssa_ast = "acdf836505e7c677d05ede8cc857a750fee9d155f897b38556806c1841b3fbee", flattened_ast = "46b32fc44e663f2812a325929e52cd084b75fa196427fc472adf1ad03b66caa1", destructured_ast = "9be0bcbf92b813b4a1baf8f5046c80ff553901130b9444d3682b1b48dbd6a583", inlined_ast = "9be0bcbf92b813b4a1baf8f5046c80ff553901130b9444d3682b1b48dbd6a583", dce_ast = "45c5dfbfcfb155a61b14a260dadd1eee5117612c4d76759ba08e88e3b34a179f", bytecode = "6bb1a87b470b0a3922ff01569b69b3eb7775546b86e8ac303cb80f03ab17692d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out index 00ac1f7866..8805666394 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: ee4f60c5f316176f57612508cde4f131b0c2d4d243d3496abbb2dc7f8f99899d - unrolled_ast: ee4f60c5f316176f57612508cde4f131b0c2d4d243d3496abbb2dc7f8f99899d - ssa_ast: 9ffd0cf1ee7ffb34fadba77e8c360329b417d6115679bf7b1bc88d3b09effbac - flattened_ast: 89b974e2eaf8f031827080f3f9f4c1e0a096c1a6cb958751d956baa4969b637c - destructured_ast: 22cf49fcbf07f2d92ac978f9bf0b53e4fd2eefdd307fc04a6a22088a89091692 - inlined_ast: 22cf49fcbf07f2d92ac978f9bf0b53e4fd2eefdd307fc04a6a22088a89091692 - dce_ast: 1faac211d091b6dad82c9652559c60d878dfb923eea1e83888e7d7a8042fcb86 - bytecode: c8a24c75613249b3bca85b8cf50a450ffab5e3eced027b46d4ecb07fc94938fc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "ee4f60c5f316176f57612508cde4f131b0c2d4d243d3496abbb2dc7f8f99899d", unrolled_ast = "ee4f60c5f316176f57612508cde4f131b0c2d4d243d3496abbb2dc7f8f99899d", ssa_ast = "9ffd0cf1ee7ffb34fadba77e8c360329b417d6115679bf7b1bc88d3b09effbac", flattened_ast = "89b974e2eaf8f031827080f3f9f4c1e0a096c1a6cb958751d956baa4969b637c", destructured_ast = "22cf49fcbf07f2d92ac978f9bf0b53e4fd2eefdd307fc04a6a22088a89091692", inlined_ast = "22cf49fcbf07f2d92ac978f9bf0b53e4fd2eefdd307fc04a6a22088a89091692", dce_ast = "1faac211d091b6dad82c9652559c60d878dfb923eea1e83888e7d7a8042fcb86", bytecode = "c8a24c75613249b3bca85b8cf50a450ffab5e3eced027b46d4ecb07fc94938fc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out index 964ff99f3a..4cbb16f448 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 6d7537ee933b51746d93325a2d2aca7315b8ff642a78f92d3e63c4f6f54d1f82 - unrolled_ast: 6d7537ee933b51746d93325a2d2aca7315b8ff642a78f92d3e63c4f6f54d1f82 - ssa_ast: a1b8266d3af8e572e7d5aaa36922e1a0a71c37091ecd2089f67b7b27c47bf88a - flattened_ast: ee8e7f9275ec183e42cd33038a42b0c8e7534470b8655295be65210ffc998120 - destructured_ast: 9f8ec201e2c36c9798d6dd3a374e71bad9bc7a72f3e63f7f166c238aa3ac8209 - inlined_ast: 9f8ec201e2c36c9798d6dd3a374e71bad9bc7a72f3e63f7f166c238aa3ac8209 - dce_ast: 1a42396891fab9726e3a34425ce5171653680b5dedab11ea35b89b494d6a9f92 - bytecode: 4e7988f49b47d6e987d5931501b23e217ac5295f2fb3656bebb8617153c13b55 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "6d7537ee933b51746d93325a2d2aca7315b8ff642a78f92d3e63c4f6f54d1f82", unrolled_ast = "6d7537ee933b51746d93325a2d2aca7315b8ff642a78f92d3e63c4f6f54d1f82", ssa_ast = "a1b8266d3af8e572e7d5aaa36922e1a0a71c37091ecd2089f67b7b27c47bf88a", flattened_ast = "ee8e7f9275ec183e42cd33038a42b0c8e7534470b8655295be65210ffc998120", destructured_ast = "9f8ec201e2c36c9798d6dd3a374e71bad9bc7a72f3e63f7f166c238aa3ac8209", inlined_ast = "9f8ec201e2c36c9798d6dd3a374e71bad9bc7a72f3e63f7f166c238aa3ac8209", dce_ast = "1a42396891fab9726e3a34425ce5171653680b5dedab11ea35b89b494d6a9f92", bytecode = "4e7988f49b47d6e987d5931501b23e217ac5295f2fb3656bebb8617153c13b55", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out index 0ac5921c75..3dc4487704 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 9e1e981d6feb7eff67a920f434d9b7fa996e1a7d3f7ef324ca443375e3e26b08 - unrolled_ast: 9e1e981d6feb7eff67a920f434d9b7fa996e1a7d3f7ef324ca443375e3e26b08 - ssa_ast: fdfc38625f6c2298e3f63920725a6d432b9c673aeb261436e3a78f360d695558 - flattened_ast: df95d687dd5269b64204c26d363d1e0788fab1cf728f2503afe023bfaae7ce8a - destructured_ast: 222f915b75310106b189bf86a67237d4498476e5c3ee4ff508cad9a17e519215 - inlined_ast: 222f915b75310106b189bf86a67237d4498476e5c3ee4ff508cad9a17e519215 - dce_ast: 21a69ca0665b0d54c5c401ff8c62159c4b3d10531456da6730e1dc56987d4ad2 - bytecode: 96dddca27dc2e6feaa13b9f53fe1bb2180299e90860ed8c3be4f92687949f30f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "9e1e981d6feb7eff67a920f434d9b7fa996e1a7d3f7ef324ca443375e3e26b08", unrolled_ast = "9e1e981d6feb7eff67a920f434d9b7fa996e1a7d3f7ef324ca443375e3e26b08", ssa_ast = "fdfc38625f6c2298e3f63920725a6d432b9c673aeb261436e3a78f360d695558", flattened_ast = "df95d687dd5269b64204c26d363d1e0788fab1cf728f2503afe023bfaae7ce8a", destructured_ast = "222f915b75310106b189bf86a67237d4498476e5c3ee4ff508cad9a17e519215", inlined_ast = "222f915b75310106b189bf86a67237d4498476e5c3ee4ff508cad9a17e519215", dce_ast = "21a69ca0665b0d54c5c401ff8c62159c4b3d10531456da6730e1dc56987d4ad2", bytecode = "96dddca27dc2e6feaa13b9f53fe1bb2180299e90860ed8c3be4f92687949f30f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out index f0f6bc17a9..617270c46f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: 8c3c3ee913d30cec14aac66a3ebec4e26f52b701c055da68b865a78f1bb02b09 - unrolled_ast: 8c3c3ee913d30cec14aac66a3ebec4e26f52b701c055da68b865a78f1bb02b09 - ssa_ast: 9f318d9e4bb2499591fbd2e00d6351c22a2358de2d161909dd1eaec7678883bc - flattened_ast: 91afb7de33059bde04c931844797467a691972eb27d1d1a5f189938270b0309b - destructured_ast: 0f87faedf33eadd3bd6e4e0132c6f57625fbf89a5b96a38cea828a39ba3ef4e4 - inlined_ast: 0f87faedf33eadd3bd6e4e0132c6f57625fbf89a5b96a38cea828a39ba3ef4e4 - dce_ast: 36c799bc081842581f4523788b6130ce459e264fd4db9e2004b5ea23c278808f - bytecode: 3ab4dfa32ff8135e1878b8fda9bc1d0688c959e520d9bcac13f7128048ddca70 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "8c3c3ee913d30cec14aac66a3ebec4e26f52b701c055da68b865a78f1bb02b09", unrolled_ast = "8c3c3ee913d30cec14aac66a3ebec4e26f52b701c055da68b865a78f1bb02b09", ssa_ast = "9f318d9e4bb2499591fbd2e00d6351c22a2358de2d161909dd1eaec7678883bc", flattened_ast = "91afb7de33059bde04c931844797467a691972eb27d1d1a5f189938270b0309b", destructured_ast = "0f87faedf33eadd3bd6e4e0132c6f57625fbf89a5b96a38cea828a39ba3ef4e4", inlined_ast = "0f87faedf33eadd3bd6e4e0132c6f57625fbf89a5b96a38cea828a39ba3ef4e4", dce_ast = "36c799bc081842581f4523788b6130ce459e264fd4db9e2004b5ea23c278808f", bytecode = "3ab4dfa32ff8135e1878b8fda9bc1d0688c959e520d9bcac13f7128048ddca70", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out index 5894c95f6b..40dcf12b9b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 809e522a97319e26936730436d965cafd891d81f25cb06d55a64d162a3150af4 - unrolled_ast: 809e522a97319e26936730436d965cafd891d81f25cb06d55a64d162a3150af4 - ssa_ast: 084be717b0c1df862b1ace8c9c23502229bcd1dccc6b18b8f2f6d570eb49dfff - flattened_ast: 932cf6b59e89ccb25b5c696d2230b890a4908d47c2dc657fdc26bd3f25d5259c - destructured_ast: 805a82b294cbdf098b6ac664076f77a6ca4b53011d557ca9aedb0fceeee864c0 - inlined_ast: 805a82b294cbdf098b6ac664076f77a6ca4b53011d557ca9aedb0fceeee864c0 - dce_ast: 6ce5b75c99ffaf52f71f87e5d54a26322407890f726f6e0fe8cdb65cd34b08ef - bytecode: ce3656eda78b090739dad77c6fbcf5e3cf43a1327a367b01504913a37ca7ee3c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "809e522a97319e26936730436d965cafd891d81f25cb06d55a64d162a3150af4", unrolled_ast = "809e522a97319e26936730436d965cafd891d81f25cb06d55a64d162a3150af4", ssa_ast = "084be717b0c1df862b1ace8c9c23502229bcd1dccc6b18b8f2f6d570eb49dfff", flattened_ast = "932cf6b59e89ccb25b5c696d2230b890a4908d47c2dc657fdc26bd3f25d5259c", destructured_ast = "805a82b294cbdf098b6ac664076f77a6ca4b53011d557ca9aedb0fceeee864c0", inlined_ast = "805a82b294cbdf098b6ac664076f77a6ca4b53011d557ca9aedb0fceeee864c0", dce_ast = "6ce5b75c99ffaf52f71f87e5d54a26322407890f726f6e0fe8cdb65cd34b08ef", bytecode = "ce3656eda78b090739dad77c6fbcf5e3cf43a1327a367b01504913a37ca7ee3c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out index 723cc6fe7c..69d468dab5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 913aaf9590b036c45a6aff322458b70e7fa8d2223c6afba92ad58507eea4c64a - unrolled_ast: 913aaf9590b036c45a6aff322458b70e7fa8d2223c6afba92ad58507eea4c64a - ssa_ast: ff280e316fa470880a27669605305a3500f5c9bf58ae8ee5eea1bb3cb4d438bc - flattened_ast: ab88b31abf8f6ac0a759cc7ebfa60f9266726184f3e488add4f02ebd8dae1e13 - destructured_ast: e6259a369a77290cb27d1e50eaaf1b388beae03aafb52b754fd8a6b6b8ccf31a - inlined_ast: e6259a369a77290cb27d1e50eaaf1b388beae03aafb52b754fd8a6b6b8ccf31a - dce_ast: 88cb819df191958d934a2757cf083c353424174ded80d7516f93945da1c86b19 - bytecode: f9f56b97798b2dca8b9631e0e5d25ed37780f634a407e53c88cded45c80c07eb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "913aaf9590b036c45a6aff322458b70e7fa8d2223c6afba92ad58507eea4c64a", unrolled_ast = "913aaf9590b036c45a6aff322458b70e7fa8d2223c6afba92ad58507eea4c64a", ssa_ast = "ff280e316fa470880a27669605305a3500f5c9bf58ae8ee5eea1bb3cb4d438bc", flattened_ast = "ab88b31abf8f6ac0a759cc7ebfa60f9266726184f3e488add4f02ebd8dae1e13", destructured_ast = "e6259a369a77290cb27d1e50eaaf1b388beae03aafb52b754fd8a6b6b8ccf31a", inlined_ast = "e6259a369a77290cb27d1e50eaaf1b388beae03aafb52b754fd8a6b6b8ccf31a", dce_ast = "88cb819df191958d934a2757cf083c353424174ded80d7516f93945da1c86b19", bytecode = "f9f56b97798b2dca8b9631e0e5d25ed37780f634a407e53c88cded45c80c07eb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out index 6a035fa394..bfec2658f8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: f3ecdb06b489edec882570532e6b6cfe1a0414fc505ebbd396d7872f5a34f306 - unrolled_ast: f3ecdb06b489edec882570532e6b6cfe1a0414fc505ebbd396d7872f5a34f306 - ssa_ast: f5b8fd722f3f6c8f37836b7798e0b8cbc85df6a88cc6c352df64f397e9bc1b22 - flattened_ast: d0dc43aae4eade3fd602297a0cd83a75ce57be8417ed482d9b9f52876837ece7 - destructured_ast: 1af79fa10ad46976e61b8e5e58f702ce812d1492cf746225fca43021310ff39a - inlined_ast: 1af79fa10ad46976e61b8e5e58f702ce812d1492cf746225fca43021310ff39a - dce_ast: 39f89e6eb4c6ea1834731ce1d86a7c4bc684631ffbf42be5bd9a9606415247f5 - bytecode: 088c87d540f9f654d25de5dfcdb4b6c796c1840e2454691523b7e2f18f4a9a60 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "f3ecdb06b489edec882570532e6b6cfe1a0414fc505ebbd396d7872f5a34f306", unrolled_ast = "f3ecdb06b489edec882570532e6b6cfe1a0414fc505ebbd396d7872f5a34f306", ssa_ast = "f5b8fd722f3f6c8f37836b7798e0b8cbc85df6a88cc6c352df64f397e9bc1b22", flattened_ast = "d0dc43aae4eade3fd602297a0cd83a75ce57be8417ed482d9b9f52876837ece7", destructured_ast = "1af79fa10ad46976e61b8e5e58f702ce812d1492cf746225fca43021310ff39a", inlined_ast = "1af79fa10ad46976e61b8e5e58f702ce812d1492cf746225fca43021310ff39a", dce_ast = "39f89e6eb4c6ea1834731ce1d86a7c4bc684631ffbf42be5bd9a9606415247f5", bytecode = "088c87d540f9f654d25de5dfcdb4b6c796c1840e2454691523b7e2f18f4a9a60", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out index 4f8d298771..c0c8f9b459 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: c22554507a52c39fa2dc0b2bd5e706eb40e537c141c5c79c1563e53f2c9d6a9a - unrolled_ast: c22554507a52c39fa2dc0b2bd5e706eb40e537c141c5c79c1563e53f2c9d6a9a - ssa_ast: b4767f26617ac261ca3d0ffd6456ae8c05cb3a798010ad5c6b12487ef3c5db90 - flattened_ast: d2faf7cf2cea9d5912b1bcd0954d6d14db20c840c200411218a855c314f8507d - destructured_ast: 5418ebd393bf8a00318a2f2427fee33e02202f824028906ada449b15d1a74a8d - inlined_ast: 5418ebd393bf8a00318a2f2427fee33e02202f824028906ada449b15d1a74a8d - dce_ast: 906fc44e416c70828e5221d29cdcfaf17b74f80a4136b1fe4feefdcb59d978f0 - bytecode: ad4af37b670727cb59618e798445bceef3725386a61cdcb7e0f829c3cb895a8e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "c22554507a52c39fa2dc0b2bd5e706eb40e537c141c5c79c1563e53f2c9d6a9a", unrolled_ast = "c22554507a52c39fa2dc0b2bd5e706eb40e537c141c5c79c1563e53f2c9d6a9a", ssa_ast = "b4767f26617ac261ca3d0ffd6456ae8c05cb3a798010ad5c6b12487ef3c5db90", flattened_ast = "d2faf7cf2cea9d5912b1bcd0954d6d14db20c840c200411218a855c314f8507d", destructured_ast = "5418ebd393bf8a00318a2f2427fee33e02202f824028906ada449b15d1a74a8d", inlined_ast = "5418ebd393bf8a00318a2f2427fee33e02202f824028906ada449b15d1a74a8d", dce_ast = "906fc44e416c70828e5221d29cdcfaf17b74f80a4136b1fe4feefdcb59d978f0", bytecode = "ad4af37b670727cb59618e798445bceef3725386a61cdcb7e0f829c3cb895a8e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out index ce25fd56be..5730427f3d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 63cf391a302c5a16dde79e1bbf9b2dcbc474d0ba6ab04a261d8187cb1206e9a4 - unrolled_ast: 63cf391a302c5a16dde79e1bbf9b2dcbc474d0ba6ab04a261d8187cb1206e9a4 - ssa_ast: 782efa5a3599fddf556e2477f5f9d921ee26ed0b526bd3bed574ad5dd809da4e - flattened_ast: f6774b66177923fea86808b0516cd14a4d712cab54801fb346366378228fac60 - destructured_ast: a5a980b7b318f2906926d39b6b2fb8abf8d3ff91dfd944a4f2988348ecefba37 - inlined_ast: a5a980b7b318f2906926d39b6b2fb8abf8d3ff91dfd944a4f2988348ecefba37 - dce_ast: 4ea3b0e6554811354c802d8f7c778c8319f4a5f07c11010c4cc139da22a1d5ac - bytecode: 9da4e5b0bf8b86b933224f69aa4751108e1eceb8c8b0b79fb31e3b8403fab161 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "63cf391a302c5a16dde79e1bbf9b2dcbc474d0ba6ab04a261d8187cb1206e9a4", unrolled_ast = "63cf391a302c5a16dde79e1bbf9b2dcbc474d0ba6ab04a261d8187cb1206e9a4", ssa_ast = "782efa5a3599fddf556e2477f5f9d921ee26ed0b526bd3bed574ad5dd809da4e", flattened_ast = "f6774b66177923fea86808b0516cd14a4d712cab54801fb346366378228fac60", destructured_ast = "a5a980b7b318f2906926d39b6b2fb8abf8d3ff91dfd944a4f2988348ecefba37", inlined_ast = "a5a980b7b318f2906926d39b6b2fb8abf8d3ff91dfd944a4f2988348ecefba37", dce_ast = "4ea3b0e6554811354c802d8f7c778c8319f4a5f07c11010c4cc139da22a1d5ac", bytecode = "9da4e5b0bf8b86b933224f69aa4751108e1eceb8c8b0b79fb31e3b8403fab161", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out index 95e3992f67..73be4c94e9 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: d3ee63ba4d7268393907d4e0eca081f3db1e9ec5357904551691b3755a80d47a - unrolled_ast: d3ee63ba4d7268393907d4e0eca081f3db1e9ec5357904551691b3755a80d47a - ssa_ast: 65c2712e74359c63d261c520c15d22c20243eaf011a669db2eb6df18897f6ff6 - flattened_ast: 8c30005ef561aeffb0d8767e1d5f9518b8f5a3e732ef09d573d4d3ab2045ca07 - destructured_ast: b959d22c25d8c573f2be98b4000d2acc29c46be8d57604ea9380626b03652ff9 - inlined_ast: b959d22c25d8c573f2be98b4000d2acc29c46be8d57604ea9380626b03652ff9 - dce_ast: f1cce96804179d4b902cda1c86a3d93e7480978d4f9d1d7744b489ecb0fcf2d1 - bytecode: b84d6d5eae32aa8692a6933af7717cb987b65921565da007af31391f40f70fd8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "d3ee63ba4d7268393907d4e0eca081f3db1e9ec5357904551691b3755a80d47a", unrolled_ast = "d3ee63ba4d7268393907d4e0eca081f3db1e9ec5357904551691b3755a80d47a", ssa_ast = "65c2712e74359c63d261c520c15d22c20243eaf011a669db2eb6df18897f6ff6", flattened_ast = "8c30005ef561aeffb0d8767e1d5f9518b8f5a3e732ef09d573d4d3ab2045ca07", destructured_ast = "b959d22c25d8c573f2be98b4000d2acc29c46be8d57604ea9380626b03652ff9", inlined_ast = "b959d22c25d8c573f2be98b4000d2acc29c46be8d57604ea9380626b03652ff9", dce_ast = "f1cce96804179d4b902cda1c86a3d93e7480978d4f9d1d7744b489ecb0fcf2d1", bytecode = "b84d6d5eae32aa8692a6933af7717cb987b65921565da007af31391f40f70fd8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out index ad39947dab..5b438f8abe 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: c99a58051d5cc5187a6402726f8ba001e03333d3b2298de813a46f4aad889f2d - unrolled_ast: c99a58051d5cc5187a6402726f8ba001e03333d3b2298de813a46f4aad889f2d - ssa_ast: 0d2cdec54b1641aafcaa28a4e339a443ce57f0a3bdd6f22a1dc39f02b5dba9f0 - flattened_ast: f2c381e4c8fbed78a982a6186602526d8899bec45167e975baca81793dfd32a3 - destructured_ast: d1b800bd754cf87e7a78b7623586b7fc82e6d6a5f23794a20feea74eedd14507 - inlined_ast: d1b800bd754cf87e7a78b7623586b7fc82e6d6a5f23794a20feea74eedd14507 - dce_ast: e1b8f81f24efa30178177af10e77a3f252dfbb2824186a061a077fe650d9b069 - bytecode: 201d3f7e82902483df6d8aa7457d8d8f595c03ce4ea0e2e7fb355eb3af50e1b8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "c99a58051d5cc5187a6402726f8ba001e03333d3b2298de813a46f4aad889f2d", unrolled_ast = "c99a58051d5cc5187a6402726f8ba001e03333d3b2298de813a46f4aad889f2d", ssa_ast = "0d2cdec54b1641aafcaa28a4e339a443ce57f0a3bdd6f22a1dc39f02b5dba9f0", flattened_ast = "f2c381e4c8fbed78a982a6186602526d8899bec45167e975baca81793dfd32a3", destructured_ast = "d1b800bd754cf87e7a78b7623586b7fc82e6d6a5f23794a20feea74eedd14507", inlined_ast = "d1b800bd754cf87e7a78b7623586b7fc82e6d6a5f23794a20feea74eedd14507", dce_ast = "e1b8f81f24efa30178177af10e77a3f252dfbb2824186a061a077fe650d9b069", bytecode = "201d3f7e82902483df6d8aa7457d8d8f595c03ce4ea0e2e7fb355eb3af50e1b8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out index 6988af402a..9a51b0e184 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: b8fcebf03abe1036145e4bbe5648bc5ef97533dff35bb04dc55a82641e1903bb - unrolled_ast: b8fcebf03abe1036145e4bbe5648bc5ef97533dff35bb04dc55a82641e1903bb - ssa_ast: 7744090e575da126d59c5404b42fc8183804f171a1cddc5d833c850dc337fbb2 - flattened_ast: 597fcff0e883eaa4ebd1c6dbc670fa281d7c8b05ace1d0aa1f7b04a863499812 - destructured_ast: bc8d1016eaa1487f1ee5ef7c528316d3c0765bdfc4ef46472f9fd661fb8c7f61 - inlined_ast: bc8d1016eaa1487f1ee5ef7c528316d3c0765bdfc4ef46472f9fd661fb8c7f61 - dce_ast: 938bcdd0f4345e9c3d49c30c703ec3e60f5f2dc5bdcbe1a5e3a02a50b3a099a7 - bytecode: 15ee84b84f4b413e4c96708f16429984ec205133436db20c2b2a709a136029e6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "b8fcebf03abe1036145e4bbe5648bc5ef97533dff35bb04dc55a82641e1903bb", unrolled_ast = "b8fcebf03abe1036145e4bbe5648bc5ef97533dff35bb04dc55a82641e1903bb", ssa_ast = "7744090e575da126d59c5404b42fc8183804f171a1cddc5d833c850dc337fbb2", flattened_ast = "597fcff0e883eaa4ebd1c6dbc670fa281d7c8b05ace1d0aa1f7b04a863499812", destructured_ast = "bc8d1016eaa1487f1ee5ef7c528316d3c0765bdfc4ef46472f9fd661fb8c7f61", inlined_ast = "bc8d1016eaa1487f1ee5ef7c528316d3c0765bdfc4ef46472f9fd661fb8c7f61", dce_ast = "938bcdd0f4345e9c3d49c30c703ec3e60f5f2dc5bdcbe1a5e3a02a50b3a099a7", bytecode = "15ee84b84f4b413e4c96708f16429984ec205133436db20c2b2a709a136029e6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out index 5582f5583a..299c43bab8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 8a8959681eb6ba84ccc3524c3c93d423b01dcba516a72e37e82944a0744be54b - unrolled_ast: 8a8959681eb6ba84ccc3524c3c93d423b01dcba516a72e37e82944a0744be54b - ssa_ast: 800902faf5921129f9c8b6415b56c994f6e1c46064fa3c8bfee36b3aff461f22 - flattened_ast: 44346f8c071c2bade8aa466554f513ed1ae6a23bbec68fafd232d9c4d5d6aecf - destructured_ast: 519c56dd311791ae18048cc10fce3b869592abb6a46133c506cbf381e3add3e4 - inlined_ast: 519c56dd311791ae18048cc10fce3b869592abb6a46133c506cbf381e3add3e4 - dce_ast: 259ab1eef5667a691847fac77945a73bd0653b788b118988076508da1378f0a6 - bytecode: 6a667db0987376b81e0e57620a5044fbbb4803131bd2c55d2b58fe238df51a3e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "8a8959681eb6ba84ccc3524c3c93d423b01dcba516a72e37e82944a0744be54b", unrolled_ast = "8a8959681eb6ba84ccc3524c3c93d423b01dcba516a72e37e82944a0744be54b", ssa_ast = "800902faf5921129f9c8b6415b56c994f6e1c46064fa3c8bfee36b3aff461f22", flattened_ast = "44346f8c071c2bade8aa466554f513ed1ae6a23bbec68fafd232d9c4d5d6aecf", destructured_ast = "519c56dd311791ae18048cc10fce3b869592abb6a46133c506cbf381e3add3e4", inlined_ast = "519c56dd311791ae18048cc10fce3b869592abb6a46133c506cbf381e3add3e4", dce_ast = "259ab1eef5667a691847fac77945a73bd0653b788b118988076508da1378f0a6", bytecode = "6a667db0987376b81e0e57620a5044fbbb4803131bd2c55d2b58fe238df51a3e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out index ed72f2d231..a91b3a285c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: 6ef04889ddaa77a5b9307ccf41746047b642577e0274e8e095dd50adab77f259 - unrolled_ast: 6ef04889ddaa77a5b9307ccf41746047b642577e0274e8e095dd50adab77f259 - ssa_ast: fb6cac3c3e632a0a39a6467378bbda251bde571fd0905409d32b16469dc93ece - flattened_ast: 74601f20d70267be259db14bb36815c8311bb2d39d37b91270d9c31c522d3c70 - destructured_ast: 76d28123bbf3e44d31181e52b4a5cd478503105b57e027abd4cda627e6630afd - inlined_ast: 76d28123bbf3e44d31181e52b4a5cd478503105b57e027abd4cda627e6630afd - dce_ast: ecf71b8e2d496188c53db6dc8bc970c2dcb15bce1614ec871f72cd9477c31211 - bytecode: 9ea59902cbc6e8126f78f801de5621ef7927e0ff7ec19bf24a5849a52ba46ffa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "6ef04889ddaa77a5b9307ccf41746047b642577e0274e8e095dd50adab77f259", unrolled_ast = "6ef04889ddaa77a5b9307ccf41746047b642577e0274e8e095dd50adab77f259", ssa_ast = "fb6cac3c3e632a0a39a6467378bbda251bde571fd0905409d32b16469dc93ece", flattened_ast = "74601f20d70267be259db14bb36815c8311bb2d39d37b91270d9c31c522d3c70", destructured_ast = "76d28123bbf3e44d31181e52b4a5cd478503105b57e027abd4cda627e6630afd", inlined_ast = "76d28123bbf3e44d31181e52b4a5cd478503105b57e027abd4cda627e6630afd", dce_ast = "ecf71b8e2d496188c53db6dc8bc970c2dcb15bce1614ec871f72cd9477c31211", bytecode = "9ea59902cbc6e8126f78f801de5621ef7927e0ff7ec19bf24a5849a52ba46ffa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out index e41858ac1d..66d81116e8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: c2cd904f9ff2b53dd22d7ac9884433de236f0718691f36f41ad4400ccfcdc8d7 - unrolled_ast: c2cd904f9ff2b53dd22d7ac9884433de236f0718691f36f41ad4400ccfcdc8d7 - ssa_ast: 3c17bf2b3ad8c7d4aa6e9794057e326641325088966dbd5fba3252e7f5ed47cc - flattened_ast: 49192f6707c27d69d754b79e554e29f942b995482fbdc8eddfd7f2f54b56c414 - destructured_ast: 2b12033cc76187696a1a4f7eff994c09e3137ec77e7c803c23651b9c90594796 - inlined_ast: 2b12033cc76187696a1a4f7eff994c09e3137ec77e7c803c23651b9c90594796 - dce_ast: 3b7f4a85737ad47f1d661568a401e3c7c2b89adfb448382c6508082295aee0d1 - bytecode: 92748b91d172e56a27635bf305f8f8c29d6a18e19e1e0ad6b06b2b3bb028925a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "c2cd904f9ff2b53dd22d7ac9884433de236f0718691f36f41ad4400ccfcdc8d7", unrolled_ast = "c2cd904f9ff2b53dd22d7ac9884433de236f0718691f36f41ad4400ccfcdc8d7", ssa_ast = "3c17bf2b3ad8c7d4aa6e9794057e326641325088966dbd5fba3252e7f5ed47cc", flattened_ast = "49192f6707c27d69d754b79e554e29f942b995482fbdc8eddfd7f2f54b56c414", destructured_ast = "2b12033cc76187696a1a4f7eff994c09e3137ec77e7c803c23651b9c90594796", inlined_ast = "2b12033cc76187696a1a4f7eff994c09e3137ec77e7c803c23651b9c90594796", dce_ast = "3b7f4a85737ad47f1d661568a401e3c7c2b89adfb448382c6508082295aee0d1", bytecode = "92748b91d172e56a27635bf305f8f8c29d6a18e19e1e0ad6b06b2b3bb028925a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out index f0afd3266a..8abf1c2adc 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 0219892567a6b33def9f6105d7d8a09c9242fa4745ab19ea8e48d12115d8ba20 - unrolled_ast: 0219892567a6b33def9f6105d7d8a09c9242fa4745ab19ea8e48d12115d8ba20 - ssa_ast: 2a5086d81441cbf5d429710c89afab365b346913b2b5bf46b5c350d820af23f2 - flattened_ast: 9d40a2dd4e5f2931000afacf0b96b64d2a5c2d3b5de40c21773a1668c3e59b03 - destructured_ast: d7204f01b4217c8df75a18d764bc3410df629c6a29502332eb0dd4c5eda9d353 - inlined_ast: d7204f01b4217c8df75a18d764bc3410df629c6a29502332eb0dd4c5eda9d353 - dce_ast: 0fda7fb582c7ed29083e34fcb2773dfa46d47c9616ef9397f0a82be465680ad6 - bytecode: 590389deb5b7da7e5210fcae5fed44bddf2b1a0bd6d2b30817eb650dd5efa343 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "0219892567a6b33def9f6105d7d8a09c9242fa4745ab19ea8e48d12115d8ba20", unrolled_ast = "0219892567a6b33def9f6105d7d8a09c9242fa4745ab19ea8e48d12115d8ba20", ssa_ast = "2a5086d81441cbf5d429710c89afab365b346913b2b5bf46b5c350d820af23f2", flattened_ast = "9d40a2dd4e5f2931000afacf0b96b64d2a5c2d3b5de40c21773a1668c3e59b03", destructured_ast = "d7204f01b4217c8df75a18d764bc3410df629c6a29502332eb0dd4c5eda9d353", inlined_ast = "d7204f01b4217c8df75a18d764bc3410df629c6a29502332eb0dd4c5eda9d353", dce_ast = "0fda7fb582c7ed29083e34fcb2773dfa46d47c9616ef9397f0a82be465680ad6", bytecode = "590389deb5b7da7e5210fcae5fed44bddf2b1a0bd6d2b30817eb650dd5efa343", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out index 0eb9f93966..abcc1db4b4 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: 8a2829ac025a0fe899c1cba30f6860be3cde6e9eaf0cba5fcb09595d0dd4e241 - unrolled_ast: 8a2829ac025a0fe899c1cba30f6860be3cde6e9eaf0cba5fcb09595d0dd4e241 - ssa_ast: 4b1899b900bec14033efa872cf3413e2f275771596eca682e31a880a8e1b14c4 - flattened_ast: 708ac258505acf4018a89cef8145aeeed13ea8d5a4ba43c80fcf59d940df91bf - destructured_ast: 1450d18b1770459b545c8d0fb7f36f59c000122c55a879c6cefab3048a283e6f - inlined_ast: 1450d18b1770459b545c8d0fb7f36f59c000122c55a879c6cefab3048a283e6f - dce_ast: 6c154619844b2ad895e7a659ab4da865ce8a585a18e0fd2720edf6f7e565a760 - bytecode: 6ae1c5f0b41e9982c661326ee81b26e8c0b6d400f5a8454117984c37ab4e492a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "8a2829ac025a0fe899c1cba30f6860be3cde6e9eaf0cba5fcb09595d0dd4e241", unrolled_ast = "8a2829ac025a0fe899c1cba30f6860be3cde6e9eaf0cba5fcb09595d0dd4e241", ssa_ast = "4b1899b900bec14033efa872cf3413e2f275771596eca682e31a880a8e1b14c4", flattened_ast = "708ac258505acf4018a89cef8145aeeed13ea8d5a4ba43c80fcf59d940df91bf", destructured_ast = "1450d18b1770459b545c8d0fb7f36f59c000122c55a879c6cefab3048a283e6f", inlined_ast = "1450d18b1770459b545c8d0fb7f36f59c000122c55a879c6cefab3048a283e6f", dce_ast = "6c154619844b2ad895e7a659ab4da865ce8a585a18e0fd2720edf6f7e565a760", bytecode = "6ae1c5f0b41e9982c661326ee81b26e8c0b6d400f5a8454117984c37ab4e492a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out index e4c550ea99..575a22fbd0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: d5c535250da9b9a05592b1a0543d2520c8ee90c6378a51446f44f4f56ab83135 - unrolled_ast: d5c535250da9b9a05592b1a0543d2520c8ee90c6378a51446f44f4f56ab83135 - ssa_ast: ade2a8f25360850e57f37e862392a0efc1784a4b3249c7ae931f80cd45e4fd9b - flattened_ast: 6f14d2cc73d4815c918a4a123070a1602dc15736b579e9404a58ffd1f7b73eab - destructured_ast: 9b13bdf83e230b0f05d1255df2e19c57652a6a1070ed1d270672921d278cddec - inlined_ast: 9b13bdf83e230b0f05d1255df2e19c57652a6a1070ed1d270672921d278cddec - dce_ast: e1e8189a21ef91ae7fc59993edc82734827eb268e954a287bb04edf64eb57beb - bytecode: baa423f7d34847421a44a1ccfede64fb02829a7d99c465b0605f85cf20705986 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "d5c535250da9b9a05592b1a0543d2520c8ee90c6378a51446f44f4f56ab83135", unrolled_ast = "d5c535250da9b9a05592b1a0543d2520c8ee90c6378a51446f44f4f56ab83135", ssa_ast = "ade2a8f25360850e57f37e862392a0efc1784a4b3249c7ae931f80cd45e4fd9b", flattened_ast = "6f14d2cc73d4815c918a4a123070a1602dc15736b579e9404a58ffd1f7b73eab", destructured_ast = "9b13bdf83e230b0f05d1255df2e19c57652a6a1070ed1d270672921d278cddec", inlined_ast = "9b13bdf83e230b0f05d1255df2e19c57652a6a1070ed1d270672921d278cddec", dce_ast = "e1e8189a21ef91ae7fc59993edc82734827eb268e954a287bb04edf64eb57beb", bytecode = "baa423f7d34847421a44a1ccfede64fb02829a7d99c465b0605f85cf20705986", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out index 438cd55e1e..63c6dabcdc 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 9ab673743f3594d0979bdab5fcc40d7eff16e8a010a7e78c494c6b6253c49b42 - unrolled_ast: 9ab673743f3594d0979bdab5fcc40d7eff16e8a010a7e78c494c6b6253c49b42 - ssa_ast: 6a33264186dbca4f84dbfda9550b9ebc1f343b7d2c05164ed66d781d658708a3 - flattened_ast: 93a762fef97c9afee0f6f904e8977445bfdb28c67b661641e78a88d03c565edb - destructured_ast: 89b71b66017fb49d87105014799b40b0c5e4f3da1983566ce4610604f5f95936 - inlined_ast: 89b71b66017fb49d87105014799b40b0c5e4f3da1983566ce4610604f5f95936 - dce_ast: d830edb12dc5ce2d45cd99c4f144feb768c88804eb55bdb1c7aa968ded1e0c87 - bytecode: 4d5b9ec6fd0830de759b0df4e24136712875ed4bac5aca6ff53d8a6938693f56 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "9ab673743f3594d0979bdab5fcc40d7eff16e8a010a7e78c494c6b6253c49b42", unrolled_ast = "9ab673743f3594d0979bdab5fcc40d7eff16e8a010a7e78c494c6b6253c49b42", ssa_ast = "6a33264186dbca4f84dbfda9550b9ebc1f343b7d2c05164ed66d781d658708a3", flattened_ast = "93a762fef97c9afee0f6f904e8977445bfdb28c67b661641e78a88d03c565edb", destructured_ast = "89b71b66017fb49d87105014799b40b0c5e4f3da1983566ce4610604f5f95936", inlined_ast = "89b71b66017fb49d87105014799b40b0c5e4f3da1983566ce4610604f5f95936", dce_ast = "d830edb12dc5ce2d45cd99c4f144feb768c88804eb55bdb1c7aa968ded1e0c87", bytecode = "4d5b9ec6fd0830de759b0df4e24136712875ed4bac5aca6ff53d8a6938693f56", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out index a09bc35cc1..9fc3ae9c54 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: cfd38b25169a6a9a4e582c2192fd35bd5f75df99ba69603139810b73abd5bf02 - unrolled_ast: cfd38b25169a6a9a4e582c2192fd35bd5f75df99ba69603139810b73abd5bf02 - ssa_ast: 3d3df77a510a6dacfe7c5c7baddf7a3d583f1a65029991ddd759974cf246e769 - flattened_ast: 9885970843ae001071c5873488c1e73f3383922fdf8ea61d4177cc4b52715285 - destructured_ast: 942ba0190600c00466f55b5784f0793aba749b7a39ea34aba6715fcb65f6e54f - inlined_ast: 942ba0190600c00466f55b5784f0793aba749b7a39ea34aba6715fcb65f6e54f - dce_ast: e6ba927ef5c9cfc65bd0949e67a12146d01e0aca1dbd80cd91582c00f6e41f94 - bytecode: dae1414959e50ca77ecae476843824b6220aa3ca4e95ab2a98deaa4b78987bc7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "cfd38b25169a6a9a4e582c2192fd35bd5f75df99ba69603139810b73abd5bf02", unrolled_ast = "cfd38b25169a6a9a4e582c2192fd35bd5f75df99ba69603139810b73abd5bf02", ssa_ast = "3d3df77a510a6dacfe7c5c7baddf7a3d583f1a65029991ddd759974cf246e769", flattened_ast = "9885970843ae001071c5873488c1e73f3383922fdf8ea61d4177cc4b52715285", destructured_ast = "942ba0190600c00466f55b5784f0793aba749b7a39ea34aba6715fcb65f6e54f", inlined_ast = "942ba0190600c00466f55b5784f0793aba749b7a39ea34aba6715fcb65f6e54f", dce_ast = "e6ba927ef5c9cfc65bd0949e67a12146d01e0aca1dbd80cd91582c00f6e41f94", bytecode = "dae1414959e50ca77ecae476843824b6220aa3ca4e95ab2a98deaa4b78987bc7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out index 3081930f84..18eae5c117 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: 8d0eb730df6c236c4ce33fef6479ee55a30474b53850424c5cbe2b1544f1be07 - unrolled_ast: 8d0eb730df6c236c4ce33fef6479ee55a30474b53850424c5cbe2b1544f1be07 - ssa_ast: 10a89e419d3b7b02bee6a6efbd1318ded6beae1e4784cbbc3ebdaf2fc9d68ff9 - flattened_ast: 346ac5476f2410177a7adc05c61a1f1c1d8b6840b3db1a82193a19410d22f618 - destructured_ast: cdebe1f7a58754d7699074304c9d544d713b35d571282f2e266dd6879750835f - inlined_ast: cdebe1f7a58754d7699074304c9d544d713b35d571282f2e266dd6879750835f - dce_ast: 9c400b98eca3a3eb0f3ed05514becedcfd94f7150df1cb9c6ab03978399fa666 - bytecode: 770f2acaaeeba1f46a6b57a837f4abab295fe19070a150e6f59fc4e8d4cb19fa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "8d0eb730df6c236c4ce33fef6479ee55a30474b53850424c5cbe2b1544f1be07", unrolled_ast = "8d0eb730df6c236c4ce33fef6479ee55a30474b53850424c5cbe2b1544f1be07", ssa_ast = "10a89e419d3b7b02bee6a6efbd1318ded6beae1e4784cbbc3ebdaf2fc9d68ff9", flattened_ast = "346ac5476f2410177a7adc05c61a1f1c1d8b6840b3db1a82193a19410d22f618", destructured_ast = "cdebe1f7a58754d7699074304c9d544d713b35d571282f2e266dd6879750835f", inlined_ast = "cdebe1f7a58754d7699074304c9d544d713b35d571282f2e266dd6879750835f", dce_ast = "9c400b98eca3a3eb0f3ed05514becedcfd94f7150df1cb9c6ab03978399fa666", bytecode = "770f2acaaeeba1f46a6b57a837f4abab295fe19070a150e6f59fc4e8d4cb19fa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out index c3e81ada3e..907ba35c6c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: b0f80eef333158a3dedc3b31aa88c1073f10423c52b26169c2be1aa23bcb7127 - unrolled_ast: b0f80eef333158a3dedc3b31aa88c1073f10423c52b26169c2be1aa23bcb7127 - ssa_ast: eba91b49ba040c117e2b24cce084c0d4fb3db081c8f4424b985d469db0577c65 - flattened_ast: a5bcf17fbdd950885e4e8f08f288fc9850fb04a0d1427eeee22fc62baf47b171 - destructured_ast: d291fc8b68267a25818d55f4e47d8a338537ac6cb027025c06e9d48b406c221b - inlined_ast: d291fc8b68267a25818d55f4e47d8a338537ac6cb027025c06e9d48b406c221b - dce_ast: 60ea36ee353326fbb6b95478a2010f27883daf2b6db2050c9b6b5669e3a526a5 - bytecode: 2827725e28e621b51cf5a40a1979da7558af0ec1e7e260b1ec255c169efd7948 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "b0f80eef333158a3dedc3b31aa88c1073f10423c52b26169c2be1aa23bcb7127", unrolled_ast = "b0f80eef333158a3dedc3b31aa88c1073f10423c52b26169c2be1aa23bcb7127", ssa_ast = "eba91b49ba040c117e2b24cce084c0d4fb3db081c8f4424b985d469db0577c65", flattened_ast = "a5bcf17fbdd950885e4e8f08f288fc9850fb04a0d1427eeee22fc62baf47b171", destructured_ast = "d291fc8b68267a25818d55f4e47d8a338537ac6cb027025c06e9d48b406c221b", inlined_ast = "d291fc8b68267a25818d55f4e47d8a338537ac6cb027025c06e9d48b406c221b", dce_ast = "60ea36ee353326fbb6b95478a2010f27883daf2b6db2050c9b6b5669e3a526a5", bytecode = "2827725e28e621b51cf5a40a1979da7558af0ec1e7e260b1ec255c169efd7948", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out index 974ea8f395..c2177bcac0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 1e89b481628f609f74cbdae36b2aaa4dae117f0e552ff0ba06e266eb1671e7ad - unrolled_ast: 1e89b481628f609f74cbdae36b2aaa4dae117f0e552ff0ba06e266eb1671e7ad - ssa_ast: 0f5829bc300159f779e49f7c96931298be5248cd5d1f21307ecb835d6c69eb88 - flattened_ast: eb1b365e4f1d861b5f1094ff7e306c9bf13d7a8a3c06e086abe20e1c06ccca3b - destructured_ast: 7eceaf1c92d312ada9b98715672b35cbf9163fbbb48f0c378bff3f86aa42d006 - inlined_ast: 7eceaf1c92d312ada9b98715672b35cbf9163fbbb48f0c378bff3f86aa42d006 - dce_ast: 64bca8c58bf19e8b3c459bf44e4ca6c684e498290f4b14d498fb776c62312bb8 - bytecode: a90328ca973213775dcbfa872950cc8126b172ef1cd4c1a1650277b23b6f6957 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "1e89b481628f609f74cbdae36b2aaa4dae117f0e552ff0ba06e266eb1671e7ad", unrolled_ast = "1e89b481628f609f74cbdae36b2aaa4dae117f0e552ff0ba06e266eb1671e7ad", ssa_ast = "0f5829bc300159f779e49f7c96931298be5248cd5d1f21307ecb835d6c69eb88", flattened_ast = "eb1b365e4f1d861b5f1094ff7e306c9bf13d7a8a3c06e086abe20e1c06ccca3b", destructured_ast = "7eceaf1c92d312ada9b98715672b35cbf9163fbbb48f0c378bff3f86aa42d006", inlined_ast = "7eceaf1c92d312ada9b98715672b35cbf9163fbbb48f0c378bff3f86aa42d006", dce_ast = "64bca8c58bf19e8b3c459bf44e4ca6c684e498290f4b14d498fb776c62312bb8", bytecode = "a90328ca973213775dcbfa872950cc8126b172ef1cd4c1a1650277b23b6f6957", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out index 5ceb2ad59a..eacd68fc06 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: fa2a745862f5902a0844fc8a9344c2c16c863dfe2cf56d75e6db563e5dcf9708 - unrolled_ast: fa2a745862f5902a0844fc8a9344c2c16c863dfe2cf56d75e6db563e5dcf9708 - ssa_ast: 1db427b7d2a775b57169e60a3de479e9839f319062a9b515098b9d4171491947 - flattened_ast: 26d413cfb97d0ffefed89a5dfe154e6ba920f58a1098275819c6c61c7c936cf6 - destructured_ast: a326d8c8eec43a9de7585f50d9690ba4945c5e2603ecb9c2a19f2cc77eb4d75b - inlined_ast: a326d8c8eec43a9de7585f50d9690ba4945c5e2603ecb9c2a19f2cc77eb4d75b - dce_ast: 077abf2c4f00fa50708559ff3ee1ef2fbcb35e65d0c83f0c835a182db1caacba - bytecode: 56496fd935df4646cdd71fb7cee3390df240c99433835d70ef5967a33e6d7de8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "fa2a745862f5902a0844fc8a9344c2c16c863dfe2cf56d75e6db563e5dcf9708", unrolled_ast = "fa2a745862f5902a0844fc8a9344c2c16c863dfe2cf56d75e6db563e5dcf9708", ssa_ast = "1db427b7d2a775b57169e60a3de479e9839f319062a9b515098b9d4171491947", flattened_ast = "26d413cfb97d0ffefed89a5dfe154e6ba920f58a1098275819c6c61c7c936cf6", destructured_ast = "a326d8c8eec43a9de7585f50d9690ba4945c5e2603ecb9c2a19f2cc77eb4d75b", inlined_ast = "a326d8c8eec43a9de7585f50d9690ba4945c5e2603ecb9c2a19f2cc77eb4d75b", dce_ast = "077abf2c4f00fa50708559ff3ee1ef2fbcb35e65d0c83f0c835a182db1caacba", bytecode = "56496fd935df4646cdd71fb7cee3390df240c99433835d70ef5967a33e6d7de8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out index 91b2ec9b93..2bbd01c4ba 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 1a5f4223050526af9c2bc183f162231b468371b6553204a1138f3af6c389a64a - unrolled_ast: 1a5f4223050526af9c2bc183f162231b468371b6553204a1138f3af6c389a64a - ssa_ast: 9c61afbf1007db9c29c4099ec9498da651fac926c5feb22df5c1189588a4e1ca - flattened_ast: 7ef58606225e1250bf7b55724eabaa5e59124b7b6f1e0da0774201e57f2996f8 - destructured_ast: 524e0e019bc2a49966276c5c13b27278a1ed53cb2135947664c63c44594d21dd - inlined_ast: 524e0e019bc2a49966276c5c13b27278a1ed53cb2135947664c63c44594d21dd - dce_ast: 8e13d17b8e5af92f6b2f3bfb5ddf1aa92f938ecbffee73218eead391711b84b9 - bytecode: db058ed7b34e9c94cb51c9152685548070f56ec9b80abe82b0ae5789a0f81cee - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "1a5f4223050526af9c2bc183f162231b468371b6553204a1138f3af6c389a64a", unrolled_ast = "1a5f4223050526af9c2bc183f162231b468371b6553204a1138f3af6c389a64a", ssa_ast = "9c61afbf1007db9c29c4099ec9498da651fac926c5feb22df5c1189588a4e1ca", flattened_ast = "7ef58606225e1250bf7b55724eabaa5e59124b7b6f1e0da0774201e57f2996f8", destructured_ast = "524e0e019bc2a49966276c5c13b27278a1ed53cb2135947664c63c44594d21dd", inlined_ast = "524e0e019bc2a49966276c5c13b27278a1ed53cb2135947664c63c44594d21dd", dce_ast = "8e13d17b8e5af92f6b2f3bfb5ddf1aa92f938ecbffee73218eead391711b84b9", bytecode = "db058ed7b34e9c94cb51c9152685548070f56ec9b80abe82b0ae5789a0f81cee", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out index ae8a42f9fe..0b65640b49 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 8518512436454079e4f9559e223ef664b9db6b03a5553fc8546d526b88760013 - unrolled_ast: 8518512436454079e4f9559e223ef664b9db6b03a5553fc8546d526b88760013 - ssa_ast: a57aed4551c77589d289a6995a1d6d022e5b8c89223ceb7dca0297ea928dab83 - flattened_ast: c92166f101d059e2fba1c9907bdaaa5f7d8cb2337fad2c82ebaa4f4ae3956c9b - destructured_ast: 50ac7287a314cf813fc0a5bd5d793747e947b457913804426761235373c320dc - inlined_ast: 50ac7287a314cf813fc0a5bd5d793747e947b457913804426761235373c320dc - dce_ast: f2b6ffbb16357802347aee4d16d5e05ce9146dfbf668d8a24e9f0350b643d49f - bytecode: 3c60fe2ccd72f2fee542194a4a812f65cb74ffe4aa77947d0ef39a626d9175d9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "8518512436454079e4f9559e223ef664b9db6b03a5553fc8546d526b88760013", unrolled_ast = "8518512436454079e4f9559e223ef664b9db6b03a5553fc8546d526b88760013", ssa_ast = "a57aed4551c77589d289a6995a1d6d022e5b8c89223ceb7dca0297ea928dab83", flattened_ast = "c92166f101d059e2fba1c9907bdaaa5f7d8cb2337fad2c82ebaa4f4ae3956c9b", destructured_ast = "50ac7287a314cf813fc0a5bd5d793747e947b457913804426761235373c320dc", inlined_ast = "50ac7287a314cf813fc0a5bd5d793747e947b457913804426761235373c320dc", dce_ast = "f2b6ffbb16357802347aee4d16d5e05ce9146dfbf668d8a24e9f0350b643d49f", bytecode = "3c60fe2ccd72f2fee542194a4a812f65cb74ffe4aa77947d0ef39a626d9175d9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out index 700b247dde..8248ba7eb1 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: ba3898259a2824f95be822a5daf97931fe2080f30f9bfcef5607beba6c099213 - unrolled_ast: ba3898259a2824f95be822a5daf97931fe2080f30f9bfcef5607beba6c099213 - ssa_ast: fd6494afbcac01c1dec21bc662a2248814bad2488e7f36cd104bcdcfc43e3d6b - flattened_ast: 2eb33f23b55bfebc1a0ba0280a0fdb4a6cea7a8a39c6cf6689f2001fb0cfde64 - destructured_ast: 5a466aece670095f525d6d9e38532adeb41e6ccd441fcbacb9d7c217af5502c1 - inlined_ast: 5a466aece670095f525d6d9e38532adeb41e6ccd441fcbacb9d7c217af5502c1 - dce_ast: 142d35ed20ee6dbf9d41b1cbdb8b9aee6e80abb9c746f5b835e5bee79b411857 - bytecode: f6c112b08c4a5b02002de56b8dfba054dca0fdb49feeda7146384ce5bc4b9e3b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "ba3898259a2824f95be822a5daf97931fe2080f30f9bfcef5607beba6c099213", unrolled_ast = "ba3898259a2824f95be822a5daf97931fe2080f30f9bfcef5607beba6c099213", ssa_ast = "fd6494afbcac01c1dec21bc662a2248814bad2488e7f36cd104bcdcfc43e3d6b", flattened_ast = "2eb33f23b55bfebc1a0ba0280a0fdb4a6cea7a8a39c6cf6689f2001fb0cfde64", destructured_ast = "5a466aece670095f525d6d9e38532adeb41e6ccd441fcbacb9d7c217af5502c1", inlined_ast = "5a466aece670095f525d6d9e38532adeb41e6ccd441fcbacb9d7c217af5502c1", dce_ast = "142d35ed20ee6dbf9d41b1cbdb8b9aee6e80abb9c746f5b835e5bee79b411857", bytecode = "f6c112b08c4a5b02002de56b8dfba054dca0fdb49feeda7146384ce5bc4b9e3b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out index a9d2482d46..3227eb57a6 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: bfdbedeeb92b1ee61047a14fa9252a847fb77b08fb50da440dd49b7f017a8cbd - unrolled_ast: bfdbedeeb92b1ee61047a14fa9252a847fb77b08fb50da440dd49b7f017a8cbd - ssa_ast: 59fff31af3a3c47401e51244a03bb5361e206db9ca04ad5a27747248e61c349a - flattened_ast: ba3930860561f29fd19c13519e18579898367dfe36e76899ee828d35bce22083 - destructured_ast: 5a71c107177d2737debd76da247e6d2abff590bd071d6c012266de2c5a1dac5b - inlined_ast: 5a71c107177d2737debd76da247e6d2abff590bd071d6c012266de2c5a1dac5b - dce_ast: e2aa83f4debfdf0d05e13d08c0b87e1465e67f549f1b27454aabe26920e3babd - bytecode: ff30f43337c830695fd7271014aee19d33c0489de50d3d66db69b3d73da357ce - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "bfdbedeeb92b1ee61047a14fa9252a847fb77b08fb50da440dd49b7f017a8cbd", unrolled_ast = "bfdbedeeb92b1ee61047a14fa9252a847fb77b08fb50da440dd49b7f017a8cbd", ssa_ast = "59fff31af3a3c47401e51244a03bb5361e206db9ca04ad5a27747248e61c349a", flattened_ast = "ba3930860561f29fd19c13519e18579898367dfe36e76899ee828d35bce22083", destructured_ast = "5a71c107177d2737debd76da247e6d2abff590bd071d6c012266de2c5a1dac5b", inlined_ast = "5a71c107177d2737debd76da247e6d2abff590bd071d6c012266de2c5a1dac5b", dce_ast = "e2aa83f4debfdf0d05e13d08c0b87e1465e67f549f1b27454aabe26920e3babd", bytecode = "ff30f43337c830695fd7271014aee19d33c0489de50d3d66db69b3d73da357ce", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out index b18aa5a08c..fc32653700 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: b25fb77b11b643939ed5c49d9139f0b98e96d93c0f41b826e84098e6f32fdacc - unrolled_ast: b25fb77b11b643939ed5c49d9139f0b98e96d93c0f41b826e84098e6f32fdacc - ssa_ast: feb8df3f031d4decc90b8829832727392a126a6c90abfad1fa669409d2f401e3 - flattened_ast: 14cf66577cc0b3311f383d839cd56eca91d4281360ecfd56d23e65e8c162db84 - destructured_ast: 5de4d1ec25088a606ebc07ee80750f90ffee00c4eaab2453c9b61cd4a8023c2d - inlined_ast: 5de4d1ec25088a606ebc07ee80750f90ffee00c4eaab2453c9b61cd4a8023c2d - dce_ast: 6bface0a7e45eeb927840757fb12fffb19bce9e27b13722ce5f093b3d37732dc - bytecode: 9613835dc4e36f266d29110dd595208e54ebd4b8dcf371985a38796c15044f38 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "b25fb77b11b643939ed5c49d9139f0b98e96d93c0f41b826e84098e6f32fdacc", unrolled_ast = "b25fb77b11b643939ed5c49d9139f0b98e96d93c0f41b826e84098e6f32fdacc", ssa_ast = "feb8df3f031d4decc90b8829832727392a126a6c90abfad1fa669409d2f401e3", flattened_ast = "14cf66577cc0b3311f383d839cd56eca91d4281360ecfd56d23e65e8c162db84", destructured_ast = "5de4d1ec25088a606ebc07ee80750f90ffee00c4eaab2453c9b61cd4a8023c2d", inlined_ast = "5de4d1ec25088a606ebc07ee80750f90ffee00c4eaab2453c9b61cd4a8023c2d", dce_ast = "6bface0a7e45eeb927840757fb12fffb19bce9e27b13722ce5f093b3d37732dc", bytecode = "9613835dc4e36f266d29110dd595208e54ebd4b8dcf371985a38796c15044f38", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out index b1babb01e3..1bc4287512 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: 36443dddd6c85acf7616f5527e0f601464378a8ca65226f4800b4a3d61f1c228 - unrolled_ast: 36443dddd6c85acf7616f5527e0f601464378a8ca65226f4800b4a3d61f1c228 - ssa_ast: 045c04b5b8186f116f9d5ea8fcd6cb648c0ac4d08d879ed76001f85acc83248f - flattened_ast: ee7198c9a9bc3f6b61af2cbe2c2990349ad0333a060cec741d390a38fcc86196 - destructured_ast: 2b4804691be550351737afd19f9a589e073404b93a7c3d5585edfa913efa9cef - inlined_ast: 2b4804691be550351737afd19f9a589e073404b93a7c3d5585edfa913efa9cef - dce_ast: 897fcbf1be15e3efd19aec131dd59f1e137f6ca8802fd46af15db9cde4e8175c - bytecode: ca074224fb21da9078cf66f586228b5d09460ff02edf0f84847970c375695b57 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "36443dddd6c85acf7616f5527e0f601464378a8ca65226f4800b4a3d61f1c228", unrolled_ast = "36443dddd6c85acf7616f5527e0f601464378a8ca65226f4800b4a3d61f1c228", ssa_ast = "045c04b5b8186f116f9d5ea8fcd6cb648c0ac4d08d879ed76001f85acc83248f", flattened_ast = "ee7198c9a9bc3f6b61af2cbe2c2990349ad0333a060cec741d390a38fcc86196", destructured_ast = "2b4804691be550351737afd19f9a589e073404b93a7c3d5585edfa913efa9cef", inlined_ast = "2b4804691be550351737afd19f9a589e073404b93a7c3d5585edfa913efa9cef", dce_ast = "897fcbf1be15e3efd19aec131dd59f1e137f6ca8802fd46af15db9cde4e8175c", bytecode = "ca074224fb21da9078cf66f586228b5d09460ff02edf0f84847970c375695b57", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out index 5f8e190c8a..a6ff9ba01d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: bb02614a739dd4440d009c7e122f55a73ba018b288b51c5675b75d0d8597ca76 - unrolled_ast: bb02614a739dd4440d009c7e122f55a73ba018b288b51c5675b75d0d8597ca76 - ssa_ast: c85e100768e5b01ccb17402136c2f4e14fc2ff21aa11ea2263fc951f3e7fbebe - flattened_ast: 8c5a1bf8e4696195182b10c0ecf0224c28af4991405cb62d6f066d74cb3039c0 - destructured_ast: be3f8be7855aa0aa26a6ef52872e7eccfcefd9c387201cd78374ae5f2bde9991 - inlined_ast: be3f8be7855aa0aa26a6ef52872e7eccfcefd9c387201cd78374ae5f2bde9991 - dce_ast: 1ab967ed6b82fc04f127e4ee10f5ca7395b136e8210d8760db1f58ec76ade859 - bytecode: b0c87022d5e30dd47b5a097c7e1c00bd8c487886a84212ce7db0c7b1c5856259 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "bb02614a739dd4440d009c7e122f55a73ba018b288b51c5675b75d0d8597ca76", unrolled_ast = "bb02614a739dd4440d009c7e122f55a73ba018b288b51c5675b75d0d8597ca76", ssa_ast = "c85e100768e5b01ccb17402136c2f4e14fc2ff21aa11ea2263fc951f3e7fbebe", flattened_ast = "8c5a1bf8e4696195182b10c0ecf0224c28af4991405cb62d6f066d74cb3039c0", destructured_ast = "be3f8be7855aa0aa26a6ef52872e7eccfcefd9c387201cd78374ae5f2bde9991", inlined_ast = "be3f8be7855aa0aa26a6ef52872e7eccfcefd9c387201cd78374ae5f2bde9991", dce_ast = "1ab967ed6b82fc04f127e4ee10f5ca7395b136e8210d8760db1f58ec76ade859", bytecode = "b0c87022d5e30dd47b5a097c7e1c00bd8c487886a84212ce7db0c7b1c5856259", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out index 823cea5f62..79d3f78c7f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: cc5bf0cffdb84101459d2aac374724bd575cd6f9c63475b95418330634360b39 - unrolled_ast: cc5bf0cffdb84101459d2aac374724bd575cd6f9c63475b95418330634360b39 - ssa_ast: bb7cd0f232cb86738b6a00e93f3c90740859135d28bc6c7fd455ff87ed8a4182 - flattened_ast: b9057c03e948cb8a8db2c36c7a8014982cb9a06455db8a198ea597fefb701adf - destructured_ast: 0e63c61f208e42f7c77cf915d0c4f8f01958f741799afa6a7ee89b5a2fc9483c - inlined_ast: 0e63c61f208e42f7c77cf915d0c4f8f01958f741799afa6a7ee89b5a2fc9483c - dce_ast: fe7182fb99154f09a443752a0c581065f5746e06cac6cfb49a6266a252053582 - bytecode: 8b851887789d1b0d14a68de7f393a839940770b54680c74656c872dde5ff20dc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "cc5bf0cffdb84101459d2aac374724bd575cd6f9c63475b95418330634360b39", unrolled_ast = "cc5bf0cffdb84101459d2aac374724bd575cd6f9c63475b95418330634360b39", ssa_ast = "bb7cd0f232cb86738b6a00e93f3c90740859135d28bc6c7fd455ff87ed8a4182", flattened_ast = "b9057c03e948cb8a8db2c36c7a8014982cb9a06455db8a198ea597fefb701adf", destructured_ast = "0e63c61f208e42f7c77cf915d0c4f8f01958f741799afa6a7ee89b5a2fc9483c", inlined_ast = "0e63c61f208e42f7c77cf915d0c4f8f01958f741799afa6a7ee89b5a2fc9483c", dce_ast = "fe7182fb99154f09a443752a0c581065f5746e06cac6cfb49a6266a252053582", bytecode = "8b851887789d1b0d14a68de7f393a839940770b54680c74656c872dde5ff20dc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out index 513bdd88a6..5fdcf47f17 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 932ed6f215497eebb5ff8e9685ceb0056385c0ca52972b75816ab64cec8ec2a4 - unrolled_ast: 932ed6f215497eebb5ff8e9685ceb0056385c0ca52972b75816ab64cec8ec2a4 - ssa_ast: ac5f9d81b2ac804832a95285e99e81ca0d7d8048389a80dad21a770bfad4708a - flattened_ast: 58b79a6ab405ea234929433ef45a9c7f21fcb6cfc8cc2d4ae9743b8ed086ecab - destructured_ast: 2ae097e24c7fe1a4a7c95eb7bdb8542d0a83277cc396523e83d747bf6fda27e7 - inlined_ast: 2ae097e24c7fe1a4a7c95eb7bdb8542d0a83277cc396523e83d747bf6fda27e7 - dce_ast: dd66c81bc235771b7e0e3141f8825f8442b69ce08739f53d35269be6eeec634c - bytecode: 8cfc137d9de5f78970ffe8a7fd36cf828d967798364ebb25ed2654f97e993df2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "932ed6f215497eebb5ff8e9685ceb0056385c0ca52972b75816ab64cec8ec2a4", unrolled_ast = "932ed6f215497eebb5ff8e9685ceb0056385c0ca52972b75816ab64cec8ec2a4", ssa_ast = "ac5f9d81b2ac804832a95285e99e81ca0d7d8048389a80dad21a770bfad4708a", flattened_ast = "58b79a6ab405ea234929433ef45a9c7f21fcb6cfc8cc2d4ae9743b8ed086ecab", destructured_ast = "2ae097e24c7fe1a4a7c95eb7bdb8542d0a83277cc396523e83d747bf6fda27e7", inlined_ast = "2ae097e24c7fe1a4a7c95eb7bdb8542d0a83277cc396523e83d747bf6fda27e7", dce_ast = "dd66c81bc235771b7e0e3141f8825f8442b69ce08739f53d35269be6eeec634c", bytecode = "8cfc137d9de5f78970ffe8a7fd36cf828d967798364ebb25ed2654f97e993df2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out index 38696d757f..b7fbf4b119 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: fbc425432e4bb5f196cf15abded34b03c2561dda3b3f3893a13729e5fd5451b4 - unrolled_ast: fbc425432e4bb5f196cf15abded34b03c2561dda3b3f3893a13729e5fd5451b4 - ssa_ast: d1baeaba60462458e6df188fe19c46ea37d991f81fe726d7e2bb8a4e4917f440 - flattened_ast: 86bfec7d06f017f4534b3a525b7f992fa3a83fad16d3752a37dbee0db0713290 - destructured_ast: 4ea05d10385e7ec975633f1e7fdde2178abbc81d9db211be2431b5790e2bbfe0 - inlined_ast: 4ea05d10385e7ec975633f1e7fdde2178abbc81d9db211be2431b5790e2bbfe0 - dce_ast: 1e3f8cf6138191870cebaaf54e8994caa04d7a61117e929e13f242a4b0faa4ab - bytecode: e21f3d467b66f55e41c864391412af065fcfd0b44bb6697e68693b5c8620e4bc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "fbc425432e4bb5f196cf15abded34b03c2561dda3b3f3893a13729e5fd5451b4", unrolled_ast = "fbc425432e4bb5f196cf15abded34b03c2561dda3b3f3893a13729e5fd5451b4", ssa_ast = "d1baeaba60462458e6df188fe19c46ea37d991f81fe726d7e2bb8a4e4917f440", flattened_ast = "86bfec7d06f017f4534b3a525b7f992fa3a83fad16d3752a37dbee0db0713290", destructured_ast = "4ea05d10385e7ec975633f1e7fdde2178abbc81d9db211be2431b5790e2bbfe0", inlined_ast = "4ea05d10385e7ec975633f1e7fdde2178abbc81d9db211be2431b5790e2bbfe0", dce_ast = "1e3f8cf6138191870cebaaf54e8994caa04d7a61117e929e13f242a4b0faa4ab", bytecode = "e21f3d467b66f55e41c864391412af065fcfd0b44bb6697e68693b5c8620e4bc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out index 22d4791f30..5bc2571ed2 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 7cbefcf233f595dd332a73bfc95c09142070e1a3d522064d3e72c50a3995cbc3 - unrolled_ast: 7cbefcf233f595dd332a73bfc95c09142070e1a3d522064d3e72c50a3995cbc3 - ssa_ast: 3d235bb27ea9a6855a26838932654330770853dc748b8170fef0539d9c8d4d7b - flattened_ast: 679bc7c371e24e6977a31751bc155098c91ccbcdba3f55356e02565c799bcd6e - destructured_ast: 819bdc3657b2cc5a6ec457416533a81f301b61267557403e9cd5d7ffb9613bc6 - inlined_ast: 819bdc3657b2cc5a6ec457416533a81f301b61267557403e9cd5d7ffb9613bc6 - dce_ast: d06a46481785a801e5af8404a5ee5276034b3117f41872217cadb455efed3995 - bytecode: 999b9d0cdf8e006833a2d8ce94eb8ace714cd08c8df3e0b3531e28f6489e0984 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "7cbefcf233f595dd332a73bfc95c09142070e1a3d522064d3e72c50a3995cbc3", unrolled_ast = "7cbefcf233f595dd332a73bfc95c09142070e1a3d522064d3e72c50a3995cbc3", ssa_ast = "3d235bb27ea9a6855a26838932654330770853dc748b8170fef0539d9c8d4d7b", flattened_ast = "679bc7c371e24e6977a31751bc155098c91ccbcdba3f55356e02565c799bcd6e", destructured_ast = "819bdc3657b2cc5a6ec457416533a81f301b61267557403e9cd5d7ffb9613bc6", inlined_ast = "819bdc3657b2cc5a6ec457416533a81f301b61267557403e9cd5d7ffb9613bc6", dce_ast = "d06a46481785a801e5af8404a5ee5276034b3117f41872217cadb455efed3995", bytecode = "999b9d0cdf8e006833a2d8ce94eb8ace714cd08c8df3e0b3531e28f6489e0984", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out index ffc2c3a4aa..2b267a4bb9 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: a61e87cbd1a7003003394f0b138c512a729092387c97c2df550c7fcb6c7aff61 - unrolled_ast: a61e87cbd1a7003003394f0b138c512a729092387c97c2df550c7fcb6c7aff61 - ssa_ast: 9bf40054a5f81c2265f28d1bda2b6241d90bcc904ce368dce16d413e10ec0b58 - flattened_ast: facabec340f058efc6f8f5f3873e056dcbac447a1639c91b3279c92eb08025ba - destructured_ast: 324766b45d2b33de664673e96443c6cfb2f76e66ddf7e4902f47653b158a5fd1 - inlined_ast: 324766b45d2b33de664673e96443c6cfb2f76e66ddf7e4902f47653b158a5fd1 - dce_ast: 4e5f7d2c73bb5d9d1ea5cd342687429c84663f73c5972031c3bee078a2daa06b - bytecode: 88e5bed3bec5448667a7407b85018435a99703ea27f2e24c965cee2b37ae5dc3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "a61e87cbd1a7003003394f0b138c512a729092387c97c2df550c7fcb6c7aff61", unrolled_ast = "a61e87cbd1a7003003394f0b138c512a729092387c97c2df550c7fcb6c7aff61", ssa_ast = "9bf40054a5f81c2265f28d1bda2b6241d90bcc904ce368dce16d413e10ec0b58", flattened_ast = "facabec340f058efc6f8f5f3873e056dcbac447a1639c91b3279c92eb08025ba", destructured_ast = "324766b45d2b33de664673e96443c6cfb2f76e66ddf7e4902f47653b158a5fd1", inlined_ast = "324766b45d2b33de664673e96443c6cfb2f76e66ddf7e4902f47653b158a5fd1", dce_ast = "4e5f7d2c73bb5d9d1ea5cd342687429c84663f73c5972031c3bee078a2daa06b", bytecode = "88e5bed3bec5448667a7407b85018435a99703ea27f2e24c965cee2b37ae5dc3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out index 6201ac76f3..c79020ac9a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: 29911ed87b03c07bd6b99b62195e59211a2e7d30195513e508f0072d14a3f0fd - unrolled_ast: 29911ed87b03c07bd6b99b62195e59211a2e7d30195513e508f0072d14a3f0fd - ssa_ast: cd23739278b3c7588036d4f0309cdba551c85e829067ab1afb6cc4ea3b698df4 - flattened_ast: 5c62f135685d3eacd1f6a0e81b8bfc5d53762db270a63b7429d2d758a4d0eb1e - destructured_ast: cc85a1e8ce174107377c1cd724246c405a62dec85afcb5a08a5750d1af7bac63 - inlined_ast: cc85a1e8ce174107377c1cd724246c405a62dec85afcb5a08a5750d1af7bac63 - dce_ast: dbc9a9ccf29e511a0ff2b7fd6e2648d52f7b3e2533ef80d68ffb07a893f9e3f3 - bytecode: 9b27d0806063bc598a773122d554a2d3da168e9813e2c2e55c4e0eedc2198f1c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "29911ed87b03c07bd6b99b62195e59211a2e7d30195513e508f0072d14a3f0fd", unrolled_ast = "29911ed87b03c07bd6b99b62195e59211a2e7d30195513e508f0072d14a3f0fd", ssa_ast = "cd23739278b3c7588036d4f0309cdba551c85e829067ab1afb6cc4ea3b698df4", flattened_ast = "5c62f135685d3eacd1f6a0e81b8bfc5d53762db270a63b7429d2d758a4d0eb1e", destructured_ast = "cc85a1e8ce174107377c1cd724246c405a62dec85afcb5a08a5750d1af7bac63", inlined_ast = "cc85a1e8ce174107377c1cd724246c405a62dec85afcb5a08a5750d1af7bac63", dce_ast = "dbc9a9ccf29e511a0ff2b7fd6e2648d52f7b3e2533ef80d68ffb07a893f9e3f3", bytecode = "9b27d0806063bc598a773122d554a2d3da168e9813e2c2e55c4e0eedc2198f1c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out index b2bcf71d6b..dcbd4ebf39 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: 6fadb2f85ac266943cace73ae380b0d89c255f1d504974df0e3160c646d85dbe - unrolled_ast: 6fadb2f85ac266943cace73ae380b0d89c255f1d504974df0e3160c646d85dbe - ssa_ast: 1be47cfd3379c333efec08a42d797da32be5b527b11855afab9a2efc3cb05873 - flattened_ast: b97a51c3267d339b65e71542d1444d4280aed288e7f347d25e64731ccf8f175d - destructured_ast: 8c0544ada1098ef6f58b3261416492c80456abe7ff78ea44bedf065343f0a249 - inlined_ast: 8c0544ada1098ef6f58b3261416492c80456abe7ff78ea44bedf065343f0a249 - dce_ast: b766fe47c44764acfa615d8a4c447f4a02fc8b757a0ae9135f5c3de5d3d3251c - bytecode: 6965d0539f26e7885d7fa616d93bb5326315793d3843573135bcda58cbaeb149 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "6fadb2f85ac266943cace73ae380b0d89c255f1d504974df0e3160c646d85dbe", unrolled_ast = "6fadb2f85ac266943cace73ae380b0d89c255f1d504974df0e3160c646d85dbe", ssa_ast = "1be47cfd3379c333efec08a42d797da32be5b527b11855afab9a2efc3cb05873", flattened_ast = "b97a51c3267d339b65e71542d1444d4280aed288e7f347d25e64731ccf8f175d", destructured_ast = "8c0544ada1098ef6f58b3261416492c80456abe7ff78ea44bedf065343f0a249", inlined_ast = "8c0544ada1098ef6f58b3261416492c80456abe7ff78ea44bedf065343f0a249", dce_ast = "b766fe47c44764acfa615d8a4c447f4a02fc8b757a0ae9135f5c3de5d3d3251c", bytecode = "6965d0539f26e7885d7fa616d93bb5326315793d3843573135bcda58cbaeb149", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out index d3f2d34eb8..00c4708b48 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 5b18e361e04a6588772c916f04aa608f0bf38efff2eaeef74f9b51b84f6c38ee - unrolled_ast: 5b18e361e04a6588772c916f04aa608f0bf38efff2eaeef74f9b51b84f6c38ee - ssa_ast: b81812c55cc10f47dbf9882513bb234f247119cb2a7be2eb24727b0d0bfeec1a - flattened_ast: 7b6243287dd81f25d72f0edee9512bb58acfb34a7ca59e6f8132b4e167cce2fe - destructured_ast: e88b3d7fbcdf3bd450ac0fb67599513d84d8fc542fcb0e40fc6b4901f30730a8 - inlined_ast: e88b3d7fbcdf3bd450ac0fb67599513d84d8fc542fcb0e40fc6b4901f30730a8 - dce_ast: 9f86938b2f47f721c3934a7cfaece81a90a69670acda3d45775031d369f0104b - bytecode: c497462939dadd3b6fa6a391939d169f8caf2da5064471e177e9dc2ca24af1c0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "5b18e361e04a6588772c916f04aa608f0bf38efff2eaeef74f9b51b84f6c38ee", unrolled_ast = "5b18e361e04a6588772c916f04aa608f0bf38efff2eaeef74f9b51b84f6c38ee", ssa_ast = "b81812c55cc10f47dbf9882513bb234f247119cb2a7be2eb24727b0d0bfeec1a", flattened_ast = "7b6243287dd81f25d72f0edee9512bb58acfb34a7ca59e6f8132b4e167cce2fe", destructured_ast = "e88b3d7fbcdf3bd450ac0fb67599513d84d8fc542fcb0e40fc6b4901f30730a8", inlined_ast = "e88b3d7fbcdf3bd450ac0fb67599513d84d8fc542fcb0e40fc6b4901f30730a8", dce_ast = "9f86938b2f47f721c3934a7cfaece81a90a69670acda3d45775031d369f0104b", bytecode = "c497462939dadd3b6fa6a391939d169f8caf2da5064471e177e9dc2ca24af1c0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out index fe2a8cffcd..eadcf6f10f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: 581993f9ddb206fefa3e24d1086e7d890ad289aa2973f630e8e1a692dde767a5 - unrolled_ast: 581993f9ddb206fefa3e24d1086e7d890ad289aa2973f630e8e1a692dde767a5 - ssa_ast: a21c48d2cd3f38260583f4608465c168e57e936de0628bd3e68ebb33c87d81d8 - flattened_ast: 0dad05bcfc040d470ddfc5ded9124eabacb3660202560e2815107db7ed0649c8 - destructured_ast: 80d5c3180478992f4999876ba63d7614afcb6aed1586705c1e75729773c8c601 - inlined_ast: 80d5c3180478992f4999876ba63d7614afcb6aed1586705c1e75729773c8c601 - dce_ast: 7c99e01e7f88df4a0e61cb54f89f579ef0085d478eadfa6ce5363dc66fed261c - bytecode: 26f4c496d5e435d186f9ec58390da76af8848cecaaac30920a4daab0e2523a73 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "581993f9ddb206fefa3e24d1086e7d890ad289aa2973f630e8e1a692dde767a5", unrolled_ast = "581993f9ddb206fefa3e24d1086e7d890ad289aa2973f630e8e1a692dde767a5", ssa_ast = "a21c48d2cd3f38260583f4608465c168e57e936de0628bd3e68ebb33c87d81d8", flattened_ast = "0dad05bcfc040d470ddfc5ded9124eabacb3660202560e2815107db7ed0649c8", destructured_ast = "80d5c3180478992f4999876ba63d7614afcb6aed1586705c1e75729773c8c601", inlined_ast = "80d5c3180478992f4999876ba63d7614afcb6aed1586705c1e75729773c8c601", dce_ast = "7c99e01e7f88df4a0e61cb54f89f579ef0085d478eadfa6ce5363dc66fed261c", bytecode = "26f4c496d5e435d186f9ec58390da76af8848cecaaac30920a4daab0e2523a73", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out index e8ce520a03..ab0dd544ed 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: 0aa2b1ad01a3a839835a1b55dbda18cafe66aca55d824ee69eebc375cb8a692d - unrolled_ast: 0aa2b1ad01a3a839835a1b55dbda18cafe66aca55d824ee69eebc375cb8a692d - ssa_ast: bcacd688da4627769e8959664338bec2d47fda295e6262fce3dabf66df5de7f3 - flattened_ast: 922bd9eb5ef1f391c4cfec9560a3f6c4f1faf011f40eb15df580f49d1acdacb6 - destructured_ast: dcf738447dcf30c69655d723ad4f205ae42ef9ecec899824447857db336a31ac - inlined_ast: dcf738447dcf30c69655d723ad4f205ae42ef9ecec899824447857db336a31ac - dce_ast: 70e704a186c6c81c56c7dc96343c60d791aa3f98425b7253ff21548a6646738c - bytecode: 9a6698dbd340581ab6a6ab74e6ac3b2b04d107afafb2ef967cf878a68f90e66a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "0aa2b1ad01a3a839835a1b55dbda18cafe66aca55d824ee69eebc375cb8a692d", unrolled_ast = "0aa2b1ad01a3a839835a1b55dbda18cafe66aca55d824ee69eebc375cb8a692d", ssa_ast = "bcacd688da4627769e8959664338bec2d47fda295e6262fce3dabf66df5de7f3", flattened_ast = "922bd9eb5ef1f391c4cfec9560a3f6c4f1faf011f40eb15df580f49d1acdacb6", destructured_ast = "dcf738447dcf30c69655d723ad4f205ae42ef9ecec899824447857db336a31ac", inlined_ast = "dcf738447dcf30c69655d723ad4f205ae42ef9ecec899824447857db336a31ac", dce_ast = "70e704a186c6c81c56c7dc96343c60d791aa3f98425b7253ff21548a6646738c", bytecode = "9a6698dbd340581ab6a6ab74e6ac3b2b04d107afafb2ef967cf878a68f90e66a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out index 69be284f12..aff7a77501 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 3c23bd11eb47b2a6bf9791442a6e6c860568c865a411efc5f5079f1f011dc8df - unrolled_ast: 3c23bd11eb47b2a6bf9791442a6e6c860568c865a411efc5f5079f1f011dc8df - ssa_ast: baf15e83d5b029d1a2a245c987b234b1da0099f1b13774348e50a77818280ccc - flattened_ast: 071527d3eed490dbcc66b935a0cc8c771aa344b4a03f736352077ae3bf9cb9e5 - destructured_ast: 295c2afd824442cbca7afc910e3905c0bdaadec959215df863ac9a30ac7f988b - inlined_ast: 295c2afd824442cbca7afc910e3905c0bdaadec959215df863ac9a30ac7f988b - dce_ast: b40ada564ca5c8ad4a6524bf2239e152bf295fa004287f86499caa04cc8ea20a - bytecode: 382d6faca5454efb2c43e692e7ef46168de32044fd4eb589025fb7dabc62d3bb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "3c23bd11eb47b2a6bf9791442a6e6c860568c865a411efc5f5079f1f011dc8df", unrolled_ast = "3c23bd11eb47b2a6bf9791442a6e6c860568c865a411efc5f5079f1f011dc8df", ssa_ast = "baf15e83d5b029d1a2a245c987b234b1da0099f1b13774348e50a77818280ccc", flattened_ast = "071527d3eed490dbcc66b935a0cc8c771aa344b4a03f736352077ae3bf9cb9e5", destructured_ast = "295c2afd824442cbca7afc910e3905c0bdaadec959215df863ac9a30ac7f988b", inlined_ast = "295c2afd824442cbca7afc910e3905c0bdaadec959215df863ac9a30ac7f988b", dce_ast = "b40ada564ca5c8ad4a6524bf2239e152bf295fa004287f86499caa04cc8ea20a", bytecode = "382d6faca5454efb2c43e692e7ef46168de32044fd4eb589025fb7dabc62d3bb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out index 27227dcc45..76b9eb345c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 205a779f3db953f58162ae6206d9f39f82801485f471b7ab90c1f2ba4c2b4325 - unrolled_ast: 205a779f3db953f58162ae6206d9f39f82801485f471b7ab90c1f2ba4c2b4325 - ssa_ast: 94859a9de50f3ec38a12eb3bb0d589b031f6f4cc757277b4caebc6003ca5f4b5 - flattened_ast: 1b74b4583ff09f1ad9510256148c1da78abde83475b678306748fbae2ff7b96b - destructured_ast: f00de24de158275d52488ed6845d864cf6efec6f1ceeb6033b839682eeb9d95a - inlined_ast: f00de24de158275d52488ed6845d864cf6efec6f1ceeb6033b839682eeb9d95a - dce_ast: 0dd912f49dbf14b7bbf2a5703e956fa3c137eecb5cf47642a03823c1a3d69e85 - bytecode: cdf35ecca4bd73879647e3f8b20554dc0c6bea1b7064b2e62fe501aaf54469e8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "205a779f3db953f58162ae6206d9f39f82801485f471b7ab90c1f2ba4c2b4325", unrolled_ast = "205a779f3db953f58162ae6206d9f39f82801485f471b7ab90c1f2ba4c2b4325", ssa_ast = "94859a9de50f3ec38a12eb3bb0d589b031f6f4cc757277b4caebc6003ca5f4b5", flattened_ast = "1b74b4583ff09f1ad9510256148c1da78abde83475b678306748fbae2ff7b96b", destructured_ast = "f00de24de158275d52488ed6845d864cf6efec6f1ceeb6033b839682eeb9d95a", inlined_ast = "f00de24de158275d52488ed6845d864cf6efec6f1ceeb6033b839682eeb9d95a", dce_ast = "0dd912f49dbf14b7bbf2a5703e956fa3c137eecb5cf47642a03823c1a3d69e85", bytecode = "cdf35ecca4bd73879647e3f8b20554dc0c6bea1b7064b2e62fe501aaf54469e8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out index ef1bb382b0..de1a517854 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: 5a498c7969381b7386bca021146a670dee84f2cd0e42803b41fe0ac878845ec2 - unrolled_ast: 5a498c7969381b7386bca021146a670dee84f2cd0e42803b41fe0ac878845ec2 - ssa_ast: 48a81d35f8ade04fcc8abfea8a8a5282e00a8468162071461ec8f2ace0864975 - flattened_ast: 25edbb4bb70f5695de03e17b5c57a3781eab459ea9fbaa133b43b158a8b270cf - destructured_ast: 2ab891b1d88e0bc1e0603597f0e9f4bbaf4e62a94529248c783c598fb3d6acf5 - inlined_ast: 2ab891b1d88e0bc1e0603597f0e9f4bbaf4e62a94529248c783c598fb3d6acf5 - dce_ast: 5e9d256dc258a1b0de3504b957b747fef66c641b28a7649fce7d01b2c172e088 - bytecode: d7b1e51dba2a0e4e06e66b15ff10ea2c3d799073949f6b155489a46bbae70395 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "5a498c7969381b7386bca021146a670dee84f2cd0e42803b41fe0ac878845ec2", unrolled_ast = "5a498c7969381b7386bca021146a670dee84f2cd0e42803b41fe0ac878845ec2", ssa_ast = "48a81d35f8ade04fcc8abfea8a8a5282e00a8468162071461ec8f2ace0864975", flattened_ast = "25edbb4bb70f5695de03e17b5c57a3781eab459ea9fbaa133b43b158a8b270cf", destructured_ast = "2ab891b1d88e0bc1e0603597f0e9f4bbaf4e62a94529248c783c598fb3d6acf5", inlined_ast = "2ab891b1d88e0bc1e0603597f0e9f4bbaf4e62a94529248c783c598fb3d6acf5", dce_ast = "5e9d256dc258a1b0de3504b957b747fef66c641b28a7649fce7d01b2c172e088", bytecode = "d7b1e51dba2a0e4e06e66b15ff10ea2c3d799073949f6b155489a46bbae70395", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out index 858f1a0ca4..5d14b01671 100644 --- a/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 7c25e5e1c9dbb015b4c00372ec73f6d85665b29ecea3cc41c7a0bdb01aa107eb - unrolled_ast: 7c25e5e1c9dbb015b4c00372ec73f6d85665b29ecea3cc41c7a0bdb01aa107eb - ssa_ast: d10a2b494f51f7b5eef363f80ce8c28272d1b8cb1e9c2a3b6fcc7e3580b97de5 - flattened_ast: 9fe368220b9bd5b40f1865a518688ee016d9dd1f3e1dfdb29af31111dc515afe - destructured_ast: a3a01af30838ce68b87b7e12b044c1be4f4cae3a70e8756bbea3d065533a4446 - inlined_ast: a3a01af30838ce68b87b7e12b044c1be4f4cae3a70e8756bbea3d065533a4446 - dce_ast: dac297dcea43fb032d89ed57057665c8af192eb80ab88e141a65108a3d73dd42 - bytecode: 1729c5267f2280cfde27fd1c7806b03bb56e95306b8c269d0c186f05365ccef5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "7c25e5e1c9dbb015b4c00372ec73f6d85665b29ecea3cc41c7a0bdb01aa107eb", unrolled_ast = "7c25e5e1c9dbb015b4c00372ec73f6d85665b29ecea3cc41c7a0bdb01aa107eb", ssa_ast = "d10a2b494f51f7b5eef363f80ce8c28272d1b8cb1e9c2a3b6fcc7e3580b97de5", flattened_ast = "9fe368220b9bd5b40f1865a518688ee016d9dd1f3e1dfdb29af31111dc515afe", destructured_ast = "a3a01af30838ce68b87b7e12b044c1be4f4cae3a70e8756bbea3d065533a4446", inlined_ast = "a3a01af30838ce68b87b7e12b044c1be4f4cae3a70e8756bbea3d065533a4446", dce_ast = "dac297dcea43fb032d89ed57057665c8af192eb80ab88e141a65108a3d73dd42", bytecode = "1729c5267f2280cfde27fd1c7806b03bb56e95306b8c269d0c186f05365ccef5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out index 8021acfff9..15314aeb2d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 43b6979d03d85a3d64bfdd50fda155faf201deb4cf96b11b4b8f2c17a1185beb - type_checked_symbol_table: f97ccf5d4b99cf0b05d41ba235ad8681c4126ec0b766186aa710f3d081c702cd - unrolled_symbol_table: f97ccf5d4b99cf0b05d41ba235ad8681c4126ec0b766186aa710f3d081c702cd - initial_ast: bf89bff0fb684a62a32bf1b3a3354dc9253672fab0e0458323a6e0ee27a1c43f - unrolled_ast: bf89bff0fb684a62a32bf1b3a3354dc9253672fab0e0458323a6e0ee27a1c43f - ssa_ast: f224b430ca2db6b408ac8f72fd96cad85f1644854bf86cd05fe904a2b8a427d4 - flattened_ast: 64643c25ca0e537611e5381340feb1754b72e31b0efaf837b8354a491b3a59cc - destructured_ast: 3aabc428bd9afe0b5b9f005287cc0389d1a81603be2f72403f30ed566f0f3611 - inlined_ast: 3aabc428bd9afe0b5b9f005287cc0389d1a81603be2f72403f30ed566f0f3611 - dce_ast: e709d068f653888369009929a437ac5b7a424677702dd3ab30e7c3a790e35dfc - bytecode: c29ba43cc3083fcfd4679f145a1338868b6e34800515be8eb9e7b7c66e36bd72 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "43b6979d03d85a3d64bfdd50fda155faf201deb4cf96b11b4b8f2c17a1185beb", type_checked_symbol_table = "f97ccf5d4b99cf0b05d41ba235ad8681c4126ec0b766186aa710f3d081c702cd", unrolled_symbol_table = "f97ccf5d4b99cf0b05d41ba235ad8681c4126ec0b766186aa710f3d081c702cd", initial_ast = "bf89bff0fb684a62a32bf1b3a3354dc9253672fab0e0458323a6e0ee27a1c43f", unrolled_ast = "bf89bff0fb684a62a32bf1b3a3354dc9253672fab0e0458323a6e0ee27a1c43f", ssa_ast = "f224b430ca2db6b408ac8f72fd96cad85f1644854bf86cd05fe904a2b8a427d4", flattened_ast = "64643c25ca0e537611e5381340feb1754b72e31b0efaf837b8354a491b3a59cc", destructured_ast = "3aabc428bd9afe0b5b9f005287cc0389d1a81603be2f72403f30ed566f0f3611", inlined_ast = "3aabc428bd9afe0b5b9f005287cc0389d1a81603be2f72403f30ed566f0f3611", dce_ast = "e709d068f653888369009929a437ac5b7a424677702dd3ab30e7c3a790e35dfc", bytecode = "c29ba43cc3083fcfd4679f145a1338868b6e34800515be8eb9e7b7c66e36bd72", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out index ec99afee0d..e390cd0fa8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2176f3c0078136f3c1871f918c1b4caa271a0fcea91ec71cd5b13d0d5047ead1 - type_checked_symbol_table: 1f55d2b49bf09bb9c2e703d7ea8f6c10367a7d3f75cd080ae432e1b689a93733 - unrolled_symbol_table: 1f55d2b49bf09bb9c2e703d7ea8f6c10367a7d3f75cd080ae432e1b689a93733 - initial_ast: 754070a6b34a912393a087cb1ecee4dc66bc7de401cdb54c760ecb28142f9695 - unrolled_ast: 754070a6b34a912393a087cb1ecee4dc66bc7de401cdb54c760ecb28142f9695 - ssa_ast: 4f04e60538a724a646c28ecd3a3a86991eddbb46e2cbb18b61b1458d631d8d55 - flattened_ast: b2e8226820027ff0af6d9d019db2a33b1d2021233b94794217f1a10d81694b82 - destructured_ast: 0810e5a545a3f2e462d1d9156b802b8662cdc7af8da45eda19530cd50aadd003 - inlined_ast: 0810e5a545a3f2e462d1d9156b802b8662cdc7af8da45eda19530cd50aadd003 - dce_ast: 8c40c47afdd450175dd1e4e97a1a3cdb2bbff66665be52917b3c01cd9cbc1f7a - bytecode: 6766245f5ffcb57b8dfa09dd42a53b8b42c70c6759ba4c4d00f90b0b91d2fddf - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2176f3c0078136f3c1871f918c1b4caa271a0fcea91ec71cd5b13d0d5047ead1", type_checked_symbol_table = "1f55d2b49bf09bb9c2e703d7ea8f6c10367a7d3f75cd080ae432e1b689a93733", unrolled_symbol_table = "1f55d2b49bf09bb9c2e703d7ea8f6c10367a7d3f75cd080ae432e1b689a93733", initial_ast = "754070a6b34a912393a087cb1ecee4dc66bc7de401cdb54c760ecb28142f9695", unrolled_ast = "754070a6b34a912393a087cb1ecee4dc66bc7de401cdb54c760ecb28142f9695", ssa_ast = "4f04e60538a724a646c28ecd3a3a86991eddbb46e2cbb18b61b1458d631d8d55", flattened_ast = "b2e8226820027ff0af6d9d019db2a33b1d2021233b94794217f1a10d81694b82", destructured_ast = "0810e5a545a3f2e462d1d9156b802b8662cdc7af8da45eda19530cd50aadd003", inlined_ast = "0810e5a545a3f2e462d1d9156b802b8662cdc7af8da45eda19530cd50aadd003", dce_ast = "8c40c47afdd450175dd1e4e97a1a3cdb2bbff66665be52917b3c01cd9cbc1f7a", bytecode = "6766245f5ffcb57b8dfa09dd42a53b8b42c70c6759ba4c4d00f90b0b91d2fddf", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out index adb367546a..590c6b9bd3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1e99433ba7238b2c6fe98b657050b05bdf7379aae0381d7e10022f6740cc5a27 - type_checked_symbol_table: 5e70e9482745ef1d94670ad1278ce7d35454e3ea3d9f05c5621a6054ae824a76 - unrolled_symbol_table: 5e70e9482745ef1d94670ad1278ce7d35454e3ea3d9f05c5621a6054ae824a76 - initial_ast: 8e4c2ea6635cdbe3685626bbc3e94424c6ccb2cc0510867ca5bb3961f480a946 - unrolled_ast: 8e4c2ea6635cdbe3685626bbc3e94424c6ccb2cc0510867ca5bb3961f480a946 - ssa_ast: 004be176bab45fcf01d53f3c6d8de7156faaca14ea776c89202515caa5f8a319 - flattened_ast: dbbf294838b3ddbd5ce0c2065a1157ba3686a952e6106d68c0eaef7b957e42e5 - destructured_ast: 73fddfe650474c5d4a1cd904aa4a423d7333966a428e053132767469b27cbfc1 - inlined_ast: 73fddfe650474c5d4a1cd904aa4a423d7333966a428e053132767469b27cbfc1 - dce_ast: 6137c54517c2e1dde6404cae9aaef48f89f9c3be11145a93fd80e2d5ec17dc25 - bytecode: 47dce131034f7956142a90086606e4410ba42894907ea54331289beb05ea1493 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1e99433ba7238b2c6fe98b657050b05bdf7379aae0381d7e10022f6740cc5a27", type_checked_symbol_table = "5e70e9482745ef1d94670ad1278ce7d35454e3ea3d9f05c5621a6054ae824a76", unrolled_symbol_table = "5e70e9482745ef1d94670ad1278ce7d35454e3ea3d9f05c5621a6054ae824a76", initial_ast = "8e4c2ea6635cdbe3685626bbc3e94424c6ccb2cc0510867ca5bb3961f480a946", unrolled_ast = "8e4c2ea6635cdbe3685626bbc3e94424c6ccb2cc0510867ca5bb3961f480a946", ssa_ast = "004be176bab45fcf01d53f3c6d8de7156faaca14ea776c89202515caa5f8a319", flattened_ast = "dbbf294838b3ddbd5ce0c2065a1157ba3686a952e6106d68c0eaef7b957e42e5", destructured_ast = "73fddfe650474c5d4a1cd904aa4a423d7333966a428e053132767469b27cbfc1", inlined_ast = "73fddfe650474c5d4a1cd904aa4a423d7333966a428e053132767469b27cbfc1", dce_ast = "6137c54517c2e1dde6404cae9aaef48f89f9c3be11145a93fd80e2d5ec17dc25", bytecode = "47dce131034f7956142a90086606e4410ba42894907ea54331289beb05ea1493", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out index 9216d29f1e..b763a8d88d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 947f17aa9f8beb3163cd3c5946744ff5d5d4a4ad87dcf6744c3861d6b51c01c5 - type_checked_symbol_table: 46c7d6eace8494858f03955180f6eec58f83de855c82eb01f71eaa2b71a722f2 - unrolled_symbol_table: 46c7d6eace8494858f03955180f6eec58f83de855c82eb01f71eaa2b71a722f2 - initial_ast: 3735bb203e9ca273c404572cde8f65f5dafdf3127d0f45f91b636fda3a16ee5a - unrolled_ast: 3735bb203e9ca273c404572cde8f65f5dafdf3127d0f45f91b636fda3a16ee5a - ssa_ast: cf410d2783f4520c99a30748f3e637dba21992480eeb4b27567a038cf6c9e1ee - flattened_ast: 2af214bd1ba25129d91f2e80d0b546dfdfe4a44a3c453b93c845eee262119c53 - destructured_ast: c9634a7746cb2c81283483d04590233dbc4648fdc92d493536553ca029fc4876 - inlined_ast: c9634a7746cb2c81283483d04590233dbc4648fdc92d493536553ca029fc4876 - dce_ast: b62a5e5cfb3987276baa7bd3069ca9af862ef5f1397c72c999065cdb74e845ef - bytecode: afefae5391b2a9683bdcb8774d6d3642e2fe1cd9aee86392a544da3d06059483 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "947f17aa9f8beb3163cd3c5946744ff5d5d4a4ad87dcf6744c3861d6b51c01c5", type_checked_symbol_table = "46c7d6eace8494858f03955180f6eec58f83de855c82eb01f71eaa2b71a722f2", unrolled_symbol_table = "46c7d6eace8494858f03955180f6eec58f83de855c82eb01f71eaa2b71a722f2", initial_ast = "3735bb203e9ca273c404572cde8f65f5dafdf3127d0f45f91b636fda3a16ee5a", unrolled_ast = "3735bb203e9ca273c404572cde8f65f5dafdf3127d0f45f91b636fda3a16ee5a", ssa_ast = "cf410d2783f4520c99a30748f3e637dba21992480eeb4b27567a038cf6c9e1ee", flattened_ast = "2af214bd1ba25129d91f2e80d0b546dfdfe4a44a3c453b93c845eee262119c53", destructured_ast = "c9634a7746cb2c81283483d04590233dbc4648fdc92d493536553ca029fc4876", inlined_ast = "c9634a7746cb2c81283483d04590233dbc4648fdc92d493536553ca029fc4876", dce_ast = "b62a5e5cfb3987276baa7bd3069ca9af862ef5f1397c72c999065cdb74e845ef", bytecode = "afefae5391b2a9683bdcb8774d6d3642e2fe1cd9aee86392a544da3d06059483", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out index b4aacab5a8..3dab81505b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f928b7b8c5cbf510522bcfc86ac93ec3f1701c50d6ad1d07bd149c05948a12c4 - type_checked_symbol_table: 71a4f91d8767807eae3af29dab050f20acbc235002f5038d937e1e8b64526ce8 - unrolled_symbol_table: 71a4f91d8767807eae3af29dab050f20acbc235002f5038d937e1e8b64526ce8 - initial_ast: 18e80b0e0a72563f8016c36827af1d337871834eb676879218adcc6f3e7ee630 - unrolled_ast: 18e80b0e0a72563f8016c36827af1d337871834eb676879218adcc6f3e7ee630 - ssa_ast: d19f8da5aad1f750dc672be0d90a3f5e32d2a0619f26cd993609235b12827917 - flattened_ast: 1818debae697741abc83767cf15e4263f96c7622b9a639e2a71c4e0b953ccdc5 - destructured_ast: 8c175160e9fd3d147862eb026f3391a619989ab26280427813fdf5a464d8e5df - inlined_ast: 8c175160e9fd3d147862eb026f3391a619989ab26280427813fdf5a464d8e5df - dce_ast: f382b5b36c5f2883a2a145c848396aa2cba58443e79800bdb93a8e58fd0eea14 - bytecode: cf1f61d314fc1a485ecb3251ed0ecb0a75b9db0af739b9e5cef60f89639cfa8f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f928b7b8c5cbf510522bcfc86ac93ec3f1701c50d6ad1d07bd149c05948a12c4", type_checked_symbol_table = "71a4f91d8767807eae3af29dab050f20acbc235002f5038d937e1e8b64526ce8", unrolled_symbol_table = "71a4f91d8767807eae3af29dab050f20acbc235002f5038d937e1e8b64526ce8", initial_ast = "18e80b0e0a72563f8016c36827af1d337871834eb676879218adcc6f3e7ee630", unrolled_ast = "18e80b0e0a72563f8016c36827af1d337871834eb676879218adcc6f3e7ee630", ssa_ast = "d19f8da5aad1f750dc672be0d90a3f5e32d2a0619f26cd993609235b12827917", flattened_ast = "1818debae697741abc83767cf15e4263f96c7622b9a639e2a71c4e0b953ccdc5", destructured_ast = "8c175160e9fd3d147862eb026f3391a619989ab26280427813fdf5a464d8e5df", inlined_ast = "8c175160e9fd3d147862eb026f3391a619989ab26280427813fdf5a464d8e5df", dce_ast = "f382b5b36c5f2883a2a145c848396aa2cba58443e79800bdb93a8e58fd0eea14", bytecode = "cf1f61d314fc1a485ecb3251ed0ecb0a75b9db0af739b9e5cef60f89639cfa8f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out index 4592d86c58..795751bb59 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6b312ad86475fdfca881ccc9ccc1062f284e76aa3332675ca143caa7b5d3068b - type_checked_symbol_table: a2f7f26b368984c3f35b5f4978a773798037cb04cee76da625fdd57037636ce3 - unrolled_symbol_table: a2f7f26b368984c3f35b5f4978a773798037cb04cee76da625fdd57037636ce3 - initial_ast: 05388116d75578f3d016e968128eb49ed0fd5d1bac8263a43c0a22586db41be7 - unrolled_ast: 05388116d75578f3d016e968128eb49ed0fd5d1bac8263a43c0a22586db41be7 - ssa_ast: cc93c6f8e67a6a8bea57918b876ef9259bfa9510292995ef838cf72357fcb286 - flattened_ast: fe94538f9b1c57cdf57cbc5016304637a36841988c14a5584d2f10d1791ea35d - destructured_ast: 4c0fc38d1c7eae212ccabb17424649c79e1af4a244c89b88d60dd4e705912d53 - inlined_ast: 4c0fc38d1c7eae212ccabb17424649c79e1af4a244c89b88d60dd4e705912d53 - dce_ast: e5124a9eb9949bb53b783002e88d78e6ca30f385c922f32f8c12130e010b1d7b - bytecode: 1f9a639115c8bb61557fb100794fff5564c633f937113875ffb5b10952bbfb02 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6b312ad86475fdfca881ccc9ccc1062f284e76aa3332675ca143caa7b5d3068b", type_checked_symbol_table = "a2f7f26b368984c3f35b5f4978a773798037cb04cee76da625fdd57037636ce3", unrolled_symbol_table = "a2f7f26b368984c3f35b5f4978a773798037cb04cee76da625fdd57037636ce3", initial_ast = "05388116d75578f3d016e968128eb49ed0fd5d1bac8263a43c0a22586db41be7", unrolled_ast = "05388116d75578f3d016e968128eb49ed0fd5d1bac8263a43c0a22586db41be7", ssa_ast = "cc93c6f8e67a6a8bea57918b876ef9259bfa9510292995ef838cf72357fcb286", flattened_ast = "fe94538f9b1c57cdf57cbc5016304637a36841988c14a5584d2f10d1791ea35d", destructured_ast = "4c0fc38d1c7eae212ccabb17424649c79e1af4a244c89b88d60dd4e705912d53", inlined_ast = "4c0fc38d1c7eae212ccabb17424649c79e1af4a244c89b88d60dd4e705912d53", dce_ast = "e5124a9eb9949bb53b783002e88d78e6ca30f385c922f32f8c12130e010b1d7b", bytecode = "1f9a639115c8bb61557fb100794fff5564c633f937113875ffb5b10952bbfb02", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out index d408e685c1..e7f021c86f 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ec7e805453bb4081fba0d721a81e3f15e222fbce2d6e8587c97e24788c164bba - type_checked_symbol_table: 2f1b236449628de012306f999903e6796ada92267f38a4b32b706bfee45521eb - unrolled_symbol_table: 2f1b236449628de012306f999903e6796ada92267f38a4b32b706bfee45521eb - initial_ast: d76d988d140f3de87ba94168a894b11126294497f96f9ff3eef463eaa902db6c - unrolled_ast: d76d988d140f3de87ba94168a894b11126294497f96f9ff3eef463eaa902db6c - ssa_ast: 52655895eb79ec997970050f2f57c419973e1010697159020ef42a0ad90f4a62 - flattened_ast: a12499dd93bbe9b2570d2216ef540c2a677c807a22c0e13e7e3b3a3a61215dd1 - destructured_ast: 1c041e3e9f86f1abdcad00d081627aaf913d2d4f6581a71d1728aa7003380ad8 - inlined_ast: 1c041e3e9f86f1abdcad00d081627aaf913d2d4f6581a71d1728aa7003380ad8 - dce_ast: 108d8896374ab5bcdcd6b41f221fdf9f32a4cf483680364d09c9db2cded511c2 - bytecode: b34f23a9e355f5c390ac8e515b847321dbae47a2ce02a361bd07626909cbf9f5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ec7e805453bb4081fba0d721a81e3f15e222fbce2d6e8587c97e24788c164bba", type_checked_symbol_table = "2f1b236449628de012306f999903e6796ada92267f38a4b32b706bfee45521eb", unrolled_symbol_table = "2f1b236449628de012306f999903e6796ada92267f38a4b32b706bfee45521eb", initial_ast = "d76d988d140f3de87ba94168a894b11126294497f96f9ff3eef463eaa902db6c", unrolled_ast = "d76d988d140f3de87ba94168a894b11126294497f96f9ff3eef463eaa902db6c", ssa_ast = "52655895eb79ec997970050f2f57c419973e1010697159020ef42a0ad90f4a62", flattened_ast = "a12499dd93bbe9b2570d2216ef540c2a677c807a22c0e13e7e3b3a3a61215dd1", destructured_ast = "1c041e3e9f86f1abdcad00d081627aaf913d2d4f6581a71d1728aa7003380ad8", inlined_ast = "1c041e3e9f86f1abdcad00d081627aaf913d2d4f6581a71d1728aa7003380ad8", dce_ast = "108d8896374ab5bcdcd6b41f221fdf9f32a4cf483680364d09c9db2cded511c2", bytecode = "b34f23a9e355f5c390ac8e515b847321dbae47a2ce02a361bd07626909cbf9f5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out index a743567f82..11e58d6ffc 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e28c7287c2f771e8c1edd2400fd6233cce138d7fb6d42d30d1a9e4b1695331e - type_checked_symbol_table: 7f798834b6576ad6838d62df3ef512cd13bbc1f06c48450ceab20f13c771c21c - unrolled_symbol_table: 7f798834b6576ad6838d62df3ef512cd13bbc1f06c48450ceab20f13c771c21c - initial_ast: 9386d404e9b1afebd4933a1843089ff07d33e2c23dfc9a267e1746d310d1cb39 - unrolled_ast: 9386d404e9b1afebd4933a1843089ff07d33e2c23dfc9a267e1746d310d1cb39 - ssa_ast: 725877a8ba4243bb9a59be0d09b46072503370c1a0e17268ac8a879147b1c056 - flattened_ast: e6c671e9800d7a1ec145015ef28a1c7074f5e463b52c28cbc1ffdbf57153dde8 - destructured_ast: 61b56260ca52c5492058f66cc99d314db0dbd99e9fe92cf075684d5ab226c16a - inlined_ast: 61b56260ca52c5492058f66cc99d314db0dbd99e9fe92cf075684d5ab226c16a - dce_ast: 34aeefa58f2e6c5072f419b81b7939f6e2c5b988e596ab9b30b265628da691d2 - bytecode: b36acadd6fb61cbf63925f25c8e21dd263306affba9cb22023189595884e7e12 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e28c7287c2f771e8c1edd2400fd6233cce138d7fb6d42d30d1a9e4b1695331e", type_checked_symbol_table = "7f798834b6576ad6838d62df3ef512cd13bbc1f06c48450ceab20f13c771c21c", unrolled_symbol_table = "7f798834b6576ad6838d62df3ef512cd13bbc1f06c48450ceab20f13c771c21c", initial_ast = "9386d404e9b1afebd4933a1843089ff07d33e2c23dfc9a267e1746d310d1cb39", unrolled_ast = "9386d404e9b1afebd4933a1843089ff07d33e2c23dfc9a267e1746d310d1cb39", ssa_ast = "725877a8ba4243bb9a59be0d09b46072503370c1a0e17268ac8a879147b1c056", flattened_ast = "e6c671e9800d7a1ec145015ef28a1c7074f5e463b52c28cbc1ffdbf57153dde8", destructured_ast = "61b56260ca52c5492058f66cc99d314db0dbd99e9fe92cf075684d5ab226c16a", inlined_ast = "61b56260ca52c5492058f66cc99d314db0dbd99e9fe92cf075684d5ab226c16a", dce_ast = "34aeefa58f2e6c5072f419b81b7939f6e2c5b988e596ab9b30b265628da691d2", bytecode = "b36acadd6fb61cbf63925f25c8e21dd263306affba9cb22023189595884e7e12", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out index 770f007612..accc75fe28 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a8054d139c44a5920bdea06bd84441aba853f0fa1f2a4d47745d5ad8a4c4882b - type_checked_symbol_table: 4c038d1cef171c789dbdcfe2b71f902e1f302662e235950dd361bf0d94fc39df - unrolled_symbol_table: 4c038d1cef171c789dbdcfe2b71f902e1f302662e235950dd361bf0d94fc39df - initial_ast: 5466fa327019dda719f9a90f7d70818ba08128201bde2507392c89db2e63cf77 - unrolled_ast: 5466fa327019dda719f9a90f7d70818ba08128201bde2507392c89db2e63cf77 - ssa_ast: e530058e98d1af2de1ed5b422bbf57e8644307043cae4b46de19d6a07e2b2ef2 - flattened_ast: 719126cfaad9b0d8b3343d4eef8ae819c562e3bbc24e478f7ed4f4456c69a27f - destructured_ast: c597df5325a6ad32b958747e905c5fcaa59d394ef8b55581d98bffeb9f086497 - inlined_ast: c597df5325a6ad32b958747e905c5fcaa59d394ef8b55581d98bffeb9f086497 - dce_ast: dba998d8803882a5fb123211cdd7dec50f6d21781ac98727aef9f43f8f4caf3c - bytecode: a86b84445b2b354771713da4b78c48dea3e581c11633a985b04b2de7145a0999 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a8054d139c44a5920bdea06bd84441aba853f0fa1f2a4d47745d5ad8a4c4882b", type_checked_symbol_table = "4c038d1cef171c789dbdcfe2b71f902e1f302662e235950dd361bf0d94fc39df", unrolled_symbol_table = "4c038d1cef171c789dbdcfe2b71f902e1f302662e235950dd361bf0d94fc39df", initial_ast = "5466fa327019dda719f9a90f7d70818ba08128201bde2507392c89db2e63cf77", unrolled_ast = "5466fa327019dda719f9a90f7d70818ba08128201bde2507392c89db2e63cf77", ssa_ast = "e530058e98d1af2de1ed5b422bbf57e8644307043cae4b46de19d6a07e2b2ef2", flattened_ast = "719126cfaad9b0d8b3343d4eef8ae819c562e3bbc24e478f7ed4f4456c69a27f", destructured_ast = "c597df5325a6ad32b958747e905c5fcaa59d394ef8b55581d98bffeb9f086497", inlined_ast = "c597df5325a6ad32b958747e905c5fcaa59d394ef8b55581d98bffeb9f086497", dce_ast = "dba998d8803882a5fb123211cdd7dec50f6d21781ac98727aef9f43f8f4caf3c", bytecode = "a86b84445b2b354771713da4b78c48dea3e581c11633a985b04b2de7145a0999", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out index 0ff73d80c7..70ed41d90d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 20f182be4d266ff1bdf1f1fd5fdda13dfcd75a35cee0541eb15535abbf46f21f - type_checked_symbol_table: b4c1f5ff8edadf3cd8fa58bfc3684c17700aff76b9b856b518bbb6c9a25d0bec - unrolled_symbol_table: b4c1f5ff8edadf3cd8fa58bfc3684c17700aff76b9b856b518bbb6c9a25d0bec - initial_ast: 4be80b510dc6b6be63e6bc8e241b85cf7f0334a95fb6bd6931a08a8c3bb3f74d - unrolled_ast: 4be80b510dc6b6be63e6bc8e241b85cf7f0334a95fb6bd6931a08a8c3bb3f74d - ssa_ast: 5a581e4181f9cacf6d84a9afa7e68cb215d2eb5e12e728e4d2bc7de2e22a05dc - flattened_ast: e79df3a96d605c9e647f3709b4c97266d4e93b5d8a84fa8d5305b83752e5dee5 - destructured_ast: a6a70f67ab43470b4768192c72cfefd60ac4d03db41632d4c7fd101de8b9b966 - inlined_ast: a6a70f67ab43470b4768192c72cfefd60ac4d03db41632d4c7fd101de8b9b966 - dce_ast: b1edd2bfdabbc088ae1eaccc5861566067d23311b277304136475a6c424c33f6 - bytecode: e335101f9a6607193a53e022c22c7023d7bdecc843bfffec6c25d75e7c403a4b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "20f182be4d266ff1bdf1f1fd5fdda13dfcd75a35cee0541eb15535abbf46f21f", type_checked_symbol_table = "b4c1f5ff8edadf3cd8fa58bfc3684c17700aff76b9b856b518bbb6c9a25d0bec", unrolled_symbol_table = "b4c1f5ff8edadf3cd8fa58bfc3684c17700aff76b9b856b518bbb6c9a25d0bec", initial_ast = "4be80b510dc6b6be63e6bc8e241b85cf7f0334a95fb6bd6931a08a8c3bb3f74d", unrolled_ast = "4be80b510dc6b6be63e6bc8e241b85cf7f0334a95fb6bd6931a08a8c3bb3f74d", ssa_ast = "5a581e4181f9cacf6d84a9afa7e68cb215d2eb5e12e728e4d2bc7de2e22a05dc", flattened_ast = "e79df3a96d605c9e647f3709b4c97266d4e93b5d8a84fa8d5305b83752e5dee5", destructured_ast = "a6a70f67ab43470b4768192c72cfefd60ac4d03db41632d4c7fd101de8b9b966", inlined_ast = "a6a70f67ab43470b4768192c72cfefd60ac4d03db41632d4c7fd101de8b9b966", dce_ast = "b1edd2bfdabbc088ae1eaccc5861566067d23311b277304136475a6c424c33f6", bytecode = "e335101f9a6607193a53e022c22c7023d7bdecc843bfffec6c25d75e7c403a4b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out index aa9c8a8a26..45e997ad96 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0c5b23dfab60e1ea588e518e970d654f16b816943855029ffa265dafc3125bec - type_checked_symbol_table: cd7464387f4fd78f7686103cbe80b1f8f8a78001e2e2bc4f2c814705a0b52254 - unrolled_symbol_table: cd7464387f4fd78f7686103cbe80b1f8f8a78001e2e2bc4f2c814705a0b52254 - initial_ast: 68b9f7f7c7504a5a51fb683e227ed5769df2439679ea4324108dc4b18d7c6cd2 - unrolled_ast: 68b9f7f7c7504a5a51fb683e227ed5769df2439679ea4324108dc4b18d7c6cd2 - ssa_ast: 58b46f2474a10a9d8bdbc5cd7e815cb38186eaa35b4e73274e20ec2dc4db47e7 - flattened_ast: d5521383435bd6481ff51653a229976b1e40f2d52d2c11823a9966f01b62d97c - destructured_ast: 5528f2a23916979926e4d1e14599a37570535a8daf6f568d662f9bc056e9a387 - inlined_ast: 5528f2a23916979926e4d1e14599a37570535a8daf6f568d662f9bc056e9a387 - dce_ast: 6267df234f78df6ee75de1ed19441b3f05521e77fe62986381416aa9b05bcb90 - bytecode: ff900dd886d1e12097dda0edc605cf1e5490623bb40e46357b74ad4951608c2d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0c5b23dfab60e1ea588e518e970d654f16b816943855029ffa265dafc3125bec", type_checked_symbol_table = "cd7464387f4fd78f7686103cbe80b1f8f8a78001e2e2bc4f2c814705a0b52254", unrolled_symbol_table = "cd7464387f4fd78f7686103cbe80b1f8f8a78001e2e2bc4f2c814705a0b52254", initial_ast = "68b9f7f7c7504a5a51fb683e227ed5769df2439679ea4324108dc4b18d7c6cd2", unrolled_ast = "68b9f7f7c7504a5a51fb683e227ed5769df2439679ea4324108dc4b18d7c6cd2", ssa_ast = "58b46f2474a10a9d8bdbc5cd7e815cb38186eaa35b4e73274e20ec2dc4db47e7", flattened_ast = "d5521383435bd6481ff51653a229976b1e40f2d52d2c11823a9966f01b62d97c", destructured_ast = "5528f2a23916979926e4d1e14599a37570535a8daf6f568d662f9bc056e9a387", inlined_ast = "5528f2a23916979926e4d1e14599a37570535a8daf6f568d662f9bc056e9a387", dce_ast = "6267df234f78df6ee75de1ed19441b3f05521e77fe62986381416aa9b05bcb90", bytecode = "ff900dd886d1e12097dda0edc605cf1e5490623bb40e46357b74ad4951608c2d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out index 287c57af39..d7dbc4c83e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 712ba2278b119b64cfda40f3e0eb988c30b803432d4857c5ffdc88eda2303a40 - type_checked_symbol_table: 6881179a2e2fe76b54fe110627d985276a181d6723a11feb6a4ac4aa501d2be9 - unrolled_symbol_table: 6881179a2e2fe76b54fe110627d985276a181d6723a11feb6a4ac4aa501d2be9 - initial_ast: b7a33b4b8154c034fdd645162dcb6e0970b43207e4da38eab90e325b1da20893 - unrolled_ast: b7a33b4b8154c034fdd645162dcb6e0970b43207e4da38eab90e325b1da20893 - ssa_ast: e4ba82a7e85f5e293a87cd4f6dc978e0cfe460791a42252b4fe8b5e6108c0792 - flattened_ast: 618f18bb008dc9e7a1775b088abd462d62fbf099cc74be75b8f4a4718fbe2e3d - destructured_ast: 676f2f48de7da29b8ddfc66e8ab829a0a8973f192b8b26734f2038ce0d1d76f1 - inlined_ast: 676f2f48de7da29b8ddfc66e8ab829a0a8973f192b8b26734f2038ce0d1d76f1 - dce_ast: 4252e8af29756f33f2b931a7734a26e045a2a7446d30a2410846da2828b3d8ba - bytecode: 90d51485318a95b7f82e7ac7849f998a080fe51ecda226ada434c81ef99a2847 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "712ba2278b119b64cfda40f3e0eb988c30b803432d4857c5ffdc88eda2303a40", type_checked_symbol_table = "6881179a2e2fe76b54fe110627d985276a181d6723a11feb6a4ac4aa501d2be9", unrolled_symbol_table = "6881179a2e2fe76b54fe110627d985276a181d6723a11feb6a4ac4aa501d2be9", initial_ast = "b7a33b4b8154c034fdd645162dcb6e0970b43207e4da38eab90e325b1da20893", unrolled_ast = "b7a33b4b8154c034fdd645162dcb6e0970b43207e4da38eab90e325b1da20893", ssa_ast = "e4ba82a7e85f5e293a87cd4f6dc978e0cfe460791a42252b4fe8b5e6108c0792", flattened_ast = "618f18bb008dc9e7a1775b088abd462d62fbf099cc74be75b8f4a4718fbe2e3d", destructured_ast = "676f2f48de7da29b8ddfc66e8ab829a0a8973f192b8b26734f2038ce0d1d76f1", inlined_ast = "676f2f48de7da29b8ddfc66e8ab829a0a8973f192b8b26734f2038ce0d1d76f1", dce_ast = "4252e8af29756f33f2b931a7734a26e045a2a7446d30a2410846da2828b3d8ba", bytecode = "90d51485318a95b7f82e7ac7849f998a080fe51ecda226ada434c81ef99a2847", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out index 0ce69a33d6..e6574d91f6 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 160fba5cf2ab145e968fd94b3b699e4da872d7bc093de37d3bdf1d66e8c187ef - type_checked_symbol_table: fca54dd10fdb2a5e761c768875018817c27be11f5bff68255d785f5cbd23ace0 - unrolled_symbol_table: fca54dd10fdb2a5e761c768875018817c27be11f5bff68255d785f5cbd23ace0 - initial_ast: c7ad27e068f9e31d5f4a579b6aae9a4d7d5098d31ec335c2a7df6cf2a88b6d5c - unrolled_ast: c7ad27e068f9e31d5f4a579b6aae9a4d7d5098d31ec335c2a7df6cf2a88b6d5c - ssa_ast: a88f3e17618f04390f496477a9f667cedcf7f1923e43c2e71c17c6640d0fc48f - flattened_ast: 74d7b2d2a23070867422c1c542ef45c18682d94eaba6d93382c666b4881faada - destructured_ast: 7b778c1b7c677f31a3bb48eabebe3312dc6a3efbb99a90aa8006a720054c5b15 - inlined_ast: 7b778c1b7c677f31a3bb48eabebe3312dc6a3efbb99a90aa8006a720054c5b15 - dce_ast: 1fd3566375218e2f0752e38f20dc92185e8b0d95791028b08258d1c1c68d9f32 - bytecode: fce545d86eb7b3a7d6fed930294f52c2289b6d7971b333cf047811bde82aa8c2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "160fba5cf2ab145e968fd94b3b699e4da872d7bc093de37d3bdf1d66e8c187ef", type_checked_symbol_table = "fca54dd10fdb2a5e761c768875018817c27be11f5bff68255d785f5cbd23ace0", unrolled_symbol_table = "fca54dd10fdb2a5e761c768875018817c27be11f5bff68255d785f5cbd23ace0", initial_ast = "c7ad27e068f9e31d5f4a579b6aae9a4d7d5098d31ec335c2a7df6cf2a88b6d5c", unrolled_ast = "c7ad27e068f9e31d5f4a579b6aae9a4d7d5098d31ec335c2a7df6cf2a88b6d5c", ssa_ast = "a88f3e17618f04390f496477a9f667cedcf7f1923e43c2e71c17c6640d0fc48f", flattened_ast = "74d7b2d2a23070867422c1c542ef45c18682d94eaba6d93382c666b4881faada", destructured_ast = "7b778c1b7c677f31a3bb48eabebe3312dc6a3efbb99a90aa8006a720054c5b15", inlined_ast = "7b778c1b7c677f31a3bb48eabebe3312dc6a3efbb99a90aa8006a720054c5b15", dce_ast = "1fd3566375218e2f0752e38f20dc92185e8b0d95791028b08258d1c1c68d9f32", bytecode = "fce545d86eb7b3a7d6fed930294f52c2289b6d7971b333cf047811bde82aa8c2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out index 3e0f60e68c..1aaef885df 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 96e81fd4c194ddc247c52899ce8785ec57e233d1beb5f9949f6e79c1cab5ae76 - type_checked_symbol_table: d9a929c37775603ba7039f3a4d536f75a9fd4add3db733f7dfbda624a6de95c0 - unrolled_symbol_table: d9a929c37775603ba7039f3a4d536f75a9fd4add3db733f7dfbda624a6de95c0 - initial_ast: 14a2dc75fbbd456eb8aed9185b0b166b7e5c6db5bd05ff91edeb9c1d5dcae9dc - unrolled_ast: 14a2dc75fbbd456eb8aed9185b0b166b7e5c6db5bd05ff91edeb9c1d5dcae9dc - ssa_ast: 9d16694a286c20a02555f3bc39ba63bd615180b00fd172abb8077e7d73cd4610 - flattened_ast: 280eca5d5f54e0e3adb7fd51e9604108ae4575ed083c21d9409bbc7a3f005846 - destructured_ast: 321f45f8943a77ecfa454af6bc3bbd0882dc68b239e50deb3894b5b8278244cc - inlined_ast: 321f45f8943a77ecfa454af6bc3bbd0882dc68b239e50deb3894b5b8278244cc - dce_ast: 8908de64f7b09842b4177903a2623a2df445c481b20786e9a6b1989245e1a841 - bytecode: 7c97b596c64b27dbd196f88a9e75d1b661256a1c196688ff1b344ef072a32412 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "96e81fd4c194ddc247c52899ce8785ec57e233d1beb5f9949f6e79c1cab5ae76", type_checked_symbol_table = "d9a929c37775603ba7039f3a4d536f75a9fd4add3db733f7dfbda624a6de95c0", unrolled_symbol_table = "d9a929c37775603ba7039f3a4d536f75a9fd4add3db733f7dfbda624a6de95c0", initial_ast = "14a2dc75fbbd456eb8aed9185b0b166b7e5c6db5bd05ff91edeb9c1d5dcae9dc", unrolled_ast = "14a2dc75fbbd456eb8aed9185b0b166b7e5c6db5bd05ff91edeb9c1d5dcae9dc", ssa_ast = "9d16694a286c20a02555f3bc39ba63bd615180b00fd172abb8077e7d73cd4610", flattened_ast = "280eca5d5f54e0e3adb7fd51e9604108ae4575ed083c21d9409bbc7a3f005846", destructured_ast = "321f45f8943a77ecfa454af6bc3bbd0882dc68b239e50deb3894b5b8278244cc", inlined_ast = "321f45f8943a77ecfa454af6bc3bbd0882dc68b239e50deb3894b5b8278244cc", dce_ast = "8908de64f7b09842b4177903a2623a2df445c481b20786e9a6b1989245e1a841", bytecode = "7c97b596c64b27dbd196f88a9e75d1b661256a1c196688ff1b344ef072a32412", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out index ceaa6e4a53..dd3a70b0ca 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ecb2c47dc7c6c121aa3383391698c7ad177f04fb1863e0fdc12cc6272bcfa972 - type_checked_symbol_table: 0d87e7eab46179728a33c0197bafbc8830a1a09a954727ea0ec3e81427d11b0c - unrolled_symbol_table: 0d87e7eab46179728a33c0197bafbc8830a1a09a954727ea0ec3e81427d11b0c - initial_ast: a0a6882a0c110b02294679038c0728142b2413ca33f110937d141f39a6b3e64e - unrolled_ast: a0a6882a0c110b02294679038c0728142b2413ca33f110937d141f39a6b3e64e - ssa_ast: e5e108ab23b2309e77f5e34b577e704f5f6de9900931c42582fbfb9b50960f5b - flattened_ast: 9295d88ec186d91cba26b0e4d19f1a38d644261d02b624c6ad2e3a7f3e4f3784 - destructured_ast: c8ff85f5aa4c8d600aff2669e39aa9a6097be4444561a804e134745075228fb2 - inlined_ast: c8ff85f5aa4c8d600aff2669e39aa9a6097be4444561a804e134745075228fb2 - dce_ast: 6847b17428596f24a3b5c6b27bf1037bb126647df1a0a1fd1d7d31e54fb6bfd1 - bytecode: f4f418fcdcb33a7e9fba1a03800a1458019e9042a47457b38ba185cdf981d33c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ecb2c47dc7c6c121aa3383391698c7ad177f04fb1863e0fdc12cc6272bcfa972", type_checked_symbol_table = "0d87e7eab46179728a33c0197bafbc8830a1a09a954727ea0ec3e81427d11b0c", unrolled_symbol_table = "0d87e7eab46179728a33c0197bafbc8830a1a09a954727ea0ec3e81427d11b0c", initial_ast = "a0a6882a0c110b02294679038c0728142b2413ca33f110937d141f39a6b3e64e", unrolled_ast = "a0a6882a0c110b02294679038c0728142b2413ca33f110937d141f39a6b3e64e", ssa_ast = "e5e108ab23b2309e77f5e34b577e704f5f6de9900931c42582fbfb9b50960f5b", flattened_ast = "9295d88ec186d91cba26b0e4d19f1a38d644261d02b624c6ad2e3a7f3e4f3784", destructured_ast = "c8ff85f5aa4c8d600aff2669e39aa9a6097be4444561a804e134745075228fb2", inlined_ast = "c8ff85f5aa4c8d600aff2669e39aa9a6097be4444561a804e134745075228fb2", dce_ast = "6847b17428596f24a3b5c6b27bf1037bb126647df1a0a1fd1d7d31e54fb6bfd1", bytecode = "f4f418fcdcb33a7e9fba1a03800a1458019e9042a47457b38ba185cdf981d33c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out index 10263983c2..9baa1eeaab 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ad0c0ba49666fa9b8741106d20a60e91acd6b76cbd911976d44d990db0cb074c - type_checked_symbol_table: 0d6e6ebdc71177f59174521dc874bb2baea5abd1de4eb2cc5f5f51c08877b594 - unrolled_symbol_table: 0d6e6ebdc71177f59174521dc874bb2baea5abd1de4eb2cc5f5f51c08877b594 - initial_ast: ffee7d6c150ab1b54dad107f403680324f0aee75bd2a6e0812fce86aa46f2ee2 - unrolled_ast: ffee7d6c150ab1b54dad107f403680324f0aee75bd2a6e0812fce86aa46f2ee2 - ssa_ast: 1406465f29612891e3d2ee446437d8809e412aa1b643ce3ce12359e44f82d610 - flattened_ast: 032582d117a7e49add220191298ee8d6c4027e245d0c1992cbcf29972c2f4374 - destructured_ast: 792843993ceb51b78affe1fc51876fb06743c164cff7e0a553edf4558252caca - inlined_ast: 792843993ceb51b78affe1fc51876fb06743c164cff7e0a553edf4558252caca - dce_ast: 94acf91a3041826e5614166c0ee4c8bede2eb37bd5dbffdb275d4b47e35aaaae - bytecode: 55706d4cd4634a34de18450007e4de40f9cbc51382f3d70fe776cd58cfd49cfa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ad0c0ba49666fa9b8741106d20a60e91acd6b76cbd911976d44d990db0cb074c", type_checked_symbol_table = "0d6e6ebdc71177f59174521dc874bb2baea5abd1de4eb2cc5f5f51c08877b594", unrolled_symbol_table = "0d6e6ebdc71177f59174521dc874bb2baea5abd1de4eb2cc5f5f51c08877b594", initial_ast = "ffee7d6c150ab1b54dad107f403680324f0aee75bd2a6e0812fce86aa46f2ee2", unrolled_ast = "ffee7d6c150ab1b54dad107f403680324f0aee75bd2a6e0812fce86aa46f2ee2", ssa_ast = "1406465f29612891e3d2ee446437d8809e412aa1b643ce3ce12359e44f82d610", flattened_ast = "032582d117a7e49add220191298ee8d6c4027e245d0c1992cbcf29972c2f4374", destructured_ast = "792843993ceb51b78affe1fc51876fb06743c164cff7e0a553edf4558252caca", inlined_ast = "792843993ceb51b78affe1fc51876fb06743c164cff7e0a553edf4558252caca", dce_ast = "94acf91a3041826e5614166c0ee4c8bede2eb37bd5dbffdb275d4b47e35aaaae", bytecode = "55706d4cd4634a34de18450007e4de40f9cbc51382f3d70fe776cd58cfd49cfa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out index 19806d30f3..71f272037d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9333d02fedbf611192b8ac7603d6cd75a5547610205440f01df034c7f1429266 - type_checked_symbol_table: bb92631c8360eff0d8a11ceeebe545d184e0f24e57f4e03ef4a33efa6183e3f8 - unrolled_symbol_table: bb92631c8360eff0d8a11ceeebe545d184e0f24e57f4e03ef4a33efa6183e3f8 - initial_ast: 23f1cfeb5ded0a386597ac1ed019ff7906d3bf31c2124f5aa0c6b6289a1fedd7 - unrolled_ast: 23f1cfeb5ded0a386597ac1ed019ff7906d3bf31c2124f5aa0c6b6289a1fedd7 - ssa_ast: 67e881b8a0c853ab46b3bdbda543e99a9047b59ac03cc59656109e7e08bf3fc4 - flattened_ast: 27cea8d4bbd11b33c828a7241c31dd8990424b825e3fb73bb99f297f1cc04f66 - destructured_ast: 8030b6ae11db9610277d3630c3d5a54889028a6b99385ff9e3c39f665d894731 - inlined_ast: 8030b6ae11db9610277d3630c3d5a54889028a6b99385ff9e3c39f665d894731 - dce_ast: 967aac06caf5b7e8aa98f98ad764c6a029105235205558c26db189d81dace023 - bytecode: 33e4439af37c6a05aa55348ce0ec88471c0248498131db5b98b668e8cb828b5f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9333d02fedbf611192b8ac7603d6cd75a5547610205440f01df034c7f1429266", type_checked_symbol_table = "bb92631c8360eff0d8a11ceeebe545d184e0f24e57f4e03ef4a33efa6183e3f8", unrolled_symbol_table = "bb92631c8360eff0d8a11ceeebe545d184e0f24e57f4e03ef4a33efa6183e3f8", initial_ast = "23f1cfeb5ded0a386597ac1ed019ff7906d3bf31c2124f5aa0c6b6289a1fedd7", unrolled_ast = "23f1cfeb5ded0a386597ac1ed019ff7906d3bf31c2124f5aa0c6b6289a1fedd7", ssa_ast = "67e881b8a0c853ab46b3bdbda543e99a9047b59ac03cc59656109e7e08bf3fc4", flattened_ast = "27cea8d4bbd11b33c828a7241c31dd8990424b825e3fb73bb99f297f1cc04f66", destructured_ast = "8030b6ae11db9610277d3630c3d5a54889028a6b99385ff9e3c39f665d894731", inlined_ast = "8030b6ae11db9610277d3630c3d5a54889028a6b99385ff9e3c39f665d894731", dce_ast = "967aac06caf5b7e8aa98f98ad764c6a029105235205558c26db189d81dace023", bytecode = "33e4439af37c6a05aa55348ce0ec88471c0248498131db5b98b668e8cb828b5f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out index 60888e58dd..54ffe94e18 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: bcbb74fefed2f406308cad56c692eb6abeb05b2c8714503cc548e3d85857f712 - type_checked_symbol_table: 304037e017528b1b031d58b47acd0cf49845bf519d3f92a6d30db7853bc03307 - unrolled_symbol_table: 304037e017528b1b031d58b47acd0cf49845bf519d3f92a6d30db7853bc03307 - initial_ast: 29fb669950c75c3e68357cd07ade8e2f4da77b74db137b78e8a9164290f33f40 - unrolled_ast: 29fb669950c75c3e68357cd07ade8e2f4da77b74db137b78e8a9164290f33f40 - ssa_ast: 7ae7464f03756218449e0fef6f0865578b52b3eec881d439cdb4ed787e2aee94 - flattened_ast: e54a4424efebf9e6aa2665507232d7c148e49e5b786c926c26ea573743b3b9ee - destructured_ast: 23a092f35286253af0b458ec6fc5fc4a1417b4c0a9064cc477dc5098ab737722 - inlined_ast: 23a092f35286253af0b458ec6fc5fc4a1417b4c0a9064cc477dc5098ab737722 - dce_ast: 913294ec9edf1c3776dc99b283f8be4b14e8d47e60a45b3357e0e8df1c7943bc - bytecode: fc54eeb5791a27e0482648998cf9da197519e5c139729cf2906c8b0e4c0103d6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "bcbb74fefed2f406308cad56c692eb6abeb05b2c8714503cc548e3d85857f712", type_checked_symbol_table = "304037e017528b1b031d58b47acd0cf49845bf519d3f92a6d30db7853bc03307", unrolled_symbol_table = "304037e017528b1b031d58b47acd0cf49845bf519d3f92a6d30db7853bc03307", initial_ast = "29fb669950c75c3e68357cd07ade8e2f4da77b74db137b78e8a9164290f33f40", unrolled_ast = "29fb669950c75c3e68357cd07ade8e2f4da77b74db137b78e8a9164290f33f40", ssa_ast = "7ae7464f03756218449e0fef6f0865578b52b3eec881d439cdb4ed787e2aee94", flattened_ast = "e54a4424efebf9e6aa2665507232d7c148e49e5b786c926c26ea573743b3b9ee", destructured_ast = "23a092f35286253af0b458ec6fc5fc4a1417b4c0a9064cc477dc5098ab737722", inlined_ast = "23a092f35286253af0b458ec6fc5fc4a1417b4c0a9064cc477dc5098ab737722", dce_ast = "913294ec9edf1c3776dc99b283f8be4b14e8d47e60a45b3357e0e8df1c7943bc", bytecode = "fc54eeb5791a27e0482648998cf9da197519e5c139729cf2906c8b0e4c0103d6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out index f24187e1e9..fbdd043346 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0cfd8b0cb21561fb7554996f3edbc883fc170dace49d5f0839bb52b8d7800d19 - type_checked_symbol_table: 5f0c9faa2523b7bf3a0c25bfc4431ca84519d9146dce75f01c7fda74d43f02b4 - unrolled_symbol_table: 5f0c9faa2523b7bf3a0c25bfc4431ca84519d9146dce75f01c7fda74d43f02b4 - initial_ast: a16e9c1f4ea1aa8d80c0c3b4599597a8795bd8408b00b79bf5a5ba80849bf701 - unrolled_ast: a16e9c1f4ea1aa8d80c0c3b4599597a8795bd8408b00b79bf5a5ba80849bf701 - ssa_ast: 8df24f8bba330d3d907673277d830b30ef7469cbe7dc29d11c62a36dd800d192 - flattened_ast: c0ca1ea2f49dfb3ad0812db589a62518d29a799548fef7de5d43792a498bfa12 - destructured_ast: 42bfa93bd57da697e33233e8d60344b98a49563f3528efdf15c08e1885548973 - inlined_ast: 42bfa93bd57da697e33233e8d60344b98a49563f3528efdf15c08e1885548973 - dce_ast: 43f0df4f48ceaf766aeb542dc4b610c79b041dfba2b7158b537674a671bd1400 - bytecode: 045a18fb7e954456ea49039adfc253c222a290fa124ca1b19f86ca824d4c1279 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0cfd8b0cb21561fb7554996f3edbc883fc170dace49d5f0839bb52b8d7800d19", type_checked_symbol_table = "5f0c9faa2523b7bf3a0c25bfc4431ca84519d9146dce75f01c7fda74d43f02b4", unrolled_symbol_table = "5f0c9faa2523b7bf3a0c25bfc4431ca84519d9146dce75f01c7fda74d43f02b4", initial_ast = "a16e9c1f4ea1aa8d80c0c3b4599597a8795bd8408b00b79bf5a5ba80849bf701", unrolled_ast = "a16e9c1f4ea1aa8d80c0c3b4599597a8795bd8408b00b79bf5a5ba80849bf701", ssa_ast = "8df24f8bba330d3d907673277d830b30ef7469cbe7dc29d11c62a36dd800d192", flattened_ast = "c0ca1ea2f49dfb3ad0812db589a62518d29a799548fef7de5d43792a498bfa12", destructured_ast = "42bfa93bd57da697e33233e8d60344b98a49563f3528efdf15c08e1885548973", inlined_ast = "42bfa93bd57da697e33233e8d60344b98a49563f3528efdf15c08e1885548973", dce_ast = "43f0df4f48ceaf766aeb542dc4b610c79b041dfba2b7158b537674a671bd1400", bytecode = "045a18fb7e954456ea49039adfc253c222a290fa124ca1b19f86ca824d4c1279", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out index 05feeeebe6..0e8fe21b9d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2ef869c3e63096f9847e1eb6f4914d54e9cf70ea62b02c077b94cdbd859bb16d - type_checked_symbol_table: 6c9e2246215d533a3b51a7fbb9c81c4572ddc2a6541386fc7507a832aaaa7150 - unrolled_symbol_table: 6c9e2246215d533a3b51a7fbb9c81c4572ddc2a6541386fc7507a832aaaa7150 - initial_ast: 1676293a5dce7cf02649a2ecedf739a5600e095c4f5797ee3a559451e153bc72 - unrolled_ast: 1676293a5dce7cf02649a2ecedf739a5600e095c4f5797ee3a559451e153bc72 - ssa_ast: 80f867e3c82165605b9b12c842564a0c8cf3de4e8782f22f4c8296b7ef9ea390 - flattened_ast: d15bfbfe5556102d82fc1a34957c23f8a5cf646594c2f2c31aba5c8211b13997 - destructured_ast: 06614749740fb6275ee9779f480d8e1f9e03950894011d7d15c522ac029610ab - inlined_ast: 06614749740fb6275ee9779f480d8e1f9e03950894011d7d15c522ac029610ab - dce_ast: 9ce604662c2090fe91e2188565507603189b55c80c02c839abb4231c51cc44a0 - bytecode: 044a44a2a8fb9301c313f1e1c2abe04383f7d338cda6ff66fcdf2434bd750cc1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2ef869c3e63096f9847e1eb6f4914d54e9cf70ea62b02c077b94cdbd859bb16d", type_checked_symbol_table = "6c9e2246215d533a3b51a7fbb9c81c4572ddc2a6541386fc7507a832aaaa7150", unrolled_symbol_table = "6c9e2246215d533a3b51a7fbb9c81c4572ddc2a6541386fc7507a832aaaa7150", initial_ast = "1676293a5dce7cf02649a2ecedf739a5600e095c4f5797ee3a559451e153bc72", unrolled_ast = "1676293a5dce7cf02649a2ecedf739a5600e095c4f5797ee3a559451e153bc72", ssa_ast = "80f867e3c82165605b9b12c842564a0c8cf3de4e8782f22f4c8296b7ef9ea390", flattened_ast = "d15bfbfe5556102d82fc1a34957c23f8a5cf646594c2f2c31aba5c8211b13997", destructured_ast = "06614749740fb6275ee9779f480d8e1f9e03950894011d7d15c522ac029610ab", inlined_ast = "06614749740fb6275ee9779f480d8e1f9e03950894011d7d15c522ac029610ab", dce_ast = "9ce604662c2090fe91e2188565507603189b55c80c02c839abb4231c51cc44a0", bytecode = "044a44a2a8fb9301c313f1e1c2abe04383f7d338cda6ff66fcdf2434bd750cc1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out index 219f329fac..ffa0043262 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 9045f1c6891518849abb5853f5abb34124c693ae5c3dd04bd2df6cf4f24e0708 - unrolled_ast: 9045f1c6891518849abb5853f5abb34124c693ae5c3dd04bd2df6cf4f24e0708 - ssa_ast: 5a2c78fa7db8d771a0bc05e6efe3cb1a7f548a4a7b57709268dacba374504b74 - flattened_ast: 315fde849a79a5134fe24b5a3682964ee96c18969ea0ce4da98ecd4d4b3e27d2 - destructured_ast: 8effb966af7ff4aac4ac6edce5e79d576bbd934ee5cad55657d634eb0864cf70 - inlined_ast: 8effb966af7ff4aac4ac6edce5e79d576bbd934ee5cad55657d634eb0864cf70 - dce_ast: 54c843349afdb0d0b6d73bd188eb531b1e4d133ffc4628cded90c4e670e99f2c - bytecode: ca315272f12d59819b589dbf79fe025227b812e9b896696349ac766a9a416960 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "9045f1c6891518849abb5853f5abb34124c693ae5c3dd04bd2df6cf4f24e0708", unrolled_ast = "9045f1c6891518849abb5853f5abb34124c693ae5c3dd04bd2df6cf4f24e0708", ssa_ast = "5a2c78fa7db8d771a0bc05e6efe3cb1a7f548a4a7b57709268dacba374504b74", flattened_ast = "315fde849a79a5134fe24b5a3682964ee96c18969ea0ce4da98ecd4d4b3e27d2", destructured_ast = "8effb966af7ff4aac4ac6edce5e79d576bbd934ee5cad55657d634eb0864cf70", inlined_ast = "8effb966af7ff4aac4ac6edce5e79d576bbd934ee5cad55657d634eb0864cf70", dce_ast = "54c843349afdb0d0b6d73bd188eb531b1e4d133ffc4628cded90c4e670e99f2c", bytecode = "ca315272f12d59819b589dbf79fe025227b812e9b896696349ac766a9a416960", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out index 9cf1e2eb5e..37d0e7bc01 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: c880644ce96d9b55e498c5cd619122b0796780c0b8510ab53ab36b938b3422ae - unrolled_ast: c880644ce96d9b55e498c5cd619122b0796780c0b8510ab53ab36b938b3422ae - ssa_ast: 6fa269fe2585a5547f26497836077d862f3d407315619beaec631744999aa76f - flattened_ast: c2f822156e4e17b65846007102e44853d79d38b8134da6df50b3c603042e4605 - destructured_ast: 784f1aee83338ef3de1bb9ec63171355fa09a665064bb3ccb6142c3971b71b01 - inlined_ast: 784f1aee83338ef3de1bb9ec63171355fa09a665064bb3ccb6142c3971b71b01 - dce_ast: 304c505ecd2a048435cc5f667e08d6634ce6fbc7e341bf049ec4907cb6bda263 - bytecode: 0732a356f65a6b062517f1dfa76fbf9e9eb57cbf8ec4d50cbcec2ffa0da54122 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "c880644ce96d9b55e498c5cd619122b0796780c0b8510ab53ab36b938b3422ae", unrolled_ast = "c880644ce96d9b55e498c5cd619122b0796780c0b8510ab53ab36b938b3422ae", ssa_ast = "6fa269fe2585a5547f26497836077d862f3d407315619beaec631744999aa76f", flattened_ast = "c2f822156e4e17b65846007102e44853d79d38b8134da6df50b3c603042e4605", destructured_ast = "784f1aee83338ef3de1bb9ec63171355fa09a665064bb3ccb6142c3971b71b01", inlined_ast = "784f1aee83338ef3de1bb9ec63171355fa09a665064bb3ccb6142c3971b71b01", dce_ast = "304c505ecd2a048435cc5f667e08d6634ce6fbc7e341bf049ec4907cb6bda263", bytecode = "0732a356f65a6b062517f1dfa76fbf9e9eb57cbf8ec4d50cbcec2ffa0da54122", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out index 4e8c68247f..f45c44fef8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: c604091ed1b0ef2f8f74f60da81466777a76f822a33f66560990646e77a28755 - unrolled_ast: c604091ed1b0ef2f8f74f60da81466777a76f822a33f66560990646e77a28755 - ssa_ast: d98ca67df0c22b56df4672fdee20176535a6c1126e48cc129b2d1f91a54d11d1 - flattened_ast: c47942c335c3a148bf6822c03035998c49cd849d16074201e9c7b88dd2b94fb0 - destructured_ast: 57c3f3dd46c7df20bdbeafc59266edd266fb5af09a80a1de057e9e2b38adddbd - inlined_ast: 57c3f3dd46c7df20bdbeafc59266edd266fb5af09a80a1de057e9e2b38adddbd - dce_ast: 6fb87e4d1db2153348b6cf5cf88b2a37592dea16d7cd12a9d234c1a967ba52fd - bytecode: 8c33439a30c50519ebd6ea519da98bac7452bc3d91e2062e069b36b716d8d711 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "c604091ed1b0ef2f8f74f60da81466777a76f822a33f66560990646e77a28755", unrolled_ast = "c604091ed1b0ef2f8f74f60da81466777a76f822a33f66560990646e77a28755", ssa_ast = "d98ca67df0c22b56df4672fdee20176535a6c1126e48cc129b2d1f91a54d11d1", flattened_ast = "c47942c335c3a148bf6822c03035998c49cd849d16074201e9c7b88dd2b94fb0", destructured_ast = "57c3f3dd46c7df20bdbeafc59266edd266fb5af09a80a1de057e9e2b38adddbd", inlined_ast = "57c3f3dd46c7df20bdbeafc59266edd266fb5af09a80a1de057e9e2b38adddbd", dce_ast = "6fb87e4d1db2153348b6cf5cf88b2a37592dea16d7cd12a9d234c1a967ba52fd", bytecode = "8c33439a30c50519ebd6ea519da98bac7452bc3d91e2062e069b36b716d8d711", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out index ca89c788a3..ff33d08874 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 1126c03bb84955620cf582684ae46f43ad823b881ecf3b34e7f6ca219be096bc - unrolled_ast: 1126c03bb84955620cf582684ae46f43ad823b881ecf3b34e7f6ca219be096bc - ssa_ast: 52c1dd9e4f4d63e6158039ccb8416d629b0b17dd51096d329a5a40654b5fe829 - flattened_ast: 541df2ef9f01f3d9b86937c0d308dd95755c3de8ecd405c945ee70780e96884d - destructured_ast: 010f8932e9ccda2c77f022264d79cd7a06d5b88d727009daf587152c046ca7ce - inlined_ast: 010f8932e9ccda2c77f022264d79cd7a06d5b88d727009daf587152c046ca7ce - dce_ast: 9d1d8a603b42eef09273506112cd2195f66c7a4e375576230c6f10a0c1d0a8fa - bytecode: d9d8535464393fb21afb06a16a608dfdc68041779c0c426378b17b68fa2ed0d6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "1126c03bb84955620cf582684ae46f43ad823b881ecf3b34e7f6ca219be096bc", unrolled_ast = "1126c03bb84955620cf582684ae46f43ad823b881ecf3b34e7f6ca219be096bc", ssa_ast = "52c1dd9e4f4d63e6158039ccb8416d629b0b17dd51096d329a5a40654b5fe829", flattened_ast = "541df2ef9f01f3d9b86937c0d308dd95755c3de8ecd405c945ee70780e96884d", destructured_ast = "010f8932e9ccda2c77f022264d79cd7a06d5b88d727009daf587152c046ca7ce", inlined_ast = "010f8932e9ccda2c77f022264d79cd7a06d5b88d727009daf587152c046ca7ce", dce_ast = "9d1d8a603b42eef09273506112cd2195f66c7a4e375576230c6f10a0c1d0a8fa", bytecode = "d9d8535464393fb21afb06a16a608dfdc68041779c0c426378b17b68fa2ed0d6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out index e4d87e1f8c..4269d5217e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: 394f33f5fc7e344d5dc8df077357941b2c71519e0778775c551843c8ef1f9e47 - unrolled_ast: 394f33f5fc7e344d5dc8df077357941b2c71519e0778775c551843c8ef1f9e47 - ssa_ast: 54733106c8f2085e37c274479c336ca3539bc31bfede010e1a459c5f7a928710 - flattened_ast: 6ef23edc65fec7ea908771e842b81d10b70cd06e0382e7f1f3cf68b321df4cf6 - destructured_ast: 25be0252a2b269208e731a7aebe42eccb46bfc51c409939704d0be71305813b8 - inlined_ast: 25be0252a2b269208e731a7aebe42eccb46bfc51c409939704d0be71305813b8 - dce_ast: cd670b44cd3a3a910ecb31dffdc903f1aba0922f2d6781a9d5e5f6e56e1eb4e1 - bytecode: 6cae47b82841a9b356abcaf49d25cc5ca7c86edc8d8bce4cab03128b57283051 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "394f33f5fc7e344d5dc8df077357941b2c71519e0778775c551843c8ef1f9e47", unrolled_ast = "394f33f5fc7e344d5dc8df077357941b2c71519e0778775c551843c8ef1f9e47", ssa_ast = "54733106c8f2085e37c274479c336ca3539bc31bfede010e1a459c5f7a928710", flattened_ast = "6ef23edc65fec7ea908771e842b81d10b70cd06e0382e7f1f3cf68b321df4cf6", destructured_ast = "25be0252a2b269208e731a7aebe42eccb46bfc51c409939704d0be71305813b8", inlined_ast = "25be0252a2b269208e731a7aebe42eccb46bfc51c409939704d0be71305813b8", dce_ast = "cd670b44cd3a3a910ecb31dffdc903f1aba0922f2d6781a9d5e5f6e56e1eb4e1", bytecode = "6cae47b82841a9b356abcaf49d25cc5ca7c86edc8d8bce4cab03128b57283051", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out index db1bf10f84..8becb5cdfc 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: b254af55b872a3cdb3d77e1f254861daac1a30bea52ee59e588f91a4fe6f3ede - unrolled_ast: b254af55b872a3cdb3d77e1f254861daac1a30bea52ee59e588f91a4fe6f3ede - ssa_ast: 8b626521a33976ce9453bf94ce3ce39b5666d0db3a7ffbaa2ec49dbbfa8830fa - flattened_ast: 677667bfda8670ce3abe072f542b15b26e876e3971f300f0a14b9043fa6fb363 - destructured_ast: 7743269dfc491503498a3f7e0b893ceac6e258005eed80dd71ec65195e94053a - inlined_ast: 7743269dfc491503498a3f7e0b893ceac6e258005eed80dd71ec65195e94053a - dce_ast: 8a4bb72b3f928324f72a17d5a209c90f8ce93b76201a324185ec2ef69ac3388b - bytecode: 975a1cb98ad7fed0f8c86d4f782f28acad38aaae51b8e5c6dbfd32f55ed2d8e8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "b254af55b872a3cdb3d77e1f254861daac1a30bea52ee59e588f91a4fe6f3ede", unrolled_ast = "b254af55b872a3cdb3d77e1f254861daac1a30bea52ee59e588f91a4fe6f3ede", ssa_ast = "8b626521a33976ce9453bf94ce3ce39b5666d0db3a7ffbaa2ec49dbbfa8830fa", flattened_ast = "677667bfda8670ce3abe072f542b15b26e876e3971f300f0a14b9043fa6fb363", destructured_ast = "7743269dfc491503498a3f7e0b893ceac6e258005eed80dd71ec65195e94053a", inlined_ast = "7743269dfc491503498a3f7e0b893ceac6e258005eed80dd71ec65195e94053a", dce_ast = "8a4bb72b3f928324f72a17d5a209c90f8ce93b76201a324185ec2ef69ac3388b", bytecode = "975a1cb98ad7fed0f8c86d4f782f28acad38aaae51b8e5c6dbfd32f55ed2d8e8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out index 627ba7ba45..118704decc 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 7de274aa8783324202c13f77267cf359a3407741b6f5b1250ceb81ae85bd0619 - unrolled_ast: 7de274aa8783324202c13f77267cf359a3407741b6f5b1250ceb81ae85bd0619 - ssa_ast: c6301cd3ead8c3a00a0fbe9d57f56c860a517073bd7338fd6350d0816249990c - flattened_ast: 8f5c64a8fb958fd2257056df9efb754636e04175a7f5b2029abfb98139067c9a - destructured_ast: a82bbaf99f309d28c80d50409137927035e4b464b8a9470ce1b361ec450386d3 - inlined_ast: a82bbaf99f309d28c80d50409137927035e4b464b8a9470ce1b361ec450386d3 - dce_ast: e719b645e243e99a0e9a979c7f58ef1a4a57d62423cda9e8e30518666a726c7c - bytecode: 798c6160516f2d9cbdf4c3e0c22a9e6c1be1fc46f3f7907aadd2294e4471bb94 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "7de274aa8783324202c13f77267cf359a3407741b6f5b1250ceb81ae85bd0619", unrolled_ast = "7de274aa8783324202c13f77267cf359a3407741b6f5b1250ceb81ae85bd0619", ssa_ast = "c6301cd3ead8c3a00a0fbe9d57f56c860a517073bd7338fd6350d0816249990c", flattened_ast = "8f5c64a8fb958fd2257056df9efb754636e04175a7f5b2029abfb98139067c9a", destructured_ast = "a82bbaf99f309d28c80d50409137927035e4b464b8a9470ce1b361ec450386d3", inlined_ast = "a82bbaf99f309d28c80d50409137927035e4b464b8a9470ce1b361ec450386d3", dce_ast = "e719b645e243e99a0e9a979c7f58ef1a4a57d62423cda9e8e30518666a726c7c", bytecode = "798c6160516f2d9cbdf4c3e0c22a9e6c1be1fc46f3f7907aadd2294e4471bb94", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out index af2fd4c89c..7c95ac6e66 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 3fcca316604bac2592335d5620a8c191dfc6bc2786b0b4ae4b989ad90632f3d4 - unrolled_ast: 3fcca316604bac2592335d5620a8c191dfc6bc2786b0b4ae4b989ad90632f3d4 - ssa_ast: 1b7ccdf930ed7e4fdb6b3df609ce384d4edb1144d87d971c9fb3358a75f742eb - flattened_ast: 0841a8fc5b091c4fdce18a60dca998dcc2b42533260c87b6d28559835dfb2577 - destructured_ast: 7d73c77802d132d6e0ec7233cf7d6ac8540df13f3976cb40ad4ee364d7860032 - inlined_ast: 7d73c77802d132d6e0ec7233cf7d6ac8540df13f3976cb40ad4ee364d7860032 - dce_ast: a5a2221e951038455d8896e0771a7b31988c2336145371999d948bf4525bb51b - bytecode: b4e8a66b3535650cce69094a5691ed7e5da80420ef152a6c98c1084dc31cbcdb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "3fcca316604bac2592335d5620a8c191dfc6bc2786b0b4ae4b989ad90632f3d4", unrolled_ast = "3fcca316604bac2592335d5620a8c191dfc6bc2786b0b4ae4b989ad90632f3d4", ssa_ast = "1b7ccdf930ed7e4fdb6b3df609ce384d4edb1144d87d971c9fb3358a75f742eb", flattened_ast = "0841a8fc5b091c4fdce18a60dca998dcc2b42533260c87b6d28559835dfb2577", destructured_ast = "7d73c77802d132d6e0ec7233cf7d6ac8540df13f3976cb40ad4ee364d7860032", inlined_ast = "7d73c77802d132d6e0ec7233cf7d6ac8540df13f3976cb40ad4ee364d7860032", dce_ast = "a5a2221e951038455d8896e0771a7b31988c2336145371999d948bf4525bb51b", bytecode = "b4e8a66b3535650cce69094a5691ed7e5da80420ef152a6c98c1084dc31cbcdb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out index 8213117c0e..35081e121d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: 01a5f6fe5c737445438873ea2094c48024457bc59f573a791cc32ce57b500832 - unrolled_ast: 01a5f6fe5c737445438873ea2094c48024457bc59f573a791cc32ce57b500832 - ssa_ast: f8a7351fb597b4d2156c30065b75486daba306a656bd5c21e548438045826a78 - flattened_ast: a34bb665b690e176340a03111b2e5893a616211d6f030bed25476dde5181a8a7 - destructured_ast: f2622c4e568dec96b87bc573b2059cd6376326ab0b1df292c266401f9b985c98 - inlined_ast: f2622c4e568dec96b87bc573b2059cd6376326ab0b1df292c266401f9b985c98 - dce_ast: 0d68f5e10223623d0c3fc61356ab3c8d05974174fd231b81765478d45833ca02 - bytecode: d1c89170683dfbc163399a16200cbdb282cbf101ced8e53f5326bfdbf3343f57 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "01a5f6fe5c737445438873ea2094c48024457bc59f573a791cc32ce57b500832", unrolled_ast = "01a5f6fe5c737445438873ea2094c48024457bc59f573a791cc32ce57b500832", ssa_ast = "f8a7351fb597b4d2156c30065b75486daba306a656bd5c21e548438045826a78", flattened_ast = "a34bb665b690e176340a03111b2e5893a616211d6f030bed25476dde5181a8a7", destructured_ast = "f2622c4e568dec96b87bc573b2059cd6376326ab0b1df292c266401f9b985c98", inlined_ast = "f2622c4e568dec96b87bc573b2059cd6376326ab0b1df292c266401f9b985c98", dce_ast = "0d68f5e10223623d0c3fc61356ab3c8d05974174fd231b81765478d45833ca02", bytecode = "d1c89170683dfbc163399a16200cbdb282cbf101ced8e53f5326bfdbf3343f57", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out index 20f35c6bbd..beff9bd238 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: c347a7372b50683ea132c34b26743cc9c1c97dcfaa02e992137c6185f1269bd9 - unrolled_ast: c347a7372b50683ea132c34b26743cc9c1c97dcfaa02e992137c6185f1269bd9 - ssa_ast: 320b8a470116216cc5cbfa2ac07c55cd7b19b4e54d44bfc4ce44164303057d73 - flattened_ast: 3e592a0051f0a8bc0305266087537e61f17b04bae50f734b90994794fd57943f - destructured_ast: b5439bcb83e818dd368e6779abce31d8ea0ca9f702e223bc120681ac89e07d88 - inlined_ast: b5439bcb83e818dd368e6779abce31d8ea0ca9f702e223bc120681ac89e07d88 - dce_ast: a10ce5789f02a607988605f7994fdb48ec4739e88ca2c7e757a3679764ca2374 - bytecode: 7c9f6b45e12973c86606c5cd3ca45c6af53d8819df40fa5660a987821b998301 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "c347a7372b50683ea132c34b26743cc9c1c97dcfaa02e992137c6185f1269bd9", unrolled_ast = "c347a7372b50683ea132c34b26743cc9c1c97dcfaa02e992137c6185f1269bd9", ssa_ast = "320b8a470116216cc5cbfa2ac07c55cd7b19b4e54d44bfc4ce44164303057d73", flattened_ast = "3e592a0051f0a8bc0305266087537e61f17b04bae50f734b90994794fd57943f", destructured_ast = "b5439bcb83e818dd368e6779abce31d8ea0ca9f702e223bc120681ac89e07d88", inlined_ast = "b5439bcb83e818dd368e6779abce31d8ea0ca9f702e223bc120681ac89e07d88", dce_ast = "a10ce5789f02a607988605f7994fdb48ec4739e88ca2c7e757a3679764ca2374", bytecode = "7c9f6b45e12973c86606c5cd3ca45c6af53d8819df40fa5660a987821b998301", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out index 30e36cdc14..188a69406d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 5ef33053311145dc90b2b76628fde77d2501f094c8bfb5e56031d8f5845ed148 - unrolled_ast: 5ef33053311145dc90b2b76628fde77d2501f094c8bfb5e56031d8f5845ed148 - ssa_ast: 3ce59b451272bd0f5146af3b56dc4f49bb23eca483a729ebbbe5b389854c2931 - flattened_ast: 5eaf1f979396ace5e990f2a6e05a13282009c73fba6f255ba81ea9acac24b9c0 - destructured_ast: 592d676e925d04b7ee0c458fb0e6ec876e2faa37a0b04d5bf2b8657290d86d6a - inlined_ast: 592d676e925d04b7ee0c458fb0e6ec876e2faa37a0b04d5bf2b8657290d86d6a - dce_ast: d109be272b5948261767ebe9dde5f9f5110cdada3a5766d5efaa9624050e7483 - bytecode: f5027cec3929d0dcd05017a80763507e8c71561ab196a71f97304e48015c831c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "5ef33053311145dc90b2b76628fde77d2501f094c8bfb5e56031d8f5845ed148", unrolled_ast = "5ef33053311145dc90b2b76628fde77d2501f094c8bfb5e56031d8f5845ed148", ssa_ast = "3ce59b451272bd0f5146af3b56dc4f49bb23eca483a729ebbbe5b389854c2931", flattened_ast = "5eaf1f979396ace5e990f2a6e05a13282009c73fba6f255ba81ea9acac24b9c0", destructured_ast = "592d676e925d04b7ee0c458fb0e6ec876e2faa37a0b04d5bf2b8657290d86d6a", inlined_ast = "592d676e925d04b7ee0c458fb0e6ec876e2faa37a0b04d5bf2b8657290d86d6a", dce_ast = "d109be272b5948261767ebe9dde5f9f5110cdada3a5766d5efaa9624050e7483", bytecode = "f5027cec3929d0dcd05017a80763507e8c71561ab196a71f97304e48015c831c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out index 95b8260f4a..eba32d78aa 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: 562e7f4ac19ec3990dd7d955b2ac892131961174e28a6c72afe761653435969c - unrolled_ast: 562e7f4ac19ec3990dd7d955b2ac892131961174e28a6c72afe761653435969c - ssa_ast: 84ec7ad4e586f34eee01befda12b839bfdbafdb021977d9c65ad9dad1573e0a5 - flattened_ast: 58d3119c65ab252cccc5271e7e7edf40c07a9f8495950fb60fe2cb7d2013d6b8 - destructured_ast: 28181766b1eaeabaf066139c412a9b7840c4c7379a0072ad2308671799e8d3c8 - inlined_ast: 28181766b1eaeabaf066139c412a9b7840c4c7379a0072ad2308671799e8d3c8 - dce_ast: e69f7b68676a71043a216ce9d2ff775bac53e66f203082d8dae2c8f68ff3fb37 - bytecode: ed71694075a97e2d9d8919ff8e7138309c4735f1b29f66e41e7278d09872dec9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "562e7f4ac19ec3990dd7d955b2ac892131961174e28a6c72afe761653435969c", unrolled_ast = "562e7f4ac19ec3990dd7d955b2ac892131961174e28a6c72afe761653435969c", ssa_ast = "84ec7ad4e586f34eee01befda12b839bfdbafdb021977d9c65ad9dad1573e0a5", flattened_ast = "58d3119c65ab252cccc5271e7e7edf40c07a9f8495950fb60fe2cb7d2013d6b8", destructured_ast = "28181766b1eaeabaf066139c412a9b7840c4c7379a0072ad2308671799e8d3c8", inlined_ast = "28181766b1eaeabaf066139c412a9b7840c4c7379a0072ad2308671799e8d3c8", dce_ast = "e69f7b68676a71043a216ce9d2ff775bac53e66f203082d8dae2c8f68ff3fb37", bytecode = "ed71694075a97e2d9d8919ff8e7138309c4735f1b29f66e41e7278d09872dec9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out index 287c64dce8..975d29d621 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: a579556ce9e5a6a603b2159e05f7a3e308ea61787eb07cca9400e1675a6f1989 - unrolled_ast: a579556ce9e5a6a603b2159e05f7a3e308ea61787eb07cca9400e1675a6f1989 - ssa_ast: 68145d551fb5d6913346f10c9fdfc3fb340fc539c27fedb33e7a19aad590fc7f - flattened_ast: 5cb5fa08b8f3c64f0b70bd5cf029463652ba98b5fa7b79833a28127ff2851855 - destructured_ast: 9681234be7360a4c69f8056feb6850dd0f1f56d9260ae7a18a36a211a8c21fd9 - inlined_ast: 9681234be7360a4c69f8056feb6850dd0f1f56d9260ae7a18a36a211a8c21fd9 - dce_ast: 6f822f21fe5a7988c7b2098ef5c0d38093b9d6ad59825bc05f6c66169e686595 - bytecode: 74977b8f00a84dcb2e9ba7ee129aa781d704272a242ea20a2bd4da5cfb85f4cc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "a579556ce9e5a6a603b2159e05f7a3e308ea61787eb07cca9400e1675a6f1989", unrolled_ast = "a579556ce9e5a6a603b2159e05f7a3e308ea61787eb07cca9400e1675a6f1989", ssa_ast = "68145d551fb5d6913346f10c9fdfc3fb340fc539c27fedb33e7a19aad590fc7f", flattened_ast = "5cb5fa08b8f3c64f0b70bd5cf029463652ba98b5fa7b79833a28127ff2851855", destructured_ast = "9681234be7360a4c69f8056feb6850dd0f1f56d9260ae7a18a36a211a8c21fd9", inlined_ast = "9681234be7360a4c69f8056feb6850dd0f1f56d9260ae7a18a36a211a8c21fd9", dce_ast = "6f822f21fe5a7988c7b2098ef5c0d38093b9d6ad59825bc05f6c66169e686595", bytecode = "74977b8f00a84dcb2e9ba7ee129aa781d704272a242ea20a2bd4da5cfb85f4cc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out index aac1d8fef4..a425649088 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 9be323cb447651b7b9a6fb610727b9b4ec9d76ff4b132cbd7821cd87d5f5106d - unrolled_ast: 9be323cb447651b7b9a6fb610727b9b4ec9d76ff4b132cbd7821cd87d5f5106d - ssa_ast: 842bb677549dee2ec789b79bede43c01788bc848708f4e91f4ca681c876193ff - flattened_ast: bf4ea994d0dacd5f8b217a6a9cec117b5c67d8d197e65e277a51d7e9bf9b7a8a - destructured_ast: 10e380fc0b563c0eede0434eff42a1e7afac6e28dccb65fbd88fd640149646ff - inlined_ast: 10e380fc0b563c0eede0434eff42a1e7afac6e28dccb65fbd88fd640149646ff - dce_ast: 746bf40faf2f8c3ed03da5baabefb5bea9862a18603c69f2b7455ab16eee08b6 - bytecode: 321894d4016e60b5565182e3241bdf93b4e0336a851997cf94f3ddeaab1e8b0e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "9be323cb447651b7b9a6fb610727b9b4ec9d76ff4b132cbd7821cd87d5f5106d", unrolled_ast = "9be323cb447651b7b9a6fb610727b9b4ec9d76ff4b132cbd7821cd87d5f5106d", ssa_ast = "842bb677549dee2ec789b79bede43c01788bc848708f4e91f4ca681c876193ff", flattened_ast = "bf4ea994d0dacd5f8b217a6a9cec117b5c67d8d197e65e277a51d7e9bf9b7a8a", destructured_ast = "10e380fc0b563c0eede0434eff42a1e7afac6e28dccb65fbd88fd640149646ff", inlined_ast = "10e380fc0b563c0eede0434eff42a1e7afac6e28dccb65fbd88fd640149646ff", dce_ast = "746bf40faf2f8c3ed03da5baabefb5bea9862a18603c69f2b7455ab16eee08b6", bytecode = "321894d4016e60b5565182e3241bdf93b4e0336a851997cf94f3ddeaab1e8b0e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out index 019bc2f36d..be2235d251 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: fe3121c5c80553ab5612bf475745db23fd25d3b76aec71d6d25cb1b50d5ff712 - unrolled_ast: fe3121c5c80553ab5612bf475745db23fd25d3b76aec71d6d25cb1b50d5ff712 - ssa_ast: 0b59d5b24800ea6c837d32d7d9c9bff54f1fe92de78bf55af152eb64e0f76d36 - flattened_ast: dc183224c27e6bd2a8bba6561bc1239724272da4e7cf3b1b4941bf0684393c50 - destructured_ast: 582fbcb0a714354cbe7e77a3e2d9caf8b37daa500c3b016a9d43a722fc8680f1 - inlined_ast: 582fbcb0a714354cbe7e77a3e2d9caf8b37daa500c3b016a9d43a722fc8680f1 - dce_ast: 1dde0ce67331638d6f8aeef06d4845c1556481fedb0b82c9954cb07230f173c3 - bytecode: 306d4beeb9abdcd43cf232ed35d4990aab8810ff286226fb2e606f46a0d7690e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "fe3121c5c80553ab5612bf475745db23fd25d3b76aec71d6d25cb1b50d5ff712", unrolled_ast = "fe3121c5c80553ab5612bf475745db23fd25d3b76aec71d6d25cb1b50d5ff712", ssa_ast = "0b59d5b24800ea6c837d32d7d9c9bff54f1fe92de78bf55af152eb64e0f76d36", flattened_ast = "dc183224c27e6bd2a8bba6561bc1239724272da4e7cf3b1b4941bf0684393c50", destructured_ast = "582fbcb0a714354cbe7e77a3e2d9caf8b37daa500c3b016a9d43a722fc8680f1", inlined_ast = "582fbcb0a714354cbe7e77a3e2d9caf8b37daa500c3b016a9d43a722fc8680f1", dce_ast = "1dde0ce67331638d6f8aeef06d4845c1556481fedb0b82c9954cb07230f173c3", bytecode = "306d4beeb9abdcd43cf232ed35d4990aab8810ff286226fb2e606f46a0d7690e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out index bacbec71d1..03ba52d1b7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: 82e34468184916ce4d8d9a0b3c2403e1440b11a4d6c6cee1acef2dc6f3204334 - unrolled_ast: 82e34468184916ce4d8d9a0b3c2403e1440b11a4d6c6cee1acef2dc6f3204334 - ssa_ast: 35ef7e1c1656033fc45c99c937c197ff87aab68d9ccc9a898c842c4e298f53e6 - flattened_ast: b757676619c88f5a31b8bc2ddb767eb1071b3d8cbc095b4de0f1bb81eb93a9d7 - destructured_ast: f95773bbb24ef096c87840b6bfb45355a4fcec5cbb63a085648d1ebf7dea6efe - inlined_ast: f95773bbb24ef096c87840b6bfb45355a4fcec5cbb63a085648d1ebf7dea6efe - dce_ast: 59f4681ade3362f8de04b68a0d0f9da8bb9d67527e6e662889e6410e54cc1a72 - bytecode: a9549d0d83827cd1143f924030ee0ede0865349f3b9f93bb6d4fb9a69d62db27 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "82e34468184916ce4d8d9a0b3c2403e1440b11a4d6c6cee1acef2dc6f3204334", unrolled_ast = "82e34468184916ce4d8d9a0b3c2403e1440b11a4d6c6cee1acef2dc6f3204334", ssa_ast = "35ef7e1c1656033fc45c99c937c197ff87aab68d9ccc9a898c842c4e298f53e6", flattened_ast = "b757676619c88f5a31b8bc2ddb767eb1071b3d8cbc095b4de0f1bb81eb93a9d7", destructured_ast = "f95773bbb24ef096c87840b6bfb45355a4fcec5cbb63a085648d1ebf7dea6efe", inlined_ast = "f95773bbb24ef096c87840b6bfb45355a4fcec5cbb63a085648d1ebf7dea6efe", dce_ast = "59f4681ade3362f8de04b68a0d0f9da8bb9d67527e6e662889e6410e54cc1a72", bytecode = "a9549d0d83827cd1143f924030ee0ede0865349f3b9f93bb6d4fb9a69d62db27", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out index 31a3310843..1e703b60d0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: fbf888dad304e879619b4887c101a1ffd7bab2caa03cd3b3d69fcdfde32f3f26 - unrolled_ast: fbf888dad304e879619b4887c101a1ffd7bab2caa03cd3b3d69fcdfde32f3f26 - ssa_ast: 4cf5ab0fa1c75be02ae7109e562221cec799ddceb96c1526cae5f1da2c1e5c2e - flattened_ast: 0ed51c4d8aa69373e7311019f888818144f3bc86213505bb8f5960d7c620c662 - destructured_ast: 762bdd3fa614126e9fca6b214a4656e25c9e9093cc8ba1d925c177f30334df87 - inlined_ast: 762bdd3fa614126e9fca6b214a4656e25c9e9093cc8ba1d925c177f30334df87 - dce_ast: f184b2be6f92c21698052fe43bf359ced32ffc3f3bc833e8d41d31e837abbc7f - bytecode: e6a59e3156a3ff5801a42607df078d08aa239f34556930470761e1c5848ae171 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "fbf888dad304e879619b4887c101a1ffd7bab2caa03cd3b3d69fcdfde32f3f26", unrolled_ast = "fbf888dad304e879619b4887c101a1ffd7bab2caa03cd3b3d69fcdfde32f3f26", ssa_ast = "4cf5ab0fa1c75be02ae7109e562221cec799ddceb96c1526cae5f1da2c1e5c2e", flattened_ast = "0ed51c4d8aa69373e7311019f888818144f3bc86213505bb8f5960d7c620c662", destructured_ast = "762bdd3fa614126e9fca6b214a4656e25c9e9093cc8ba1d925c177f30334df87", inlined_ast = "762bdd3fa614126e9fca6b214a4656e25c9e9093cc8ba1d925c177f30334df87", dce_ast = "f184b2be6f92c21698052fe43bf359ced32ffc3f3bc833e8d41d31e837abbc7f", bytecode = "e6a59e3156a3ff5801a42607df078d08aa239f34556930470761e1c5848ae171", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out index d963607d8f..6306689db6 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 3eaf0882db0cfcbf6de5835a3e371866978dcdcbcefa64c51831e73206d69ba8 - unrolled_ast: 3eaf0882db0cfcbf6de5835a3e371866978dcdcbcefa64c51831e73206d69ba8 - ssa_ast: 9c527ce526f07aba7d0f6d0785ee79d07fe1462d3770f25ab683890040625e0f - flattened_ast: ea2c134e40254362faf8bb4c2703982d6a0a74936a53cc9a745831f799924adf - destructured_ast: c818cb8f2516201db5d6d429691368ce1a851d0814093f960f7a0ba7f10148ba - inlined_ast: c818cb8f2516201db5d6d429691368ce1a851d0814093f960f7a0ba7f10148ba - dce_ast: 30aec32f34f0b8b51bca4049f1dcfcb1082e200706105c3d94528ebcd41efd8d - bytecode: fc04f975d1c07c4f7d018572d3d17a12328c5cd8e91d0b70c7745b3a1feb0618 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "3eaf0882db0cfcbf6de5835a3e371866978dcdcbcefa64c51831e73206d69ba8", unrolled_ast = "3eaf0882db0cfcbf6de5835a3e371866978dcdcbcefa64c51831e73206d69ba8", ssa_ast = "9c527ce526f07aba7d0f6d0785ee79d07fe1462d3770f25ab683890040625e0f", flattened_ast = "ea2c134e40254362faf8bb4c2703982d6a0a74936a53cc9a745831f799924adf", destructured_ast = "c818cb8f2516201db5d6d429691368ce1a851d0814093f960f7a0ba7f10148ba", inlined_ast = "c818cb8f2516201db5d6d429691368ce1a851d0814093f960f7a0ba7f10148ba", dce_ast = "30aec32f34f0b8b51bca4049f1dcfcb1082e200706105c3d94528ebcd41efd8d", bytecode = "fc04f975d1c07c4f7d018572d3d17a12328c5cd8e91d0b70c7745b3a1feb0618", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out index d6cfd5e4c0..ac925c106e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: ecd1783a08ebb34de50fb69b55fbe0c99294456867038c29865988b70384244f - unrolled_ast: ecd1783a08ebb34de50fb69b55fbe0c99294456867038c29865988b70384244f - ssa_ast: efae1e5dbbddee3d09403601f0d44a801358e04818d2647225008760e58be2db - flattened_ast: 26e61e527a784189bfe049b8abf5359077da40985b8f85291f2524b36f997e48 - destructured_ast: 22e55f6c2a48a6ab503bcef7f1151dc6687b047ceed532f9bd9bd00edef3ba7a - inlined_ast: 22e55f6c2a48a6ab503bcef7f1151dc6687b047ceed532f9bd9bd00edef3ba7a - dce_ast: 5913bbafdad0ae6b6576152efde28b775930f9c3a42667866880ec2591bd495f - bytecode: f4564b52ac16664bc0bdb32637268fc5353c50dda45c6d2d3f85c19597198588 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "ecd1783a08ebb34de50fb69b55fbe0c99294456867038c29865988b70384244f", unrolled_ast = "ecd1783a08ebb34de50fb69b55fbe0c99294456867038c29865988b70384244f", ssa_ast = "efae1e5dbbddee3d09403601f0d44a801358e04818d2647225008760e58be2db", flattened_ast = "26e61e527a784189bfe049b8abf5359077da40985b8f85291f2524b36f997e48", destructured_ast = "22e55f6c2a48a6ab503bcef7f1151dc6687b047ceed532f9bd9bd00edef3ba7a", inlined_ast = "22e55f6c2a48a6ab503bcef7f1151dc6687b047ceed532f9bd9bd00edef3ba7a", dce_ast = "5913bbafdad0ae6b6576152efde28b775930f9c3a42667866880ec2591bd495f", bytecode = "f4564b52ac16664bc0bdb32637268fc5353c50dda45c6d2d3f85c19597198588", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out index 27194d5a28..d55e04ef88 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 97b71cec08c5c1f7e92de47bd251eaac3d28a993b5fa40c7aeb136149b62089e - unrolled_ast: 97b71cec08c5c1f7e92de47bd251eaac3d28a993b5fa40c7aeb136149b62089e - ssa_ast: 84d4dd4346daa19517d55a1d22dbfbf36d05524d9973d30d6824e7f0f911c894 - flattened_ast: 4ed24cfe562b3581f6f48185ce00fd1e68ff15513f39060f8fea82c7611d5a01 - destructured_ast: 10a67748bdc7745628c6ac7c0af0717e8cdb26d96cb34ce9eed9a5457c06571d - inlined_ast: 10a67748bdc7745628c6ac7c0af0717e8cdb26d96cb34ce9eed9a5457c06571d - dce_ast: f8116a7dcc7d3d75643851ec46bde22004eac83b5c6155b446c3b750955608a7 - bytecode: ae16c24cd484d13ce731e527cf9373ab9bcc8b9e6cce6d9a9a0dcbbfceb75e2a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "97b71cec08c5c1f7e92de47bd251eaac3d28a993b5fa40c7aeb136149b62089e", unrolled_ast = "97b71cec08c5c1f7e92de47bd251eaac3d28a993b5fa40c7aeb136149b62089e", ssa_ast = "84d4dd4346daa19517d55a1d22dbfbf36d05524d9973d30d6824e7f0f911c894", flattened_ast = "4ed24cfe562b3581f6f48185ce00fd1e68ff15513f39060f8fea82c7611d5a01", destructured_ast = "10a67748bdc7745628c6ac7c0af0717e8cdb26d96cb34ce9eed9a5457c06571d", inlined_ast = "10a67748bdc7745628c6ac7c0af0717e8cdb26d96cb34ce9eed9a5457c06571d", dce_ast = "f8116a7dcc7d3d75643851ec46bde22004eac83b5c6155b446c3b750955608a7", bytecode = "ae16c24cd484d13ce731e527cf9373ab9bcc8b9e6cce6d9a9a0dcbbfceb75e2a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out index 59fc3ab6a5..8450a2260a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 610a4fc456f8595c56e139dbde29fc86d523c2155ad537651b6a6ca47f14032c - unrolled_ast: 610a4fc456f8595c56e139dbde29fc86d523c2155ad537651b6a6ca47f14032c - ssa_ast: b48ad4943d89f58c8275b4b6032c76717e45fd1858ce663f46304c40d1aad345 - flattened_ast: 6765f19d31c23ed1b83f1ba71377e30196f791fc3d694c7aebddb3e7aec1a8bb - destructured_ast: d95bafd3423a813cfc3daca7560353b5b4a6515a61fe75568ef3647e6456edb5 - inlined_ast: d95bafd3423a813cfc3daca7560353b5b4a6515a61fe75568ef3647e6456edb5 - dce_ast: 53b57c954fd3076aa2a21c6a2b8eb43ecf279df1329164f1d0130be5534cf171 - bytecode: aa997d56c8583efc291ec4e9238a0dd73a45d8b4bc3b59f40b9ff6871f88aa09 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "610a4fc456f8595c56e139dbde29fc86d523c2155ad537651b6a6ca47f14032c", unrolled_ast = "610a4fc456f8595c56e139dbde29fc86d523c2155ad537651b6a6ca47f14032c", ssa_ast = "b48ad4943d89f58c8275b4b6032c76717e45fd1858ce663f46304c40d1aad345", flattened_ast = "6765f19d31c23ed1b83f1ba71377e30196f791fc3d694c7aebddb3e7aec1a8bb", destructured_ast = "d95bafd3423a813cfc3daca7560353b5b4a6515a61fe75568ef3647e6456edb5", inlined_ast = "d95bafd3423a813cfc3daca7560353b5b4a6515a61fe75568ef3647e6456edb5", dce_ast = "53b57c954fd3076aa2a21c6a2b8eb43ecf279df1329164f1d0130be5534cf171", bytecode = "aa997d56c8583efc291ec4e9238a0dd73a45d8b4bc3b59f40b9ff6871f88aa09", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out index 7e759ccaae..052c6fe873 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: 57146a576730ce6d4582fb576ee24b6442b24b3ccc3a351d3f324a039da2e9f7 - unrolled_ast: 57146a576730ce6d4582fb576ee24b6442b24b3ccc3a351d3f324a039da2e9f7 - ssa_ast: 1f3f1583a5de76b84e07a7f6a21808dd6a8ce082510ae37c3c99a1cde4ba362b - flattened_ast: 110bd744c5c54af18deecd246ea54c8290c8b70fcefd1fedf6a2ed43748706ad - destructured_ast: 6564295989a392ee5764be5bb0d7450ba5358e2d9829c30f76db3f8387e1254a - inlined_ast: 6564295989a392ee5764be5bb0d7450ba5358e2d9829c30f76db3f8387e1254a - dce_ast: 96c3a194da95781a583c1a4815c396780bf076d52d41d56cbe5a553abc0df964 - bytecode: 6347188e178ead622b83b2acbd39e314b1c3afb15e3590111b716fe4ed33be5d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "57146a576730ce6d4582fb576ee24b6442b24b3ccc3a351d3f324a039da2e9f7", unrolled_ast = "57146a576730ce6d4582fb576ee24b6442b24b3ccc3a351d3f324a039da2e9f7", ssa_ast = "1f3f1583a5de76b84e07a7f6a21808dd6a8ce082510ae37c3c99a1cde4ba362b", flattened_ast = "110bd744c5c54af18deecd246ea54c8290c8b70fcefd1fedf6a2ed43748706ad", destructured_ast = "6564295989a392ee5764be5bb0d7450ba5358e2d9829c30f76db3f8387e1254a", inlined_ast = "6564295989a392ee5764be5bb0d7450ba5358e2d9829c30f76db3f8387e1254a", dce_ast = "96c3a194da95781a583c1a4815c396780bf076d52d41d56cbe5a553abc0df964", bytecode = "6347188e178ead622b83b2acbd39e314b1c3afb15e3590111b716fe4ed33be5d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out index 6911a22329..2cbd328263 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: dc8053afd958f2b06f02249a810f2dfdbb9746464b5ba27f1b430abf07d3cbd8 - unrolled_ast: dc8053afd958f2b06f02249a810f2dfdbb9746464b5ba27f1b430abf07d3cbd8 - ssa_ast: b40a44c2291c533b8ce8b70c75b95f99b08671bd19a4b9fef419ef29cee8dc8e - flattened_ast: fd2b87b4358f53e37ddc4eb3b4d677842ec52c2a53079a9485d324d6fd681d37 - destructured_ast: 7acecfa95a2c3cc438a5ebabdde0c360e54dfa61f7c17047a607c75c9ee1836b - inlined_ast: 7acecfa95a2c3cc438a5ebabdde0c360e54dfa61f7c17047a607c75c9ee1836b - dce_ast: 99a7f0a60b4b6c9db1dbb6b1d168b158a534fcc219a10d9d77fe81284f38073f - bytecode: 9cd6ff69d744b6baaf79b43b6edb4a17f93d5b77e51c389009cc741aa2cfa44b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "dc8053afd958f2b06f02249a810f2dfdbb9746464b5ba27f1b430abf07d3cbd8", unrolled_ast = "dc8053afd958f2b06f02249a810f2dfdbb9746464b5ba27f1b430abf07d3cbd8", ssa_ast = "b40a44c2291c533b8ce8b70c75b95f99b08671bd19a4b9fef419ef29cee8dc8e", flattened_ast = "fd2b87b4358f53e37ddc4eb3b4d677842ec52c2a53079a9485d324d6fd681d37", destructured_ast = "7acecfa95a2c3cc438a5ebabdde0c360e54dfa61f7c17047a607c75c9ee1836b", inlined_ast = "7acecfa95a2c3cc438a5ebabdde0c360e54dfa61f7c17047a607c75c9ee1836b", dce_ast = "99a7f0a60b4b6c9db1dbb6b1d168b158a534fcc219a10d9d77fe81284f38073f", bytecode = "9cd6ff69d744b6baaf79b43b6edb4a17f93d5b77e51c389009cc741aa2cfa44b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out index e571e6c9bb..c3365cc38e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 00824cc0d881d5e7396530ec52624760cabd072213e5d0f740aa98b0144eef83 - unrolled_ast: 00824cc0d881d5e7396530ec52624760cabd072213e5d0f740aa98b0144eef83 - ssa_ast: c2e1b3522698cca9ca55a66a55d6921b8a1828a4f7fc1a3b062d208d33cb7cc7 - flattened_ast: 415dfa18d51267df3a1e2c789e0458aa1b54e83046e8ea3d197ba7032bf5bda8 - destructured_ast: 0ab7fae44bfd467b7e01ee79fc9f73d6fa4ce9358a61d1ea89c846e29ca0b447 - inlined_ast: 0ab7fae44bfd467b7e01ee79fc9f73d6fa4ce9358a61d1ea89c846e29ca0b447 - dce_ast: 981658b16267a5024414e70915da08fef79b462bfec4fd57f0e294463324d304 - bytecode: 650266303e0c26417c626e2bb6d08055d1ed7f2350a716f344e9907448328e92 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "00824cc0d881d5e7396530ec52624760cabd072213e5d0f740aa98b0144eef83", unrolled_ast = "00824cc0d881d5e7396530ec52624760cabd072213e5d0f740aa98b0144eef83", ssa_ast = "c2e1b3522698cca9ca55a66a55d6921b8a1828a4f7fc1a3b062d208d33cb7cc7", flattened_ast = "415dfa18d51267df3a1e2c789e0458aa1b54e83046e8ea3d197ba7032bf5bda8", destructured_ast = "0ab7fae44bfd467b7e01ee79fc9f73d6fa4ce9358a61d1ea89c846e29ca0b447", inlined_ast = "0ab7fae44bfd467b7e01ee79fc9f73d6fa4ce9358a61d1ea89c846e29ca0b447", dce_ast = "981658b16267a5024414e70915da08fef79b462bfec4fd57f0e294463324d304", bytecode = "650266303e0c26417c626e2bb6d08055d1ed7f2350a716f344e9907448328e92", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out index 6357fc6d2b..fb3fc274ef 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: 1c9f49397fd75d957445f0b55438c7febcc25168b8203ec0f58b7062cec0320f - unrolled_ast: 1c9f49397fd75d957445f0b55438c7febcc25168b8203ec0f58b7062cec0320f - ssa_ast: 7c7c67740d1c367d8cfa5958e420a3606a6aaf08751715c2d471d23e5b7e637e - flattened_ast: fcc272442d12a84c6ff2a67e8c4340bce58d8dff5633b4ddd7ff3961c101584d - destructured_ast: 3ed111a56618910a88a8b1b1abb03c5c83e8b0e4dfd5b2258c43aa9329f08037 - inlined_ast: 3ed111a56618910a88a8b1b1abb03c5c83e8b0e4dfd5b2258c43aa9329f08037 - dce_ast: a664e60ba46defcceb087ac51ce83a2cbf42363997d0e4425b542acbb5be9670 - bytecode: 84412d6ef9406a51c4eb06535acdc020845b277ae94f6b77e77fbf8d84772180 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "1c9f49397fd75d957445f0b55438c7febcc25168b8203ec0f58b7062cec0320f", unrolled_ast = "1c9f49397fd75d957445f0b55438c7febcc25168b8203ec0f58b7062cec0320f", ssa_ast = "7c7c67740d1c367d8cfa5958e420a3606a6aaf08751715c2d471d23e5b7e637e", flattened_ast = "fcc272442d12a84c6ff2a67e8c4340bce58d8dff5633b4ddd7ff3961c101584d", destructured_ast = "3ed111a56618910a88a8b1b1abb03c5c83e8b0e4dfd5b2258c43aa9329f08037", inlined_ast = "3ed111a56618910a88a8b1b1abb03c5c83e8b0e4dfd5b2258c43aa9329f08037", dce_ast = "a664e60ba46defcceb087ac51ce83a2cbf42363997d0e4425b542acbb5be9670", bytecode = "84412d6ef9406a51c4eb06535acdc020845b277ae94f6b77e77fbf8d84772180", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out index d661057fdf..60452d78a7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: 37e3030c0ca5670696b638e483d0ca931f2dd0693e0eca0b5256ba94ed224884 - unrolled_ast: 37e3030c0ca5670696b638e483d0ca931f2dd0693e0eca0b5256ba94ed224884 - ssa_ast: 76023e20fdae8d7885a93df26e726d3d2d6edb07079a7690ad54fd1c09b712ca - flattened_ast: 075f94e248854b040971f7039bb0af9c7cc7889d934d5571924cfe4b13d9cabe - destructured_ast: aee576c16c53e41416825469e72387b2127eb0316f8575d3a013cce80dfefd3c - inlined_ast: aee576c16c53e41416825469e72387b2127eb0316f8575d3a013cce80dfefd3c - dce_ast: 9b4fe711304f173f429afbf2975a99be5ca3634bc1cf7837daf00ac60df6640f - bytecode: c9e6b1ec453882c52c9756859ca950685719b644171a194ea55afbfe79175910 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "37e3030c0ca5670696b638e483d0ca931f2dd0693e0eca0b5256ba94ed224884", unrolled_ast = "37e3030c0ca5670696b638e483d0ca931f2dd0693e0eca0b5256ba94ed224884", ssa_ast = "76023e20fdae8d7885a93df26e726d3d2d6edb07079a7690ad54fd1c09b712ca", flattened_ast = "075f94e248854b040971f7039bb0af9c7cc7889d934d5571924cfe4b13d9cabe", destructured_ast = "aee576c16c53e41416825469e72387b2127eb0316f8575d3a013cce80dfefd3c", inlined_ast = "aee576c16c53e41416825469e72387b2127eb0316f8575d3a013cce80dfefd3c", dce_ast = "9b4fe711304f173f429afbf2975a99be5ca3634bc1cf7837daf00ac60df6640f", bytecode = "c9e6b1ec453882c52c9756859ca950685719b644171a194ea55afbfe79175910", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out index 8d7522e043..2df47edab4 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: bc6c18fdd0847d82aa9953712aaf214f2b69c6f024d54f9243768a7e23a01f27 - unrolled_ast: bc6c18fdd0847d82aa9953712aaf214f2b69c6f024d54f9243768a7e23a01f27 - ssa_ast: 7a66c447b759d6f0f423f88f51f6656ecb633901cdbda7caaaf5e08e214cd1d2 - flattened_ast: f964e4c2b81adf062acce84dbd15f2733c36f73c28a247f8a7ceea3ca384d41e - destructured_ast: 80e987efac8db7364219ce80d6cae24b4391c5765f4ccecc16616d2bd6addb70 - inlined_ast: 80e987efac8db7364219ce80d6cae24b4391c5765f4ccecc16616d2bd6addb70 - dce_ast: 8f93842cf8b100c32e02f6abf4a323677d392e362c03adbaf6f69fb58d7be699 - bytecode: eacd57222679e9302f98f9ee703913895034a15f0454b32d9438d75e77a825f3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "bc6c18fdd0847d82aa9953712aaf214f2b69c6f024d54f9243768a7e23a01f27", unrolled_ast = "bc6c18fdd0847d82aa9953712aaf214f2b69c6f024d54f9243768a7e23a01f27", ssa_ast = "7a66c447b759d6f0f423f88f51f6656ecb633901cdbda7caaaf5e08e214cd1d2", flattened_ast = "f964e4c2b81adf062acce84dbd15f2733c36f73c28a247f8a7ceea3ca384d41e", destructured_ast = "80e987efac8db7364219ce80d6cae24b4391c5765f4ccecc16616d2bd6addb70", inlined_ast = "80e987efac8db7364219ce80d6cae24b4391c5765f4ccecc16616d2bd6addb70", dce_ast = "8f93842cf8b100c32e02f6abf4a323677d392e362c03adbaf6f69fb58d7be699", bytecode = "eacd57222679e9302f98f9ee703913895034a15f0454b32d9438d75e77a825f3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out index 281c791317..789f385845 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 5158ab59e76691bc9dc7308772f454480333ab6c9f0d129ef7a40b6ab7cf5ce3 - unrolled_ast: 5158ab59e76691bc9dc7308772f454480333ab6c9f0d129ef7a40b6ab7cf5ce3 - ssa_ast: dfa7d8271a74c497fa9d39f2b5c461d38b95fb5b713cbc750a774da93abbc259 - flattened_ast: 0b57da3e04d35a6a070eddb0b8d095622239930cf4f3b426c5acc006e621e75d - destructured_ast: 42bc931a1e84974a2273b697d3a4300a520d4c2f8c4c6e70ff349b1dbc656a01 - inlined_ast: 42bc931a1e84974a2273b697d3a4300a520d4c2f8c4c6e70ff349b1dbc656a01 - dce_ast: ed31fa75248372b4f4867192e2aa3ffdad4ca63b97edac35c15d7e5b676a192b - bytecode: 15b3b2f15f177b34eb81e2436cf4080578e2980fc07eec7472060469a1789b5d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "5158ab59e76691bc9dc7308772f454480333ab6c9f0d129ef7a40b6ab7cf5ce3", unrolled_ast = "5158ab59e76691bc9dc7308772f454480333ab6c9f0d129ef7a40b6ab7cf5ce3", ssa_ast = "dfa7d8271a74c497fa9d39f2b5c461d38b95fb5b713cbc750a774da93abbc259", flattened_ast = "0b57da3e04d35a6a070eddb0b8d095622239930cf4f3b426c5acc006e621e75d", destructured_ast = "42bc931a1e84974a2273b697d3a4300a520d4c2f8c4c6e70ff349b1dbc656a01", inlined_ast = "42bc931a1e84974a2273b697d3a4300a520d4c2f8c4c6e70ff349b1dbc656a01", dce_ast = "ed31fa75248372b4f4867192e2aa3ffdad4ca63b97edac35c15d7e5b676a192b", bytecode = "15b3b2f15f177b34eb81e2436cf4080578e2980fc07eec7472060469a1789b5d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out index 89630a193d..3734bd1663 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: 3ad56b01d05844bfa93a7b61929cfa41826259ba721b328e8f68e8185305a546 - unrolled_ast: 3ad56b01d05844bfa93a7b61929cfa41826259ba721b328e8f68e8185305a546 - ssa_ast: 0be044c301724de8f47b48c95f316e1b57c4709fd23996a709074c725afb073a - flattened_ast: 36b506fb8e9e4c429b49684fff5a2f179610cff32469103baa5a5504dff879d6 - destructured_ast: 1d4f2207ee3ace82010dfbe60b4d4998523153adeeb54c35b4f022dd8efc7798 - inlined_ast: 1d4f2207ee3ace82010dfbe60b4d4998523153adeeb54c35b4f022dd8efc7798 - dce_ast: 2e12e1a5a72c8a9c52001bf5b1db803d11b844a49118c5fe88c80cf0f83b10f1 - bytecode: 7990fc4abda5438acd7a4d58f60916144b5d56b891105fc8ea379e36569e0ff1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "3ad56b01d05844bfa93a7b61929cfa41826259ba721b328e8f68e8185305a546", unrolled_ast = "3ad56b01d05844bfa93a7b61929cfa41826259ba721b328e8f68e8185305a546", ssa_ast = "0be044c301724de8f47b48c95f316e1b57c4709fd23996a709074c725afb073a", flattened_ast = "36b506fb8e9e4c429b49684fff5a2f179610cff32469103baa5a5504dff879d6", destructured_ast = "1d4f2207ee3ace82010dfbe60b4d4998523153adeeb54c35b4f022dd8efc7798", inlined_ast = "1d4f2207ee3ace82010dfbe60b4d4998523153adeeb54c35b4f022dd8efc7798", dce_ast = "2e12e1a5a72c8a9c52001bf5b1db803d11b844a49118c5fe88c80cf0f83b10f1", bytecode = "7990fc4abda5438acd7a4d58f60916144b5d56b891105fc8ea379e36569e0ff1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out index 9f208257d5..860927e86c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: d1ece7284dfd737c90106d9e554b11831875e95935c645d35ffca94dcf45a179 - unrolled_ast: d1ece7284dfd737c90106d9e554b11831875e95935c645d35ffca94dcf45a179 - ssa_ast: 572e636cd581d90be6b1d5a08f5f02466ff1c5394f5d98b5c74c7afd5a931370 - flattened_ast: 9b5b0c6486ca3cdaf2f5f5f1cea4a3ab1e3e5a7b3047b18e432592f55ea6e5dd - destructured_ast: d523fb4308702f3215b8087018a9b4086588cc30c3c9a57e07fdb429d3d02329 - inlined_ast: d523fb4308702f3215b8087018a9b4086588cc30c3c9a57e07fdb429d3d02329 - dce_ast: 3aba054ea095cb9d74fd8950afcaf488c47bb65e5661e04aee2fa9cb399b3f62 - bytecode: 490f1367d32747ffc240c1b2a165f85ca487e65d00e2efee5d784e643213ce20 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "d1ece7284dfd737c90106d9e554b11831875e95935c645d35ffca94dcf45a179", unrolled_ast = "d1ece7284dfd737c90106d9e554b11831875e95935c645d35ffca94dcf45a179", ssa_ast = "572e636cd581d90be6b1d5a08f5f02466ff1c5394f5d98b5c74c7afd5a931370", flattened_ast = "9b5b0c6486ca3cdaf2f5f5f1cea4a3ab1e3e5a7b3047b18e432592f55ea6e5dd", destructured_ast = "d523fb4308702f3215b8087018a9b4086588cc30c3c9a57e07fdb429d3d02329", inlined_ast = "d523fb4308702f3215b8087018a9b4086588cc30c3c9a57e07fdb429d3d02329", dce_ast = "3aba054ea095cb9d74fd8950afcaf488c47bb65e5661e04aee2fa9cb399b3f62", bytecode = "490f1367d32747ffc240c1b2a165f85ca487e65d00e2efee5d784e643213ce20", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out index 63943a56cf..6daa299ccb 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 1c85acf659d264fc2b7c7391b8a0c6133cc8864d8ace248ce0aaf54ceef6aed7 - unrolled_ast: 1c85acf659d264fc2b7c7391b8a0c6133cc8864d8ace248ce0aaf54ceef6aed7 - ssa_ast: e52682262d7b1a1fa63b0269f94dc7a099d6383280bd0f187c6e601ace23208f - flattened_ast: 103f52de251854396d254e63bcf6085fa24a14f27eb31b7b0dcdd52125907e03 - destructured_ast: decc6093cd84a5904ffaa0a38b5aaf3465c814222f7c98d23c50f90aaa5259d2 - inlined_ast: decc6093cd84a5904ffaa0a38b5aaf3465c814222f7c98d23c50f90aaa5259d2 - dce_ast: 0186e2fca6edf433e160053643ec6c5f170adbfc97229294ef5c246fec7e5081 - bytecode: 90719e9440e244c74e57dd63e47c928680066f5d4289d1f15e9c4a2c78e75e84 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "1c85acf659d264fc2b7c7391b8a0c6133cc8864d8ace248ce0aaf54ceef6aed7", unrolled_ast = "1c85acf659d264fc2b7c7391b8a0c6133cc8864d8ace248ce0aaf54ceef6aed7", ssa_ast = "e52682262d7b1a1fa63b0269f94dc7a099d6383280bd0f187c6e601ace23208f", flattened_ast = "103f52de251854396d254e63bcf6085fa24a14f27eb31b7b0dcdd52125907e03", destructured_ast = "decc6093cd84a5904ffaa0a38b5aaf3465c814222f7c98d23c50f90aaa5259d2", inlined_ast = "decc6093cd84a5904ffaa0a38b5aaf3465c814222f7c98d23c50f90aaa5259d2", dce_ast = "0186e2fca6edf433e160053643ec6c5f170adbfc97229294ef5c246fec7e5081", bytecode = "90719e9440e244c74e57dd63e47c928680066f5d4289d1f15e9c4a2c78e75e84", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out index 8fb414a474..83148a3115 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: 4b4a906c5b2e7563f8618af9bc7acc3422332542ef6f208c0809cb0dacb84ce3 - unrolled_ast: 4b4a906c5b2e7563f8618af9bc7acc3422332542ef6f208c0809cb0dacb84ce3 - ssa_ast: 961233d302212ede87cea7db34c02df2cb0fe927c5d56ac3df53f9c2b12addeb - flattened_ast: e3136b4b1669b51dcc017352a065d00fbb433c71f33b3623c7e2be26301be2a2 - destructured_ast: 55f25578880aad70b47696fca8b8f9517ca38e34bdf7a68ffefa748d9f1abcc5 - inlined_ast: 55f25578880aad70b47696fca8b8f9517ca38e34bdf7a68ffefa748d9f1abcc5 - dce_ast: e48153e7a05af3f3ac5fe75a5adbf2f5730fd208b615771e44eb6260f3462bcb - bytecode: 2bf257739832acc917b4b4f18f149a72e6a8394336740568bd06cb6141704762 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "4b4a906c5b2e7563f8618af9bc7acc3422332542ef6f208c0809cb0dacb84ce3", unrolled_ast = "4b4a906c5b2e7563f8618af9bc7acc3422332542ef6f208c0809cb0dacb84ce3", ssa_ast = "961233d302212ede87cea7db34c02df2cb0fe927c5d56ac3df53f9c2b12addeb", flattened_ast = "e3136b4b1669b51dcc017352a065d00fbb433c71f33b3623c7e2be26301be2a2", destructured_ast = "55f25578880aad70b47696fca8b8f9517ca38e34bdf7a68ffefa748d9f1abcc5", inlined_ast = "55f25578880aad70b47696fca8b8f9517ca38e34bdf7a68ffefa748d9f1abcc5", dce_ast = "e48153e7a05af3f3ac5fe75a5adbf2f5730fd208b615771e44eb6260f3462bcb", bytecode = "2bf257739832acc917b4b4f18f149a72e6a8394336740568bd06cb6141704762", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out index 602953474e..7f5003547b 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: 9608ff8b894d92df33318bf170b22fa473b7b9a302a150879ec7a3fe41c144a7 - unrolled_ast: 9608ff8b894d92df33318bf170b22fa473b7b9a302a150879ec7a3fe41c144a7 - ssa_ast: 3dd87b6dad9193abd90249ebf6754e8916956ebbf4bdbf50700c8362a4a58005 - flattened_ast: f3bfa79f8c0c6d905a156b8079c8426159349f643fe930a3519f5bfab5da3ac2 - destructured_ast: ee6283c2ea4ba74834e1c33046ce2cbe0d9e01ae41f291b5088563f5e1db5d41 - inlined_ast: ee6283c2ea4ba74834e1c33046ce2cbe0d9e01ae41f291b5088563f5e1db5d41 - dce_ast: e3bac8a994add5ca9a944c904ddaafd6eab3ffcc1e35041789d7a951a024d2b6 - bytecode: 7420791e00dae08a4887c2fa36f481bcbfe5b3c8d5c8268ec753a904f3e51ae1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "9608ff8b894d92df33318bf170b22fa473b7b9a302a150879ec7a3fe41c144a7", unrolled_ast = "9608ff8b894d92df33318bf170b22fa473b7b9a302a150879ec7a3fe41c144a7", ssa_ast = "3dd87b6dad9193abd90249ebf6754e8916956ebbf4bdbf50700c8362a4a58005", flattened_ast = "f3bfa79f8c0c6d905a156b8079c8426159349f643fe930a3519f5bfab5da3ac2", destructured_ast = "ee6283c2ea4ba74834e1c33046ce2cbe0d9e01ae41f291b5088563f5e1db5d41", inlined_ast = "ee6283c2ea4ba74834e1c33046ce2cbe0d9e01ae41f291b5088563f5e1db5d41", dce_ast = "e3bac8a994add5ca9a944c904ddaafd6eab3ffcc1e35041789d7a951a024d2b6", bytecode = "7420791e00dae08a4887c2fa36f481bcbfe5b3c8d5c8268ec753a904f3e51ae1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out index 7961c2d88f..7be2c2fc9c 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: e7c13c39a9619ea30d0eebce39238253b9f7d7c19c1bdf66328994543d6978ca - unrolled_ast: e7c13c39a9619ea30d0eebce39238253b9f7d7c19c1bdf66328994543d6978ca - ssa_ast: 82deb8939a61b6e880c8efbdd17e7cfeed9092d727184fd4b1822737aaf078a1 - flattened_ast: 365203cfba4cf356e3b4f6778e76a70a5e51832e0c785e1c48b26e82bfade52e - destructured_ast: a42dccfacec7d7c6428d179a8fc18984291e64509870ae141fc5719182205f1e - inlined_ast: a42dccfacec7d7c6428d179a8fc18984291e64509870ae141fc5719182205f1e - dce_ast: 42a0c3e54575bd6832aea66eba13bd8a9c0a419f8860a8551e9f52117bac625b - bytecode: 6c433e307d008c270d0de4f6a677aa5069fcf55a7613d777379bbab14c24be61 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "e7c13c39a9619ea30d0eebce39238253b9f7d7c19c1bdf66328994543d6978ca", unrolled_ast = "e7c13c39a9619ea30d0eebce39238253b9f7d7c19c1bdf66328994543d6978ca", ssa_ast = "82deb8939a61b6e880c8efbdd17e7cfeed9092d727184fd4b1822737aaf078a1", flattened_ast = "365203cfba4cf356e3b4f6778e76a70a5e51832e0c785e1c48b26e82bfade52e", destructured_ast = "a42dccfacec7d7c6428d179a8fc18984291e64509870ae141fc5719182205f1e", inlined_ast = "a42dccfacec7d7c6428d179a8fc18984291e64509870ae141fc5719182205f1e", dce_ast = "42a0c3e54575bd6832aea66eba13bd8a9c0a419f8860a8551e9f52117bac625b", bytecode = "6c433e307d008c270d0de4f6a677aa5069fcf55a7613d777379bbab14c24be61", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out index f90a9a4a97..2dea9d14da 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: 0e6a1aa546ef79f888222be77c1b69c26c74bc1f60cdc4383965239c4a7bec4e - unrolled_ast: 0e6a1aa546ef79f888222be77c1b69c26c74bc1f60cdc4383965239c4a7bec4e - ssa_ast: 96cd421723dad28692f77f1ea5c692aae1efc1f54d153c02768a0885b3ce34a0 - flattened_ast: a2c3d693f3b7dad80232ee0c1ecee983f7b965a73c63cb2a5ede5dac046c383d - destructured_ast: c27ccc181e689be8a68e8e504f39ae38ab8a8372d2c4ef90be2d7987b9e6c117 - inlined_ast: c27ccc181e689be8a68e8e504f39ae38ab8a8372d2c4ef90be2d7987b9e6c117 - dce_ast: 44fd533359ca6c9b4400efac55db18dcd15fb9f070bd97c7ed04c615ee15f84f - bytecode: 2d9a914eb6d3310ce7e2a0f8d7f3ea4e34fad2533c9e2c7b7bfcc9da17ee1313 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "0e6a1aa546ef79f888222be77c1b69c26c74bc1f60cdc4383965239c4a7bec4e", unrolled_ast = "0e6a1aa546ef79f888222be77c1b69c26c74bc1f60cdc4383965239c4a7bec4e", ssa_ast = "96cd421723dad28692f77f1ea5c692aae1efc1f54d153c02768a0885b3ce34a0", flattened_ast = "a2c3d693f3b7dad80232ee0c1ecee983f7b965a73c63cb2a5ede5dac046c383d", destructured_ast = "c27ccc181e689be8a68e8e504f39ae38ab8a8372d2c4ef90be2d7987b9e6c117", inlined_ast = "c27ccc181e689be8a68e8e504f39ae38ab8a8372d2c4ef90be2d7987b9e6c117", dce_ast = "44fd533359ca6c9b4400efac55db18dcd15fb9f070bd97c7ed04c615ee15f84f", bytecode = "2d9a914eb6d3310ce7e2a0f8d7f3ea4e34fad2533c9e2c7b7bfcc9da17ee1313", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out index 05fea74ffc..1eb601df8a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: a9aefd5a57ccd41ca80b73c28bcd3a2d0bda241029bcac325847adcd1008b416 - unrolled_ast: a9aefd5a57ccd41ca80b73c28bcd3a2d0bda241029bcac325847adcd1008b416 - ssa_ast: 84e4adf6612547e977e73135bc24d9429901e59b62d38d1d73f4a853f937a454 - flattened_ast: a19ddb4dad5f8cdd3998c461abddcbe6068a79e2450e97f883da0369ecb63c4a - destructured_ast: c06bc8e693b71a3edbb318b2d3f1d86a30fa5d961fdd9d7fc0aaedea69bafb7d - inlined_ast: c06bc8e693b71a3edbb318b2d3f1d86a30fa5d961fdd9d7fc0aaedea69bafb7d - dce_ast: 462a747af8a5e530c25ad8444ade3c8982057c1341ff0ed73d1712df97b33f17 - bytecode: e2c7366a24109eb7d575db5c998ee9833edf454546a359ea4508eeabfff11d19 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "a9aefd5a57ccd41ca80b73c28bcd3a2d0bda241029bcac325847adcd1008b416", unrolled_ast = "a9aefd5a57ccd41ca80b73c28bcd3a2d0bda241029bcac325847adcd1008b416", ssa_ast = "84e4adf6612547e977e73135bc24d9429901e59b62d38d1d73f4a853f937a454", flattened_ast = "a19ddb4dad5f8cdd3998c461abddcbe6068a79e2450e97f883da0369ecb63c4a", destructured_ast = "c06bc8e693b71a3edbb318b2d3f1d86a30fa5d961fdd9d7fc0aaedea69bafb7d", inlined_ast = "c06bc8e693b71a3edbb318b2d3f1d86a30fa5d961fdd9d7fc0aaedea69bafb7d", dce_ast = "462a747af8a5e530c25ad8444ade3c8982057c1341ff0ed73d1712df97b33f17", bytecode = "e2c7366a24109eb7d575db5c998ee9833edf454546a359ea4508eeabfff11d19", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out index 86787b88d5..71af59af38 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 06e4abe9646e9b63439b9c74626f42fb7e3705e35c67dd243fa42bcf80495480 - unrolled_ast: 06e4abe9646e9b63439b9c74626f42fb7e3705e35c67dd243fa42bcf80495480 - ssa_ast: 9a7504d058596f766e8c22f0969ffaed1d5e7fe85be2a8c0f37f31057d82ee54 - flattened_ast: 676e73e9b304b5f0c604cdb57099e3c9a7c3e68df06b067039104501fd21a1d4 - destructured_ast: cf6cdb357b38bef32d74c87d16aefe0090c49665045f7cb9e72b4a288887381f - inlined_ast: cf6cdb357b38bef32d74c87d16aefe0090c49665045f7cb9e72b4a288887381f - dce_ast: 30a57dd68a390ebef1807212df65f6cdad3e283ded6bb65a24fa64ac420181fa - bytecode: a789b985627d6892e58cab9b998763a2ab106196eb6b1c0c4452af122c7908fc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "06e4abe9646e9b63439b9c74626f42fb7e3705e35c67dd243fa42bcf80495480", unrolled_ast = "06e4abe9646e9b63439b9c74626f42fb7e3705e35c67dd243fa42bcf80495480", ssa_ast = "9a7504d058596f766e8c22f0969ffaed1d5e7fe85be2a8c0f37f31057d82ee54", flattened_ast = "676e73e9b304b5f0c604cdb57099e3c9a7c3e68df06b067039104501fd21a1d4", destructured_ast = "cf6cdb357b38bef32d74c87d16aefe0090c49665045f7cb9e72b4a288887381f", inlined_ast = "cf6cdb357b38bef32d74c87d16aefe0090c49665045f7cb9e72b4a288887381f", dce_ast = "30a57dd68a390ebef1807212df65f6cdad3e283ded6bb65a24fa64ac420181fa", bytecode = "a789b985627d6892e58cab9b998763a2ab106196eb6b1c0c4452af122c7908fc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out index 1b9618a1ec..6e3199cb35 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 2d3becd68a72424b2af986c1bfeb673817f2068c6063700f48abb82f4db301fb - unrolled_ast: 2d3becd68a72424b2af986c1bfeb673817f2068c6063700f48abb82f4db301fb - ssa_ast: 29d35ce4692ddcc7e1663ade5b43cda8c057db141e6df624068442cd00b2f627 - flattened_ast: 5e69487bd30e2d909ab167e75ac39a53a1c4a23d7cc05b7e64a441b78dae8c56 - destructured_ast: 5d6a989004373219f625dfc577f08108d0859fde75d81a7b1cfc9b5189612c68 - inlined_ast: 5d6a989004373219f625dfc577f08108d0859fde75d81a7b1cfc9b5189612c68 - dce_ast: ca744c969f0c51ac773f6d26caaeef8af4f2c8e17781585c3e51b7425234cc82 - bytecode: 32f8e6f9a0f4869bb08c45ba1b94b5411c3641959a3f21203f34f54bfbdf120f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "2d3becd68a72424b2af986c1bfeb673817f2068c6063700f48abb82f4db301fb", unrolled_ast = "2d3becd68a72424b2af986c1bfeb673817f2068c6063700f48abb82f4db301fb", ssa_ast = "29d35ce4692ddcc7e1663ade5b43cda8c057db141e6df624068442cd00b2f627", flattened_ast = "5e69487bd30e2d909ab167e75ac39a53a1c4a23d7cc05b7e64a441b78dae8c56", destructured_ast = "5d6a989004373219f625dfc577f08108d0859fde75d81a7b1cfc9b5189612c68", inlined_ast = "5d6a989004373219f625dfc577f08108d0859fde75d81a7b1cfc9b5189612c68", dce_ast = "ca744c969f0c51ac773f6d26caaeef8af4f2c8e17781585c3e51b7425234cc82", bytecode = "32f8e6f9a0f4869bb08c45ba1b94b5411c3641959a3f21203f34f54bfbdf120f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out index 04f13c85ed..809cffd9d3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: 5f5f34657b55e6a0239853b9d2480d11b3a388d2ff501c8d13c1f5535a1c5230 - unrolled_ast: 5f5f34657b55e6a0239853b9d2480d11b3a388d2ff501c8d13c1f5535a1c5230 - ssa_ast: 392e041307359fde6bb72b4385d7d6bc461e26866a8afd604f6c41855982f023 - flattened_ast: 818843b1d4c4fdb8981ed7f98d881fc6b509e4189748c07380b6e5cd28dfffb7 - destructured_ast: e84dd15e4ea85ec2408aac584e38abfd0a07278e875284eb7e64e90aa51151d6 - inlined_ast: e84dd15e4ea85ec2408aac584e38abfd0a07278e875284eb7e64e90aa51151d6 - dce_ast: 05fd0e62447bf6e34e42078695ce57e2df4cfdcdd28059f8091fa24b7994652b - bytecode: 9c22fdc85a23a84932bff4c1d2f420db2e3c8f60fe55b628e573a100318afc09 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "5f5f34657b55e6a0239853b9d2480d11b3a388d2ff501c8d13c1f5535a1c5230", unrolled_ast = "5f5f34657b55e6a0239853b9d2480d11b3a388d2ff501c8d13c1f5535a1c5230", ssa_ast = "392e041307359fde6bb72b4385d7d6bc461e26866a8afd604f6c41855982f023", flattened_ast = "818843b1d4c4fdb8981ed7f98d881fc6b509e4189748c07380b6e5cd28dfffb7", destructured_ast = "e84dd15e4ea85ec2408aac584e38abfd0a07278e875284eb7e64e90aa51151d6", inlined_ast = "e84dd15e4ea85ec2408aac584e38abfd0a07278e875284eb7e64e90aa51151d6", dce_ast = "05fd0e62447bf6e34e42078695ce57e2df4cfdcdd28059f8091fa24b7994652b", bytecode = "9c22fdc85a23a84932bff4c1d2f420db2e3c8f60fe55b628e573a100318afc09", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out index f332e95d38..bb750d9960 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 5a73ab94ec24dade18c55adac7089f0f799d2c357eabfc47d3a5f628409c1c59 - unrolled_ast: 5a73ab94ec24dade18c55adac7089f0f799d2c357eabfc47d3a5f628409c1c59 - ssa_ast: c7f4e507f6e492bf42a2714c6c5e82fc72ba97debdf937f3c60dc4d259fa3db1 - flattened_ast: aff87f1b851fed1d0d4f80260cc4e85285e72eb577c2f46ea75d731ac0cde9a8 - destructured_ast: f9bd3e829e5c0fd697ed8b78c9e22ae91e980faf9c1dcc324dcbc0edc4f92bb8 - inlined_ast: f9bd3e829e5c0fd697ed8b78c9e22ae91e980faf9c1dcc324dcbc0edc4f92bb8 - dce_ast: c4a45b0d06874fdea8ad279c3d57b3560da3762983905118e8e6852497940ed2 - bytecode: 3abe59e41cf33d2c2faa4a8b214ca184aa3b1a34b4264e0d26d520d9ccfaa10d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "5a73ab94ec24dade18c55adac7089f0f799d2c357eabfc47d3a5f628409c1c59", unrolled_ast = "5a73ab94ec24dade18c55adac7089f0f799d2c357eabfc47d3a5f628409c1c59", ssa_ast = "c7f4e507f6e492bf42a2714c6c5e82fc72ba97debdf937f3c60dc4d259fa3db1", flattened_ast = "aff87f1b851fed1d0d4f80260cc4e85285e72eb577c2f46ea75d731ac0cde9a8", destructured_ast = "f9bd3e829e5c0fd697ed8b78c9e22ae91e980faf9c1dcc324dcbc0edc4f92bb8", inlined_ast = "f9bd3e829e5c0fd697ed8b78c9e22ae91e980faf9c1dcc324dcbc0edc4f92bb8", dce_ast = "c4a45b0d06874fdea8ad279c3d57b3560da3762983905118e8e6852497940ed2", bytecode = "3abe59e41cf33d2c2faa4a8b214ca184aa3b1a34b4264e0d26d520d9ccfaa10d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out index 9456c95f34..0ed2074ee3 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 32d29b8d35e483f395d43352cf84625105e446dfd1856822a5989770a795f55d - unrolled_ast: 32d29b8d35e483f395d43352cf84625105e446dfd1856822a5989770a795f55d - ssa_ast: 631f813e26cf515e47fabf9cd82255b0c746f71d3537262c3110ab85f2de2265 - flattened_ast: d9d0a4da610bf304ff8157d47489ea3dd42943155fc79ebdf29b4789484ddfde - destructured_ast: 6f904ed8251cb91e026c2ddcc3336931fbc41a71752176728971f6672d5b0969 - inlined_ast: 6f904ed8251cb91e026c2ddcc3336931fbc41a71752176728971f6672d5b0969 - dce_ast: 36343a98cb9368a6314a1a58bf5a6af64bd09d6acd5593366a5337dfb6202c5e - bytecode: 49b4c6dd96208f99a71898243601f70b0905787e0a1d4c265a781db1a20cc0d5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "32d29b8d35e483f395d43352cf84625105e446dfd1856822a5989770a795f55d", unrolled_ast = "32d29b8d35e483f395d43352cf84625105e446dfd1856822a5989770a795f55d", ssa_ast = "631f813e26cf515e47fabf9cd82255b0c746f71d3537262c3110ab85f2de2265", flattened_ast = "d9d0a4da610bf304ff8157d47489ea3dd42943155fc79ebdf29b4789484ddfde", destructured_ast = "6f904ed8251cb91e026c2ddcc3336931fbc41a71752176728971f6672d5b0969", inlined_ast = "6f904ed8251cb91e026c2ddcc3336931fbc41a71752176728971f6672d5b0969", dce_ast = "36343a98cb9368a6314a1a58bf5a6af64bd09d6acd5593366a5337dfb6202c5e", bytecode = "49b4c6dd96208f99a71898243601f70b0905787e0a1d4c265a781db1a20cc0d5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out index 5722f8c9bc..82453b7971 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: 6a02390331cb369f1184a36b17628b11e2413503aa9166206f5c4bd7609dcfba - unrolled_ast: 6a02390331cb369f1184a36b17628b11e2413503aa9166206f5c4bd7609dcfba - ssa_ast: 52f57f31810d96f91b3f44bc66f2ae756bc8e88780e464db771a4c10a830965a - flattened_ast: 4ee771ac020863c19017c883bf747082748a52e4e980ffd428c2145e2bcf4dd6 - destructured_ast: 593e95523a037f9d62bcbdbc237d34fbc26e78d2420b1c6f9c7db9ea1f933120 - inlined_ast: 593e95523a037f9d62bcbdbc237d34fbc26e78d2420b1c6f9c7db9ea1f933120 - dce_ast: 64edd43fb803485c46ca09a99ce4a110b6dd3672e14ffbdd7c2f981008400a88 - bytecode: 363561300454f0f6b2213cdd668ddb222e6ae238cded832a3b2703d4d05394ce - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "6a02390331cb369f1184a36b17628b11e2413503aa9166206f5c4bd7609dcfba", unrolled_ast = "6a02390331cb369f1184a36b17628b11e2413503aa9166206f5c4bd7609dcfba", ssa_ast = "52f57f31810d96f91b3f44bc66f2ae756bc8e88780e464db771a4c10a830965a", flattened_ast = "4ee771ac020863c19017c883bf747082748a52e4e980ffd428c2145e2bcf4dd6", destructured_ast = "593e95523a037f9d62bcbdbc237d34fbc26e78d2420b1c6f9c7db9ea1f933120", inlined_ast = "593e95523a037f9d62bcbdbc237d34fbc26e78d2420b1c6f9c7db9ea1f933120", dce_ast = "64edd43fb803485c46ca09a99ce4a110b6dd3672e14ffbdd7c2f981008400a88", bytecode = "363561300454f0f6b2213cdd668ddb222e6ae238cded832a3b2703d4d05394ce", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out index 15978456cb..6c4133f564 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: 373ae22f6ff6381ddd7c191f60d0dba6112e25f027571815146c5458dcde3d74 - unrolled_ast: 373ae22f6ff6381ddd7c191f60d0dba6112e25f027571815146c5458dcde3d74 - ssa_ast: 2b1e9d60d0f4610cc8237e3114084399265f2079d910510e77d79ac77266a987 - flattened_ast: 7265b0365904cdc6a425614b032447690c510bcaea4d44f5438af10604f7a3dd - destructured_ast: 0da14ee179e25b27cfb1f1cee5a3eb63f74178aa5f874d1557bdb241bdaa9bfc - inlined_ast: 0da14ee179e25b27cfb1f1cee5a3eb63f74178aa5f874d1557bdb241bdaa9bfc - dce_ast: 2f2cd2c012f63769a425496eb9e102a0766f12b03c0d3bcfaaa49ad9d2a50680 - bytecode: 8c0aeafc028be27891412b5df88c1352b25b522936310bd38afd3334c8f21042 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "373ae22f6ff6381ddd7c191f60d0dba6112e25f027571815146c5458dcde3d74", unrolled_ast = "373ae22f6ff6381ddd7c191f60d0dba6112e25f027571815146c5458dcde3d74", ssa_ast = "2b1e9d60d0f4610cc8237e3114084399265f2079d910510e77d79ac77266a987", flattened_ast = "7265b0365904cdc6a425614b032447690c510bcaea4d44f5438af10604f7a3dd", destructured_ast = "0da14ee179e25b27cfb1f1cee5a3eb63f74178aa5f874d1557bdb241bdaa9bfc", inlined_ast = "0da14ee179e25b27cfb1f1cee5a3eb63f74178aa5f874d1557bdb241bdaa9bfc", dce_ast = "2f2cd2c012f63769a425496eb9e102a0766f12b03c0d3bcfaaa49ad9d2a50680", bytecode = "8c0aeafc028be27891412b5df88c1352b25b522936310bd38afd3334c8f21042", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out index 0770834040..7bfeadc008 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: b1fa62ab197a47ab43ef459327aba7e6d4496ebfe87275d7344cb3a1e449322e - unrolled_ast: b1fa62ab197a47ab43ef459327aba7e6d4496ebfe87275d7344cb3a1e449322e - ssa_ast: 99e4fee74028cee7d0e892da844f4fdd79bfa06942691fb6da79ea53d18656c7 - flattened_ast: 3f0b755c9450ee48201cb1327f3f7166dcc051de1b7890a44d8f6fc10c7ab2b0 - destructured_ast: c445af1e47d39736adaab0a8b386df45729953b9b0cae8735419ca6198b6f9e5 - inlined_ast: c445af1e47d39736adaab0a8b386df45729953b9b0cae8735419ca6198b6f9e5 - dce_ast: e0f5814e4ff2c18520ac3c974c5ccf6d49713df8e2b6b561cb4b2b3e3f3f1221 - bytecode: a6f52a903b9de83e1cd758c63713591e8270f14276acd338000f47ea2ae40302 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "b1fa62ab197a47ab43ef459327aba7e6d4496ebfe87275d7344cb3a1e449322e", unrolled_ast = "b1fa62ab197a47ab43ef459327aba7e6d4496ebfe87275d7344cb3a1e449322e", ssa_ast = "99e4fee74028cee7d0e892da844f4fdd79bfa06942691fb6da79ea53d18656c7", flattened_ast = "3f0b755c9450ee48201cb1327f3f7166dcc051de1b7890a44d8f6fc10c7ab2b0", destructured_ast = "c445af1e47d39736adaab0a8b386df45729953b9b0cae8735419ca6198b6f9e5", inlined_ast = "c445af1e47d39736adaab0a8b386df45729953b9b0cae8735419ca6198b6f9e5", dce_ast = "e0f5814e4ff2c18520ac3c974c5ccf6d49713df8e2b6b561cb4b2b3e3f3f1221", bytecode = "a6f52a903b9de83e1cd758c63713591e8270f14276acd338000f47ea2ae40302", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out index 6c2984bfd4..2679bfbbc7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: d1c4e98c028288fd29621a0efba7739caba77381590d8656b090f782e91c8853 - unrolled_ast: d1c4e98c028288fd29621a0efba7739caba77381590d8656b090f782e91c8853 - ssa_ast: c7cd199e508d2036848a2611a97ecc6a39e349741fea0a20be424c66e19e645e - flattened_ast: cb7ff42ca179e0f6fedb7c04235816acc472283f69c45f45a8bd4643c1256b21 - destructured_ast: 2f38f81544473d78cc89ca76f119a5e2569cec193e3faf99c136bba9f71e42c5 - inlined_ast: 2f38f81544473d78cc89ca76f119a5e2569cec193e3faf99c136bba9f71e42c5 - dce_ast: 4bb2c3240705a4388c660693cf9787103b5e87ee1e5f6682c279a56230c83973 - bytecode: 8b1f3cfaee87de68b82bbdf34cdaaac42bcec03c7a1220993034fd1251d4d4dd - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "d1c4e98c028288fd29621a0efba7739caba77381590d8656b090f782e91c8853", unrolled_ast = "d1c4e98c028288fd29621a0efba7739caba77381590d8656b090f782e91c8853", ssa_ast = "c7cd199e508d2036848a2611a97ecc6a39e349741fea0a20be424c66e19e645e", flattened_ast = "cb7ff42ca179e0f6fedb7c04235816acc472283f69c45f45a8bd4643c1256b21", destructured_ast = "2f38f81544473d78cc89ca76f119a5e2569cec193e3faf99c136bba9f71e42c5", inlined_ast = "2f38f81544473d78cc89ca76f119a5e2569cec193e3faf99c136bba9f71e42c5", dce_ast = "4bb2c3240705a4388c660693cf9787103b5e87ee1e5f6682c279a56230c83973", bytecode = "8b1f3cfaee87de68b82bbdf34cdaaac42bcec03c7a1220993034fd1251d4d4dd", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out index 15518ca7a6..765da267b7 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: 39fe927b534e754f7f8710fe5f999efdae55c675b1f680398e37f62bd170b9e9 - unrolled_ast: 39fe927b534e754f7f8710fe5f999efdae55c675b1f680398e37f62bd170b9e9 - ssa_ast: d6a3ff617321ffb5f9ada496f13885deb788a9fe3db1308f77f230f1bc588c2a - flattened_ast: e507e3c618f133e2d0044c6705a167c7e8ff068bbb6384127aceec461f11dd4a - destructured_ast: 075f1d45ca77fd31deb3d093f4700482ee536def38345ab76ab9ea5ce17a8739 - inlined_ast: 075f1d45ca77fd31deb3d093f4700482ee536def38345ab76ab9ea5ce17a8739 - dce_ast: dc6cb9402a404b819a2c8155d87a3311a29e9f7ecee56cb419e33df366c70fcb - bytecode: 638b45c57e81c04b6f17fe13aa0764399352a80bd71618b03ff4831da6855f6e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "39fe927b534e754f7f8710fe5f999efdae55c675b1f680398e37f62bd170b9e9", unrolled_ast = "39fe927b534e754f7f8710fe5f999efdae55c675b1f680398e37f62bd170b9e9", ssa_ast = "d6a3ff617321ffb5f9ada496f13885deb788a9fe3db1308f77f230f1bc588c2a", flattened_ast = "e507e3c618f133e2d0044c6705a167c7e8ff068bbb6384127aceec461f11dd4a", destructured_ast = "075f1d45ca77fd31deb3d093f4700482ee536def38345ab76ab9ea5ce17a8739", inlined_ast = "075f1d45ca77fd31deb3d093f4700482ee536def38345ab76ab9ea5ce17a8739", dce_ast = "dc6cb9402a404b819a2c8155d87a3311a29e9f7ecee56cb419e33df366c70fcb", bytecode = "638b45c57e81c04b6f17fe13aa0764399352a80bd71618b03ff4831da6855f6e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out index bae120ddb9..c4512895e6 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 9139db4330378e226ad2bda413324fa0a720dc01f521f9ecdc95a6fedb3562e4 - unrolled_ast: 9139db4330378e226ad2bda413324fa0a720dc01f521f9ecdc95a6fedb3562e4 - ssa_ast: 2d3b0656b2c32a5a9dc8ad64198210551d4590ec294b9431c6bbaaf6a65b29fa - flattened_ast: e850748c904afe7de7c778f2136c50c0fd38a08a83de816fc11765b70657812c - destructured_ast: d53bb72a74e8056d7cf0a098ec2c95bbd6776b2d97c1daa7ce1ed2205fb7e3d8 - inlined_ast: d53bb72a74e8056d7cf0a098ec2c95bbd6776b2d97c1daa7ce1ed2205fb7e3d8 - dce_ast: 7f9610abbff970fdc349b21ee3ce0fc16d7461353274bc449db706bf15c547ce - bytecode: bce86817893871d9d55d2a5a1dfb095822a7ec0813c029d7243200b20a401587 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "9139db4330378e226ad2bda413324fa0a720dc01f521f9ecdc95a6fedb3562e4", unrolled_ast = "9139db4330378e226ad2bda413324fa0a720dc01f521f9ecdc95a6fedb3562e4", ssa_ast = "2d3b0656b2c32a5a9dc8ad64198210551d4590ec294b9431c6bbaaf6a65b29fa", flattened_ast = "e850748c904afe7de7c778f2136c50c0fd38a08a83de816fc11765b70657812c", destructured_ast = "d53bb72a74e8056d7cf0a098ec2c95bbd6776b2d97c1daa7ce1ed2205fb7e3d8", inlined_ast = "d53bb72a74e8056d7cf0a098ec2c95bbd6776b2d97c1daa7ce1ed2205fb7e3d8", dce_ast = "7f9610abbff970fdc349b21ee3ce0fc16d7461353274bc449db706bf15c547ce", bytecode = "bce86817893871d9d55d2a5a1dfb095822a7ec0813c029d7243200b20a401587", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out index 67f70093c0..1db947c454 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 50e10e14ecd6376b09dd684ef54dddaca54117bb8db8d76036f2edbfc4b7bd31 - unrolled_ast: 50e10e14ecd6376b09dd684ef54dddaca54117bb8db8d76036f2edbfc4b7bd31 - ssa_ast: 8997064575d640d7bef49b14ca2a052bc3895312c72c4b7bec43232ec2adc828 - flattened_ast: 8d8c5bc1f57976c6b728aea95a170f0c079c1997322f0623d625f071fb2000ea - destructured_ast: e871a73f45f01171ac9d483e5064acc10a1ce84fe6d2980ae5697cfe0a274ff1 - inlined_ast: e871a73f45f01171ac9d483e5064acc10a1ce84fe6d2980ae5697cfe0a274ff1 - dce_ast: 5b01e996bb53d9b18f87aa97ee2bf2f68e8eddbcb44a5e0cbff46800e935c56b - bytecode: 66c33deb9dd42d3e8f6600d5210f16e5fec245557773b8041346f13fbca2c37d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "50e10e14ecd6376b09dd684ef54dddaca54117bb8db8d76036f2edbfc4b7bd31", unrolled_ast = "50e10e14ecd6376b09dd684ef54dddaca54117bb8db8d76036f2edbfc4b7bd31", ssa_ast = "8997064575d640d7bef49b14ca2a052bc3895312c72c4b7bec43232ec2adc828", flattened_ast = "8d8c5bc1f57976c6b728aea95a170f0c079c1997322f0623d625f071fb2000ea", destructured_ast = "e871a73f45f01171ac9d483e5064acc10a1ce84fe6d2980ae5697cfe0a274ff1", inlined_ast = "e871a73f45f01171ac9d483e5064acc10a1ce84fe6d2980ae5697cfe0a274ff1", dce_ast = "5b01e996bb53d9b18f87aa97ee2bf2f68e8eddbcb44a5e0cbff46800e935c56b", bytecode = "66c33deb9dd42d3e8f6600d5210f16e5fec245557773b8041346f13fbca2c37d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out index 98adc6f2ef..394a116c3a 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: c7e57a0cdf92c76b8b50e8ec3d235cf608ff50280225ce74e96ca0c738d7f15f - unrolled_ast: c7e57a0cdf92c76b8b50e8ec3d235cf608ff50280225ce74e96ca0c738d7f15f - ssa_ast: eed19d00d4307a17fd4e5373dd0fd567435b8b506bdce53148a13e0ab23af6ef - flattened_ast: 80bf5ee91f6f0402a25f27f3ceaa2d28499b7ef107727f3342e07698a2e2925d - destructured_ast: 97c90a25805e211c96678f608f76ab3034696ee90b7aed13f30c2e88cdde85d9 - inlined_ast: 97c90a25805e211c96678f608f76ab3034696ee90b7aed13f30c2e88cdde85d9 - dce_ast: d6f8c53832d1d4248daa89cdbf70f7a3df8bce758283a5af2323e829d6109047 - bytecode: 8b8c77b3c97fbee9405b7ee10e65b3d317e42479aa8944b3bd3f4fb6f02edbb6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "c7e57a0cdf92c76b8b50e8ec3d235cf608ff50280225ce74e96ca0c738d7f15f", unrolled_ast = "c7e57a0cdf92c76b8b50e8ec3d235cf608ff50280225ce74e96ca0c738d7f15f", ssa_ast = "eed19d00d4307a17fd4e5373dd0fd567435b8b506bdce53148a13e0ab23af6ef", flattened_ast = "80bf5ee91f6f0402a25f27f3ceaa2d28499b7ef107727f3342e07698a2e2925d", destructured_ast = "97c90a25805e211c96678f608f76ab3034696ee90b7aed13f30c2e88cdde85d9", inlined_ast = "97c90a25805e211c96678f608f76ab3034696ee90b7aed13f30c2e88cdde85d9", dce_ast = "d6f8c53832d1d4248daa89cdbf70f7a3df8bce758283a5af2323e829d6109047", bytecode = "8b8c77b3c97fbee9405b7ee10e65b3d317e42479aa8944b3bd3f4fb6f02edbb6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out index f5f92d2a7f..968ad849a0 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: 1aa805837be0dec5f94284d159ea46882c1e2fce604da581cb9ee63b97e01098 - unrolled_ast: 1aa805837be0dec5f94284d159ea46882c1e2fce604da581cb9ee63b97e01098 - ssa_ast: 11b07d387e079a3e877514c648f566c0198ae8ad9c5020a5e76e32f5609137a0 - flattened_ast: 32d974b8915dbad0b061856815ff68917836e1bee009125ecb784567a6e9369e - destructured_ast: 74952076cf353f15b83aa35bafb85ab28870bf86fa659cc581f67783c9fd8a8e - inlined_ast: 74952076cf353f15b83aa35bafb85ab28870bf86fa659cc581f67783c9fd8a8e - dce_ast: bcb40a4f4d510068d6f67e518e7b0471255500a40235677a45d8482254953c5d - bytecode: 29856bd31a6992636fabf8b9428115dbf7dc585688f358a617b9352c1c3a377f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "1aa805837be0dec5f94284d159ea46882c1e2fce604da581cb9ee63b97e01098", unrolled_ast = "1aa805837be0dec5f94284d159ea46882c1e2fce604da581cb9ee63b97e01098", ssa_ast = "11b07d387e079a3e877514c648f566c0198ae8ad9c5020a5e76e32f5609137a0", flattened_ast = "32d974b8915dbad0b061856815ff68917836e1bee009125ecb784567a6e9369e", destructured_ast = "74952076cf353f15b83aa35bafb85ab28870bf86fa659cc581f67783c9fd8a8e", inlined_ast = "74952076cf353f15b83aa35bafb85ab28870bf86fa659cc581f67783c9fd8a8e", dce_ast = "bcb40a4f4d510068d6f67e518e7b0471255500a40235677a45d8482254953c5d", bytecode = "29856bd31a6992636fabf8b9428115dbf7dc585688f358a617b9352c1c3a377f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out index edef18c266..a2c25c9add 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d - type_checked_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - unrolled_symbol_table: 85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f - initial_ast: 452b70275dcc7d6d898d3c9d14dbe4449e80d2c41fd678bae8df1c23f3a57147 - unrolled_ast: 452b70275dcc7d6d898d3c9d14dbe4449e80d2c41fd678bae8df1c23f3a57147 - ssa_ast: 4fdbc261ac200178b4c2d05a61ec004e18c4ce1b7246e6e9b6639c9dc0c8fa68 - flattened_ast: efec4d6f59176ea8a10c735d64a67d6425d854a8be29ef94c8b6f2268eb08421 - destructured_ast: 8653bfa272eb3c54bd7a66d15987ae5560133576087c5ccec500aa7334e533bb - inlined_ast: 8653bfa272eb3c54bd7a66d15987ae5560133576087c5ccec500aa7334e533bb - dce_ast: 037ef92e2d50f9185834191cbf7dc35806538718f0fee25ed02bb3813248f9cc - bytecode: 84d2910c4f799e360581da0b0aca505e95e1c1bb187f45877c5b227e9561d936 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88337028e1c8b518142989b2c36459f26268b0660501d07046a2af01e286a25d", type_checked_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", unrolled_symbol_table = "85845a68b23d3e281346ae8fd1f3147dba218f5fd2f65dd7b3ec39d2c912fc3f", initial_ast = "452b70275dcc7d6d898d3c9d14dbe4449e80d2c41fd678bae8df1c23f3a57147", unrolled_ast = "452b70275dcc7d6d898d3c9d14dbe4449e80d2c41fd678bae8df1c23f3a57147", ssa_ast = "4fdbc261ac200178b4c2d05a61ec004e18c4ce1b7246e6e9b6639c9dc0c8fa68", flattened_ast = "efec4d6f59176ea8a10c735d64a67d6425d854a8be29ef94c8b6f2268eb08421", destructured_ast = "8653bfa272eb3c54bd7a66d15987ae5560133576087c5ccec500aa7334e533bb", inlined_ast = "8653bfa272eb3c54bd7a66d15987ae5560133576087c5ccec500aa7334e533bb", dce_ast = "037ef92e2d50f9185834191cbf7dc35806538718f0fee25ed02bb3813248f9cc", bytecode = "84d2910c4f799e360581da0b0aca505e95e1c1bb187f45877c5b227e9561d936", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out index ac85e3ec67..6f6e387e91 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca - type_checked_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - unrolled_symbol_table: 41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad - initial_ast: a5171c9e0e27c27d5b091a83d839594d73fc0029e7d1d2d2608a279c13788ade - unrolled_ast: a5171c9e0e27c27d5b091a83d839594d73fc0029e7d1d2d2608a279c13788ade - ssa_ast: db5e84fb37fe6ab12116c529341bff5e1124632880d9e49659d469d66de67480 - flattened_ast: d1f1d7bc800415d6a1ca722dbc8c03636bc01fefb240b64b33e51861550f0361 - destructured_ast: fdaab78ff95b62f6ca2850664f02967d426cb252c9a4c40db2ce7fc72bdb9ca1 - inlined_ast: fdaab78ff95b62f6ca2850664f02967d426cb252c9a4c40db2ce7fc72bdb9ca1 - dce_ast: e3bfc27fcb886cbd920d8aac258246fcd9c11e1d6334f5813269a98100e781d0 - bytecode: 101fe1af849e29ba44ea27ea575a3393fba2e0d2e302e43327b8547561b5a2ff - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6fbe09668eae866b7d088936aef31c44d3dcaefb4267380e57b04d6e9da910ca", type_checked_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", unrolled_symbol_table = "41d7881113f04ef3706fed6729f54dc0cf45cd8eba6509d94fefcd3c70d48cad", initial_ast = "a5171c9e0e27c27d5b091a83d839594d73fc0029e7d1d2d2608a279c13788ade", unrolled_ast = "a5171c9e0e27c27d5b091a83d839594d73fc0029e7d1d2d2608a279c13788ade", ssa_ast = "db5e84fb37fe6ab12116c529341bff5e1124632880d9e49659d469d66de67480", flattened_ast = "d1f1d7bc800415d6a1ca722dbc8c03636bc01fefb240b64b33e51861550f0361", destructured_ast = "fdaab78ff95b62f6ca2850664f02967d426cb252c9a4c40db2ce7fc72bdb9ca1", inlined_ast = "fdaab78ff95b62f6ca2850664f02967d426cb252c9a4c40db2ce7fc72bdb9ca1", dce_ast = "e3bfc27fcb886cbd920d8aac258246fcd9c11e1d6334f5813269a98100e781d0", bytecode = "101fe1af849e29ba44ea27ea575a3393fba2e0d2e302e43327b8547561b5a2ff", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out index e9db8d90c7..b5255b4654 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7 - type_checked_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - unrolled_symbol_table: cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e - initial_ast: 8deb064d633d0cee64e55886dbccdc46815a8a75c94cd751bd624a93d172bb99 - unrolled_ast: 8deb064d633d0cee64e55886dbccdc46815a8a75c94cd751bd624a93d172bb99 - ssa_ast: 523560043aa200e00ff32e6ae2a690ded25c551ca3421db0bb20b4c47719c327 - flattened_ast: 417272422d1b447526d47e67dfb5e8f0a98b8776144fd9107b26c9c04c0c63a8 - destructured_ast: 08be4756138c0a733a8d0471c5222434aacd45a66de287252d96b6d6c5880fb3 - inlined_ast: 08be4756138c0a733a8d0471c5222434aacd45a66de287252d96b6d6c5880fb3 - dce_ast: 3b8b422a6822c7e3b0db53d5124179b387f5b4b1fe231d93313b8f73eb43df76 - bytecode: 6ef5805c3336e65726b72f34cc357f5f87030d017dfd525f232f912f14c3f421 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4375f89c84f3c5af7638400e3af00b6fa7e2f6037bb0187e656a11a4194f88f7", type_checked_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", unrolled_symbol_table = "cc4199061e6b4fee63d122d69a41fd05dfe62c130708ced62e36373ec5a98f0e", initial_ast = "8deb064d633d0cee64e55886dbccdc46815a8a75c94cd751bd624a93d172bb99", unrolled_ast = "8deb064d633d0cee64e55886dbccdc46815a8a75c94cd751bd624a93d172bb99", ssa_ast = "523560043aa200e00ff32e6ae2a690ded25c551ca3421db0bb20b4c47719c327", flattened_ast = "417272422d1b447526d47e67dfb5e8f0a98b8776144fd9107b26c9c04c0c63a8", destructured_ast = "08be4756138c0a733a8d0471c5222434aacd45a66de287252d96b6d6c5880fb3", inlined_ast = "08be4756138c0a733a8d0471c5222434aacd45a66de287252d96b6d6c5880fb3", dce_ast = "3b8b422a6822c7e3b0db53d5124179b387f5b4b1fe231d93313b8f73eb43df76", bytecode = "6ef5805c3336e65726b72f34cc357f5f87030d017dfd525f232f912f14c3f421", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out index bd673858d0..23ed2d46a5 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5 - type_checked_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - unrolled_symbol_table: c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923 - initial_ast: 53e37b94dc1614c1b3e1621cf35649470be38a3e77221bceba6604edbc3910bd - unrolled_ast: 53e37b94dc1614c1b3e1621cf35649470be38a3e77221bceba6604edbc3910bd - ssa_ast: 76b5fc991549c95491a92990e94650f3f20ec8bfec2bf665caa31cc050b7bfb8 - flattened_ast: 96c8111af5c35374428394e1cf0b90cfea4af8014051b3fc02822a990b31daa6 - destructured_ast: a2d5a5ebb317929df6b481c1a98acbee6c1a31cc2e3b969dbac210b48dee2cc1 - inlined_ast: a2d5a5ebb317929df6b481c1a98acbee6c1a31cc2e3b969dbac210b48dee2cc1 - dce_ast: 73c5b8845a3720cfbcb115272aedca5011c14c53f9d13f7ef15e5c137310d93e - bytecode: 23b8c2466fbe8fc4cabd6fb7bb3b980b10ff779efecfd8fd347d3c4b46c2dc58 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "09015171da9cd92d49fd25eee135cae84b128f540bd8573d1f40ce47bbcb7db5", type_checked_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", unrolled_symbol_table = "c5096dd6d8aabe6fe5380fa2cf7fb74232ba23e16bccce3b00fca030cb822923", initial_ast = "53e37b94dc1614c1b3e1621cf35649470be38a3e77221bceba6604edbc3910bd", unrolled_ast = "53e37b94dc1614c1b3e1621cf35649470be38a3e77221bceba6604edbc3910bd", ssa_ast = "76b5fc991549c95491a92990e94650f3f20ec8bfec2bf665caa31cc050b7bfb8", flattened_ast = "96c8111af5c35374428394e1cf0b90cfea4af8014051b3fc02822a990b31daa6", destructured_ast = "a2d5a5ebb317929df6b481c1a98acbee6c1a31cc2e3b969dbac210b48dee2cc1", inlined_ast = "a2d5a5ebb317929df6b481c1a98acbee6c1a31cc2e3b969dbac210b48dee2cc1", dce_ast = "73c5b8845a3720cfbcb115272aedca5011c14c53f9d13f7ef15e5c137310d93e", bytecode = "23b8c2466fbe8fc4cabd6fb7bb3b980b10ff779efecfd8fd347d3c4b46c2dc58", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out index 91766966e6..5c3028e05e 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a - type_checked_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - unrolled_symbol_table: f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec - initial_ast: bb9c440c0f7af326869bb9a49fd759b80ed80b2c68939a0ecae478415a7b9460 - unrolled_ast: bb9c440c0f7af326869bb9a49fd759b80ed80b2c68939a0ecae478415a7b9460 - ssa_ast: 269594471f1d2c227f75a132195456cea74ddcc0941e4bc37aab9066f08e7d9a - flattened_ast: 633f279191efe4ef2f731fe7c900a340b5996b6545fff7ce4bdc32469e5ce0c1 - destructured_ast: 5a20f3fcc36901b334b1dae22e518a1377f4a9d4d9672fc73528555fd298d820 - inlined_ast: 5a20f3fcc36901b334b1dae22e518a1377f4a9d4d9672fc73528555fd298d820 - dce_ast: 68617baea94599f2c55ad317cdb8992dcb73026db81c9ea255ba7c704b43fbe7 - bytecode: aa8cfafa904c5e0d62b9bb6d271a6182830cb6cfb1bedaa78812a6e5be735597 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8e41ea99129edc81ece5fb996869b3f0b2082bb4f67f7493cc4591840a81369a", type_checked_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", unrolled_symbol_table = "f022a9b97590ea2726f44040088440699fe9235e4505a4a74bb916dd8b66e8ec", initial_ast = "bb9c440c0f7af326869bb9a49fd759b80ed80b2c68939a0ecae478415a7b9460", unrolled_ast = "bb9c440c0f7af326869bb9a49fd759b80ed80b2c68939a0ecae478415a7b9460", ssa_ast = "269594471f1d2c227f75a132195456cea74ddcc0941e4bc37aab9066f08e7d9a", flattened_ast = "633f279191efe4ef2f731fe7c900a340b5996b6545fff7ce4bdc32469e5ce0c1", destructured_ast = "5a20f3fcc36901b334b1dae22e518a1377f4a9d4d9672fc73528555fd298d820", inlined_ast = "5a20f3fcc36901b334b1dae22e518a1377f4a9d4d9672fc73528555fd298d820", dce_ast = "68617baea94599f2c55ad317cdb8992dcb73026db81c9ea255ba7c704b43fbe7", bytecode = "aa8cfafa904c5e0d62b9bb6d271a6182830cb6cfb1bedaa78812a6e5be735597", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out index 2794f99fcd..7fa850b02d 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9 - type_checked_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - unrolled_symbol_table: 631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f - initial_ast: 2522991a18b115397a49160dddfd5452cff99bfb2b7be818d3bc95c80fce607d - unrolled_ast: 2522991a18b115397a49160dddfd5452cff99bfb2b7be818d3bc95c80fce607d - ssa_ast: 31ad06c4a6c87931fa36d849c6a400b735415370e5fff11b35cf31441ef36f33 - flattened_ast: 3d85978ca5aa9408e3d7ce50580edb1a83bafa0abc948b0ed5dafe07378aa1bf - destructured_ast: 89fae896f66a6c9208fb224cb88bc77568d78117e3df4a0f50ab29cdb30a5484 - inlined_ast: 89fae896f66a6c9208fb224cb88bc77568d78117e3df4a0f50ab29cdb30a5484 - dce_ast: 79ae72f46f6c10635fb52e327bbea41068a236577d82f12668405c6284d3f61c - bytecode: 540f46ca90fbe10a5ad8ff7b757d5d55a6e735ffd21c22116e7c65f0b9bde58d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "674860f890826b537e64938487bd497d978746e7e75ab99f8d3fa2a7976ef9d9", type_checked_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", unrolled_symbol_table = "631676e7c0c6d9c0b3d1bc1aaf4d64c480acc6da3b554cfdb08e9c1abfb6c21f", initial_ast = "2522991a18b115397a49160dddfd5452cff99bfb2b7be818d3bc95c80fce607d", unrolled_ast = "2522991a18b115397a49160dddfd5452cff99bfb2b7be818d3bc95c80fce607d", ssa_ast = "31ad06c4a6c87931fa36d849c6a400b735415370e5fff11b35cf31441ef36f33", flattened_ast = "3d85978ca5aa9408e3d7ce50580edb1a83bafa0abc948b0ed5dafe07378aa1bf", destructured_ast = "89fae896f66a6c9208fb224cb88bc77568d78117e3df4a0f50ab29cdb30a5484", inlined_ast = "89fae896f66a6c9208fb224cb88bc77568d78117e3df4a0f50ab29cdb30a5484", dce_ast = "79ae72f46f6c10635fb52e327bbea41068a236577d82f12668405c6284d3f61c", bytecode = "540f46ca90fbe10a5ad8ff7b757d5d55a6e735ffd21c22116e7c65f0b9bde58d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out index 2a0537f2ee..fb66c81430 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620 - type_checked_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - unrolled_symbol_table: 63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3 - initial_ast: 2c366d71da521e2a2f3080590cecfeb74758e6477f97137ec50dbe40d4054444 - unrolled_ast: 2c366d71da521e2a2f3080590cecfeb74758e6477f97137ec50dbe40d4054444 - ssa_ast: fe8be11a548c7168b41777c5e622c44cceac4dd3d42bf9afaa617f74618d604b - flattened_ast: 03faddc6e5d41b410e17ea85b5eb0bfa95de6f1a2572c6d70ceee1a2f68f9b2d - destructured_ast: ca4fbc0f5153f89a590d5d0bd639969ae586c4bd99e3a93168511a711b1666e0 - inlined_ast: ca4fbc0f5153f89a590d5d0bd639969ae586c4bd99e3a93168511a711b1666e0 - dce_ast: eed4b276c6f502b2a05315ee9e5c8f6cbed894ff8cf81ae62f71e5b9f31d923b - bytecode: a00a5d5ec5035a093b4928bdce57a4d79d9300e6f86565525e88bb670eb02957 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "41af720cc1d434c939e53f987f86625f33b305dda37e8d4ddbd4671fd14ca620", type_checked_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", unrolled_symbol_table = "63f9e8d294e5cdbd39df3e97d0499c9156c4dff78fa47f25193700722caea0f3", initial_ast = "2c366d71da521e2a2f3080590cecfeb74758e6477f97137ec50dbe40d4054444", unrolled_ast = "2c366d71da521e2a2f3080590cecfeb74758e6477f97137ec50dbe40d4054444", ssa_ast = "fe8be11a548c7168b41777c5e622c44cceac4dd3d42bf9afaa617f74618d604b", flattened_ast = "03faddc6e5d41b410e17ea85b5eb0bfa95de6f1a2572c6d70ceee1a2f68f9b2d", destructured_ast = "ca4fbc0f5153f89a590d5d0bd639969ae586c4bd99e3a93168511a711b1666e0", inlined_ast = "ca4fbc0f5153f89a590d5d0bd639969ae586c4bd99e3a93168511a711b1666e0", dce_ast = "eed4b276c6f502b2a05315ee9e5c8f6cbed894ff8cf81ae62f71e5b9f31d923b", bytecode = "a00a5d5ec5035a093b4928bdce57a4d79d9300e6f86565525e88bb670eb02957", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out index 84aecf8e86..c253acb4bb 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc - type_checked_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - unrolled_symbol_table: 8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19 - initial_ast: 05baa32e2fa561f6d38e1f907c7d28780950b702258c5938f6d51bbce81ba282 - unrolled_ast: 05baa32e2fa561f6d38e1f907c7d28780950b702258c5938f6d51bbce81ba282 - ssa_ast: 67d2e24b4828209b71596714a55ab233b005da2e56f22cd65195639d65673162 - flattened_ast: 1f920c5ed23e287494a641f2143cc1feb2c2c8fce0cc31f249e8b373b1677e4b - destructured_ast: 9407a2f209cfb00a79e6005419f5f41d62cb579959a5e26193e35fcc1d939ea6 - inlined_ast: 9407a2f209cfb00a79e6005419f5f41d62cb579959a5e26193e35fcc1d939ea6 - dce_ast: d1ef2f9621747be017d84449c8f37581a458637b5688c9efda52c1c54cb148b8 - bytecode: 0719502c2e69186b2f64fe31ce1cc6f35abad01c9a86f5f6d7dafb7c465504b7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "368da9bd20b2f0534d8bf457e7829d72f7a4fb99162ce204c60e1341454445bc", type_checked_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", unrolled_symbol_table = "8f995e87e0ebb5498ffa85fdee0a9fb86af46c6af7696163f8c68bf1e30d8b19", initial_ast = "05baa32e2fa561f6d38e1f907c7d28780950b702258c5938f6d51bbce81ba282", unrolled_ast = "05baa32e2fa561f6d38e1f907c7d28780950b702258c5938f6d51bbce81ba282", ssa_ast = "67d2e24b4828209b71596714a55ab233b005da2e56f22cd65195639d65673162", flattened_ast = "1f920c5ed23e287494a641f2143cc1feb2c2c8fce0cc31f249e8b373b1677e4b", destructured_ast = "9407a2f209cfb00a79e6005419f5f41d62cb579959a5e26193e35fcc1d939ea6", inlined_ast = "9407a2f209cfb00a79e6005419f5f41d62cb579959a5e26193e35fcc1d939ea6", dce_ast = "d1ef2f9621747be017d84449c8f37581a458637b5688c9efda52c1c54cb148b8", bytecode = "0719502c2e69186b2f64fe31ce1cc6f35abad01c9a86f5f6d7dafb7c465504b7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out index 1825fc91cc..40569e7635 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d - type_checked_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - unrolled_symbol_table: 17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795 - initial_ast: f989f75222007a99205066af709068dbdb1995ef222cbc8907dd0bdfce8fb369 - unrolled_ast: f989f75222007a99205066af709068dbdb1995ef222cbc8907dd0bdfce8fb369 - ssa_ast: 3928792c6dc280c604e0b13a36a38ef1e99d7b49d3e6dbe20972911592c9ae86 - flattened_ast: b34501d94a2f769f12cf6384da198cb477f8a1c0306cc0b75e5ae6251d445107 - destructured_ast: 02c5bc8b8c20c94ab65a476d48ec65bbb90795008a39e67e4e766bbb6d3d9add - inlined_ast: 02c5bc8b8c20c94ab65a476d48ec65bbb90795008a39e67e4e766bbb6d3d9add - dce_ast: 82f6687e8f1094b19dd537d6f4a76c1ef79aee1e3bf73489db88446654e406d8 - bytecode: 2741bb1b69d7b32d52a4f6ae48a4b8197f73e8be7531d4d346fcce378bbda8dc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "14d8cd29379818c60cbbcb22e1e328085dbda631550b835594a3d642e1c7429d", type_checked_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", unrolled_symbol_table = "17206c185dad1a3efcd80ea8b4e893b514257beb3d9fcadbdd75aef58977d795", initial_ast = "f989f75222007a99205066af709068dbdb1995ef222cbc8907dd0bdfce8fb369", unrolled_ast = "f989f75222007a99205066af709068dbdb1995ef222cbc8907dd0bdfce8fb369", ssa_ast = "3928792c6dc280c604e0b13a36a38ef1e99d7b49d3e6dbe20972911592c9ae86", flattened_ast = "b34501d94a2f769f12cf6384da198cb477f8a1c0306cc0b75e5ae6251d445107", destructured_ast = "02c5bc8b8c20c94ab65a476d48ec65bbb90795008a39e67e4e766bbb6d3d9add", inlined_ast = "02c5bc8b8c20c94ab65a476d48ec65bbb90795008a39e67e4e766bbb6d3d9add", dce_ast = "82f6687e8f1094b19dd537d6f4a76c1ef79aee1e3bf73489db88446654e406d8", bytecode = "2741bb1b69d7b32d52a4f6ae48a4b8197f73e8be7531d4d346fcce378bbda8dc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out index 441f83b5e8..295057e7c8 100644 --- a/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out +++ b/tests/expectations/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932 - type_checked_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - unrolled_symbol_table: 95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8 - initial_ast: ad1198c962c93075ba1e73bf9da17d4678aa007691ae84d6799305dbd0f224d2 - unrolled_ast: ad1198c962c93075ba1e73bf9da17d4678aa007691ae84d6799305dbd0f224d2 - ssa_ast: 4452a93b00354e4bf2cfe485ba7c7271487b0db51cf575aad3886de2396a2244 - flattened_ast: 0b77e9d4a211cec154ca9e81f5630cc0e01c1db5fb530ce4b901922cf993c335 - destructured_ast: 4e80148a9ef857e0a93512001fb2b2151a442dd5d59d343eeb9ce291d63a40e0 - inlined_ast: 4e80148a9ef857e0a93512001fb2b2151a442dd5d59d343eeb9ce291d63a40e0 - dce_ast: 0f1a39e31b8117fffcac72525390bb389ea14b6d5859e3491871f12229adf715 - bytecode: 5c85a376013c529f75944db09bfa9ee85470aca42e5622cfee8cb8c8dec29145 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "391de5af6b91cae5fbb201a707cc98446504bbc30ae475acb466a319950f7932", type_checked_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", unrolled_symbol_table = "95d8f88b149e8d93790e8fbfc820b28c800fbc5a32a92cbcacf9fe7b0fe131d8", initial_ast = "ad1198c962c93075ba1e73bf9da17d4678aa007691ae84d6799305dbd0f224d2", unrolled_ast = "ad1198c962c93075ba1e73bf9da17d4678aa007691ae84d6799305dbd0f224d2", ssa_ast = "4452a93b00354e4bf2cfe485ba7c7271487b0db51cf575aad3886de2396a2244", flattened_ast = "0b77e9d4a211cec154ca9e81f5630cc0e01c1db5fb530ce4b901922cf993c335", destructured_ast = "4e80148a9ef857e0a93512001fb2b2151a442dd5d59d343eeb9ce291d63a40e0", inlined_ast = "4e80148a9ef857e0a93512001fb2b2151a442dd5d59d343eeb9ce291d63a40e0", dce_ast = "0f1a39e31b8117fffcac72525390bb389ea14b6d5859e3491871f12229adf715", bytecode = "5c85a376013c529f75944db09bfa9ee85470aca42e5622cfee8cb8c8dec29145", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out index d6b1ee9c06..e64ff8f6db 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: b9e2727bddbe86c998d286d3ed6b59e156781bb2c70993313efd7258af038ffd - unrolled_ast: b9e2727bddbe86c998d286d3ed6b59e156781bb2c70993313efd7258af038ffd - ssa_ast: 734c08d7a810a9adbf8fd13841ccd34fca58b78ef047ee43cebdb3533bd8ab83 - flattened_ast: 4110be8e4f10bbf3ea94e14c6749be2ec5e57da1afcf6866b6ddc11208e8c547 - destructured_ast: 787d8dbb38be23f08430884495e8e62abb342b6ab90e9a3d4862387ebe5b339d - inlined_ast: 787d8dbb38be23f08430884495e8e62abb342b6ab90e9a3d4862387ebe5b339d - dce_ast: 545d2e6a4e25d8cb6d8859ad191cd91193083c79a374291f9bf60d337d3e0382 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "b9e2727bddbe86c998d286d3ed6b59e156781bb2c70993313efd7258af038ffd", unrolled_ast = "b9e2727bddbe86c998d286d3ed6b59e156781bb2c70993313efd7258af038ffd", ssa_ast = "734c08d7a810a9adbf8fd13841ccd34fca58b78ef047ee43cebdb3533bd8ab83", flattened_ast = "4110be8e4f10bbf3ea94e14c6749be2ec5e57da1afcf6866b6ddc11208e8c547", destructured_ast = "787d8dbb38be23f08430884495e8e62abb342b6ab90e9a3d4862387ebe5b339d", inlined_ast = "787d8dbb38be23f08430884495e8e62abb342b6ab90e9a3d4862387ebe5b339d", dce_ast = "545d2e6a4e25d8cb6d8859ad191cd91193083c79a374291f9bf60d337d3e0382", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out index 07606e0d69..7d57f80c45 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: cab8003802752190e7c4f2864bed533921b8b034aca69ac4bc5a1edb5106816c - unrolled_ast: cab8003802752190e7c4f2864bed533921b8b034aca69ac4bc5a1edb5106816c - ssa_ast: 5bdd56048fd9405a8be6ba13da095a65d23401228fbba4255cbca66ee3b176bf - flattened_ast: 3b3026b7cb6c0f1328e5337807edcbef13e062e4888b558be70c6a34239bbf5b - destructured_ast: c46cd7f928b22343ebd818d005154a5be3239f6df8f5b39088faf9ef5da472bb - inlined_ast: c46cd7f928b22343ebd818d005154a5be3239f6df8f5b39088faf9ef5da472bb - dce_ast: c6138cf41c4c2dd4bf099a4c16483f9c6b8e43d4c99623ccc8e77cc2c145934a - bytecode: 21736a09a94367a2bf017cd7dc7dade802a2f064f2343cd3d295eac4e3dca0ae - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "cab8003802752190e7c4f2864bed533921b8b034aca69ac4bc5a1edb5106816c", unrolled_ast = "cab8003802752190e7c4f2864bed533921b8b034aca69ac4bc5a1edb5106816c", ssa_ast = "5bdd56048fd9405a8be6ba13da095a65d23401228fbba4255cbca66ee3b176bf", flattened_ast = "3b3026b7cb6c0f1328e5337807edcbef13e062e4888b558be70c6a34239bbf5b", destructured_ast = "c46cd7f928b22343ebd818d005154a5be3239f6df8f5b39088faf9ef5da472bb", inlined_ast = "c46cd7f928b22343ebd818d005154a5be3239f6df8f5b39088faf9ef5da472bb", dce_ast = "c6138cf41c4c2dd4bf099a4c16483f9c6b8e43d4c99623ccc8e77cc2c145934a", bytecode = "21736a09a94367a2bf017cd7dc7dade802a2f064f2343cd3d295eac4e3dca0ae", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out index 696bedbcd5..60724e6861 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: cc093d6a83bb665373722835cfae55694b7e24fc7313946ea9e278b7588ced06 - unrolled_ast: cc093d6a83bb665373722835cfae55694b7e24fc7313946ea9e278b7588ced06 - ssa_ast: 91aa77e9e5e9f683d6b6255ec87c66adb756caebe3b035d5a229668e253e7fb4 - flattened_ast: 4a7470723d3cbc21650bfd6353c60cc9b35af9b3d81099fb32951bf6d6a566e1 - destructured_ast: f3c16e0921a81c924c9891e0cabb2cf6d35da9638fff88960b5db85a118297af - inlined_ast: f3c16e0921a81c924c9891e0cabb2cf6d35da9638fff88960b5db85a118297af - dce_ast: 708bf194448ad9b82e98264a5a389c3caa1031434a2b95f8fb01478ff98f2740 - bytecode: 12b2cee6aa44638371f466d0f9a4b6396e2a466669a11a938b7ac251a5b23eb6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "cc093d6a83bb665373722835cfae55694b7e24fc7313946ea9e278b7588ced06", unrolled_ast = "cc093d6a83bb665373722835cfae55694b7e24fc7313946ea9e278b7588ced06", ssa_ast = "91aa77e9e5e9f683d6b6255ec87c66adb756caebe3b035d5a229668e253e7fb4", flattened_ast = "4a7470723d3cbc21650bfd6353c60cc9b35af9b3d81099fb32951bf6d6a566e1", destructured_ast = "f3c16e0921a81c924c9891e0cabb2cf6d35da9638fff88960b5db85a118297af", inlined_ast = "f3c16e0921a81c924c9891e0cabb2cf6d35da9638fff88960b5db85a118297af", dce_ast = "708bf194448ad9b82e98264a5a389c3caa1031434a2b95f8fb01478ff98f2740", bytecode = "12b2cee6aa44638371f466d0f9a4b6396e2a466669a11a938b7ac251a5b23eb6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out index 0eaf90eb47..11da6101fd 100644 --- a/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/keccak256_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: e10a17cee32002ee90af585238e7c8914f00e482cd0d16dd9ce0c4932f6cf237 - unrolled_ast: e10a17cee32002ee90af585238e7c8914f00e482cd0d16dd9ce0c4932f6cf237 - ssa_ast: cbdbae9ded78ba4c9e353a8795c02d396ddc90d04f6eb8651fd0b82c3ed2a529 - flattened_ast: 77c31c1bd65c16de70a8c6dd4b55a1ae0e25baedef73310d782fbc1dc40b68c6 - destructured_ast: 9d8bc44994d4940dd89fdbbd342a2268ac0a32272606075d79cf01780e7fdf75 - inlined_ast: 9d8bc44994d4940dd89fdbbd342a2268ac0a32272606075d79cf01780e7fdf75 - dce_ast: 6cff51e721f3bc1189183bbeedd73c075e553191f808a7ddc4a55082239df45e - bytecode: 9600a008a2a7ac916f8e19cd292c150bf1474805e87b407c17fc2e079013c356 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "e10a17cee32002ee90af585238e7c8914f00e482cd0d16dd9ce0c4932f6cf237", unrolled_ast = "e10a17cee32002ee90af585238e7c8914f00e482cd0d16dd9ce0c4932f6cf237", ssa_ast = "cbdbae9ded78ba4c9e353a8795c02d396ddc90d04f6eb8651fd0b82c3ed2a529", flattened_ast = "77c31c1bd65c16de70a8c6dd4b55a1ae0e25baedef73310d782fbc1dc40b68c6", destructured_ast = "9d8bc44994d4940dd89fdbbd342a2268ac0a32272606075d79cf01780e7fdf75", inlined_ast = "9d8bc44994d4940dd89fdbbd342a2268ac0a32272606075d79cf01780e7fdf75", dce_ast = "6cff51e721f3bc1189183bbeedd73c075e553191f808a7ddc4a55082239df45e", bytecode = "9600a008a2a7ac916f8e19cd292c150bf1474805e87b407c17fc2e079013c356", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out index 062b8b2f1a..ed6d10bc90 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 2d1030f1eff5750328a32d33307069f4e28e0d6d3bcc77ae5a4209c08d33e512 - unrolled_ast: 2d1030f1eff5750328a32d33307069f4e28e0d6d3bcc77ae5a4209c08d33e512 - ssa_ast: f7c642ab4f01c6eb1c007f63132c7d9216f176766b70f519b9dfdcaf0ec86737 - flattened_ast: 09206bcb155481938c5c5a864321a3d30392a85d2b7041b38dd0dd214c4ea7a9 - destructured_ast: e7dc63cf258e52a236bbb6b629d91e473320d6da27eda4b3c9cfd209156b0e45 - inlined_ast: e7dc63cf258e52a236bbb6b629d91e473320d6da27eda4b3c9cfd209156b0e45 - dce_ast: 545d2e6a4e25d8cb6d8859ad191cd91193083c79a374291f9bf60d337d3e0382 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "2d1030f1eff5750328a32d33307069f4e28e0d6d3bcc77ae5a4209c08d33e512", unrolled_ast = "2d1030f1eff5750328a32d33307069f4e28e0d6d3bcc77ae5a4209c08d33e512", ssa_ast = "f7c642ab4f01c6eb1c007f63132c7d9216f176766b70f519b9dfdcaf0ec86737", flattened_ast = "09206bcb155481938c5c5a864321a3d30392a85d2b7041b38dd0dd214c4ea7a9", destructured_ast = "e7dc63cf258e52a236bbb6b629d91e473320d6da27eda4b3c9cfd209156b0e45", inlined_ast = "e7dc63cf258e52a236bbb6b629d91e473320d6da27eda4b3c9cfd209156b0e45", dce_ast = "545d2e6a4e25d8cb6d8859ad191cd91193083c79a374291f9bf60d337d3e0382", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out index 4e793ad037..72191ec110 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: 54be870deacf63d85496695ff69928512c5a66efdfdb6a4bd9f95387bbea476a - unrolled_ast: 54be870deacf63d85496695ff69928512c5a66efdfdb6a4bd9f95387bbea476a - ssa_ast: 6cd917c7a65a3da282963e3ddef12889c280392296416bf3f19abcfb435b44fb - flattened_ast: 28345cbd33e92c5da6bcef14061d295e8e9bc1b65cce5021ee17244807dbd740 - destructured_ast: 8d4945296c98254198eec969e6254f3d9a634bfd80863b99e5e5721279b50454 - inlined_ast: 8d4945296c98254198eec969e6254f3d9a634bfd80863b99e5e5721279b50454 - dce_ast: 63e93cf3d44ae6583ac0a22cabbc88f44bb8d2bfebc184563e171d12a2a935e2 - bytecode: f5347c70dbb10f7c191f2e29dc9b2e58760207351d34b8e0a5ccb91e360e9f79 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "54be870deacf63d85496695ff69928512c5a66efdfdb6a4bd9f95387bbea476a", unrolled_ast = "54be870deacf63d85496695ff69928512c5a66efdfdb6a4bd9f95387bbea476a", ssa_ast = "6cd917c7a65a3da282963e3ddef12889c280392296416bf3f19abcfb435b44fb", flattened_ast = "28345cbd33e92c5da6bcef14061d295e8e9bc1b65cce5021ee17244807dbd740", destructured_ast = "8d4945296c98254198eec969e6254f3d9a634bfd80863b99e5e5721279b50454", inlined_ast = "8d4945296c98254198eec969e6254f3d9a634bfd80863b99e5e5721279b50454", dce_ast = "63e93cf3d44ae6583ac0a22cabbc88f44bb8d2bfebc184563e171d12a2a935e2", bytecode = "f5347c70dbb10f7c191f2e29dc9b2e58760207351d34b8e0a5ccb91e360e9f79", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out index adc4b56c3c..d98d615372 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: ae3069470893b83bd35cd176a9dc6659a4942279f2638a276de6537da4e1a3f0 - unrolled_ast: ae3069470893b83bd35cd176a9dc6659a4942279f2638a276de6537da4e1a3f0 - ssa_ast: 11bef271792e8cfc0b4b7d8d9da727021a150a351e37a7129db1b2fc3715a252 - flattened_ast: 82cf2877bca531ba8e682959cf6aa06fdbf2f7c5f69bb15407a3ad02cad55be0 - destructured_ast: f4d5677cc6d0cd31979394af985fa4da9a60d52c655c9a28591472f3e43a48e5 - inlined_ast: f4d5677cc6d0cd31979394af985fa4da9a60d52c655c9a28591472f3e43a48e5 - dce_ast: df203be7e374f0a4a827d12cfab82a2ae5012cf2ae22b2fe0a1ef934839aa29b - bytecode: 7be24faec6f77c016109224b474ae5e5ef66bc3d02d058ae748d6b992990d165 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "ae3069470893b83bd35cd176a9dc6659a4942279f2638a276de6537da4e1a3f0", unrolled_ast = "ae3069470893b83bd35cd176a9dc6659a4942279f2638a276de6537da4e1a3f0", ssa_ast = "11bef271792e8cfc0b4b7d8d9da727021a150a351e37a7129db1b2fc3715a252", flattened_ast = "82cf2877bca531ba8e682959cf6aa06fdbf2f7c5f69bb15407a3ad02cad55be0", destructured_ast = "f4d5677cc6d0cd31979394af985fa4da9a60d52c655c9a28591472f3e43a48e5", inlined_ast = "f4d5677cc6d0cd31979394af985fa4da9a60d52c655c9a28591472f3e43a48e5", dce_ast = "df203be7e374f0a4a827d12cfab82a2ae5012cf2ae22b2fe0a1ef934839aa29b", bytecode = "7be24faec6f77c016109224b474ae5e5ef66bc3d02d058ae748d6b992990d165", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out index 4e9f75b8f5..6f7bf916f9 100644 --- a/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/keccak384_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: 74b91eea4dda00f41f01bfdff6b44aeb540ae4b2d44a4cff3f3b02c1a1bd15cd - unrolled_ast: 74b91eea4dda00f41f01bfdff6b44aeb540ae4b2d44a4cff3f3b02c1a1bd15cd - ssa_ast: df5c45125cc9a84d279357b3495da36e0677c8ead3f8449b38c3ff46553f7834 - flattened_ast: e197eccdcdc2be0b9622c852547bbc61c81545a6ab8fb4b49b0cb8b710e4752c - destructured_ast: 3710261fdcf3e2a6802ec4cac251533b23a2db91533e8c4317033163762b60f9 - inlined_ast: 3710261fdcf3e2a6802ec4cac251533b23a2db91533e8c4317033163762b60f9 - dce_ast: b31a97e372902bd0bc562fc4431f8cd84b0c175fcbcee2aacf4a75fb823345f6 - bytecode: b2109894ba866067ec33ab20cdc34620697485b592f6a0d511e922a89bb065e1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "74b91eea4dda00f41f01bfdff6b44aeb540ae4b2d44a4cff3f3b02c1a1bd15cd", unrolled_ast = "74b91eea4dda00f41f01bfdff6b44aeb540ae4b2d44a4cff3f3b02c1a1bd15cd", ssa_ast = "df5c45125cc9a84d279357b3495da36e0677c8ead3f8449b38c3ff46553f7834", flattened_ast = "e197eccdcdc2be0b9622c852547bbc61c81545a6ab8fb4b49b0cb8b710e4752c", destructured_ast = "3710261fdcf3e2a6802ec4cac251533b23a2db91533e8c4317033163762b60f9", inlined_ast = "3710261fdcf3e2a6802ec4cac251533b23a2db91533e8c4317033163762b60f9", dce_ast = "b31a97e372902bd0bc562fc4431f8cd84b0c175fcbcee2aacf4a75fb823345f6", bytecode = "b2109894ba866067ec33ab20cdc34620697485b592f6a0d511e922a89bb065e1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out index 86854ddb5f..0e7bb8b8ef 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 4a840d912e8d128a80e86bf234df35a1d53f98a7013a008974c7f2a60bb896d9 - unrolled_ast: 4a840d912e8d128a80e86bf234df35a1d53f98a7013a008974c7f2a60bb896d9 - ssa_ast: 405cc86a910535ae3b138ad315798c7219e315342651f3691cfab27063e90f55 - flattened_ast: 033b89a31e31bc35b5a02a062eca1b497854329152687f08f6444c4cd65407d3 - destructured_ast: 4781f62534130cb1fc8c797056838e5d1e37a3e5db853d949da86b786a7063f9 - inlined_ast: 4781f62534130cb1fc8c797056838e5d1e37a3e5db853d949da86b786a7063f9 - dce_ast: 545d2e6a4e25d8cb6d8859ad191cd91193083c79a374291f9bf60d337d3e0382 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "4a840d912e8d128a80e86bf234df35a1d53f98a7013a008974c7f2a60bb896d9", unrolled_ast = "4a840d912e8d128a80e86bf234df35a1d53f98a7013a008974c7f2a60bb896d9", ssa_ast = "405cc86a910535ae3b138ad315798c7219e315342651f3691cfab27063e90f55", flattened_ast = "033b89a31e31bc35b5a02a062eca1b497854329152687f08f6444c4cd65407d3", destructured_ast = "4781f62534130cb1fc8c797056838e5d1e37a3e5db853d949da86b786a7063f9", inlined_ast = "4781f62534130cb1fc8c797056838e5d1e37a3e5db853d949da86b786a7063f9", dce_ast = "545d2e6a4e25d8cb6d8859ad191cd91193083c79a374291f9bf60d337d3e0382", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out index eb7c7b5efd..581afe0b8c 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: f6fdd3e73a3226c11749276f1c9f520ec00180b840734423988be1d895516676 - unrolled_ast: f6fdd3e73a3226c11749276f1c9f520ec00180b840734423988be1d895516676 - ssa_ast: 42669465990c5282b43606e55d17b15e411cd84754eb0a9d7f9036416d97cd44 - flattened_ast: 918fd6d12cb08b12d18f2836730b9bc28f612ad5379e2830694cd6c22b22d782 - destructured_ast: 291463fc1a3818497b063fa1f6e61bff3d20178af50ad3a55a129db820d43d25 - inlined_ast: 291463fc1a3818497b063fa1f6e61bff3d20178af50ad3a55a129db820d43d25 - dce_ast: 9851002d14aa5e18f3d7559bc6106ba950a0ac2a7dceb9cb4589d5aa57d2eab5 - bytecode: 31250720832dea7675bf097f3ff4a7e878a544854d76a583daeaa8508e5b7165 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "f6fdd3e73a3226c11749276f1c9f520ec00180b840734423988be1d895516676", unrolled_ast = "f6fdd3e73a3226c11749276f1c9f520ec00180b840734423988be1d895516676", ssa_ast = "42669465990c5282b43606e55d17b15e411cd84754eb0a9d7f9036416d97cd44", flattened_ast = "918fd6d12cb08b12d18f2836730b9bc28f612ad5379e2830694cd6c22b22d782", destructured_ast = "291463fc1a3818497b063fa1f6e61bff3d20178af50ad3a55a129db820d43d25", inlined_ast = "291463fc1a3818497b063fa1f6e61bff3d20178af50ad3a55a129db820d43d25", dce_ast = "9851002d14aa5e18f3d7559bc6106ba950a0ac2a7dceb9cb4589d5aa57d2eab5", bytecode = "31250720832dea7675bf097f3ff4a7e878a544854d76a583daeaa8508e5b7165", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out index 71a843bde5..d1a273f458 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: dd6ac1c6c62ac89024e10d02c484c2202e33775616deb5f810e8a1ec725bffe9 - unrolled_ast: dd6ac1c6c62ac89024e10d02c484c2202e33775616deb5f810e8a1ec725bffe9 - ssa_ast: 8183c24c84fb9948c11feed73caee5f6f1e50701607c823a49226b9a5fd05343 - flattened_ast: f540c117187c936e3ef9e087c765d0ed950e6e8fe1f6a5ffb998a327c5b08ec6 - destructured_ast: 42b76a97d141ff83a01a8fcfdd5979d36e254730e0095b37f3f73367ee61f4bb - inlined_ast: 42b76a97d141ff83a01a8fcfdd5979d36e254730e0095b37f3f73367ee61f4bb - dce_ast: 5989ae9fe6ac607c7f3b168ab82830beee2bfa8a12bf57d98d99ef4228414232 - bytecode: 04dce70893b730595c768593a76510f027b13559817d71dc7b804933692e59a9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "dd6ac1c6c62ac89024e10d02c484c2202e33775616deb5f810e8a1ec725bffe9", unrolled_ast = "dd6ac1c6c62ac89024e10d02c484c2202e33775616deb5f810e8a1ec725bffe9", ssa_ast = "8183c24c84fb9948c11feed73caee5f6f1e50701607c823a49226b9a5fd05343", flattened_ast = "f540c117187c936e3ef9e087c765d0ed950e6e8fe1f6a5ffb998a327c5b08ec6", destructured_ast = "42b76a97d141ff83a01a8fcfdd5979d36e254730e0095b37f3f73367ee61f4bb", inlined_ast = "42b76a97d141ff83a01a8fcfdd5979d36e254730e0095b37f3f73367ee61f4bb", dce_ast = "5989ae9fe6ac607c7f3b168ab82830beee2bfa8a12bf57d98d99ef4228414232", bytecode = "04dce70893b730595c768593a76510f027b13559817d71dc7b804933692e59a9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out index b7cd659aae..87933626c8 100644 --- a/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/keccak512_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: e465c1be07416336b57caabc74b8b483025361da199d70aa100ad0fa4f9c053f - unrolled_ast: e465c1be07416336b57caabc74b8b483025361da199d70aa100ad0fa4f9c053f - ssa_ast: bee0a4213806c9f3fca234ec0cf2cf42f73d50d8245bc86f921bb1ebc3f431dc - flattened_ast: de827d878a20cd16a4eb1b8c673019ead768bdffeff16064ba3b99d06b312aac - destructured_ast: c8b84c20e5b5f761c412bfca3df1bb5a303c36770e15b021698bd786256e789e - inlined_ast: c8b84c20e5b5f761c412bfca3df1bb5a303c36770e15b021698bd786256e789e - dce_ast: 8aa9c6b07da94d1a70c79fa1efc552ee380d5877087524e18a20cef592591e1a - bytecode: 48564e67f77504fa5f896b7b8f03dcc3bd690898df96eed9027776e1346b07ad - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "e465c1be07416336b57caabc74b8b483025361da199d70aa100ad0fa4f9c053f", unrolled_ast = "e465c1be07416336b57caabc74b8b483025361da199d70aa100ad0fa4f9c053f", ssa_ast = "bee0a4213806c9f3fca234ec0cf2cf42f73d50d8245bc86f921bb1ebc3f431dc", flattened_ast = "de827d878a20cd16a4eb1b8c673019ead768bdffeff16064ba3b99d06b312aac", destructured_ast = "c8b84c20e5b5f761c412bfca3df1bb5a303c36770e15b021698bd786256e789e", inlined_ast = "c8b84c20e5b5f761c412bfca3df1bb5a303c36770e15b021698bd786256e789e", dce_ast = "8aa9c6b07da94d1a70c79fa1efc552ee380d5877087524e18a20cef592591e1a", bytecode = "48564e67f77504fa5f896b7b8f03dcc3bd690898df96eed9027776e1346b07ad", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out index 9b9dadd351..f477262682 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 501d55f20d3f1a572c2a5c1bbaeb74c0daf60d60206e00a480f3515a8b317d72 - type_checked_symbol_table: cf18ef0906051a43a21927ca8ab931709985574f7a0c257ed0a3bde10886db41 - unrolled_symbol_table: cf18ef0906051a43a21927ca8ab931709985574f7a0c257ed0a3bde10886db41 - initial_ast: d10b8955d24f0ea00219c01c7b98dca6019e7e470ceee990ed117c7add0cb463 - unrolled_ast: d10b8955d24f0ea00219c01c7b98dca6019e7e470ceee990ed117c7add0cb463 - ssa_ast: 5004830327a5db55b58e950850b05b991574c644027dc6ab56484e685e25463e - flattened_ast: 9ef1fd1aa11b35cabc0a6de842e57eef43e50fd69ad24b3d3e7f7678daad7af4 - destructured_ast: b5c766a35043afd037da5869b81c212a8086d13c3c596379c60f605000c4a3a9 - inlined_ast: b5c766a35043afd037da5869b81c212a8086d13c3c596379c60f605000c4a3a9 - dce_ast: 3838b540951a48634c3c008076e9ab64017ad6cc5cf022d30bbf75f590b47b12 - bytecode: 3ba55e108c81a25abab4d1cbeb28c341bed35c9a1213a2bac6a6ffe3ad6cddb5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "501d55f20d3f1a572c2a5c1bbaeb74c0daf60d60206e00a480f3515a8b317d72", type_checked_symbol_table = "cf18ef0906051a43a21927ca8ab931709985574f7a0c257ed0a3bde10886db41", unrolled_symbol_table = "cf18ef0906051a43a21927ca8ab931709985574f7a0c257ed0a3bde10886db41", initial_ast = "d10b8955d24f0ea00219c01c7b98dca6019e7e470ceee990ed117c7add0cb463", unrolled_ast = "d10b8955d24f0ea00219c01c7b98dca6019e7e470ceee990ed117c7add0cb463", ssa_ast = "5004830327a5db55b58e950850b05b991574c644027dc6ab56484e685e25463e", flattened_ast = "9ef1fd1aa11b35cabc0a6de842e57eef43e50fd69ad24b3d3e7f7678daad7af4", destructured_ast = "b5c766a35043afd037da5869b81c212a8086d13c3c596379c60f605000c4a3a9", inlined_ast = "b5c766a35043afd037da5869b81c212a8086d13c3c596379c60f605000c4a3a9", dce_ast = "3838b540951a48634c3c008076e9ab64017ad6cc5cf022d30bbf75f590b47b12", bytecode = "3ba55e108c81a25abab4d1cbeb28c341bed35c9a1213a2bac6a6ffe3ad6cddb5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out index 088ddc7834..4da769b30d 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 501d55f20d3f1a572c2a5c1bbaeb74c0daf60d60206e00a480f3515a8b317d72 - type_checked_symbol_table: db0f89fb855e13d2099b675fb8bdcd27ba69a43b194a757953cdafa5e0a3c089 - unrolled_symbol_table: db0f89fb855e13d2099b675fb8bdcd27ba69a43b194a757953cdafa5e0a3c089 - initial_ast: 2c74e033d97e0550d5f3e7f8919abf3b1be853d3a026689e18a27f4e4c8f7100 - unrolled_ast: 2c74e033d97e0550d5f3e7f8919abf3b1be853d3a026689e18a27f4e4c8f7100 - ssa_ast: 0cb8161b427eac17a3f7d07d3a255eb874b0a81b1ff9efe5c841d8cc6ebeddd8 - flattened_ast: 91e4a5bc4a66cff29a030e463aa749d2fc8739ca7e1f743de288efdf8652d031 - destructured_ast: 1e4f728da69529a555a7ebb82d4b6aa440c85b53d2f412fc09f7bcff0bf6a303 - inlined_ast: 1e4f728da69529a555a7ebb82d4b6aa440c85b53d2f412fc09f7bcff0bf6a303 - dce_ast: 258e64b46de98d4d07352e03e6c5053dc7cbc7cc5f3db4dab5894b62c003a911 - bytecode: 95bc95d7defa42a6fdedd6472d0260c5d05e8a8c8e6929af7bf8d0132686f70f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "501d55f20d3f1a572c2a5c1bbaeb74c0daf60d60206e00a480f3515a8b317d72", type_checked_symbol_table = "db0f89fb855e13d2099b675fb8bdcd27ba69a43b194a757953cdafa5e0a3c089", unrolled_symbol_table = "db0f89fb855e13d2099b675fb8bdcd27ba69a43b194a757953cdafa5e0a3c089", initial_ast = "2c74e033d97e0550d5f3e7f8919abf3b1be853d3a026689e18a27f4e4c8f7100", unrolled_ast = "2c74e033d97e0550d5f3e7f8919abf3b1be853d3a026689e18a27f4e4c8f7100", ssa_ast = "0cb8161b427eac17a3f7d07d3a255eb874b0a81b1ff9efe5c841d8cc6ebeddd8", flattened_ast = "91e4a5bc4a66cff29a030e463aa749d2fc8739ca7e1f743de288efdf8652d031", destructured_ast = "1e4f728da69529a555a7ebb82d4b6aa440c85b53d2f412fc09f7bcff0bf6a303", inlined_ast = "1e4f728da69529a555a7ebb82d4b6aa440c85b53d2f412fc09f7bcff0bf6a303", dce_ast = "258e64b46de98d4d07352e03e6c5053dc7cbc7cc5f3db4dab5894b62c003a911", bytecode = "95bc95d7defa42a6fdedd6472d0260c5d05e8a8c8e6929af7bf8d0132686f70f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out index 009f84db6d..3f84504f6c 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_commit_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 501d55f20d3f1a572c2a5c1bbaeb74c0daf60d60206e00a480f3515a8b317d72 - type_checked_symbol_table: 1aa442be13d523c657fc34987bda9b954d70ce031810252ecd4bcf113fbc7fce - unrolled_symbol_table: 1aa442be13d523c657fc34987bda9b954d70ce031810252ecd4bcf113fbc7fce - initial_ast: fcd43cf43733b1c80e5ae0ac563bdda3b99b39e2658d7bf18543b69bc0f31587 - unrolled_ast: fcd43cf43733b1c80e5ae0ac563bdda3b99b39e2658d7bf18543b69bc0f31587 - ssa_ast: a3dae9e52567781081f49837c75b13719fbe1fc46f67cce47094b62503d99dac - flattened_ast: ebb0770add34a77d532c129bc5fee8bc74437ea5defe6d34ff13fa5f52c35b35 - destructured_ast: cefcad555acdf4f13571984d63bf82ac0d766578951034aee7e12ba3c22a0239 - inlined_ast: cefcad555acdf4f13571984d63bf82ac0d766578951034aee7e12ba3c22a0239 - dce_ast: 77e21e5096a1ec4f19060b73c42142a29dfca584ac2f89fe8e1750b4f0c55193 - bytecode: 549c95212d4613a4e5901fbee874d822214994c384db635f8e24ea7b477a57eb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "501d55f20d3f1a572c2a5c1bbaeb74c0daf60d60206e00a480f3515a8b317d72", type_checked_symbol_table = "1aa442be13d523c657fc34987bda9b954d70ce031810252ecd4bcf113fbc7fce", unrolled_symbol_table = "1aa442be13d523c657fc34987bda9b954d70ce031810252ecd4bcf113fbc7fce", initial_ast = "fcd43cf43733b1c80e5ae0ac563bdda3b99b39e2658d7bf18543b69bc0f31587", unrolled_ast = "fcd43cf43733b1c80e5ae0ac563bdda3b99b39e2658d7bf18543b69bc0f31587", ssa_ast = "a3dae9e52567781081f49837c75b13719fbe1fc46f67cce47094b62503d99dac", flattened_ast = "ebb0770add34a77d532c129bc5fee8bc74437ea5defe6d34ff13fa5f52c35b35", destructured_ast = "cefcad555acdf4f13571984d63bf82ac0d766578951034aee7e12ba3c22a0239", inlined_ast = "cefcad555acdf4f13571984d63bf82ac0d766578951034aee7e12ba3c22a0239", dce_ast = "77e21e5096a1ec4f19060b73c42142a29dfca584ac2f89fe8e1750b4f0c55193", bytecode = "549c95212d4613a4e5901fbee874d822214994c384db635f8e24ea7b477a57eb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out index 49c5626ce5..99160907d4 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9a9ce539c5db1390d701f8f9cce7591f1aadb958544c76640332f89dc4871818 - type_checked_symbol_table: 9e0c93b497a4e4ea4adb478df544aacf04b210ca3be8448127a19746517fd4f0 - unrolled_symbol_table: 9e0c93b497a4e4ea4adb478df544aacf04b210ca3be8448127a19746517fd4f0 - initial_ast: 2887a87b28ce882ef5eb92729940e91f3eab8a2f5efb96eefe325be750373b1d - unrolled_ast: 2887a87b28ce882ef5eb92729940e91f3eab8a2f5efb96eefe325be750373b1d - ssa_ast: fb7dca997fec396d9a20feda66d5a292d7ba39a11e9de8f5bf86843ad608720b - flattened_ast: 48c35557707bcfce348e1acef81c87bccd7f79bcd01d03c36438070bfb5bd755 - destructured_ast: 86c4c74fa0be1fff02c706d16c646cb412733cc3617c3d353290d409479a20f1 - inlined_ast: 86c4c74fa0be1fff02c706d16c646cb412733cc3617c3d353290d409479a20f1 - dce_ast: 0afa089fff57677dc8ed2d4ae6f86797bc100b7a424fbc50964ce7c53b372e31 - bytecode: 44c588be4c27d8d89cd0fb7701e64126d75526e14fcc9c590da2d768f3e12b84 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9a9ce539c5db1390d701f8f9cce7591f1aadb958544c76640332f89dc4871818", type_checked_symbol_table = "9e0c93b497a4e4ea4adb478df544aacf04b210ca3be8448127a19746517fd4f0", unrolled_symbol_table = "9e0c93b497a4e4ea4adb478df544aacf04b210ca3be8448127a19746517fd4f0", initial_ast = "2887a87b28ce882ef5eb92729940e91f3eab8a2f5efb96eefe325be750373b1d", unrolled_ast = "2887a87b28ce882ef5eb92729940e91f3eab8a2f5efb96eefe325be750373b1d", ssa_ast = "fb7dca997fec396d9a20feda66d5a292d7ba39a11e9de8f5bf86843ad608720b", flattened_ast = "48c35557707bcfce348e1acef81c87bccd7f79bcd01d03c36438070bfb5bd755", destructured_ast = "86c4c74fa0be1fff02c706d16c646cb412733cc3617c3d353290d409479a20f1", inlined_ast = "86c4c74fa0be1fff02c706d16c646cb412733cc3617c3d353290d409479a20f1", dce_ast = "0afa089fff57677dc8ed2d4ae6f86797bc100b7a424fbc50964ce7c53b372e31", bytecode = "44c588be4c27d8d89cd0fb7701e64126d75526e14fcc9c590da2d768f3e12b84", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out index c9375e30a7..889bde289e 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b35030986eebd8b0f4055bf0de55fcacad27b202140cd222e80e5a5fcf3b27d1 - type_checked_symbol_table: 8e04c85b3774cd9fb55d3811d31a6994e1b3e104c6bd7d5d3ccea9118c44c4d0 - unrolled_symbol_table: 8e04c85b3774cd9fb55d3811d31a6994e1b3e104c6bd7d5d3ccea9118c44c4d0 - initial_ast: 0c91a79da594ce1ad93542859de7a531eec81fe516abea9d3f0713c341dd1529 - unrolled_ast: 0c91a79da594ce1ad93542859de7a531eec81fe516abea9d3f0713c341dd1529 - ssa_ast: 7dedeb6948a89d9f6bca8c8ddd098fbe96907ae54bb3856e8a06b41f82c0d5ba - flattened_ast: 8f0b6d487d54ee8eb8c294245dea631b9954c21970e64fe7fb30efb238ed5bd0 - destructured_ast: 8944cb65be76a42e79525eebbe2dbbbe8095b6add0b3aaa228d280e0b7f3c7b5 - inlined_ast: 8944cb65be76a42e79525eebbe2dbbbe8095b6add0b3aaa228d280e0b7f3c7b5 - dce_ast: 3f0e9fd891a8f845d5c151de786813853aea8977d11005cbc9a8212fb8ec6b16 - bytecode: c755ed1b4083ce7afb98a0cefc02c7ba3141dbf82b81b6fd922810d887c0a9c3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b35030986eebd8b0f4055bf0de55fcacad27b202140cd222e80e5a5fcf3b27d1", type_checked_symbol_table = "8e04c85b3774cd9fb55d3811d31a6994e1b3e104c6bd7d5d3ccea9118c44c4d0", unrolled_symbol_table = "8e04c85b3774cd9fb55d3811d31a6994e1b3e104c6bd7d5d3ccea9118c44c4d0", initial_ast = "0c91a79da594ce1ad93542859de7a531eec81fe516abea9d3f0713c341dd1529", unrolled_ast = "0c91a79da594ce1ad93542859de7a531eec81fe516abea9d3f0713c341dd1529", ssa_ast = "7dedeb6948a89d9f6bca8c8ddd098fbe96907ae54bb3856e8a06b41f82c0d5ba", flattened_ast = "8f0b6d487d54ee8eb8c294245dea631b9954c21970e64fe7fb30efb238ed5bd0", destructured_ast = "8944cb65be76a42e79525eebbe2dbbbe8095b6add0b3aaa228d280e0b7f3c7b5", inlined_ast = "8944cb65be76a42e79525eebbe2dbbbe8095b6add0b3aaa228d280e0b7f3c7b5", dce_ast = "3f0e9fd891a8f845d5c151de786813853aea8977d11005cbc9a8212fb8ec6b16", bytecode = "c755ed1b4083ce7afb98a0cefc02c7ba3141dbf82b81b6fd922810d887c0a9c3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out index 4fed85ccce..cfb28ebf54 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cf8f80111fec71cb16c98d580e6efeaed5f641ea2361ff82b16c2640fb48b69e - type_checked_symbol_table: 163f2c1b2f4e2fe77e6ef2c9b03c550c107e4b73a64cc83f98c9ba08b435f154 - unrolled_symbol_table: 163f2c1b2f4e2fe77e6ef2c9b03c550c107e4b73a64cc83f98c9ba08b435f154 - initial_ast: 1064081f294b843439e010fb00822250d8f6f6f1410540cd2c72cf5a3f2c156d - unrolled_ast: 1064081f294b843439e010fb00822250d8f6f6f1410540cd2c72cf5a3f2c156d - ssa_ast: 33a5335359ab9b7c4fcba04f8bfd298a8d79fba379ad48ec1b872bfc09246a3a - flattened_ast: 48e7c30f14e8a9b5101c86462e567f4f1e1db508cb9dd6ba6396cacd8e7f8749 - destructured_ast: 3075ceb16742cc16565713e2f31c27b1cc0b8331e409d6324dfdc2e8aaf4e8fc - inlined_ast: 3075ceb16742cc16565713e2f31c27b1cc0b8331e409d6324dfdc2e8aaf4e8fc - dce_ast: 56a45ef1487fbf9edd3bc29a3bdb35c3bb819cfbea63ad06d94f279b38852839 - bytecode: c7524ba0aa2182bce5d66e93f36ddf6bb89a1251840bf51c7b9dce4218ac8562 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cf8f80111fec71cb16c98d580e6efeaed5f641ea2361ff82b16c2640fb48b69e", type_checked_symbol_table = "163f2c1b2f4e2fe77e6ef2c9b03c550c107e4b73a64cc83f98c9ba08b435f154", unrolled_symbol_table = "163f2c1b2f4e2fe77e6ef2c9b03c550c107e4b73a64cc83f98c9ba08b435f154", initial_ast = "1064081f294b843439e010fb00822250d8f6f6f1410540cd2c72cf5a3f2c156d", unrolled_ast = "1064081f294b843439e010fb00822250d8f6f6f1410540cd2c72cf5a3f2c156d", ssa_ast = "33a5335359ab9b7c4fcba04f8bfd298a8d79fba379ad48ec1b872bfc09246a3a", flattened_ast = "48e7c30f14e8a9b5101c86462e567f4f1e1db508cb9dd6ba6396cacd8e7f8749", destructured_ast = "3075ceb16742cc16565713e2f31c27b1cc0b8331e409d6324dfdc2e8aaf4e8fc", inlined_ast = "3075ceb16742cc16565713e2f31c27b1cc0b8331e409d6324dfdc2e8aaf4e8fc", dce_ast = "56a45ef1487fbf9edd3bc29a3bdb35c3bb819cfbea63ad06d94f279b38852839", bytecode = "c7524ba0aa2182bce5d66e93f36ddf6bb89a1251840bf51c7b9dce4218ac8562", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out index f302387089..5204149df4 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98f0b93406bc0ab5d755fb4d4da966be418df82f4a376f328dad3769a95db3eb - type_checked_symbol_table: 11054f75a159ca0743eacced1983df41112cec5fdf165580c515cb3b1bb7be49 - unrolled_symbol_table: 11054f75a159ca0743eacced1983df41112cec5fdf165580c515cb3b1bb7be49 - initial_ast: 0eafa3b3da0309e63d52b02abb716e3f7eb9783b84e483d423f25e80cc35c5ef - unrolled_ast: 0eafa3b3da0309e63d52b02abb716e3f7eb9783b84e483d423f25e80cc35c5ef - ssa_ast: f114c8496fb38b819ca571cdff6b0445107372c294060da5cc4bedb0d23ca6b0 - flattened_ast: 72c434f620c87913414ae76719411c02a0f05adfd01465c8718cc3606c1478cf - destructured_ast: a98b315b4994e3b9c1d2ec0f56c0cb7e838f16ebc923516e72d6d5bdb05ffb2c - inlined_ast: a98b315b4994e3b9c1d2ec0f56c0cb7e838f16ebc923516e72d6d5bdb05ffb2c - dce_ast: d09def911096b772d6b27b93a98f359eb337ae58879a659d2d34437f0c0a13b2 - bytecode: c2c9e8924baad5a7a7f6726c909e5832d597a972067c714da606359d9709ed31 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98f0b93406bc0ab5d755fb4d4da966be418df82f4a376f328dad3769a95db3eb", type_checked_symbol_table = "11054f75a159ca0743eacced1983df41112cec5fdf165580c515cb3b1bb7be49", unrolled_symbol_table = "11054f75a159ca0743eacced1983df41112cec5fdf165580c515cb3b1bb7be49", initial_ast = "0eafa3b3da0309e63d52b02abb716e3f7eb9783b84e483d423f25e80cc35c5ef", unrolled_ast = "0eafa3b3da0309e63d52b02abb716e3f7eb9783b84e483d423f25e80cc35c5ef", ssa_ast = "f114c8496fb38b819ca571cdff6b0445107372c294060da5cc4bedb0d23ca6b0", flattened_ast = "72c434f620c87913414ae76719411c02a0f05adfd01465c8718cc3606c1478cf", destructured_ast = "a98b315b4994e3b9c1d2ec0f56c0cb7e838f16ebc923516e72d6d5bdb05ffb2c", inlined_ast = "a98b315b4994e3b9c1d2ec0f56c0cb7e838f16ebc923516e72d6d5bdb05ffb2c", dce_ast = "d09def911096b772d6b27b93a98f359eb337ae58879a659d2d34437f0c0a13b2", bytecode = "c2c9e8924baad5a7a7f6726c909e5832d597a972067c714da606359d9709ed31", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out index 2a2dc7ae40..f97682cf8e 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98f0b93406bc0ab5d755fb4d4da966be418df82f4a376f328dad3769a95db3eb - type_checked_symbol_table: 19fdc82ac5ff496005c573c64ba8a023dd017a7d4447d3779cede32f34559b39 - unrolled_symbol_table: 19fdc82ac5ff496005c573c64ba8a023dd017a7d4447d3779cede32f34559b39 - initial_ast: 90b835d4281bd7caf76cd9cb3e0e351e873618c31dbdbe7e0e68a54b964a437e - unrolled_ast: 90b835d4281bd7caf76cd9cb3e0e351e873618c31dbdbe7e0e68a54b964a437e - ssa_ast: 2698b5c4b8aefce178266aa6ff04a96ef1a8fde0cd76e0a1c7797c519a61271f - flattened_ast: 420e05f69ec8f5f36bd0610e53205edb50f724824c9c99ab74ee89cef03d8bc5 - destructured_ast: 8cb8388a9d032f0e41d9fc497dd53a806b4cbf3dd8b2a2f76fad9bebad617848 - inlined_ast: 8cb8388a9d032f0e41d9fc497dd53a806b4cbf3dd8b2a2f76fad9bebad617848 - dce_ast: 7aeb4ca69132188ebcc3ddefbd593988585d4011c26dcfd61d4e2cd9368bfcbd - bytecode: cd06659f46218302131b68a41fb05fd7ae3ba7a5cccab097f2725422427c799b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98f0b93406bc0ab5d755fb4d4da966be418df82f4a376f328dad3769a95db3eb", type_checked_symbol_table = "19fdc82ac5ff496005c573c64ba8a023dd017a7d4447d3779cede32f34559b39", unrolled_symbol_table = "19fdc82ac5ff496005c573c64ba8a023dd017a7d4447d3779cede32f34559b39", initial_ast = "90b835d4281bd7caf76cd9cb3e0e351e873618c31dbdbe7e0e68a54b964a437e", unrolled_ast = "90b835d4281bd7caf76cd9cb3e0e351e873618c31dbdbe7e0e68a54b964a437e", ssa_ast = "2698b5c4b8aefce178266aa6ff04a96ef1a8fde0cd76e0a1c7797c519a61271f", flattened_ast = "420e05f69ec8f5f36bd0610e53205edb50f724824c9c99ab74ee89cef03d8bc5", destructured_ast = "8cb8388a9d032f0e41d9fc497dd53a806b4cbf3dd8b2a2f76fad9bebad617848", inlined_ast = "8cb8388a9d032f0e41d9fc497dd53a806b4cbf3dd8b2a2f76fad9bebad617848", dce_ast = "7aeb4ca69132188ebcc3ddefbd593988585d4011c26dcfd61d4e2cd9368bfcbd", bytecode = "cd06659f46218302131b68a41fb05fd7ae3ba7a5cccab097f2725422427c799b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out index 7f68369bce..662979bfcb 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_commit_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98f0b93406bc0ab5d755fb4d4da966be418df82f4a376f328dad3769a95db3eb - type_checked_symbol_table: 36395772cc753c8445b1891d3eca79be770019b5f9be35dec15c4daa437dd0fb - unrolled_symbol_table: 36395772cc753c8445b1891d3eca79be770019b5f9be35dec15c4daa437dd0fb - initial_ast: 594a14284059b421b9b836a46a0063c3ad6a992364dc05add652eb226fbe2a07 - unrolled_ast: 594a14284059b421b9b836a46a0063c3ad6a992364dc05add652eb226fbe2a07 - ssa_ast: ede6f692866dadf3e2b5de89cce9479e661e4f2a35cb510e5d57e17537577ac6 - flattened_ast: 37187dc61d74852dad5ed54df704e576960cf81c259cd94ce14c1bcd5d4081a2 - destructured_ast: 43a99b40ee568b1cfac907cc4205d60ec74ef59ddd68553402d4a652de22f5f2 - inlined_ast: 43a99b40ee568b1cfac907cc4205d60ec74ef59ddd68553402d4a652de22f5f2 - dce_ast: 226dff47c2f977b5a88781f5f41ad9e0fb73b805c7de2477c1773d85ea895ccb - bytecode: cd0163ef5f278913b3e650356b1ec3eeb18731f152c64d78f29e21f88974c059 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98f0b93406bc0ab5d755fb4d4da966be418df82f4a376f328dad3769a95db3eb", type_checked_symbol_table = "36395772cc753c8445b1891d3eca79be770019b5f9be35dec15c4daa437dd0fb", unrolled_symbol_table = "36395772cc753c8445b1891d3eca79be770019b5f9be35dec15c4daa437dd0fb", initial_ast = "594a14284059b421b9b836a46a0063c3ad6a992364dc05add652eb226fbe2a07", unrolled_ast = "594a14284059b421b9b836a46a0063c3ad6a992364dc05add652eb226fbe2a07", ssa_ast = "ede6f692866dadf3e2b5de89cce9479e661e4f2a35cb510e5d57e17537577ac6", flattened_ast = "37187dc61d74852dad5ed54df704e576960cf81c259cd94ce14c1bcd5d4081a2", destructured_ast = "43a99b40ee568b1cfac907cc4205d60ec74ef59ddd68553402d4a652de22f5f2", inlined_ast = "43a99b40ee568b1cfac907cc4205d60ec74ef59ddd68553402d4a652de22f5f2", dce_ast = "226dff47c2f977b5a88781f5f41ad9e0fb73b805c7de2477c1773d85ea895ccb", bytecode = "cd0163ef5f278913b3e650356b1ec3eeb18731f152c64d78f29e21f88974c059", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out index b4d1bf4981..67219e4f8c 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f5a5776350ce988c849ddfd1aeb1007326534cabeeb69d8067d0896254bea044 - type_checked_symbol_table: 78c54cb0462f628ab9c405f80e6c7fb1ed97e40cb058848de5c8db24607a826b - unrolled_symbol_table: 78c54cb0462f628ab9c405f80e6c7fb1ed97e40cb058848de5c8db24607a826b - initial_ast: 99073126c73dd8a427a183ff2c8d249141f93b0be0202e08ea13a37756c2c1d3 - unrolled_ast: 99073126c73dd8a427a183ff2c8d249141f93b0be0202e08ea13a37756c2c1d3 - ssa_ast: 251491d86d9f06ff7f36c76bf5e29140075b89729dac0e0c1f1db23e63ac4897 - flattened_ast: 786f3f8d419330faae2e10fe6452d9f86a3befbd3323fec82f03323be98fc86c - destructured_ast: c99dc2d8428ea9698158d4bba41d497ba5a2b571c1e26ddc4527193a76145808 - inlined_ast: c99dc2d8428ea9698158d4bba41d497ba5a2b571c1e26ddc4527193a76145808 - dce_ast: 1073639e1e5bc85e79bbb610de53d6763579b3db3a39c2b3ef24ad0328d80223 - bytecode: 944b1ffecfe76ffcc604cfe563b348727743928c63a8c55ced3ad4eccf39649e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f5a5776350ce988c849ddfd1aeb1007326534cabeeb69d8067d0896254bea044", type_checked_symbol_table = "78c54cb0462f628ab9c405f80e6c7fb1ed97e40cb058848de5c8db24607a826b", unrolled_symbol_table = "78c54cb0462f628ab9c405f80e6c7fb1ed97e40cb058848de5c8db24607a826b", initial_ast = "99073126c73dd8a427a183ff2c8d249141f93b0be0202e08ea13a37756c2c1d3", unrolled_ast = "99073126c73dd8a427a183ff2c8d249141f93b0be0202e08ea13a37756c2c1d3", ssa_ast = "251491d86d9f06ff7f36c76bf5e29140075b89729dac0e0c1f1db23e63ac4897", flattened_ast = "786f3f8d419330faae2e10fe6452d9f86a3befbd3323fec82f03323be98fc86c", destructured_ast = "c99dc2d8428ea9698158d4bba41d497ba5a2b571c1e26ddc4527193a76145808", inlined_ast = "c99dc2d8428ea9698158d4bba41d497ba5a2b571c1e26ddc4527193a76145808", dce_ast = "1073639e1e5bc85e79bbb610de53d6763579b3db3a39c2b3ef24ad0328d80223", bytecode = "944b1ffecfe76ffcc604cfe563b348727743928c63a8c55ced3ad4eccf39649e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out index 91a1986530..2f26f110ca 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 56b062bf23a1f61497942aee31138e1720a2317d48413c9eb73b9bfa13a05374 - type_checked_symbol_table: 66f651c0e17c985596a76f27e064ad569a16522666a7089f257bad259ace7ffd - unrolled_symbol_table: 66f651c0e17c985596a76f27e064ad569a16522666a7089f257bad259ace7ffd - initial_ast: 125a949338482710e7ca3c35841f673e8464c45ad0c9b88a730fc65c33c63755 - unrolled_ast: 125a949338482710e7ca3c35841f673e8464c45ad0c9b88a730fc65c33c63755 - ssa_ast: 3fb59f5d060ca06bc791fcce8eb098244780b09de14bfe7dba933dfd27c2668a - flattened_ast: a8cc36c11a15899f6744515b69fdf643c16669c4a316f46bca325a11b3d33461 - destructured_ast: ca33a64950598312b81a6d1334224a15da96a9fd344f5d922f3daef619cfae88 - inlined_ast: ca33a64950598312b81a6d1334224a15da96a9fd344f5d922f3daef619cfae88 - dce_ast: 2eb59567caeb4750790eca44fdf113b0d66a10f1a8868441d5d7d01aa16e15dd - bytecode: 3d199e7bd35710525161f08b7c5cb1dc788ee7815cbd59a88967108b10c8f972 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "56b062bf23a1f61497942aee31138e1720a2317d48413c9eb73b9bfa13a05374", type_checked_symbol_table = "66f651c0e17c985596a76f27e064ad569a16522666a7089f257bad259ace7ffd", unrolled_symbol_table = "66f651c0e17c985596a76f27e064ad569a16522666a7089f257bad259ace7ffd", initial_ast = "125a949338482710e7ca3c35841f673e8464c45ad0c9b88a730fc65c33c63755", unrolled_ast = "125a949338482710e7ca3c35841f673e8464c45ad0c9b88a730fc65c33c63755", ssa_ast = "3fb59f5d060ca06bc791fcce8eb098244780b09de14bfe7dba933dfd27c2668a", flattened_ast = "a8cc36c11a15899f6744515b69fdf643c16669c4a316f46bca325a11b3d33461", destructured_ast = "ca33a64950598312b81a6d1334224a15da96a9fd344f5d922f3daef619cfae88", inlined_ast = "ca33a64950598312b81a6d1334224a15da96a9fd344f5d922f3daef619cfae88", dce_ast = "2eb59567caeb4750790eca44fdf113b0d66a10f1a8868441d5d7d01aa16e15dd", bytecode = "3d199e7bd35710525161f08b7c5cb1dc788ee7815cbd59a88967108b10c8f972", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out index 944ce69790..eff96035b0 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2061db24723ed76bf97af34ce45e35f364266c59c8f4ae691707ca2b0ba1a517 - type_checked_symbol_table: 2b66182ba431f03b24fc5216c30db08b63717561f4c752e8bc1f0d8a75d08b08 - unrolled_symbol_table: 2b66182ba431f03b24fc5216c30db08b63717561f4c752e8bc1f0d8a75d08b08 - initial_ast: d18c2d27b71c443e3b2696aaad60a0fdfbea0ce4aa4f3fe9affef7da1634d4ef - unrolled_ast: d18c2d27b71c443e3b2696aaad60a0fdfbea0ce4aa4f3fe9affef7da1634d4ef - ssa_ast: 981789579c5f8b63c754976b41f0a746ecfa7f33328acbd9c2c6cb55551e1f8f - flattened_ast: e418f30466f92b73c05831339977587deb301fb9b7b5605ee50ea608a55b16a2 - destructured_ast: daf3c4d141acbde48ecc278a548e507cd5f50374db66d9d81e3f5bff03d84f74 - inlined_ast: daf3c4d141acbde48ecc278a548e507cd5f50374db66d9d81e3f5bff03d84f74 - dce_ast: 15479a266cf6e4ddef14c7aaae33d4dbd84b80a392c070edf963aa63be6c3778 - bytecode: 908a1cadce203b91e79f9bce16280b922d6bab6f418a443b5e55989ad9f3a78c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2061db24723ed76bf97af34ce45e35f364266c59c8f4ae691707ca2b0ba1a517", type_checked_symbol_table = "2b66182ba431f03b24fc5216c30db08b63717561f4c752e8bc1f0d8a75d08b08", unrolled_symbol_table = "2b66182ba431f03b24fc5216c30db08b63717561f4c752e8bc1f0d8a75d08b08", initial_ast = "d18c2d27b71c443e3b2696aaad60a0fdfbea0ce4aa4f3fe9affef7da1634d4ef", unrolled_ast = "d18c2d27b71c443e3b2696aaad60a0fdfbea0ce4aa4f3fe9affef7da1634d4ef", ssa_ast = "981789579c5f8b63c754976b41f0a746ecfa7f33328acbd9c2c6cb55551e1f8f", flattened_ast = "e418f30466f92b73c05831339977587deb301fb9b7b5605ee50ea608a55b16a2", destructured_ast = "daf3c4d141acbde48ecc278a548e507cd5f50374db66d9d81e3f5bff03d84f74", inlined_ast = "daf3c4d141acbde48ecc278a548e507cd5f50374db66d9d81e3f5bff03d84f74", dce_ast = "15479a266cf6e4ddef14c7aaae33d4dbd84b80a392c070edf963aa63be6c3778", bytecode = "908a1cadce203b91e79f9bce16280b922d6bab6f418a443b5e55989ad9f3a78c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out index d135c6ef77..551e5e6aa1 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 06e11747d399574731bca182b2e1d20f739bb7ab8a39371982a4d13c1e55f7c7 - type_checked_symbol_table: b2c3d8c76e3e998845f610cd7baf8140a325e038f54736a6c3b04792d84880b8 - unrolled_symbol_table: b2c3d8c76e3e998845f610cd7baf8140a325e038f54736a6c3b04792d84880b8 - initial_ast: cb8e967fdf1777efe567de13891b0da23998aaf187904fa5f8d35cf7a49348a1 - unrolled_ast: cb8e967fdf1777efe567de13891b0da23998aaf187904fa5f8d35cf7a49348a1 - ssa_ast: b66a9a70ae78f3d3e3ca299f3d7880b33c228d18a5dcd28168f676acb87f331d - flattened_ast: b6a2ead1af7c66a6989981646bd473264216d8f1427bb906ff12062048356b40 - destructured_ast: a669f9d1930eb958881871e006285cf23c4779903fb11ed88d871f1dd7b5d904 - inlined_ast: a669f9d1930eb958881871e006285cf23c4779903fb11ed88d871f1dd7b5d904 - dce_ast: f9eafbb3278de0ec7e2315592b5546e593341f5b086f5c2a558b086490525e83 - bytecode: 60461b2862272cfb6cbf27964e16921d3a0eaad4571b7313968485984101921e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "06e11747d399574731bca182b2e1d20f739bb7ab8a39371982a4d13c1e55f7c7", type_checked_symbol_table = "b2c3d8c76e3e998845f610cd7baf8140a325e038f54736a6c3b04792d84880b8", unrolled_symbol_table = "b2c3d8c76e3e998845f610cd7baf8140a325e038f54736a6c3b04792d84880b8", initial_ast = "cb8e967fdf1777efe567de13891b0da23998aaf187904fa5f8d35cf7a49348a1", unrolled_ast = "cb8e967fdf1777efe567de13891b0da23998aaf187904fa5f8d35cf7a49348a1", ssa_ast = "b66a9a70ae78f3d3e3ca299f3d7880b33c228d18a5dcd28168f676acb87f331d", flattened_ast = "b6a2ead1af7c66a6989981646bd473264216d8f1427bb906ff12062048356b40", destructured_ast = "a669f9d1930eb958881871e006285cf23c4779903fb11ed88d871f1dd7b5d904", inlined_ast = "a669f9d1930eb958881871e006285cf23c4779903fb11ed88d871f1dd7b5d904", dce_ast = "f9eafbb3278de0ec7e2315592b5546e593341f5b086f5c2a558b086490525e83", bytecode = "60461b2862272cfb6cbf27964e16921d3a0eaad4571b7313968485984101921e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/pedersen_fail.out b/tests/expectations/compiler/core/algorithms/pedersen_fail.out index e7b73d8fb6..1bdb8bb065 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen_fail.out +++ b/tests/expectations/compiler/core/algorithms/pedersen_fail.out @@ -1,5 +1,21 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372007]: Expected one type from `address, bool, field, group, struct, integer, scalar, struct`, but got `u128`\n --> compiler-test:5:50\n |\n 5 | let a: group = Pedersen64::hash_to_field(1u128); // Pedersen64 hash_to_field returns a field type\n | ^^^^^\nError [ETYC0372003]: Expected type `group` but type `field` was found\n --> compiler-test:5:24\n |\n 5 | let a: group = Pedersen64::hash_to_field(1u128); // Pedersen64 hash_to_field returns a field type\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372007]: Expected one type from `address, bool, field, group, struct, integer, scalar, struct`, but got `u128` + --> compiler-test:5:50 + | + 5 | let a: group = Pedersen64::hash_to_field(1u128); // Pedersen64 hash_to_field returns a field type + | ^^^^^ +Error [ETYC0372003]: Expected type `group` but type `field` was found + --> compiler-test:5:24 + | + 5 | let a: group = Pedersen64::hash_to_field(1u128); // Pedersen64 hash_to_field returns a field type + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out index 64824b7096..408472b6b0 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 74f217b6c5e7a8b192fcece47a44e6ddbbd142c8d4dff924008c8da0d7a22e31 - unrolled_ast: 74f217b6c5e7a8b192fcece47a44e6ddbbd142c8d4dff924008c8da0d7a22e31 - ssa_ast: d85e4a21c690f5e9d73b1bfa3d6672ad58a4bb7624c569a99272a181106a7430 - flattened_ast: a37f2ca450c849ed171f9b7908a4e5bb559f2371bb49e5500661eb0ff745551e - destructured_ast: 5f7c8acffdd2627554eb310018e40328b508805d463fdda163ea02c4daefb778 - inlined_ast: 5f7c8acffdd2627554eb310018e40328b508805d463fdda163ea02c4daefb778 - dce_ast: 55c12a97d35053d29f6d4210233920eb364c474383173cfecb07a89baad7d9eb - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "74f217b6c5e7a8b192fcece47a44e6ddbbd142c8d4dff924008c8da0d7a22e31", unrolled_ast = "74f217b6c5e7a8b192fcece47a44e6ddbbd142c8d4dff924008c8da0d7a22e31", ssa_ast = "d85e4a21c690f5e9d73b1bfa3d6672ad58a4bb7624c569a99272a181106a7430", flattened_ast = "a37f2ca450c849ed171f9b7908a4e5bb559f2371bb49e5500661eb0ff745551e", destructured_ast = "5f7c8acffdd2627554eb310018e40328b508805d463fdda163ea02c4daefb778", inlined_ast = "5f7c8acffdd2627554eb310018e40328b508805d463fdda163ea02c4daefb778", dce_ast = "55c12a97d35053d29f6d4210233920eb364c474383173cfecb07a89baad7d9eb", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out index 3d238cbd27..3f06b88d32 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: 6a16cf7cc3f5e6cd2e0ca0f2039980bbcd8a7000c81218638991ae61e9120158 - unrolled_ast: 6a16cf7cc3f5e6cd2e0ca0f2039980bbcd8a7000c81218638991ae61e9120158 - ssa_ast: 41442a44939815b4ade76fb5be562df569dc1193817b6d969c84eb2e6cc799b2 - flattened_ast: 0f8f8d82a20fd81277b1bbfb9c40a7b317b314473d7462bd2b92e58e02f606dc - destructured_ast: b60ec463d5c856243960ac13239c8d7a2b03e00ef89fb92155e037757e5d66ff - inlined_ast: b60ec463d5c856243960ac13239c8d7a2b03e00ef89fb92155e037757e5d66ff - dce_ast: 759e698273752d2a8f32c024d26b27dfc3b839af7ab28c60f48606ce92c9111f - bytecode: 4a7ee455b4552494a4153a4a4585aecfdb077ae2d89b2281da182e4213c20508 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "6a16cf7cc3f5e6cd2e0ca0f2039980bbcd8a7000c81218638991ae61e9120158", unrolled_ast = "6a16cf7cc3f5e6cd2e0ca0f2039980bbcd8a7000c81218638991ae61e9120158", ssa_ast = "41442a44939815b4ade76fb5be562df569dc1193817b6d969c84eb2e6cc799b2", flattened_ast = "0f8f8d82a20fd81277b1bbfb9c40a7b317b314473d7462bd2b92e58e02f606dc", destructured_ast = "b60ec463d5c856243960ac13239c8d7a2b03e00ef89fb92155e037757e5d66ff", inlined_ast = "b60ec463d5c856243960ac13239c8d7a2b03e00ef89fb92155e037757e5d66ff", dce_ast = "759e698273752d2a8f32c024d26b27dfc3b839af7ab28c60f48606ce92c9111f", bytecode = "4a7ee455b4552494a4153a4a4585aecfdb077ae2d89b2281da182e4213c20508", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out index 19914217b4..45df27c230 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 5992b1ae07a5add1200a974385f7125edb9f99dffd1ce13fd7e9d18bf340fcfd - unrolled_ast: 5992b1ae07a5add1200a974385f7125edb9f99dffd1ce13fd7e9d18bf340fcfd - ssa_ast: 1fef1340dc5f57d90abd8c50383442eab95182ec598c7e21928eac97f990a24c - flattened_ast: 5b86082f0fc6326e7a198f9cca9b50782eb04bfd8601622b9f36f26da9b883f2 - destructured_ast: a0e8b7d0584087c684f9683850cd0b088be08dc9bd76f9230174c5ffe066ab2b - inlined_ast: a0e8b7d0584087c684f9683850cd0b088be08dc9bd76f9230174c5ffe066ab2b - dce_ast: 44520026be90509c38acce7d213a00c786333119b49d84731c7bd64a73ed6328 - bytecode: 5e1c3a522f56e1e46342bb1e4d14c2827d7d7dcf0e73d13c694ce9211181a90e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "5992b1ae07a5add1200a974385f7125edb9f99dffd1ce13fd7e9d18bf340fcfd", unrolled_ast = "5992b1ae07a5add1200a974385f7125edb9f99dffd1ce13fd7e9d18bf340fcfd", ssa_ast = "1fef1340dc5f57d90abd8c50383442eab95182ec598c7e21928eac97f990a24c", flattened_ast = "5b86082f0fc6326e7a198f9cca9b50782eb04bfd8601622b9f36f26da9b883f2", destructured_ast = "a0e8b7d0584087c684f9683850cd0b088be08dc9bd76f9230174c5ffe066ab2b", inlined_ast = "a0e8b7d0584087c684f9683850cd0b088be08dc9bd76f9230174c5ffe066ab2b", dce_ast = "44520026be90509c38acce7d213a00c786333119b49d84731c7bd64a73ed6328", bytecode = "5e1c3a522f56e1e46342bb1e4d14c2827d7d7dcf0e73d13c694ce9211181a90e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out index a1032f931e..4dcb1b0ee9 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: 7a824d2a8ff52481397031e7ec23ecf3f9266da5525cd8de98ef30dbc1e852cb - unrolled_ast: 7a824d2a8ff52481397031e7ec23ecf3f9266da5525cd8de98ef30dbc1e852cb - ssa_ast: b46182764d64e905e9d68e50cad2b55698cb017605f18e90e0869e93ce5748c1 - flattened_ast: f8f37329fcba405c7dfef053f42deee4b1cd7663f134f2d31de62c516f008379 - destructured_ast: ff538613ad67dbc98919937704c3413902ff2708ae94c40dbfd8d772a6b16e55 - inlined_ast: ff538613ad67dbc98919937704c3413902ff2708ae94c40dbfd8d772a6b16e55 - dce_ast: c59b70e0a3d81ff1dffc0eff6f277ff36e79c65a02a02110359c9a7e57d89cb8 - bytecode: 2854f9d794d38f70f28b7715b25d597c94a380af36a51b6b3c04d1fe71e2cf3f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "7a824d2a8ff52481397031e7ec23ecf3f9266da5525cd8de98ef30dbc1e852cb", unrolled_ast = "7a824d2a8ff52481397031e7ec23ecf3f9266da5525cd8de98ef30dbc1e852cb", ssa_ast = "b46182764d64e905e9d68e50cad2b55698cb017605f18e90e0869e93ce5748c1", flattened_ast = "f8f37329fcba405c7dfef053f42deee4b1cd7663f134f2d31de62c516f008379", destructured_ast = "ff538613ad67dbc98919937704c3413902ff2708ae94c40dbfd8d772a6b16e55", inlined_ast = "ff538613ad67dbc98919937704c3413902ff2708ae94c40dbfd8d772a6b16e55", dce_ast = "c59b70e0a3d81ff1dffc0eff6f277ff36e79c65a02a02110359c9a7e57d89cb8", bytecode = "2854f9d794d38f70f28b7715b25d597c94a380af36a51b6b3c04d1fe71e2cf3f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out index 59db9500f1..1e2e374ddb 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: be073c2c6aa0efd26395d5e0f901a53a2b2baed5ee71e9dc24c4e4ec1b61b9da - unrolled_ast: be073c2c6aa0efd26395d5e0f901a53a2b2baed5ee71e9dc24c4e4ec1b61b9da - ssa_ast: 4f73eda59e3ac8ee7367f1309b4901b5d3dae206e92a7d08addc853f5108428a - flattened_ast: 4275e2a7fee44ea1ee1b91b9652fd39a7f6044e66cf206313ed786309d56786f - destructured_ast: f58ac408b1179774c95e2a6b2230972c129309e293151752278d65bd36dc3caa - inlined_ast: f58ac408b1179774c95e2a6b2230972c129309e293151752278d65bd36dc3caa - dce_ast: 55c12a97d35053d29f6d4210233920eb364c474383173cfecb07a89baad7d9eb - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "be073c2c6aa0efd26395d5e0f901a53a2b2baed5ee71e9dc24c4e4ec1b61b9da", unrolled_ast = "be073c2c6aa0efd26395d5e0f901a53a2b2baed5ee71e9dc24c4e4ec1b61b9da", ssa_ast = "4f73eda59e3ac8ee7367f1309b4901b5d3dae206e92a7d08addc853f5108428a", flattened_ast = "4275e2a7fee44ea1ee1b91b9652fd39a7f6044e66cf206313ed786309d56786f", destructured_ast = "f58ac408b1179774c95e2a6b2230972c129309e293151752278d65bd36dc3caa", inlined_ast = "f58ac408b1179774c95e2a6b2230972c129309e293151752278d65bd36dc3caa", dce_ast = "55c12a97d35053d29f6d4210233920eb364c474383173cfecb07a89baad7d9eb", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out index 939d530fc1..771a0bf9c8 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: df8873024addcd9ecc4bf08e44cddbec156c4d118be2ed101fa5ad966a7f3662 - unrolled_ast: df8873024addcd9ecc4bf08e44cddbec156c4d118be2ed101fa5ad966a7f3662 - ssa_ast: 11723fc2c91d386ca939ae7bd59fc1ea23fd7d32fdc2d46a53506c261a15f5d3 - flattened_ast: 5930124605a3e71405d3938924b6b3c24d06360059247b87e992b9b6486ed42c - destructured_ast: d0aaaf28931eeddea81216269f5146e5bf97634c61020dc13a425ac34dff8c58 - inlined_ast: d0aaaf28931eeddea81216269f5146e5bf97634c61020dc13a425ac34dff8c58 - dce_ast: 211ddf401c91aef1dd000f7d1c4b98761a2c7e5abca74d91a3bc77d5fa287388 - bytecode: 5afc04764a3838219b882f5feeafa9603549ecc199dc30e765320f00d70c0fc8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "df8873024addcd9ecc4bf08e44cddbec156c4d118be2ed101fa5ad966a7f3662", unrolled_ast = "df8873024addcd9ecc4bf08e44cddbec156c4d118be2ed101fa5ad966a7f3662", ssa_ast = "11723fc2c91d386ca939ae7bd59fc1ea23fd7d32fdc2d46a53506c261a15f5d3", flattened_ast = "5930124605a3e71405d3938924b6b3c24d06360059247b87e992b9b6486ed42c", destructured_ast = "d0aaaf28931eeddea81216269f5146e5bf97634c61020dc13a425ac34dff8c58", inlined_ast = "d0aaaf28931eeddea81216269f5146e5bf97634c61020dc13a425ac34dff8c58", dce_ast = "211ddf401c91aef1dd000f7d1c4b98761a2c7e5abca74d91a3bc77d5fa287388", bytecode = "5afc04764a3838219b882f5feeafa9603549ecc199dc30e765320f00d70c0fc8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out index 11858fc3bf..40232bcbbe 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 5ffc727232ee9c8c3eac6ce88ac7f273bef966a71f34fdd74337178b4ffba922 - unrolled_ast: 5ffc727232ee9c8c3eac6ce88ac7f273bef966a71f34fdd74337178b4ffba922 - ssa_ast: 796d81d809d9f9806d275a1c14074228484c2b2ab17147649bfc8f9e2a8dd379 - flattened_ast: 66e0fa510ac5303167929b60b7de69e7143981496d4e6f2671030fe758f37dc0 - destructured_ast: d027ab7d14f69b2537326838cb6212b92cd337c1ba8bfc740c907bd2dc256c31 - inlined_ast: d027ab7d14f69b2537326838cb6212b92cd337c1ba8bfc740c907bd2dc256c31 - dce_ast: fe4e4a9513882cd49e43cef66ce9f38da1dbcaba384413f668f80fb31f3914ad - bytecode: 1a55ccb2faa44b5220b4dadfb85af4d74f8018a6ca8726e85cc3d1db349cb24d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "5ffc727232ee9c8c3eac6ce88ac7f273bef966a71f34fdd74337178b4ffba922", unrolled_ast = "5ffc727232ee9c8c3eac6ce88ac7f273bef966a71f34fdd74337178b4ffba922", ssa_ast = "796d81d809d9f9806d275a1c14074228484c2b2ab17147649bfc8f9e2a8dd379", flattened_ast = "66e0fa510ac5303167929b60b7de69e7143981496d4e6f2671030fe758f37dc0", destructured_ast = "d027ab7d14f69b2537326838cb6212b92cd337c1ba8bfc740c907bd2dc256c31", inlined_ast = "d027ab7d14f69b2537326838cb6212b92cd337c1ba8bfc740c907bd2dc256c31", dce_ast = "fe4e4a9513882cd49e43cef66ce9f38da1dbcaba384413f668f80fb31f3914ad", bytecode = "1a55ccb2faa44b5220b4dadfb85af4d74f8018a6ca8726e85cc3d1db349cb24d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out index 1307d0b2d5..627fdc7cf0 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: 2afd35fbbf878455f16f020073ae8ecfdb064a65eda91d9fd09494494ed0f432 - unrolled_ast: 2afd35fbbf878455f16f020073ae8ecfdb064a65eda91d9fd09494494ed0f432 - ssa_ast: 5b51b0f856acfe839017ba25ec98053d4fdef159dda930786947933e6e69bce4 - flattened_ast: 2843ee165c4cb16f9ed3a4cf84b0afe2c1896cbee7ec7aaf48727e41cb007808 - destructured_ast: 64b2ad2ee264a0d5bf22af5314958484fe00328a233487b71a15d1857903eb0b - inlined_ast: 64b2ad2ee264a0d5bf22af5314958484fe00328a233487b71a15d1857903eb0b - dce_ast: f383879836ce857c9b271ce1ea17fd956a48074a68dd9d6394fbff380a90f8e6 - bytecode: 7dbc4e044d6ef673a73bcee19f7fbac023f640aeffa49485274c899666c45fa9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "2afd35fbbf878455f16f020073ae8ecfdb064a65eda91d9fd09494494ed0f432", unrolled_ast = "2afd35fbbf878455f16f020073ae8ecfdb064a65eda91d9fd09494494ed0f432", ssa_ast = "5b51b0f856acfe839017ba25ec98053d4fdef159dda930786947933e6e69bce4", flattened_ast = "2843ee165c4cb16f9ed3a4cf84b0afe2c1896cbee7ec7aaf48727e41cb007808", destructured_ast = "64b2ad2ee264a0d5bf22af5314958484fe00328a233487b71a15d1857903eb0b", inlined_ast = "64b2ad2ee264a0d5bf22af5314958484fe00328a233487b71a15d1857903eb0b", dce_ast = "f383879836ce857c9b271ce1ea17fd956a48074a68dd9d6394fbff380a90f8e6", bytecode = "7dbc4e044d6ef673a73bcee19f7fbac023f640aeffa49485274c899666c45fa9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out index f6402f52af..d7a66b7fc9 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 296a2a744051d37632fe71b327a73e99b945f2c4d845f5904ce1e53572bc2088 - unrolled_ast: 296a2a744051d37632fe71b327a73e99b945f2c4d845f5904ce1e53572bc2088 - ssa_ast: ef15113bc5088ee7ca144c57d23ed30a9b9f8a4ac0b1aa28b5cce959ca646c2c - flattened_ast: 3523e589592af0e598b64efaff56abc84a33af504a04c1f9eb361ba1792d36a4 - destructured_ast: 8963eb06c3a0eac3851d36b1cd0cc9b53ed215663e51dd2553b5bf0fbb0cb91a - inlined_ast: 8963eb06c3a0eac3851d36b1cd0cc9b53ed215663e51dd2553b5bf0fbb0cb91a - dce_ast: 55c12a97d35053d29f6d4210233920eb364c474383173cfecb07a89baad7d9eb - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "296a2a744051d37632fe71b327a73e99b945f2c4d845f5904ce1e53572bc2088", unrolled_ast = "296a2a744051d37632fe71b327a73e99b945f2c4d845f5904ce1e53572bc2088", ssa_ast = "ef15113bc5088ee7ca144c57d23ed30a9b9f8a4ac0b1aa28b5cce959ca646c2c", flattened_ast = "3523e589592af0e598b64efaff56abc84a33af504a04c1f9eb361ba1792d36a4", destructured_ast = "8963eb06c3a0eac3851d36b1cd0cc9b53ed215663e51dd2553b5bf0fbb0cb91a", inlined_ast = "8963eb06c3a0eac3851d36b1cd0cc9b53ed215663e51dd2553b5bf0fbb0cb91a", dce_ast = "55c12a97d35053d29f6d4210233920eb364c474383173cfecb07a89baad7d9eb", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out index e92bf03b2a..66cec23e9e 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: 4c6ddaed5a81b5ff34d2f58af2f7536ea312fb89df6b428ad3f1f1276fea65ae - unrolled_ast: 4c6ddaed5a81b5ff34d2f58af2f7536ea312fb89df6b428ad3f1f1276fea65ae - ssa_ast: 342ff3ead7521ef7761ef9e6f857ee8868fca98987e60c7bdf3b98a864f04cc8 - flattened_ast: dba65b923e7a65e01946abc6845914a6685cb024e70e0657035efbb1f763cc27 - destructured_ast: dc7433d4bdf86657d55eeb4406bf543e2c65028bb65c0b58cd0ef6838948a07c - inlined_ast: dc7433d4bdf86657d55eeb4406bf543e2c65028bb65c0b58cd0ef6838948a07c - dce_ast: 8c6c44da92145bbc12a44703275d271fb83a62ae26c91c3af5b270cea13a839a - bytecode: 49aae76eea34a87eee6105d1ef33a771079970ce5efcddce06b56bdd162b0649 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "4c6ddaed5a81b5ff34d2f58af2f7536ea312fb89df6b428ad3f1f1276fea65ae", unrolled_ast = "4c6ddaed5a81b5ff34d2f58af2f7536ea312fb89df6b428ad3f1f1276fea65ae", ssa_ast = "342ff3ead7521ef7761ef9e6f857ee8868fca98987e60c7bdf3b98a864f04cc8", flattened_ast = "dba65b923e7a65e01946abc6845914a6685cb024e70e0657035efbb1f763cc27", destructured_ast = "dc7433d4bdf86657d55eeb4406bf543e2c65028bb65c0b58cd0ef6838948a07c", inlined_ast = "dc7433d4bdf86657d55eeb4406bf543e2c65028bb65c0b58cd0ef6838948a07c", dce_ast = "8c6c44da92145bbc12a44703275d271fb83a62ae26c91c3af5b270cea13a839a", bytecode = "49aae76eea34a87eee6105d1ef33a771079970ce5efcddce06b56bdd162b0649", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out index 2a548248f0..c3fbd997a2 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: ed1710c505d851e9f849f438cad654e6fd0230ae540db8b7686fc7c67dae1c6d - unrolled_ast: ed1710c505d851e9f849f438cad654e6fd0230ae540db8b7686fc7c67dae1c6d - ssa_ast: 5800c3250725bf1a1bf974162508a323486857d5eafdb7feb0a9cbf3f634610e - flattened_ast: 2b50666f63884c93b2fa4b1e33acf34e93c9e8f42c8a3cb59e9b400b126a4a2e - destructured_ast: 7091bde1bc4296974b1abc1a25887c006ce6ef74770377f0f9a8249707fd668d - inlined_ast: 7091bde1bc4296974b1abc1a25887c006ce6ef74770377f0f9a8249707fd668d - dce_ast: 7bc3c647e7d03edf6ac0bd0139097084e0cf67cd624de0351e3ad9afc6968a56 - bytecode: 02d47a7250c61ef4d17c7ab46f74657d42b407488f8e4a3a3035d9fd55772c72 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "ed1710c505d851e9f849f438cad654e6fd0230ae540db8b7686fc7c67dae1c6d", unrolled_ast = "ed1710c505d851e9f849f438cad654e6fd0230ae540db8b7686fc7c67dae1c6d", ssa_ast = "5800c3250725bf1a1bf974162508a323486857d5eafdb7feb0a9cbf3f634610e", flattened_ast = "2b50666f63884c93b2fa4b1e33acf34e93c9e8f42c8a3cb59e9b400b126a4a2e", destructured_ast = "7091bde1bc4296974b1abc1a25887c006ce6ef74770377f0f9a8249707fd668d", inlined_ast = "7091bde1bc4296974b1abc1a25887c006ce6ef74770377f0f9a8249707fd668d", dce_ast = "7bc3c647e7d03edf6ac0bd0139097084e0cf67cd624de0351e3ad9afc6968a56", bytecode = "02d47a7250c61ef4d17c7ab46f74657d42b407488f8e4a3a3035d9fd55772c72", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out index 83a236fe0d..71fbbfea88 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: 43fe27f51fe84eab0f4a4a7b209e3d9802586ffef074b6ddff1b5ef5a5e659cb - unrolled_ast: 43fe27f51fe84eab0f4a4a7b209e3d9802586ffef074b6ddff1b5ef5a5e659cb - ssa_ast: 7ee49478c11209bfcd04624718643a0c3fa95e4a44fbd8d1258ba46bcbb21cff - flattened_ast: 814445cdbf2c8d9d4c8f53c9e00505fed4a489f8f5747a306b4f8364ac2c46c8 - destructured_ast: e578da50613bfc429eb23a0139e1566b67974be634a2f78dbfef645e9b4eb922 - inlined_ast: e578da50613bfc429eb23a0139e1566b67974be634a2f78dbfef645e9b4eb922 - dce_ast: 8bcd655fe116e44a87ae2fbae917f13ef0683f44f232146e9c50782ba2f197c7 - bytecode: 5230c6c2a5d11187990baad02e10050166090cd500ef2cc6047d648384c8cac3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "43fe27f51fe84eab0f4a4a7b209e3d9802586ffef074b6ddff1b5ef5a5e659cb", unrolled_ast = "43fe27f51fe84eab0f4a4a7b209e3d9802586ffef074b6ddff1b5ef5a5e659cb", ssa_ast = "7ee49478c11209bfcd04624718643a0c3fa95e4a44fbd8d1258ba46bcbb21cff", flattened_ast = "814445cdbf2c8d9d4c8f53c9e00505fed4a489f8f5747a306b4f8364ac2c46c8", destructured_ast = "e578da50613bfc429eb23a0139e1566b67974be634a2f78dbfef645e9b4eb922", inlined_ast = "e578da50613bfc429eb23a0139e1566b67974be634a2f78dbfef645e9b4eb922", dce_ast = "8bcd655fe116e44a87ae2fbae917f13ef0683f44f232146e9c50782ba2f197c7", bytecode = "5230c6c2a5d11187990baad02e10050166090cd500ef2cc6047d648384c8cac3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out index fc8bedb94d..7c5c808946 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: 9045f288dae19099f671ec84e85fe1252c1549d52fe5e5d2947f0f21d588a23e - unrolled_ast: 9045f288dae19099f671ec84e85fe1252c1549d52fe5e5d2947f0f21d588a23e - ssa_ast: 7d6c39d3b94412746e1f86f2073ffbcae6957accd6ed577616c148b1a54863cd - flattened_ast: f66d6de1aabd387c26917941fb305f7ad8e40c2a52fc2f726fd4636e14fe4364 - destructured_ast: 33b19c00070b0886259503529e61e80be9c4b560b4c60532286816cd167b1ec7 - inlined_ast: 33b19c00070b0886259503529e61e80be9c4b560b4c60532286816cd167b1ec7 - dce_ast: d9f9b56a9b0c5cc6c33af9c6768eff1a47a2bb0e794b7f7f5eabdef13d19c420 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "9045f288dae19099f671ec84e85fe1252c1549d52fe5e5d2947f0f21d588a23e", unrolled_ast = "9045f288dae19099f671ec84e85fe1252c1549d52fe5e5d2947f0f21d588a23e", ssa_ast = "7d6c39d3b94412746e1f86f2073ffbcae6957accd6ed577616c148b1a54863cd", flattened_ast = "f66d6de1aabd387c26917941fb305f7ad8e40c2a52fc2f726fd4636e14fe4364", destructured_ast = "33b19c00070b0886259503529e61e80be9c4b560b4c60532286816cd167b1ec7", inlined_ast = "33b19c00070b0886259503529e61e80be9c4b560b4c60532286816cd167b1ec7", dce_ast = "d9f9b56a9b0c5cc6c33af9c6768eff1a47a2bb0e794b7f7f5eabdef13d19c420", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out index ce5483a2f8..aceff898f9 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: 951813d08b17d74a2561da5d09a67c349fdbdb7a418890b056d6739305925089 - unrolled_ast: 951813d08b17d74a2561da5d09a67c349fdbdb7a418890b056d6739305925089 - ssa_ast: 73cc9f291df66351433fde47038cbf8588a0944f431fe1841bf89f2f25d158c5 - flattened_ast: c63eab9d325e838f674f26c8530c42ab275c6436bbcf51dfe61f15a2d3d96959 - destructured_ast: afb852896ead5ccd6d30cca139e2f4bae4462f00120e24c087008bfd5d96c201 - inlined_ast: afb852896ead5ccd6d30cca139e2f4bae4462f00120e24c087008bfd5d96c201 - dce_ast: fa54952bc3ffbce1acd59811c4242b89a5b93f2acdc8018da64a2c34757966b8 - bytecode: 690637a56c18881cf6f85a1531bb8b17cd18d901daf7c29301562c019fe495c7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "951813d08b17d74a2561da5d09a67c349fdbdb7a418890b056d6739305925089", unrolled_ast = "951813d08b17d74a2561da5d09a67c349fdbdb7a418890b056d6739305925089", ssa_ast = "73cc9f291df66351433fde47038cbf8588a0944f431fe1841bf89f2f25d158c5", flattened_ast = "c63eab9d325e838f674f26c8530c42ab275c6436bbcf51dfe61f15a2d3d96959", destructured_ast = "afb852896ead5ccd6d30cca139e2f4bae4462f00120e24c087008bfd5d96c201", inlined_ast = "afb852896ead5ccd6d30cca139e2f4bae4462f00120e24c087008bfd5d96c201", dce_ast = "fa54952bc3ffbce1acd59811c4242b89a5b93f2acdc8018da64a2c34757966b8", bytecode = "690637a56c18881cf6f85a1531bb8b17cd18d901daf7c29301562c019fe495c7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out index e973de2103..cb15338c0b 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 4fff1dad39ccdc2fac22bf0ebf842b65dd44bbe6ef8e7fddb408e040bdca9523 - unrolled_ast: 4fff1dad39ccdc2fac22bf0ebf842b65dd44bbe6ef8e7fddb408e040bdca9523 - ssa_ast: a1bf4c60b88b5a15cf70525652804e0f0f23d35f3d45b389352de400f1472c32 - flattened_ast: ecbf1482e98ccfe72d5dd12c2d93ad24f278d7f71886535052cb81cfdefb9f9e - destructured_ast: 45051a22ddb9a72da96e77680d6776a742e8e331229eefa4927e8cc14568bcc4 - inlined_ast: 45051a22ddb9a72da96e77680d6776a742e8e331229eefa4927e8cc14568bcc4 - dce_ast: 609bae94813044edfb4f95926d16e30b618d0aebc7fee0c828cb05481c17f2aa - bytecode: 46d916910ae925bea8c55fc0887b41d05efedac9228150f59f894ff52652a290 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "4fff1dad39ccdc2fac22bf0ebf842b65dd44bbe6ef8e7fddb408e040bdca9523", unrolled_ast = "4fff1dad39ccdc2fac22bf0ebf842b65dd44bbe6ef8e7fddb408e040bdca9523", ssa_ast = "a1bf4c60b88b5a15cf70525652804e0f0f23d35f3d45b389352de400f1472c32", flattened_ast = "ecbf1482e98ccfe72d5dd12c2d93ad24f278d7f71886535052cb81cfdefb9f9e", destructured_ast = "45051a22ddb9a72da96e77680d6776a742e8e331229eefa4927e8cc14568bcc4", inlined_ast = "45051a22ddb9a72da96e77680d6776a742e8e331229eefa4927e8cc14568bcc4", dce_ast = "609bae94813044edfb4f95926d16e30b618d0aebc7fee0c828cb05481c17f2aa", bytecode = "46d916910ae925bea8c55fc0887b41d05efedac9228150f59f894ff52652a290", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out index 039536bca8..e99c271c25 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/sha3_256_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: 87b8d8edc7a00d177a029050e01d894f99a1ec363c9653485bb2da10bba9a658 - unrolled_ast: 87b8d8edc7a00d177a029050e01d894f99a1ec363c9653485bb2da10bba9a658 - ssa_ast: d9b9b7be826e78b07afed99b21c4a9fdf73db881746bbe4ef414233411bc9f0a - flattened_ast: 91e097aa0ca0f170d6e789b4f3c899d94d05b5abffd5dad9b999e303f95c4bb1 - destructured_ast: a4295edcdbdaf91119a6bdd92446bd0282b7988aa826f63d3d8175d7aecf14d9 - inlined_ast: a4295edcdbdaf91119a6bdd92446bd0282b7988aa826f63d3d8175d7aecf14d9 - dce_ast: 7d6af3e7ed175bb968772e9188fa6671fe7717d9bc959b6c01c5cbf51dfac9bc - bytecode: d6a9ad31d87c08ce7882a80a4d5067f89ce048108bd23a41487051aab4904268 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "87b8d8edc7a00d177a029050e01d894f99a1ec363c9653485bb2da10bba9a658", unrolled_ast = "87b8d8edc7a00d177a029050e01d894f99a1ec363c9653485bb2da10bba9a658", ssa_ast = "d9b9b7be826e78b07afed99b21c4a9fdf73db881746bbe4ef414233411bc9f0a", flattened_ast = "91e097aa0ca0f170d6e789b4f3c899d94d05b5abffd5dad9b999e303f95c4bb1", destructured_ast = "a4295edcdbdaf91119a6bdd92446bd0282b7988aa826f63d3d8175d7aecf14d9", inlined_ast = "a4295edcdbdaf91119a6bdd92446bd0282b7988aa826f63d3d8175d7aecf14d9", dce_ast = "7d6af3e7ed175bb968772e9188fa6671fe7717d9bc959b6c01c5cbf51dfac9bc", bytecode = "d6a9ad31d87c08ce7882a80a4d5067f89ce048108bd23a41487051aab4904268", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out index 48c9e8b197..f80674a47d 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: e53657649bce554807d8918a8f06709baceccb6959ef1211264dc051cb8c3d3a - unrolled_ast: e53657649bce554807d8918a8f06709baceccb6959ef1211264dc051cb8c3d3a - ssa_ast: 0b88f7cf316ee152e912208fab7320145fe29c2bc0184debc79644011a14ac49 - flattened_ast: d7f4c296a399bee9989ec9324c22f51735b46430b45e1d569dd47691d8856d28 - destructured_ast: d320dc8735a93cbc969a7f4a13f84e97df074a1ff62f3ede685b591d15b2bb19 - inlined_ast: d320dc8735a93cbc969a7f4a13f84e97df074a1ff62f3ede685b591d15b2bb19 - dce_ast: d9f9b56a9b0c5cc6c33af9c6768eff1a47a2bb0e794b7f7f5eabdef13d19c420 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "e53657649bce554807d8918a8f06709baceccb6959ef1211264dc051cb8c3d3a", unrolled_ast = "e53657649bce554807d8918a8f06709baceccb6959ef1211264dc051cb8c3d3a", ssa_ast = "0b88f7cf316ee152e912208fab7320145fe29c2bc0184debc79644011a14ac49", flattened_ast = "d7f4c296a399bee9989ec9324c22f51735b46430b45e1d569dd47691d8856d28", destructured_ast = "d320dc8735a93cbc969a7f4a13f84e97df074a1ff62f3ede685b591d15b2bb19", inlined_ast = "d320dc8735a93cbc969a7f4a13f84e97df074a1ff62f3ede685b591d15b2bb19", dce_ast = "d9f9b56a9b0c5cc6c33af9c6768eff1a47a2bb0e794b7f7f5eabdef13d19c420", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out index 3d2609fa6b..397d0df1de 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: beee53c4cd112e3fe34b5ac6ccbdb75aa3d38725efdf995dec82999bfc6c452e - unrolled_ast: beee53c4cd112e3fe34b5ac6ccbdb75aa3d38725efdf995dec82999bfc6c452e - ssa_ast: 3dd36ceecf52b350f972a7ebb1642e613a4365f2f5c9b2b865793e224496cb35 - flattened_ast: bf0b8e1bedc96e483eaede2f94e86b2a00c4e62dc8d755d484428d13785eb2ca - destructured_ast: ad51bec828f4c32267c81a68d04d26946ebfe498f8b689a738bc16f55e8278ef - inlined_ast: ad51bec828f4c32267c81a68d04d26946ebfe498f8b689a738bc16f55e8278ef - dce_ast: ac9bd5b10febf9c3e44d28b2cc377891165ba5a3cc4f8754b4b111647c7d82a4 - bytecode: 2e3beeb8a0f7547611c2c519e43599ac9e5b7fafc215ee921eb500d921987252 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "beee53c4cd112e3fe34b5ac6ccbdb75aa3d38725efdf995dec82999bfc6c452e", unrolled_ast = "beee53c4cd112e3fe34b5ac6ccbdb75aa3d38725efdf995dec82999bfc6c452e", ssa_ast = "3dd36ceecf52b350f972a7ebb1642e613a4365f2f5c9b2b865793e224496cb35", flattened_ast = "bf0b8e1bedc96e483eaede2f94e86b2a00c4e62dc8d755d484428d13785eb2ca", destructured_ast = "ad51bec828f4c32267c81a68d04d26946ebfe498f8b689a738bc16f55e8278ef", inlined_ast = "ad51bec828f4c32267c81a68d04d26946ebfe498f8b689a738bc16f55e8278ef", dce_ast = "ac9bd5b10febf9c3e44d28b2cc377891165ba5a3cc4f8754b4b111647c7d82a4", bytecode = "2e3beeb8a0f7547611c2c519e43599ac9e5b7fafc215ee921eb500d921987252", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out index 25c11fc5b7..6f3356370e 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 82de0890b05877addbe0f7fa1e0f042ae94ba18fed6ca520c146f8abac917233 - unrolled_ast: 82de0890b05877addbe0f7fa1e0f042ae94ba18fed6ca520c146f8abac917233 - ssa_ast: 31e65ca01c531ea8acc6ec7674b66e1582858a42ca6e26aad4cb6838cd2baf63 - flattened_ast: e6ff1a62bb61627d7c6d6a189030ca91db3fc74d34eeae009545630cba209ff9 - destructured_ast: 7fb58525b391920dcbd96b29a69bfdb5eff704cb6ee02c4a7eb4e9dd2e57e2e2 - inlined_ast: 7fb58525b391920dcbd96b29a69bfdb5eff704cb6ee02c4a7eb4e9dd2e57e2e2 - dce_ast: af2332a27e15ba72e974ea746040a345d97f6459811c08c270426c0478814a7b - bytecode: 9dddbe9729f05832d71afd33571dc4ea51212f6e4f6d6c6b27f523d38059f2a1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "82de0890b05877addbe0f7fa1e0f042ae94ba18fed6ca520c146f8abac917233", unrolled_ast = "82de0890b05877addbe0f7fa1e0f042ae94ba18fed6ca520c146f8abac917233", ssa_ast = "31e65ca01c531ea8acc6ec7674b66e1582858a42ca6e26aad4cb6838cd2baf63", flattened_ast = "e6ff1a62bb61627d7c6d6a189030ca91db3fc74d34eeae009545630cba209ff9", destructured_ast = "7fb58525b391920dcbd96b29a69bfdb5eff704cb6ee02c4a7eb4e9dd2e57e2e2", inlined_ast = "7fb58525b391920dcbd96b29a69bfdb5eff704cb6ee02c4a7eb4e9dd2e57e2e2", dce_ast = "af2332a27e15ba72e974ea746040a345d97f6459811c08c270426c0478814a7b", bytecode = "9dddbe9729f05832d71afd33571dc4ea51212f6e4f6d6c6b27f523d38059f2a1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out index ade94e84d5..fb2ed9b393 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/sha3_384_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: eec80ed0918648ae40e69b769dc890f44d244d81c9b66c1dd95281d79b66e275 - unrolled_ast: eec80ed0918648ae40e69b769dc890f44d244d81c9b66c1dd95281d79b66e275 - ssa_ast: b0dd211a0b72f302d84026216439603e87cfef15874f2cd3802d64c1c193912a - flattened_ast: ad367ca8813dc9aedf12813b3ca7f67434d023e0bc7467b003a0256d543c875a - destructured_ast: 0bdcfbf6622159aa1eafa36b18b54169e5f5c6afdcc1b14caa2bdcc8fa111f62 - inlined_ast: 0bdcfbf6622159aa1eafa36b18b54169e5f5c6afdcc1b14caa2bdcc8fa111f62 - dce_ast: 58f52c8c5849b3398c3db28b43dad291152a7e4d27aca6aa1f867135e3e62462 - bytecode: 77991d7596edcef00041488b23dfbb364c0c979217f4de3a324d42d91ea28f5a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "eec80ed0918648ae40e69b769dc890f44d244d81c9b66c1dd95281d79b66e275", unrolled_ast = "eec80ed0918648ae40e69b769dc890f44d244d81c9b66c1dd95281d79b66e275", ssa_ast = "b0dd211a0b72f302d84026216439603e87cfef15874f2cd3802d64c1c193912a", flattened_ast = "ad367ca8813dc9aedf12813b3ca7f67434d023e0bc7467b003a0256d543c875a", destructured_ast = "0bdcfbf6622159aa1eafa36b18b54169e5f5c6afdcc1b14caa2bdcc8fa111f62", inlined_ast = "0bdcfbf6622159aa1eafa36b18b54169e5f5c6afdcc1b14caa2bdcc8fa111f62", dce_ast = "58f52c8c5849b3398c3db28b43dad291152a7e4d27aca6aa1f867135e3e62462", bytecode = "77991d7596edcef00041488b23dfbb364c0c979217f4de3a324d42d91ea28f5a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out index 8a7ebc9809..53bf3102f8 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_address.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - unrolled_symbol_table: 98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11 - initial_ast: ba0e4c9d6ce88ccc0e0307ad05c78e5e8d78aa099fc2bcceaacb4c461b997bf5 - unrolled_ast: ba0e4c9d6ce88ccc0e0307ad05c78e5e8d78aa099fc2bcceaacb4c461b997bf5 - ssa_ast: 4a6d4613f02253ff76b878c387621d92e22d03ca1a086eefe493044e31f74037 - flattened_ast: edc80e4dd974582508ce142b4c3e92c86cb58b81d7c0a1b6a210349e8a153296 - destructured_ast: c3270c2c52bdbc6f3034142d801a0f6d75d99c27151bed8afe25a13a2883b827 - inlined_ast: c3270c2c52bdbc6f3034142d801a0f6d75d99c27151bed8afe25a13a2883b827 - dce_ast: d9f9b56a9b0c5cc6c33af9c6768eff1a47a2bb0e794b7f7f5eabdef13d19c420 - bytecode: 03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", unrolled_symbol_table = "98151b61965a5ad83116770d19d69a429dbe167b4d4554ba1da8adddb45c6d11", initial_ast = "ba0e4c9d6ce88ccc0e0307ad05c78e5e8d78aa099fc2bcceaacb4c461b997bf5", unrolled_ast = "ba0e4c9d6ce88ccc0e0307ad05c78e5e8d78aa099fc2bcceaacb4c461b997bf5", ssa_ast = "4a6d4613f02253ff76b878c387621d92e22d03ca1a086eefe493044e31f74037", flattened_ast = "edc80e4dd974582508ce142b4c3e92c86cb58b81d7c0a1b6a210349e8a153296", destructured_ast = "c3270c2c52bdbc6f3034142d801a0f6d75d99c27151bed8afe25a13a2883b827", inlined_ast = "c3270c2c52bdbc6f3034142d801a0f6d75d99c27151bed8afe25a13a2883b827", dce_ast = "d9f9b56a9b0c5cc6c33af9c6768eff1a47a2bb0e794b7f7f5eabdef13d19c420", bytecode = "03845ec2f54d49f71640659603ead8f68ad067a15fda438e5e13524777d1559b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out index 0e01434038..ba44f5b25b 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837 - type_checked_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - unrolled_symbol_table: 8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519 - initial_ast: dd7bef8e08075a6a372765e6979b845ba5404f778e7ce7890b089f67d7fdf502 - unrolled_ast: dd7bef8e08075a6a372765e6979b845ba5404f778e7ce7890b089f67d7fdf502 - ssa_ast: 9fd2bea716304e5f5fb158e0297cd0604aacef022f3f55956cda6a52f8ce30cb - flattened_ast: b24e7acac78935c4014f47ef427aa28b300b63e18aecf0951a42eebb2cfbeb33 - destructured_ast: 96cfdf15882e0b2392f5d904461abc89946de3ae609446b584e60747f8306b17 - inlined_ast: 96cfdf15882e0b2392f5d904461abc89946de3ae609446b584e60747f8306b17 - dce_ast: ad4d6120fb44395631d65f8974cd77325fb2c9e01766796c708253b8e1776cc8 - bytecode: 5a8a82d9707b83f6fe1d6f317a88b89ec9d908cd30fde3658d4e465e4ddf88e8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a32d8e2614c0c938f3045c99a5ae1a9435cd34da9c543bb2fd3b10e6128d9837", type_checked_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", unrolled_symbol_table = "8afab6b4e6604768c1db1398838c274386d1b3d4b526967bd16c3d2222866519", initial_ast = "dd7bef8e08075a6a372765e6979b845ba5404f778e7ce7890b089f67d7fdf502", unrolled_ast = "dd7bef8e08075a6a372765e6979b845ba5404f778e7ce7890b089f67d7fdf502", ssa_ast = "9fd2bea716304e5f5fb158e0297cd0604aacef022f3f55956cda6a52f8ce30cb", flattened_ast = "b24e7acac78935c4014f47ef427aa28b300b63e18aecf0951a42eebb2cfbeb33", destructured_ast = "96cfdf15882e0b2392f5d904461abc89946de3ae609446b584e60747f8306b17", inlined_ast = "96cfdf15882e0b2392f5d904461abc89946de3ae609446b584e60747f8306b17", dce_ast = "ad4d6120fb44395631d65f8974cd77325fb2c9e01766796c708253b8e1776cc8", bytecode = "5a8a82d9707b83f6fe1d6f317a88b89ec9d908cd30fde3658d4e465e4ddf88e8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out index b2c014768e..f061787ba5 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_group.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1 - type_checked_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - unrolled_symbol_table: 00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d - initial_ast: 74f2b106148033859a4a34b5548cdbd4cdb87e2db64f36d9a2cf20b0a6d364b4 - unrolled_ast: 74f2b106148033859a4a34b5548cdbd4cdb87e2db64f36d9a2cf20b0a6d364b4 - ssa_ast: 73eb93150382a1c2bbf633581311461500550a9977f9f3909ff214fc0b7c24d6 - flattened_ast: 957b737ca43e48fc45217f583b677c9b5848e687343df8356b5bb4f06add7162 - destructured_ast: 438bb69dcddf8086453af4cbbed3fbecc9bd74afdd81162f90288d4cba1fcf5a - inlined_ast: 438bb69dcddf8086453af4cbbed3fbecc9bd74afdd81162f90288d4cba1fcf5a - dce_ast: cd82ba7fbb4b95bd460518b39d36ef5476f5440a7426623c32db26a27a9a5242 - bytecode: 02daa75965baeaaad40c59c24d161cb796a2d833b10bd189c9bb2a38e8bf747b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "50685756468b80481a31a2082a3df618d0e2ac34d08f6954df2f2b82de7d11b1", type_checked_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", unrolled_symbol_table = "00b97f407ed6f4025b85376bc8d0b25e1d3a8430a6ab420e1e183a5c1b6e430d", initial_ast = "74f2b106148033859a4a34b5548cdbd4cdb87e2db64f36d9a2cf20b0a6d364b4", unrolled_ast = "74f2b106148033859a4a34b5548cdbd4cdb87e2db64f36d9a2cf20b0a6d364b4", ssa_ast = "73eb93150382a1c2bbf633581311461500550a9977f9f3909ff214fc0b7c24d6", flattened_ast = "957b737ca43e48fc45217f583b677c9b5848e687343df8356b5bb4f06add7162", destructured_ast = "438bb69dcddf8086453af4cbbed3fbecc9bd74afdd81162f90288d4cba1fcf5a", inlined_ast = "438bb69dcddf8086453af4cbbed3fbecc9bd74afdd81162f90288d4cba1fcf5a", dce_ast = "cd82ba7fbb4b95bd460518b39d36ef5476f5440a7426623c32db26a27a9a5242", bytecode = "02daa75965baeaaad40c59c24d161cb796a2d833b10bd189c9bb2a38e8bf747b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out index 435ca6c273..dd2b2baee9 100644 --- a/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out +++ b/tests/expectations/compiler/core/algorithms/sha3_512_hash_to_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5 - type_checked_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - unrolled_symbol_table: 95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad - initial_ast: 7bbcf217bccf5513b4bc097816d3554cc4abdd52b729f65fab7cc256bf887797 - unrolled_ast: 7bbcf217bccf5513b4bc097816d3554cc4abdd52b729f65fab7cc256bf887797 - ssa_ast: 2e5c1e42bd0e260e7d0bde74b78ccf68b57ba4531bd2b0215898ff7a08c0d0f6 - flattened_ast: 81712202b122a29df2350446b7add33ce0d458a95681b29db479e29e59d22333 - destructured_ast: a97b9a1067ae7b9249aba16ad0d8c1df7aaabfc4dc704ceaec19d5fbadb5e1d6 - inlined_ast: a97b9a1067ae7b9249aba16ad0d8c1df7aaabfc4dc704ceaec19d5fbadb5e1d6 - dce_ast: 951899f2d2baf69aca2887011f9579e5426e167938a8c78523fdf750af867737 - bytecode: ea26232ca66042daf7a856c208ce760f7355068171ed4cde5da403f375ab7d65 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35faa74f7e63d6091fd26297a05671a6c5f428a70d5a37eb6e66a0b3600114d5", type_checked_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", unrolled_symbol_table = "95144067dd9f17706ebab908322cdd2ba6e86ca14fa23e543205a1ffa98dd4ad", initial_ast = "7bbcf217bccf5513b4bc097816d3554cc4abdd52b729f65fab7cc256bf887797", unrolled_ast = "7bbcf217bccf5513b4bc097816d3554cc4abdd52b729f65fab7cc256bf887797", ssa_ast = "2e5c1e42bd0e260e7d0bde74b78ccf68b57ba4531bd2b0215898ff7a08c0d0f6", flattened_ast = "81712202b122a29df2350446b7add33ce0d458a95681b29db479e29e59d22333", destructured_ast = "a97b9a1067ae7b9249aba16ad0d8c1df7aaabfc4dc704ceaec19d5fbadb5e1d6", inlined_ast = "a97b9a1067ae7b9249aba16ad0d8c1df7aaabfc4dc704ceaec19d5fbadb5e1d6", dce_ast = "951899f2d2baf69aca2887011f9579e5426e167938a8c78523fdf750af867737", bytecode = "ea26232ca66042daf7a856c208ce760f7355068171ed4cde5da403f375ab7d65", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/constants/group_gen.out b/tests/expectations/compiler/core/constants/group_gen.out index 1e72348491..fac930842a 100644 --- a/tests/expectations/compiler/core/constants/group_gen.out +++ b/tests/expectations/compiler/core/constants/group_gen.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9c2740c48f546bab43b8020c3f0c0a17750655daa992fbd6596e510805521dda - type_checked_symbol_table: 639108a3ceaa3f4b3198e848fa1341cd8da62425e9b71945d70c0679de9f87f6 - unrolled_symbol_table: 639108a3ceaa3f4b3198e848fa1341cd8da62425e9b71945d70c0679de9f87f6 - initial_ast: 8288afbe9d76576eebdb237192bb20545ee1da09c2b1ece78668c52e3dc4a134 - unrolled_ast: 8288afbe9d76576eebdb237192bb20545ee1da09c2b1ece78668c52e3dc4a134 - ssa_ast: 9241489c8fc198f0f595e7ff79e435fd9957931f30074e350e0c552eebc4c3d5 - flattened_ast: 645cf6d4f48b5c2be4ff9db8d5076cd21302fe1beb14529231881da9b157d068 - destructured_ast: b47c897b226675531064e151374902183c6a0d3f306c7d44dec4e970fad2551a - inlined_ast: b47c897b226675531064e151374902183c6a0d3f306c7d44dec4e970fad2551a - dce_ast: b47c897b226675531064e151374902183c6a0d3f306c7d44dec4e970fad2551a - bytecode: cd542f776048c64f42b745a4be5ebe93fe7a8638c8d1692d3d774d491cadfe45 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9c2740c48f546bab43b8020c3f0c0a17750655daa992fbd6596e510805521dda", type_checked_symbol_table = "639108a3ceaa3f4b3198e848fa1341cd8da62425e9b71945d70c0679de9f87f6", unrolled_symbol_table = "639108a3ceaa3f4b3198e848fa1341cd8da62425e9b71945d70c0679de9f87f6", initial_ast = "8288afbe9d76576eebdb237192bb20545ee1da09c2b1ece78668c52e3dc4a134", unrolled_ast = "8288afbe9d76576eebdb237192bb20545ee1da09c2b1ece78668c52e3dc4a134", ssa_ast = "9241489c8fc198f0f595e7ff79e435fd9957931f30074e350e0c552eebc4c3d5", flattened_ast = "645cf6d4f48b5c2be4ff9db8d5076cd21302fe1beb14529231881da9b157d068", destructured_ast = "b47c897b226675531064e151374902183c6a0d3f306c7d44dec4e970fad2551a", inlined_ast = "b47c897b226675531064e151374902183c6a0d3f306c7d44dec4e970fad2551a", dce_ast = "b47c897b226675531064e151374902183c6a0d3f306c7d44dec4e970fad2551a", bytecode = "cd542f776048c64f42b745a4be5ebe93fe7a8638c8d1692d3d774d491cadfe45", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/core/constants/group_gen_fail.out b/tests/expectations/compiler/core/constants/group_gen_fail.out index fc9c7a0abf..3894d2a1ae 100644 --- a/tests/expectations/compiler/core/constants/group_gen_fail.out +++ b/tests/expectations/compiler/core/constants/group_gen_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372064]: group::GENERATOR is not a valid core constant.\n --> compiler-test:7:24\n |\n 7 | let a: group = group::GENERATOR;\n | ^^^^^\nError [ETYC0372063]: group::GENERATOR is not a valid associated constant.\n --> compiler-test:7:24\n |\n 7 | let a: group = group::GENERATOR;\n | ^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372064]: group::GENERATOR is not a valid core constant. + --> compiler-test:7:24 + | + 7 | let a: group = group::GENERATOR; + | ^^^^^ +Error [ETYC0372063]: group::GENERATOR is not a valid associated constant. + --> compiler-test:7:24 + | + 7 | let a: group = group::GENERATOR; + | ^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/definition/define_multiple_variables_fail.out b/tests/expectations/compiler/definition/define_multiple_variables_fail.out index 2c54307b2e..8d1523dbb2 100644 --- a/tests/expectations/compiler/definition/define_multiple_variables_fail.out +++ b/tests/expectations/compiler/definition/define_multiple_variables_fail.out @@ -1,5 +1,26 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372072]: Expected a tuple with 2 elements, found one with 3 elements\n --> compiler-test:5:13\n |\n 5 | let (a,b,c): (u8,u8) = (2u8,3u8);\n | ^^^^^^^\nError [ETYC0372072]: Expected a tuple with 3 elements, found one with 2 elements\n --> compiler-test:6:13\n |\n 6 | let (d,e): (u8,u8,u8) = (1u8,2u8,3u8);\n | ^^^^^\nError [ETYC0372003]: Expected type `(u8,u8,u8)` but type `u8` was found\n --> compiler-test:7:36\n |\n 7 | let (g,h,i): (u8,u8,u8) = (1u8);\n | ^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372072]: Expected a tuple with 2 elements, found one with 3 elements + --> compiler-test:5:13 + | + 5 | let (a,b,c): (u8,u8) = (2u8,3u8); + | ^^^^^^^ +Error [ETYC0372072]: Expected a tuple with 3 elements, found one with 2 elements + --> compiler-test:6:13 + | + 6 | let (d,e): (u8,u8,u8) = (1u8,2u8,3u8); + | ^^^^^ +Error [ETYC0372003]: Expected type `(u8,u8,u8)` but type `u8` was found + --> compiler-test:7:36 + | + 7 | let (g,h,i): (u8,u8,u8) = (1u8); + | ^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/definition/out_of_order.out b/tests/expectations/compiler/definition/out_of_order.out index ef9df44e97..dd10c5e71f 100644 --- a/tests/expectations/compiler/definition/out_of_order.out +++ b/tests/expectations/compiler/definition/out_of_order.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fc27e2b6b327830d96496a91c49dd8a351672ebfed6cfab0134e605c0de01f9f - type_checked_symbol_table: 39e38360d043dd0691d4f117a6e15c195407035176fc8232da4ba2e9294030d6 - unrolled_symbol_table: 39e38360d043dd0691d4f117a6e15c195407035176fc8232da4ba2e9294030d6 - initial_ast: 1f99cbc9c0bf97d59f1c238db48b07bfb39072293aa7b4b1ead368df9386787f - unrolled_ast: 1f99cbc9c0bf97d59f1c238db48b07bfb39072293aa7b4b1ead368df9386787f - ssa_ast: d9cfa3728a487290adc8277c6ddbce93dcac9f06a813db19b70b4dd7b8397b38 - flattened_ast: 39c279ed4ffab274e956906db08bc6226ea4c767930868700955d9ef59ce53fa - destructured_ast: 05f6f17eb8d3d5001a98505eceaf7693013a61a0f34e517f2f89810af2d9e230 - inlined_ast: 05f6f17eb8d3d5001a98505eceaf7693013a61a0f34e517f2f89810af2d9e230 - dce_ast: 05f6f17eb8d3d5001a98505eceaf7693013a61a0f34e517f2f89810af2d9e230 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fc27e2b6b327830d96496a91c49dd8a351672ebfed6cfab0134e605c0de01f9f", type_checked_symbol_table = "39e38360d043dd0691d4f117a6e15c195407035176fc8232da4ba2e9294030d6", unrolled_symbol_table = "39e38360d043dd0691d4f117a6e15c195407035176fc8232da4ba2e9294030d6", initial_ast = "1f99cbc9c0bf97d59f1c238db48b07bfb39072293aa7b4b1ead368df9386787f", unrolled_ast = "1f99cbc9c0bf97d59f1c238db48b07bfb39072293aa7b4b1ead368df9386787f", ssa_ast = "d9cfa3728a487290adc8277c6ddbce93dcac9f06a813db19b70b4dd7b8397b38", flattened_ast = "39c279ed4ffab274e956906db08bc6226ea4c767930868700955d9ef59ce53fa", destructured_ast = "05f6f17eb8d3d5001a98505eceaf7693013a61a0f34e517f2f89810af2d9e230", inlined_ast = "05f6f17eb8d3d5001a98505eceaf7693013a61a0f34e517f2f89810af2d9e230", dce_ast = "05f6f17eb8d3d5001a98505eceaf7693013a61a0f34e517f2f89810af2d9e230", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/definition/tuple_def_fail.out b/tests/expectations/compiler/definition/tuple_def_fail.out index 8ba333dbf7..de22b1fa12 100644 --- a/tests/expectations/compiler/definition/tuple_def_fail.out +++ b/tests/expectations/compiler/definition/tuple_def_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372054]: Tuples on the left-hand side of a `DefinitionStatement` can only contain identifiers.\n --> compiler-test:5:14\n |\n 5 | let (1u8+1u8,1u8+1u8): (u8,u8) = (1u8,2u8);\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372054]: Tuples on the left-hand side of a `DefinitionStatement` can only contain identifiers. + --> compiler-test:5:14 + | + 5 | let (1u8+1u8,1u8+1u8): (u8,u8) = (1u8,2u8); + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/definition/use_decl_variable_as_assign_fail.out b/tests/expectations/compiler/definition/use_decl_variable_as_assign_fail.out index f45cbd5fb1..db7683fa5d 100644 --- a/tests/expectations/compiler/definition/use_decl_variable_as_assign_fail.out +++ b/tests/expectations/compiler/definition/use_decl_variable_as_assign_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `b`\n --> compiler-test:5:18\n |\n 5 | \tlet b: u8 = b;\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `b` + --> compiler-test:5:18 + | + 5 | \tlet b: u8 = b; + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/examples/auction.out b/tests/expectations/compiler/examples/auction.out index 76833dcb7a..da1bc882b8 100644 --- a/tests/expectations/compiler/examples/auction.out +++ b/tests/expectations/compiler/examples/auction.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e62c1b7c10399ecc5c160520319218d96b599b5cfd37add3032a8455552c7892 - type_checked_symbol_table: 6b8247d514ab06d72b92f94ada2a29c109fdb033decdc417a95ba371a2323fcb - unrolled_symbol_table: 6b8247d514ab06d72b92f94ada2a29c109fdb033decdc417a95ba371a2323fcb - initial_ast: 2939c07bf811d0a110e3f4d41ce08332be4a6938213330fcda20502369155023 - unrolled_ast: 2939c07bf811d0a110e3f4d41ce08332be4a6938213330fcda20502369155023 - ssa_ast: 5b011875455c2efbb3c222c91b40f049ca074e3b21685e27bfff6ecf50359ecf - flattened_ast: 71235c2f490ba2f1d7cabccec771d68078a8313fa2ecbdb3a17e88410132bde4 - destructured_ast: 236729b9a950bec2251d0ea55cc078f41437cdbd16beb05fa2910fbe6f671182 - inlined_ast: 236729b9a950bec2251d0ea55cc078f41437cdbd16beb05fa2910fbe6f671182 - dce_ast: 7477da18c60adbb27b8213fae81aea20b3a4efaf8e42369c468eb8cc1c8b5932 - bytecode: ae52309998de7e291d82e92418fdbf583b182ce12e710e844550132d8743380e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e62c1b7c10399ecc5c160520319218d96b599b5cfd37add3032a8455552c7892", type_checked_symbol_table = "6b8247d514ab06d72b92f94ada2a29c109fdb033decdc417a95ba371a2323fcb", unrolled_symbol_table = "6b8247d514ab06d72b92f94ada2a29c109fdb033decdc417a95ba371a2323fcb", initial_ast = "2939c07bf811d0a110e3f4d41ce08332be4a6938213330fcda20502369155023", unrolled_ast = "2939c07bf811d0a110e3f4d41ce08332be4a6938213330fcda20502369155023", ssa_ast = "5b011875455c2efbb3c222c91b40f049ca074e3b21685e27bfff6ecf50359ecf", flattened_ast = "71235c2f490ba2f1d7cabccec771d68078a8313fa2ecbdb3a17e88410132bde4", destructured_ast = "236729b9a950bec2251d0ea55cc078f41437cdbd16beb05fa2910fbe6f671182", inlined_ast = "236729b9a950bec2251d0ea55cc078f41437cdbd16beb05fa2910fbe6f671182", dce_ast = "7477da18c60adbb27b8213fae81aea20b3a4efaf8e42369c468eb8cc1c8b5932", bytecode = "ae52309998de7e291d82e92418fdbf583b182ce12e710e844550132d8743380e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/basic_bank.out b/tests/expectations/compiler/examples/basic_bank.out index 71ea673baa..4f2c1d2174 100644 --- a/tests/expectations/compiler/examples/basic_bank.out +++ b/tests/expectations/compiler/examples/basic_bank.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: abe61054ca9df211b12060173d3acc1cd94d7dd48e1bd907b9e1aa15b92c93d9 - type_checked_symbol_table: 945b5379ae48537f8fadbaf30876c78885d39f7cfa795e756bc6b4f016e4ecc1 - unrolled_symbol_table: 0bbd5894a5358013b410a8f8e7af0cc454314f6ec92f369be24f257d59ded394 - initial_ast: 75dcf9468ef37d52c5e5ec868637ba8d33c6476d76bce004c9c6ac4ec905e3ba - unrolled_ast: 112fcc76097784bf2a7d01e5588b7ee7a1ccfa74eea5f0f16c2a91efcbea13fd - ssa_ast: 566b51d62d9ccd2c7d180c63640e9b6aad68d9f3f380c350985417bd820305bc - flattened_ast: 826db74250d660f581a5b868dfd69c093472c194cd174c7a2b3df7d062b820be - destructured_ast: 0724b0d8e232c379b198d1d00453e70ba260eab0477d934f85d0543dd0d8caf6 - inlined_ast: 35356c074003b4bf9673a83428041bf5fbc04d8ea0ca06250362834dfdc6693b - dce_ast: 3d405275856db1a0f883660bbbc9e0cff7210228856ad27d250ee560d166d545 - bytecode: 0667a154749e9675b6d20ccc3d01e17a19b6f770629aef1640a1e14d375a6e5c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "abe61054ca9df211b12060173d3acc1cd94d7dd48e1bd907b9e1aa15b92c93d9", type_checked_symbol_table = "945b5379ae48537f8fadbaf30876c78885d39f7cfa795e756bc6b4f016e4ecc1", unrolled_symbol_table = "0bbd5894a5358013b410a8f8e7af0cc454314f6ec92f369be24f257d59ded394", initial_ast = "75dcf9468ef37d52c5e5ec868637ba8d33c6476d76bce004c9c6ac4ec905e3ba", unrolled_ast = "112fcc76097784bf2a7d01e5588b7ee7a1ccfa74eea5f0f16c2a91efcbea13fd", ssa_ast = "566b51d62d9ccd2c7d180c63640e9b6aad68d9f3f380c350985417bd820305bc", flattened_ast = "826db74250d660f581a5b868dfd69c093472c194cd174c7a2b3df7d062b820be", destructured_ast = "0724b0d8e232c379b198d1d00453e70ba260eab0477d934f85d0543dd0d8caf6", inlined_ast = "35356c074003b4bf9673a83428041bf5fbc04d8ea0ca06250362834dfdc6693b", dce_ast = "3d405275856db1a0f883660bbbc9e0cff7210228856ad27d250ee560d166d545", bytecode = "0667a154749e9675b6d20ccc3d01e17a19b6f770629aef1640a1e14d375a6e5c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/board.out b/tests/expectations/compiler/examples/board.out index 08069b3d92..dacd0b844f 100644 --- a/tests/expectations/compiler/examples/board.out +++ b/tests/expectations/compiler/examples/board.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 480e3d1e1fdc4718c7f2a8a0b7a6b1a7f2243b74b49855f5468f1dc425fee8e7 - type_checked_symbol_table: d916e4ab2c45e95fb1da32e78d7bb089f2a38e09afc0a19d9249d659110bdff3 - unrolled_symbol_table: d916e4ab2c45e95fb1da32e78d7bb089f2a38e09afc0a19d9249d659110bdff3 - initial_ast: b0e1262b9d03522d0707dc941c7a4c8d7456a39c40b1b1b1e871211bbf523341 - unrolled_ast: acb9cb4c6e1c851516357aa55867049913fbd4b551fab4722e83ab4de82f5ba8 - ssa_ast: f137e104bbb7d7a0559a7266ffcddaa9a973d8111d9c37405ab4a27a8aa0ac9e - flattened_ast: a45aaac9032646f13fdf858730d4d6b0f6c6d3af8e9febb654a847542a07b4a8 - destructured_ast: 28b9eba3d18205fe1f17db1cb43bbf9fd9fbe58a09c85c7b5d777d6b8ea80769 - inlined_ast: 28b9eba3d18205fe1f17db1cb43bbf9fd9fbe58a09c85c7b5d777d6b8ea80769 - dce_ast: 28b9eba3d18205fe1f17db1cb43bbf9fd9fbe58a09c85c7b5d777d6b8ea80769 - bytecode: aefb5e5a0f121ad8132981b01cc28fb487f749faf8306b7dc9d1b6c3400af180 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "480e3d1e1fdc4718c7f2a8a0b7a6b1a7f2243b74b49855f5468f1dc425fee8e7", type_checked_symbol_table = "d916e4ab2c45e95fb1da32e78d7bb089f2a38e09afc0a19d9249d659110bdff3", unrolled_symbol_table = "d916e4ab2c45e95fb1da32e78d7bb089f2a38e09afc0a19d9249d659110bdff3", initial_ast = "b0e1262b9d03522d0707dc941c7a4c8d7456a39c40b1b1b1e871211bbf523341", unrolled_ast = "acb9cb4c6e1c851516357aa55867049913fbd4b551fab4722e83ab4de82f5ba8", ssa_ast = "f137e104bbb7d7a0559a7266ffcddaa9a973d8111d9c37405ab4a27a8aa0ac9e", flattened_ast = "a45aaac9032646f13fdf858730d4d6b0f6c6d3af8e9febb654a847542a07b4a8", destructured_ast = "28b9eba3d18205fe1f17db1cb43bbf9fd9fbe58a09c85c7b5d777d6b8ea80769", inlined_ast = "28b9eba3d18205fe1f17db1cb43bbf9fd9fbe58a09c85c7b5d777d6b8ea80769", dce_ast = "28b9eba3d18205fe1f17db1cb43bbf9fd9fbe58a09c85c7b5d777d6b8ea80769", bytecode = "aefb5e5a0f121ad8132981b01cc28fb487f749faf8306b7dc9d1b6c3400af180", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/bubblesort.out b/tests/expectations/compiler/examples/bubblesort.out index 10b952bd3e..c51e092d12 100644 --- a/tests/expectations/compiler/examples/bubblesort.out +++ b/tests/expectations/compiler/examples/bubblesort.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 86005cad24ea94a26f04e7899c160ea7ad8f4ebd1e66a17b5c3c07d584fd4e20 - type_checked_symbol_table: 1369f084c26ee96ae4e7b24f1b1a30e1474e25c854d15a0f80a00dada642c9a4 - unrolled_symbol_table: 1369f084c26ee96ae4e7b24f1b1a30e1474e25c854d15a0f80a00dada642c9a4 - initial_ast: 842ee5a0eccd43fb573d43ebc4e48954fccfdc53654b4b668ada246b2bec547c - unrolled_ast: 842ee5a0eccd43fb573d43ebc4e48954fccfdc53654b4b668ada246b2bec547c - ssa_ast: 6fb2f6a9338c3803b53aebe423e1af4fc412b3b26544a697162aa7224c367b1a - flattened_ast: 81de1e35492ac630873b36da8e2e79ca97dea43075d2012a40d6e955a136a372 - destructured_ast: 96b7297c2564ed6f1cefcd66495d77b1ad8d59522050832058014169abe0ec35 - inlined_ast: 96b7297c2564ed6f1cefcd66495d77b1ad8d59522050832058014169abe0ec35 - dce_ast: 55779acb30ca29bcc70005552ff91b6a71361fbe942b97c0cc6e97de16ff3833 - bytecode: 5adbf2387ed6209b64c8248741f74929f524771803ef803d5d9f9f8fb0d66ee7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "86005cad24ea94a26f04e7899c160ea7ad8f4ebd1e66a17b5c3c07d584fd4e20", type_checked_symbol_table = "1369f084c26ee96ae4e7b24f1b1a30e1474e25c854d15a0f80a00dada642c9a4", unrolled_symbol_table = "1369f084c26ee96ae4e7b24f1b1a30e1474e25c854d15a0f80a00dada642c9a4", initial_ast = "842ee5a0eccd43fb573d43ebc4e48954fccfdc53654b4b668ada246b2bec547c", unrolled_ast = "842ee5a0eccd43fb573d43ebc4e48954fccfdc53654b4b668ada246b2bec547c", ssa_ast = "6fb2f6a9338c3803b53aebe423e1af4fc412b3b26544a697162aa7224c367b1a", flattened_ast = "81de1e35492ac630873b36da8e2e79ca97dea43075d2012a40d6e955a136a372", destructured_ast = "96b7297c2564ed6f1cefcd66495d77b1ad8d59522050832058014169abe0ec35", inlined_ast = "96b7297c2564ed6f1cefcd66495d77b1ad8d59522050832058014169abe0ec35", dce_ast = "55779acb30ca29bcc70005552ff91b6a71361fbe942b97c0cc6e97de16ff3833", bytecode = "5adbf2387ed6209b64c8248741f74929f524771803ef803d5d9f9f8fb0d66ee7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/core.out b/tests/expectations/compiler/examples/core.out index 2f9d203a39..812b143823 100644 --- a/tests/expectations/compiler/examples/core.out +++ b/tests/expectations/compiler/examples/core.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 575ce8a19c2b813627230838e18350893a94f5d6ab66094b4d6c3660c6e28232 - type_checked_symbol_table: 18ebf011841c87524cfd93bbc75503e378259f81955ef85ce11bed18ad6a217e - unrolled_symbol_table: 18ebf011841c87524cfd93bbc75503e378259f81955ef85ce11bed18ad6a217e - initial_ast: 7f9fada9ca295143eca1d3b8aefde1e5d5da98b13121546c51ecdaea7f9a8ea9 - unrolled_ast: 7f9fada9ca295143eca1d3b8aefde1e5d5da98b13121546c51ecdaea7f9a8ea9 - ssa_ast: de8d706b659a8a9cf0f0efea821eb9860f4841f4bf733fa6a82dd83b68f2e231 - flattened_ast: d3d94d8552e2d9376bfc467593b541d969298d389399dd94ad5e807e053c29ff - destructured_ast: 73201be5c9593545b343af6475479b6ccb1c5db619508de531f3a65c2cd5a804 - inlined_ast: 73201be5c9593545b343af6475479b6ccb1c5db619508de531f3a65c2cd5a804 - dce_ast: 73201be5c9593545b343af6475479b6ccb1c5db619508de531f3a65c2cd5a804 - bytecode: b83219a26865ebfabc32ab427527151e26f2ca352b2dcc09e37069e38a102eb5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "575ce8a19c2b813627230838e18350893a94f5d6ab66094b4d6c3660c6e28232", type_checked_symbol_table = "18ebf011841c87524cfd93bbc75503e378259f81955ef85ce11bed18ad6a217e", unrolled_symbol_table = "18ebf011841c87524cfd93bbc75503e378259f81955ef85ce11bed18ad6a217e", initial_ast = "7f9fada9ca295143eca1d3b8aefde1e5d5da98b13121546c51ecdaea7f9a8ea9", unrolled_ast = "7f9fada9ca295143eca1d3b8aefde1e5d5da98b13121546c51ecdaea7f9a8ea9", ssa_ast = "de8d706b659a8a9cf0f0efea821eb9860f4841f4bf733fa6a82dd83b68f2e231", flattened_ast = "d3d94d8552e2d9376bfc467593b541d969298d389399dd94ad5e807e053c29ff", destructured_ast = "73201be5c9593545b343af6475479b6ccb1c5db619508de531f3a65c2cd5a804", inlined_ast = "73201be5c9593545b343af6475479b6ccb1c5db619508de531f3a65c2cd5a804", dce_ast = "73201be5c9593545b343af6475479b6ccb1c5db619508de531f3a65c2cd5a804", bytecode = "b83219a26865ebfabc32ab427527151e26f2ca352b2dcc09e37069e38a102eb5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/fibonacci.out b/tests/expectations/compiler/examples/fibonacci.out index e2e34c7ba1..c31320e9d1 100644 --- a/tests/expectations/compiler/examples/fibonacci.out +++ b/tests/expectations/compiler/examples/fibonacci.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 80b1ae8ee7b8ea388920b242c07b6816935885ed748325c60b3afb95a71add6f - type_checked_symbol_table: 6e9123ba734807f5ab8b200b3dc9d86df02ee8e5c1a8ed66faa4036f2f6fa0f2 - unrolled_symbol_table: c8e79efffc2386a8334ae7baf2dc795b3574ae9de2b93587dc8e2f3cd1cb7071 - initial_ast: 117744a82db2c8ec3103bbc81dc52488131bafd739a4cf2b9ece1cd09072e0f8 - unrolled_ast: 4ff38e507b622be9ca6bb5a99cf9f4ca665d666058da015640a55504dc1ff3bb - ssa_ast: 7612101f61d801d5d33efc0715b45610875440a3aa9f962d4104b7fe5019bc44 - flattened_ast: d47b4157f2a9861a15285f4e187f52d80af53ec0754d0e5e77617c64d7734c04 - destructured_ast: 8ac6a4382d33c5fe9a949255abc98f01d0383c013e34fe6ff1e3ea7e06f10b9d - inlined_ast: 3cd1084bb56f086d95fc230e24b314fbacad1a491f0e6d9c1ff738edeb7ca79b - dce_ast: 587165ece35585c3ae6966b1dbe9729d21f694586d655ce3771e28bc37be30e4 - bytecode: 3b90abd4333a964993382d9f47ba381cdd732a342f8b28828b99870c6dfafffc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "80b1ae8ee7b8ea388920b242c07b6816935885ed748325c60b3afb95a71add6f", type_checked_symbol_table = "6e9123ba734807f5ab8b200b3dc9d86df02ee8e5c1a8ed66faa4036f2f6fa0f2", unrolled_symbol_table = "c8e79efffc2386a8334ae7baf2dc795b3574ae9de2b93587dc8e2f3cd1cb7071", initial_ast = "117744a82db2c8ec3103bbc81dc52488131bafd739a4cf2b9ece1cd09072e0f8", unrolled_ast = "4ff38e507b622be9ca6bb5a99cf9f4ca665d666058da015640a55504dc1ff3bb", ssa_ast = "7612101f61d801d5d33efc0715b45610875440a3aa9f962d4104b7fe5019bc44", flattened_ast = "d47b4157f2a9861a15285f4e187f52d80af53ec0754d0e5e77617c64d7734c04", destructured_ast = "8ac6a4382d33c5fe9a949255abc98f01d0383c013e34fe6ff1e3ea7e06f10b9d", inlined_ast = "3cd1084bb56f086d95fc230e24b314fbacad1a491f0e6d9c1ff738edeb7ca79b", dce_ast = "587165ece35585c3ae6966b1dbe9729d21f694586d655ce3771e28bc37be30e4", bytecode = "3b90abd4333a964993382d9f47ba381cdd732a342f8b28828b99870c6dfafffc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/groups.out b/tests/expectations/compiler/examples/groups.out index e9634ef6d1..0c57b71f00 100644 --- a/tests/expectations/compiler/examples/groups.out +++ b/tests/expectations/compiler/examples/groups.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 474baddce283d718e76c14540fa1c6ed2680b6a16dcc5985080d0e794a308e28 - type_checked_symbol_table: 7a905f0ca2e8163c767ef8c55b366beeb095daad670f1c44745818415b03d526 - unrolled_symbol_table: 7a905f0ca2e8163c767ef8c55b366beeb095daad670f1c44745818415b03d526 - initial_ast: 316f17e78314ccc21c70c33178f93e42e621b2e5e18effd0e1232eaf45af5483 - unrolled_ast: 316f17e78314ccc21c70c33178f93e42e621b2e5e18effd0e1232eaf45af5483 - ssa_ast: 3783e557ca3b7a8c1f5d8898aed657bbf324dc033d589f50246291cd58cca4f8 - flattened_ast: 24d23642f9b573e9d0f5a8db8c737cfaf08acb0b9ed87a43eacc487ec8059ebf - destructured_ast: 97af2e8aa5d1782eb7acc421724e65c4fd43e2fea7a9dec7c334a38daf4c0668 - inlined_ast: 97af2e8aa5d1782eb7acc421724e65c4fd43e2fea7a9dec7c334a38daf4c0668 - dce_ast: 97af2e8aa5d1782eb7acc421724e65c4fd43e2fea7a9dec7c334a38daf4c0668 - bytecode: 45196976b60c465ad542b11fe200c16d15959a4bf4d4a48f348aab42df3407ef - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "474baddce283d718e76c14540fa1c6ed2680b6a16dcc5985080d0e794a308e28", type_checked_symbol_table = "7a905f0ca2e8163c767ef8c55b366beeb095daad670f1c44745818415b03d526", unrolled_symbol_table = "7a905f0ca2e8163c767ef8c55b366beeb095daad670f1c44745818415b03d526", initial_ast = "316f17e78314ccc21c70c33178f93e42e621b2e5e18effd0e1232eaf45af5483", unrolled_ast = "316f17e78314ccc21c70c33178f93e42e621b2e5e18effd0e1232eaf45af5483", ssa_ast = "3783e557ca3b7a8c1f5d8898aed657bbf324dc033d589f50246291cd58cca4f8", flattened_ast = "24d23642f9b573e9d0f5a8db8c737cfaf08acb0b9ed87a43eacc487ec8059ebf", destructured_ast = "97af2e8aa5d1782eb7acc421724e65c4fd43e2fea7a9dec7c334a38daf4c0668", inlined_ast = "97af2e8aa5d1782eb7acc421724e65c4fd43e2fea7a9dec7c334a38daf4c0668", dce_ast = "97af2e8aa5d1782eb7acc421724e65c4fd43e2fea7a9dec7c334a38daf4c0668", bytecode = "45196976b60c465ad542b11fe200c16d15959a4bf4d4a48f348aab42df3407ef", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/helloworld.out b/tests/expectations/compiler/examples/helloworld.out index 46c4d40c09..e4a4da7097 100644 --- a/tests/expectations/compiler/examples/helloworld.out +++ b/tests/expectations/compiler/examples/helloworld.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 11632005d1a50ace95c8b03b3326464a60789372ed56db8230721e0eda978369 - type_checked_symbol_table: 728cf5a8703f19bfb15e12d734b476c023a0d4abf0c17308776875831ae0e43c - unrolled_symbol_table: 728cf5a8703f19bfb15e12d734b476c023a0d4abf0c17308776875831ae0e43c - initial_ast: 434ef9a5ee7c108360fcf7854bf5de2a4e505d9b479baa0ad47bdfb4a267c1ca - unrolled_ast: 434ef9a5ee7c108360fcf7854bf5de2a4e505d9b479baa0ad47bdfb4a267c1ca - ssa_ast: 2a1e6870204db46830cd60aafe3f0493dcdaefe2f44517b0e5101f208b5ee418 - flattened_ast: 2a857f4293e1ace7b441bb8b5b29c6e6d81b2f756bb959edfda02d2f5d9a3ec5 - destructured_ast: c623597181c5a298da7db31bc23ab7f969493cbc1691a151569b77b123b23879 - inlined_ast: c623597181c5a298da7db31bc23ab7f969493cbc1691a151569b77b123b23879 - dce_ast: c623597181c5a298da7db31bc23ab7f969493cbc1691a151569b77b123b23879 - bytecode: 774672545059d524d17b2709ca4d2f66dcc7fca13c4199ff8b5bf4a03d4d6c6a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "11632005d1a50ace95c8b03b3326464a60789372ed56db8230721e0eda978369", type_checked_symbol_table = "728cf5a8703f19bfb15e12d734b476c023a0d4abf0c17308776875831ae0e43c", unrolled_symbol_table = "728cf5a8703f19bfb15e12d734b476c023a0d4abf0c17308776875831ae0e43c", initial_ast = "434ef9a5ee7c108360fcf7854bf5de2a4e505d9b479baa0ad47bdfb4a267c1ca", unrolled_ast = "434ef9a5ee7c108360fcf7854bf5de2a4e505d9b479baa0ad47bdfb4a267c1ca", ssa_ast = "2a1e6870204db46830cd60aafe3f0493dcdaefe2f44517b0e5101f208b5ee418", flattened_ast = "2a857f4293e1ace7b441bb8b5b29c6e6d81b2f756bb959edfda02d2f5d9a3ec5", destructured_ast = "c623597181c5a298da7db31bc23ab7f969493cbc1691a151569b77b123b23879", inlined_ast = "c623597181c5a298da7db31bc23ab7f969493cbc1691a151569b77b123b23879", dce_ast = "c623597181c5a298da7db31bc23ab7f969493cbc1691a151569b77b123b23879", bytecode = "774672545059d524d17b2709ca4d2f66dcc7fca13c4199ff8b5bf4a03d4d6c6a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/interest.out b/tests/expectations/compiler/examples/interest.out index 02e6ff6616..1b989b5a00 100644 --- a/tests/expectations/compiler/examples/interest.out +++ b/tests/expectations/compiler/examples/interest.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9ed8ddc414de14aa10e3f0d862d9f101ce8a472451241caacc3b4a4c967c8223 - type_checked_symbol_table: 38fb35075c02084a5f99b0eaa67882db5023baa113a64083fdaacacee53113d2 - unrolled_symbol_table: 525ecb80847f768aed5ceca6d41ef082bea32cb88296e5fc70dfda9918c7dc03 - initial_ast: 86a0d996309dda9eb9d5d8d1dd58275a442e24a4296e7761207f85ebc97b1ba1 - unrolled_ast: 7cd8c0c472ab06fcbdf994754d6aa6007aca23c2427dccfb3fdb0173c4bc95d8 - ssa_ast: 9a7fef0e85d398f0d68b96db691007849eef4927d6f7f3873a7e8a581a927294 - flattened_ast: 3db995c5d3741a2ca2b3231c6e7f0f1d9ae3cbfe843790b260835705a94f14f3 - destructured_ast: 917db53bdfa8bbecb8349f40a5dd9c4bfb549bb6cd4aec4a4c5fe7618f298cee - inlined_ast: 917db53bdfa8bbecb8349f40a5dd9c4bfb549bb6cd4aec4a4c5fe7618f298cee - dce_ast: 77e67cbbd94cf794f3e0a5254d94d9288533727f23c33882d43bbbbc74b513e0 - bytecode: 1425e7c87a38072c342ef9505090c0b039663ac1c5ce41632f999b376c81d348 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9ed8ddc414de14aa10e3f0d862d9f101ce8a472451241caacc3b4a4c967c8223", type_checked_symbol_table = "38fb35075c02084a5f99b0eaa67882db5023baa113a64083fdaacacee53113d2", unrolled_symbol_table = "525ecb80847f768aed5ceca6d41ef082bea32cb88296e5fc70dfda9918c7dc03", initial_ast = "86a0d996309dda9eb9d5d8d1dd58275a442e24a4296e7761207f85ebc97b1ba1", unrolled_ast = "7cd8c0c472ab06fcbdf994754d6aa6007aca23c2427dccfb3fdb0173c4bc95d8", ssa_ast = "9a7fef0e85d398f0d68b96db691007849eef4927d6f7f3873a7e8a581a927294", flattened_ast = "3db995c5d3741a2ca2b3231c6e7f0f1d9ae3cbfe843790b260835705a94f14f3", destructured_ast = "917db53bdfa8bbecb8349f40a5dd9c4bfb549bb6cd4aec4a4c5fe7618f298cee", inlined_ast = "917db53bdfa8bbecb8349f40a5dd9c4bfb549bb6cd4aec4a4c5fe7618f298cee", dce_ast = "77e67cbbd94cf794f3e0a5254d94d9288533727f23c33882d43bbbbc74b513e0", bytecode = "1425e7c87a38072c342ef9505090c0b039663ac1c5ce41632f999b376c81d348", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/lottery.out b/tests/expectations/compiler/examples/lottery.out index 1c6df9c866..96899646ab 100644 --- a/tests/expectations/compiler/examples/lottery.out +++ b/tests/expectations/compiler/examples/lottery.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: de199bdd9ae2c78e94fa54ed8e8baf87c9537e41de5026ab0d14f53b83aacdb0 - type_checked_symbol_table: eb4dd79e5f9dc3a1743543cf2115709402096e611f33fa03ea993cdef8bc2ca7 - unrolled_symbol_table: eb4dd79e5f9dc3a1743543cf2115709402096e611f33fa03ea993cdef8bc2ca7 - initial_ast: 73d93c0436d1f4d002aa332cd43a87a01b55b42159d6495575306c25046267c4 - unrolled_ast: 73d93c0436d1f4d002aa332cd43a87a01b55b42159d6495575306c25046267c4 - ssa_ast: acd509aa91092052b0da10bf0cdf5f735abf19cd6eb36c8fa81bc76e81e9ae22 - flattened_ast: d3658d88011d718cf081dc6bba7ae8af03fee2fa087304c5d8380a45df7906e6 - destructured_ast: 999d48666be8894ce006e9852315718a7f83cc950becbf190482fc18b9997dac - inlined_ast: 57d9676f2703db440cf5ed4100030689db993c8e84b445111844e8be24970960 - dce_ast: 57d9676f2703db440cf5ed4100030689db993c8e84b445111844e8be24970960 - bytecode: 5052b2b09a1510935d9fd84a968f73f9a57ba0a545d909951a4452b68e065ea4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "de199bdd9ae2c78e94fa54ed8e8baf87c9537e41de5026ab0d14f53b83aacdb0", type_checked_symbol_table = "eb4dd79e5f9dc3a1743543cf2115709402096e611f33fa03ea993cdef8bc2ca7", unrolled_symbol_table = "eb4dd79e5f9dc3a1743543cf2115709402096e611f33fa03ea993cdef8bc2ca7", initial_ast = "73d93c0436d1f4d002aa332cd43a87a01b55b42159d6495575306c25046267c4", unrolled_ast = "73d93c0436d1f4d002aa332cd43a87a01b55b42159d6495575306c25046267c4", ssa_ast = "acd509aa91092052b0da10bf0cdf5f735abf19cd6eb36c8fa81bc76e81e9ae22", flattened_ast = "d3658d88011d718cf081dc6bba7ae8af03fee2fa087304c5d8380a45df7906e6", destructured_ast = "999d48666be8894ce006e9852315718a7f83cc950becbf190482fc18b9997dac", inlined_ast = "57d9676f2703db440cf5ed4100030689db993c8e84b445111844e8be24970960", dce_ast = "57d9676f2703db440cf5ed4100030689db993c8e84b445111844e8be24970960", bytecode = "5052b2b09a1510935d9fd84a968f73f9a57ba0a545d909951a4452b68e065ea4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/message.out b/tests/expectations/compiler/examples/message.out index 2644b5f2d3..886fd7c01a 100644 --- a/tests/expectations/compiler/examples/message.out +++ b/tests/expectations/compiler/examples/message.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fb455f236aab153fd9f750766a9cf7e4c1d1918ff5b0f2a8d1ff649303753fcb - type_checked_symbol_table: 0bf394c4301d7959b38dbd32534372b12837f2323c5c231886b3446ad55e7e99 - unrolled_symbol_table: 0bf394c4301d7959b38dbd32534372b12837f2323c5c231886b3446ad55e7e99 - initial_ast: a4d7ed400ef99c9aed387a69ad03347749a65128a90c578f0a7410edaf27bfee - unrolled_ast: a4d7ed400ef99c9aed387a69ad03347749a65128a90c578f0a7410edaf27bfee - ssa_ast: 331ebd18ba6a6c3442c6e0ceae137ada6bc9e4596a9d72d742e2617e654c03a6 - flattened_ast: b6364e15a02c80b23bcb20a25b5994a8d34c03adb71994eace22c0343ec3ba76 - destructured_ast: 96a2bb89a5fcb1474e6ea44a4beabbe2414c132504e3f9bb3c2baf9b2140101f - inlined_ast: 96a2bb89a5fcb1474e6ea44a4beabbe2414c132504e3f9bb3c2baf9b2140101f - dce_ast: 96a2bb89a5fcb1474e6ea44a4beabbe2414c132504e3f9bb3c2baf9b2140101f - bytecode: ecb647f74261a2c1212405edf2024aed89ab5e3c19353127dacdc9e31ccaf0f1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fb455f236aab153fd9f750766a9cf7e4c1d1918ff5b0f2a8d1ff649303753fcb", type_checked_symbol_table = "0bf394c4301d7959b38dbd32534372b12837f2323c5c231886b3446ad55e7e99", unrolled_symbol_table = "0bf394c4301d7959b38dbd32534372b12837f2323c5c231886b3446ad55e7e99", initial_ast = "a4d7ed400ef99c9aed387a69ad03347749a65128a90c578f0a7410edaf27bfee", unrolled_ast = "a4d7ed400ef99c9aed387a69ad03347749a65128a90c578f0a7410edaf27bfee", ssa_ast = "331ebd18ba6a6c3442c6e0ceae137ada6bc9e4596a9d72d742e2617e654c03a6", flattened_ast = "b6364e15a02c80b23bcb20a25b5994a8d34c03adb71994eace22c0343ec3ba76", destructured_ast = "96a2bb89a5fcb1474e6ea44a4beabbe2414c132504e3f9bb3c2baf9b2140101f", inlined_ast = "96a2bb89a5fcb1474e6ea44a4beabbe2414c132504e3f9bb3c2baf9b2140101f", dce_ast = "96a2bb89a5fcb1474e6ea44a4beabbe2414c132504e3f9bb3c2baf9b2140101f", bytecode = "ecb647f74261a2c1212405edf2024aed89ab5e3c19353127dacdc9e31ccaf0f1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/move.out b/tests/expectations/compiler/examples/move.out index 73a9bc9197..7eaa2fe22a 100644 --- a/tests/expectations/compiler/examples/move.out +++ b/tests/expectations/compiler/examples/move.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3d9997e6053158f7417078040b0e807686d33f9b95d33cf1c074bd9562e8d9f2 - type_checked_symbol_table: ccfc94a41a9005689f8763b06abded5b70aff55cd5de737dcc4ba7b22f3d0eb1 - unrolled_symbol_table: ccfc94a41a9005689f8763b06abded5b70aff55cd5de737dcc4ba7b22f3d0eb1 - initial_ast: df1e83ca957224f18177bbb58afb309635ce7bafa88805bece080784aa59ad0b - unrolled_ast: dacb4f3c7a6a20250a488a034d9580439bae339b72752813b4339ff686c1ac89 - ssa_ast: dc71372b5e7bec8375e0cc8e1f1cf02f2cc1412c7c1dfa18efeb7a4b212fb544 - flattened_ast: 2e581db5670414963a26c9d11b581255053883e94ef6ad2ce4d7c961789c274d - destructured_ast: 0bb95d70f3d82f2d4bcbab48ae15539e4da50eedf57f931ef6fbf5eefdf13757 - inlined_ast: 0bb95d70f3d82f2d4bcbab48ae15539e4da50eedf57f931ef6fbf5eefdf13757 - dce_ast: 0bb95d70f3d82f2d4bcbab48ae15539e4da50eedf57f931ef6fbf5eefdf13757 - bytecode: 6ea0a455c7cc5f2bd868d5780a7735c599fb95c99157997d156dce175d6c6e94 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "3d9997e6053158f7417078040b0e807686d33f9b95d33cf1c074bd9562e8d9f2", type_checked_symbol_table = "ccfc94a41a9005689f8763b06abded5b70aff55cd5de737dcc4ba7b22f3d0eb1", unrolled_symbol_table = "ccfc94a41a9005689f8763b06abded5b70aff55cd5de737dcc4ba7b22f3d0eb1", initial_ast = "df1e83ca957224f18177bbb58afb309635ce7bafa88805bece080784aa59ad0b", unrolled_ast = "dacb4f3c7a6a20250a488a034d9580439bae339b72752813b4339ff686c1ac89", ssa_ast = "dc71372b5e7bec8375e0cc8e1f1cf02f2cc1412c7c1dfa18efeb7a4b212fb544", flattened_ast = "2e581db5670414963a26c9d11b581255053883e94ef6ad2ce4d7c961789c274d", destructured_ast = "0bb95d70f3d82f2d4bcbab48ae15539e4da50eedf57f931ef6fbf5eefdf13757", inlined_ast = "0bb95d70f3d82f2d4bcbab48ae15539e4da50eedf57f931ef6fbf5eefdf13757", dce_ast = "0bb95d70f3d82f2d4bcbab48ae15539e4da50eedf57f931ef6fbf5eefdf13757", bytecode = "6ea0a455c7cc5f2bd868d5780a7735c599fb95c99157997d156dce175d6c6e94", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzdebruijn.out b/tests/expectations/compiler/examples/ntzdebruijn.out index e9275facaa..3daa3d32e1 100644 --- a/tests/expectations/compiler/examples/ntzdebruijn.out +++ b/tests/expectations/compiler/examples/ntzdebruijn.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b930b577ec6de5c912f2f527aca1c3e2ce43e1f6aa9c35289024f706013abd14 - type_checked_symbol_table: 6753971f2ece5d78c158cd346873e57c33479609dcb2c7d9e0132ad87ab21d0e - unrolled_symbol_table: 6753971f2ece5d78c158cd346873e57c33479609dcb2c7d9e0132ad87ab21d0e - initial_ast: 776475d60a0722c4fc736391d9bac011ad55dc4c55373775641ab22b3dc62b02 - unrolled_ast: 776475d60a0722c4fc736391d9bac011ad55dc4c55373775641ab22b3dc62b02 - ssa_ast: 1e73d636efe1a323fee9e8160abcf25ffae1272bcdb5423a0faf8902cf8c1e71 - flattened_ast: f896de25ea535a63fcf3f58695b6c9d16fa7370e3301f17ec6eaa0bd839f716e - destructured_ast: b49a889ba314836db2ef9604dca88d72bfaed753ed03650858f48ad25e05130a - inlined_ast: 5ec704aab884c69f03f4fe424402e8988c3f40e068b5ab4f6af059f537867687 - dce_ast: 26a36139ea44188311968fbd4f832fb711b7f902834c812f79b4a013b8d874b9 - bytecode: 7db4daf8a8e45f9b9bd97d1f9cb4596f704f8e7451f3e1e5184983fd08e1b2b2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b930b577ec6de5c912f2f527aca1c3e2ce43e1f6aa9c35289024f706013abd14", type_checked_symbol_table = "6753971f2ece5d78c158cd346873e57c33479609dcb2c7d9e0132ad87ab21d0e", unrolled_symbol_table = "6753971f2ece5d78c158cd346873e57c33479609dcb2c7d9e0132ad87ab21d0e", initial_ast = "776475d60a0722c4fc736391d9bac011ad55dc4c55373775641ab22b3dc62b02", unrolled_ast = "776475d60a0722c4fc736391d9bac011ad55dc4c55373775641ab22b3dc62b02", ssa_ast = "1e73d636efe1a323fee9e8160abcf25ffae1272bcdb5423a0faf8902cf8c1e71", flattened_ast = "f896de25ea535a63fcf3f58695b6c9d16fa7370e3301f17ec6eaa0bd839f716e", destructured_ast = "b49a889ba314836db2ef9604dca88d72bfaed753ed03650858f48ad25e05130a", inlined_ast = "5ec704aab884c69f03f4fe424402e8988c3f40e068b5ab4f6af059f537867687", dce_ast = "26a36139ea44188311968fbd4f832fb711b7f902834c812f79b4a013b8d874b9", bytecode = "7db4daf8a8e45f9b9bd97d1f9cb4596f704f8e7451f3e1e5184983fd08e1b2b2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzgaudet.out b/tests/expectations/compiler/examples/ntzgaudet.out index 4bc990daf3..dedd2a8840 100644 --- a/tests/expectations/compiler/examples/ntzgaudet.out +++ b/tests/expectations/compiler/examples/ntzgaudet.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 76ec052c76fde2c4afa1f74c3d3643f6a949b79e6da100df5f3af04d535fb0c9 - type_checked_symbol_table: 4b450f957da50d251e6dfc8c38e07f47efb21fb21e32a8a870729502059e0965 - unrolled_symbol_table: 4b450f957da50d251e6dfc8c38e07f47efb21fb21e32a8a870729502059e0965 - initial_ast: 83640fdffb1fc68c2e4f6fbe89206d9cd4015000aacd9c9adbac45db9e475463 - unrolled_ast: 83640fdffb1fc68c2e4f6fbe89206d9cd4015000aacd9c9adbac45db9e475463 - ssa_ast: 29fccce8162b2878be034883b2eb18072bc479966069f7c781d52866683c67a1 - flattened_ast: 1d957aa0fca624c6396b128d899319831eb408515b234e849bd2d517e347b4d4 - destructured_ast: e0ef79cefa916d6070952a76351fbf3c5611b31b82907b2e5c17cf07e6c5cb7e - inlined_ast: e0ef79cefa916d6070952a76351fbf3c5611b31b82907b2e5c17cf07e6c5cb7e - dce_ast: e0ef79cefa916d6070952a76351fbf3c5611b31b82907b2e5c17cf07e6c5cb7e - bytecode: 5fd0ec18707f7e6af93b8eacd72590b4bfd68559dba48ab95574a0b44a0b3313 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "76ec052c76fde2c4afa1f74c3d3643f6a949b79e6da100df5f3af04d535fb0c9", type_checked_symbol_table = "4b450f957da50d251e6dfc8c38e07f47efb21fb21e32a8a870729502059e0965", unrolled_symbol_table = "4b450f957da50d251e6dfc8c38e07f47efb21fb21e32a8a870729502059e0965", initial_ast = "83640fdffb1fc68c2e4f6fbe89206d9cd4015000aacd9c9adbac45db9e475463", unrolled_ast = "83640fdffb1fc68c2e4f6fbe89206d9cd4015000aacd9c9adbac45db9e475463", ssa_ast = "29fccce8162b2878be034883b2eb18072bc479966069f7c781d52866683c67a1", flattened_ast = "1d957aa0fca624c6396b128d899319831eb408515b234e849bd2d517e347b4d4", destructured_ast = "e0ef79cefa916d6070952a76351fbf3c5611b31b82907b2e5c17cf07e6c5cb7e", inlined_ast = "e0ef79cefa916d6070952a76351fbf3c5611b31b82907b2e5c17cf07e6c5cb7e", dce_ast = "e0ef79cefa916d6070952a76351fbf3c5611b31b82907b2e5c17cf07e6c5cb7e", bytecode = "5fd0ec18707f7e6af93b8eacd72590b4bfd68559dba48ab95574a0b44a0b3313", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzloops.out b/tests/expectations/compiler/examples/ntzloops.out index 5a2a1f1fc7..4e8c9427f5 100644 --- a/tests/expectations/compiler/examples/ntzloops.out +++ b/tests/expectations/compiler/examples/ntzloops.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9dff67a7c8fe11726dabdd3e46bfde8428fa0b721a16e68666ef364610ae56ea - type_checked_symbol_table: c29f92316145afc961424e33fc71957604128a4c97f03750fb49a73f552ac27c - unrolled_symbol_table: 7b41e8912a857d2573d4ac81030de767704fbb1c5f288b3204cfdc407f593b4f - initial_ast: fddba4f56016625454f5d5da3fa81487ea9b30358b35269f8bf700976590cfb9 - unrolled_ast: 02947c30c03d6e87c8afedbfb9dca639248a1777bfb4b9265ee62eb6280b617e - ssa_ast: 108f90cd2f8b1a79ec0ae244985a9213392e72eeed6caa8ef41ba5950ab11ef9 - flattened_ast: 9e99b7bbde2469d636933a864ee61c8ca1e8a71b17eb7cc197fe709845aacaa9 - destructured_ast: 3c5267ed38b2f3dc229c0c529ba13ba55f99f6a7dc1bfdb9ec65336d661a119d - inlined_ast: 3c5267ed38b2f3dc229c0c529ba13ba55f99f6a7dc1bfdb9ec65336d661a119d - dce_ast: 6b12f22ea0ca1d517910600d0fd13260e0eb5198595b1c458a4032e992bd4672 - bytecode: cca4637103b23653c5a99744693068186bc6d89052df73b09c1601c7f85f0eed - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9dff67a7c8fe11726dabdd3e46bfde8428fa0b721a16e68666ef364610ae56ea", type_checked_symbol_table = "c29f92316145afc961424e33fc71957604128a4c97f03750fb49a73f552ac27c", unrolled_symbol_table = "7b41e8912a857d2573d4ac81030de767704fbb1c5f288b3204cfdc407f593b4f", initial_ast = "fddba4f56016625454f5d5da3fa81487ea9b30358b35269f8bf700976590cfb9", unrolled_ast = "02947c30c03d6e87c8afedbfb9dca639248a1777bfb4b9265ee62eb6280b617e", ssa_ast = "108f90cd2f8b1a79ec0ae244985a9213392e72eeed6caa8ef41ba5950ab11ef9", flattened_ast = "9e99b7bbde2469d636933a864ee61c8ca1e8a71b17eb7cc197fe709845aacaa9", destructured_ast = "3c5267ed38b2f3dc229c0c529ba13ba55f99f6a7dc1bfdb9ec65336d661a119d", inlined_ast = "3c5267ed38b2f3dc229c0c529ba13ba55f99f6a7dc1bfdb9ec65336d661a119d", dce_ast = "6b12f22ea0ca1d517910600d0fd13260e0eb5198595b1c458a4032e992bd4672", bytecode = "cca4637103b23653c5a99744693068186bc6d89052df73b09c1601c7f85f0eed", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzmasks.out b/tests/expectations/compiler/examples/ntzmasks.out index ccb95bcba2..f8543f36ed 100644 --- a/tests/expectations/compiler/examples/ntzmasks.out +++ b/tests/expectations/compiler/examples/ntzmasks.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9dff67a7c8fe11726dabdd3e46bfde8428fa0b721a16e68666ef364610ae56ea - type_checked_symbol_table: 3e24a527d7fec6b071ce9f95adf54d764fb6cfae4855f9352c83fe38dde09954 - unrolled_symbol_table: 3e24a527d7fec6b071ce9f95adf54d764fb6cfae4855f9352c83fe38dde09954 - initial_ast: a67863a460a9dee157b89df5fba6f8eb871bec487360c7bcbeab1504b335577a - unrolled_ast: a67863a460a9dee157b89df5fba6f8eb871bec487360c7bcbeab1504b335577a - ssa_ast: f1c6c8e9039d32e4d0d46e730f0b7ec29e63550c9c49a7d8d60b89179c744335 - flattened_ast: 5b3f202ab9f4b63e6e257c2b7d743a1c0721ddb7cdd4c8f6275a752dc2e9e842 - destructured_ast: 00ac5281bc036afd75ede2ba07a45632762959d1ec5efff61eb3316f0ba16d61 - inlined_ast: 00ac5281bc036afd75ede2ba07a45632762959d1ec5efff61eb3316f0ba16d61 - dce_ast: 4fe84b39c3e70d173a23c919d3affdda78e77dfc6037cba8b80ae1a204826c80 - bytecode: 9aba49a906bfc3f931cb314bd970e04dc8b74966ec2888efecc4f0f8795dc368 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9dff67a7c8fe11726dabdd3e46bfde8428fa0b721a16e68666ef364610ae56ea", type_checked_symbol_table = "3e24a527d7fec6b071ce9f95adf54d764fb6cfae4855f9352c83fe38dde09954", unrolled_symbol_table = "3e24a527d7fec6b071ce9f95adf54d764fb6cfae4855f9352c83fe38dde09954", initial_ast = "a67863a460a9dee157b89df5fba6f8eb871bec487360c7bcbeab1504b335577a", unrolled_ast = "a67863a460a9dee157b89df5fba6f8eb871bec487360c7bcbeab1504b335577a", ssa_ast = "f1c6c8e9039d32e4d0d46e730f0b7ec29e63550c9c49a7d8d60b89179c744335", flattened_ast = "5b3f202ab9f4b63e6e257c2b7d743a1c0721ddb7cdd4c8f6275a752dc2e9e842", destructured_ast = "00ac5281bc036afd75ede2ba07a45632762959d1ec5efff61eb3316f0ba16d61", inlined_ast = "00ac5281bc036afd75ede2ba07a45632762959d1ec5efff61eb3316f0ba16d61", dce_ast = "4fe84b39c3e70d173a23c919d3affdda78e77dfc6037cba8b80ae1a204826c80", bytecode = "9aba49a906bfc3f931cb314bd970e04dc8b74966ec2888efecc4f0f8795dc368", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzreisers.out b/tests/expectations/compiler/examples/ntzreisers.out index 58f5a84c24..cb5ca295d4 100644 --- a/tests/expectations/compiler/examples/ntzreisers.out +++ b/tests/expectations/compiler/examples/ntzreisers.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fe6582b9263c45c7e136548ec18514f5f08303e752df8be178ada8bd3efaa43a - type_checked_symbol_table: 89fd00e1312c30e9ca65746e5372a0516c3062b94273be4d0a1f731592a6d409 - unrolled_symbol_table: 89fd00e1312c30e9ca65746e5372a0516c3062b94273be4d0a1f731592a6d409 - initial_ast: cef0b29d345936f527e1a8acf6d33cbab795e5e3561b46703bf6529afbfd5325 - unrolled_ast: cef0b29d345936f527e1a8acf6d33cbab795e5e3561b46703bf6529afbfd5325 - ssa_ast: 30186fdf7cd60b3df1b6e55ff99ad7757cc3a1166c507fc8f16b9276f82f05aa - flattened_ast: 91c57b64e5de51c3759400c059f6887a2545378dfb5d4248bdaef87683d72cc5 - destructured_ast: 8107bbc5a44f1f35d9cd072d10216c191cec865f0edee9ae96e5dcf559b714fb - inlined_ast: 8cea84d58a68f8f5b4fd079d7dc6e4da038721b4e2f83460c623a9e9b70f871d - dce_ast: 349d6d5523fbcbe1b08c856cbafb72abb96438b9a3380f6c25cb45966945f39b - bytecode: 45f844324d2a7baffe9e2e141911951fccd971bb72c5b22cfe65eefe368652c4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fe6582b9263c45c7e136548ec18514f5f08303e752df8be178ada8bd3efaa43a", type_checked_symbol_table = "89fd00e1312c30e9ca65746e5372a0516c3062b94273be4d0a1f731592a6d409", unrolled_symbol_table = "89fd00e1312c30e9ca65746e5372a0516c3062b94273be4d0a1f731592a6d409", initial_ast = "cef0b29d345936f527e1a8acf6d33cbab795e5e3561b46703bf6529afbfd5325", unrolled_ast = "cef0b29d345936f527e1a8acf6d33cbab795e5e3561b46703bf6529afbfd5325", ssa_ast = "30186fdf7cd60b3df1b6e55ff99ad7757cc3a1166c507fc8f16b9276f82f05aa", flattened_ast = "91c57b64e5de51c3759400c059f6887a2545378dfb5d4248bdaef87683d72cc5", destructured_ast = "8107bbc5a44f1f35d9cd072d10216c191cec865f0edee9ae96e5dcf559b714fb", inlined_ast = "8cea84d58a68f8f5b4fd079d7dc6e4da038721b4e2f83460c623a9e9b70f871d", dce_ast = "349d6d5523fbcbe1b08c856cbafb72abb96438b9a3380f6c25cb45966945f39b", bytecode = "45f844324d2a7baffe9e2e141911951fccd971bb72c5b22cfe65eefe368652c4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzseals.out b/tests/expectations/compiler/examples/ntzseals.out index 07e49d0622..9756144b90 100644 --- a/tests/expectations/compiler/examples/ntzseals.out +++ b/tests/expectations/compiler/examples/ntzseals.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 55be9a7f26f8bd71befb12300e4ecd93c3b87a9c67140ca190d2c1e66a0a319e - type_checked_symbol_table: e59145d5bc1be95c9e6bb228dafcad15accffec379901264362f8a9d01725015 - unrolled_symbol_table: e59145d5bc1be95c9e6bb228dafcad15accffec379901264362f8a9d01725015 - initial_ast: 5055844ee4ce47add688b1260ccc956c789f6a9b03b25504a28c2fa5a9944724 - unrolled_ast: 5055844ee4ce47add688b1260ccc956c789f6a9b03b25504a28c2fa5a9944724 - ssa_ast: 8c698b44b29eb4c67ce4446ad66d53ebc87333d11f4e7acad23d488ae43e6353 - flattened_ast: 6b9b17fd68f818533002fa71e605e0e5693b32b6e9b57258da156d12add0ebfe - destructured_ast: ac574f67867653216e0ea0f60dff7b6676585f1fec7994be6df251721eef6eaa - inlined_ast: 8f599322efdea0ed835f8c9cb0006b3a7b9c984501bc6e8b9db3a908cb0cb31f - dce_ast: 2a2c6e970e680f5089732358493d1bc7bfe3e82c02c39f38b52a46ea2c16c634 - bytecode: 3a623138dc01e5cfc8c7ceca800921c338261d48ffbf4538ce9e21235b0cbdc7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "55be9a7f26f8bd71befb12300e4ecd93c3b87a9c67140ca190d2c1e66a0a319e", type_checked_symbol_table = "e59145d5bc1be95c9e6bb228dafcad15accffec379901264362f8a9d01725015", unrolled_symbol_table = "e59145d5bc1be95c9e6bb228dafcad15accffec379901264362f8a9d01725015", initial_ast = "5055844ee4ce47add688b1260ccc956c789f6a9b03b25504a28c2fa5a9944724", unrolled_ast = "5055844ee4ce47add688b1260ccc956c789f6a9b03b25504a28c2fa5a9944724", ssa_ast = "8c698b44b29eb4c67ce4446ad66d53ebc87333d11f4e7acad23d488ae43e6353", flattened_ast = "6b9b17fd68f818533002fa71e605e0e5693b32b6e9b57258da156d12add0ebfe", destructured_ast = "ac574f67867653216e0ea0f60dff7b6676585f1fec7994be6df251721eef6eaa", inlined_ast = "8f599322efdea0ed835f8c9cb0006b3a7b9c984501bc6e8b9db3a908cb0cb31f", dce_ast = "2a2c6e970e680f5089732358493d1bc7bfe3e82c02c39f38b52a46ea2c16c634", bytecode = "3a623138dc01e5cfc8c7ceca800921c338261d48ffbf4538ce9e21235b0cbdc7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzsearchtree.out b/tests/expectations/compiler/examples/ntzsearchtree.out index 8e6512fd77..d1770f9b62 100644 --- a/tests/expectations/compiler/examples/ntzsearchtree.out +++ b/tests/expectations/compiler/examples/ntzsearchtree.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6d4128f767004e76e8281fa6a257c0513c8d8c48c96ae759718aff96a782502b - type_checked_symbol_table: ca8fdc648a235b01466e0aa6306ce0d663bc2caf3bacdace0653048f8ec65b38 - unrolled_symbol_table: ca8fdc648a235b01466e0aa6306ce0d663bc2caf3bacdace0653048f8ec65b38 - initial_ast: 22e5ae5968afbbe73a278a85fbbe7839c91f8a6ae8b2a2ebc47b0f7c27b7b32c - unrolled_ast: 22e5ae5968afbbe73a278a85fbbe7839c91f8a6ae8b2a2ebc47b0f7c27b7b32c - ssa_ast: 1d4d764ebef58dd5f4ffa0fec746dc14ac6511394399d099ef901774cb23e687 - flattened_ast: 22bf54b3fd741c5d4c7c41f0f029e3c5e3fe476dcb7a69b7f96e891a94cd7ab8 - destructured_ast: c8340275d74390e77c3fc70512a9cafaa704b2a9a05d3163e8617bc601e50026 - inlined_ast: c8340275d74390e77c3fc70512a9cafaa704b2a9a05d3163e8617bc601e50026 - dce_ast: 6afbd919c00857be865c40edd9079d02dd02d7051f568bfe45d1baccfc4b4bf7 - bytecode: 0f55fff9989f92de241c4d91c5ac9c347b96c89b9615fb7e570b1b0d0021d5c1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6d4128f767004e76e8281fa6a257c0513c8d8c48c96ae759718aff96a782502b", type_checked_symbol_table = "ca8fdc648a235b01466e0aa6306ce0d663bc2caf3bacdace0653048f8ec65b38", unrolled_symbol_table = "ca8fdc648a235b01466e0aa6306ce0d663bc2caf3bacdace0653048f8ec65b38", initial_ast = "22e5ae5968afbbe73a278a85fbbe7839c91f8a6ae8b2a2ebc47b0f7c27b7b32c", unrolled_ast = "22e5ae5968afbbe73a278a85fbbe7839c91f8a6ae8b2a2ebc47b0f7c27b7b32c", ssa_ast = "1d4d764ebef58dd5f4ffa0fec746dc14ac6511394399d099ef901774cb23e687", flattened_ast = "22bf54b3fd741c5d4c7c41f0f029e3c5e3fe476dcb7a69b7f96e891a94cd7ab8", destructured_ast = "c8340275d74390e77c3fc70512a9cafaa704b2a9a05d3163e8617bc601e50026", inlined_ast = "c8340275d74390e77c3fc70512a9cafaa704b2a9a05d3163e8617bc601e50026", dce_ast = "6afbd919c00857be865c40edd9079d02dd02d7051f568bfe45d1baccfc4b4bf7", bytecode = "0f55fff9989f92de241c4d91c5ac9c347b96c89b9615fb7e570b1b0d0021d5c1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/ntzsmallvals.out b/tests/expectations/compiler/examples/ntzsmallvals.out index 3b35487d14..94723a6617 100644 --- a/tests/expectations/compiler/examples/ntzsmallvals.out +++ b/tests/expectations/compiler/examples/ntzsmallvals.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: db910ee56fa8210ddc12ba5a771a89b5174899cb8cd17619f2d24075f15761c2 - type_checked_symbol_table: 3e11fe04a08e53641ed58553df037e53f2b54d6fe2a8b702853f974dba5f24ed - unrolled_symbol_table: 3e11fe04a08e53641ed58553df037e53f2b54d6fe2a8b702853f974dba5f24ed - initial_ast: 82934829512375c02fee11224416622175c0f2c1fad225063ad561120b196a86 - unrolled_ast: 82934829512375c02fee11224416622175c0f2c1fad225063ad561120b196a86 - ssa_ast: 22caba0c620c5f9a63d4e3933d8cfc5d4728d42d40353a39c3617683d5f0c922 - flattened_ast: 2661a06a5f0d5a6c06b167543e8597a389e8b833552426229d8bef9e0b6a4770 - destructured_ast: 1df445bbfc16b4d425cc4edae448172f06c0abe275fd1b2755aab583ba28ecfb - inlined_ast: 1df445bbfc16b4d425cc4edae448172f06c0abe275fd1b2755aab583ba28ecfb - dce_ast: a867d006251c66d33490635cdd158dd6ee03669401b976e50c52ca215f1e5ff8 - bytecode: 447867c0cff55fb14313d71ddd48f1a8fbee509cd357304c12fba830841dcd09 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "db910ee56fa8210ddc12ba5a771a89b5174899cb8cd17619f2d24075f15761c2", type_checked_symbol_table = "3e11fe04a08e53641ed58553df037e53f2b54d6fe2a8b702853f974dba5f24ed", unrolled_symbol_table = "3e11fe04a08e53641ed58553df037e53f2b54d6fe2a8b702853f974dba5f24ed", initial_ast = "82934829512375c02fee11224416622175c0f2c1fad225063ad561120b196a86", unrolled_ast = "82934829512375c02fee11224416622175c0f2c1fad225063ad561120b196a86", ssa_ast = "22caba0c620c5f9a63d4e3933d8cfc5d4728d42d40353a39c3617683d5f0c922", flattened_ast = "2661a06a5f0d5a6c06b167543e8597a389e8b833552426229d8bef9e0b6a4770", destructured_ast = "1df445bbfc16b4d425cc4edae448172f06c0abe275fd1b2755aab583ba28ecfb", inlined_ast = "1df445bbfc16b4d425cc4edae448172f06c0abe275fd1b2755aab583ba28ecfb", dce_ast = "a867d006251c66d33490635cdd158dd6ee03669401b976e50c52ca215f1e5ff8", bytecode = "447867c0cff55fb14313d71ddd48f1a8fbee509cd357304c12fba830841dcd09", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/simple_token.out b/tests/expectations/compiler/examples/simple_token.out index ff84e48336..6b6c81cc45 100644 --- a/tests/expectations/compiler/examples/simple_token.out +++ b/tests/expectations/compiler/examples/simple_token.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 513839497fb40242f53a43cda8848e446e9d690dad6e44ba3f0f60a96e3f97d5 - type_checked_symbol_table: 4976db9708869fb0ea36157ad01efa5b491996d19f58dd3cc591c6cb7ca96a53 - unrolled_symbol_table: 4976db9708869fb0ea36157ad01efa5b491996d19f58dd3cc591c6cb7ca96a53 - initial_ast: 4ffbdb821e8aeed13f5c4948da6d4af54860df90f629e552130dfab7cb3c9a52 - unrolled_ast: 4ffbdb821e8aeed13f5c4948da6d4af54860df90f629e552130dfab7cb3c9a52 - ssa_ast: ebc62bbd07b4b00e2956f7639cdba671d7f0245e715a7a48447c8631645072bd - flattened_ast: 1a57a40d2b2724705133ea6f0e685e73376591d72ad8192e18310c88575352e6 - destructured_ast: ec12bbeb130278dcdbcce2fa69c9e0f45dd44a6e4dea3b2b78c0634477d53f89 - inlined_ast: ec12bbeb130278dcdbcce2fa69c9e0f45dd44a6e4dea3b2b78c0634477d53f89 - dce_ast: ec12bbeb130278dcdbcce2fa69c9e0f45dd44a6e4dea3b2b78c0634477d53f89 - bytecode: 1fb1eb1a0d28634e2e0ac374be81010d733d3749be3b2700cead1f03266ddfb0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "513839497fb40242f53a43cda8848e446e9d690dad6e44ba3f0f60a96e3f97d5", type_checked_symbol_table = "4976db9708869fb0ea36157ad01efa5b491996d19f58dd3cc591c6cb7ca96a53", unrolled_symbol_table = "4976db9708869fb0ea36157ad01efa5b491996d19f58dd3cc591c6cb7ca96a53", initial_ast = "4ffbdb821e8aeed13f5c4948da6d4af54860df90f629e552130dfab7cb3c9a52", unrolled_ast = "4ffbdb821e8aeed13f5c4948da6d4af54860df90f629e552130dfab7cb3c9a52", ssa_ast = "ebc62bbd07b4b00e2956f7639cdba671d7f0245e715a7a48447c8631645072bd", flattened_ast = "1a57a40d2b2724705133ea6f0e685e73376591d72ad8192e18310c88575352e6", destructured_ast = "ec12bbeb130278dcdbcce2fa69c9e0f45dd44a6e4dea3b2b78c0634477d53f89", inlined_ast = "ec12bbeb130278dcdbcce2fa69c9e0f45dd44a6e4dea3b2b78c0634477d53f89", dce_ast = "ec12bbeb130278dcdbcce2fa69c9e0f45dd44a6e4dea3b2b78c0634477d53f89", bytecode = "1fb1eb1a0d28634e2e0ac374be81010d733d3749be3b2700cead1f03266ddfb0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/tictactoe.out b/tests/expectations/compiler/examples/tictactoe.out index 22ed13c230..56b7d9971a 100644 --- a/tests/expectations/compiler/examples/tictactoe.out +++ b/tests/expectations/compiler/examples/tictactoe.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6aff4711eab46a594713d623b8a8952afa6539c74151c9ea47a37edc6f4a638c - type_checked_symbol_table: b2fe6010b96888233278ce75a7d0fdf2e3e1a534e838be8b5989627735590b0c - unrolled_symbol_table: b2fe6010b96888233278ce75a7d0fdf2e3e1a534e838be8b5989627735590b0c - initial_ast: 71f305a9a0f1cb9a7e7288f8d1e8e33dc60c563c8a79292bba93cbc47a22deab - unrolled_ast: 71f305a9a0f1cb9a7e7288f8d1e8e33dc60c563c8a79292bba93cbc47a22deab - ssa_ast: 386e22834051ea8712aaaf890074feecbb9f77bc00b1d527719ad6a65ec90bc8 - flattened_ast: 2f3463ad9abfa67b2850103cee6e20b757afe556ea4230bcc424e7990a8aa517 - destructured_ast: fb144b2514b8a77b50cbb23d991275f3befef4f4d94ca5418610940065a7e6c5 - inlined_ast: 91b896e11b7410d19a7aa69a7008d9da0cd5aa7d8e668d9219b35ee0a0b852d5 - dce_ast: b589f303efc5197399adef4ad347a7ac617b14c35e414a93c15e5ba38edf923e - bytecode: 771afcbeaa3c6794c5d5b7ae06db1c787a6c78d2b3f0c5ff7e514993ea68aac0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6aff4711eab46a594713d623b8a8952afa6539c74151c9ea47a37edc6f4a638c", type_checked_symbol_table = "b2fe6010b96888233278ce75a7d0fdf2e3e1a534e838be8b5989627735590b0c", unrolled_symbol_table = "b2fe6010b96888233278ce75a7d0fdf2e3e1a534e838be8b5989627735590b0c", initial_ast = "71f305a9a0f1cb9a7e7288f8d1e8e33dc60c563c8a79292bba93cbc47a22deab", unrolled_ast = "71f305a9a0f1cb9a7e7288f8d1e8e33dc60c563c8a79292bba93cbc47a22deab", ssa_ast = "386e22834051ea8712aaaf890074feecbb9f77bc00b1d527719ad6a65ec90bc8", flattened_ast = "2f3463ad9abfa67b2850103cee6e20b757afe556ea4230bcc424e7990a8aa517", destructured_ast = "fb144b2514b8a77b50cbb23d991275f3befef4f4d94ca5418610940065a7e6c5", inlined_ast = "91b896e11b7410d19a7aa69a7008d9da0cd5aa7d8e668d9219b35ee0a0b852d5", dce_ast = "b589f303efc5197399adef4ad347a7ac617b14c35e414a93c15e5ba38edf923e", bytecode = "771afcbeaa3c6794c5d5b7ae06db1c787a6c78d2b3f0c5ff7e514993ea68aac0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/token.out b/tests/expectations/compiler/examples/token.out index a7772a2dcb..22cd0b3aad 100644 --- a/tests/expectations/compiler/examples/token.out +++ b/tests/expectations/compiler/examples/token.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8177e627a92d25f99122bb67b846cb21a98d38ec1a3df6bc48765113e814de49 - type_checked_symbol_table: 544a9d535b04db44d4054ffd9120d6fa48f31e4300f657ecd78b109d5a325124 - unrolled_symbol_table: 544a9d535b04db44d4054ffd9120d6fa48f31e4300f657ecd78b109d5a325124 - initial_ast: 2f8d55ea61fa7fb52258aaefa5571ecf1c200b18e4d4b59139682c3c31c17f2b - unrolled_ast: 2f8d55ea61fa7fb52258aaefa5571ecf1c200b18e4d4b59139682c3c31c17f2b - ssa_ast: 5337c07ebb026dacba7cdf0eea8bcfd0139aac6c55b48c1c9ff75e79e9e7f332 - flattened_ast: 28aa94e6823d7626c58140ce27cef1019a12aab8f89be54dd7eefdaf8885769d - destructured_ast: 466205d5e4e8326dc655be74eabdb284a2c3836430cd881c7e96f6826fe4d215 - inlined_ast: cfb86cdbfc0965637504ba9bd5a251dd9da2fd656e779d3fbb139e421370cd0b - dce_ast: cfb86cdbfc0965637504ba9bd5a251dd9da2fd656e779d3fbb139e421370cd0b - bytecode: 376346fcff5c4418e7d9e6a84eb5060f99b13ff743223475ef5e5b051b9d0bc8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8177e627a92d25f99122bb67b846cb21a98d38ec1a3df6bc48765113e814de49", type_checked_symbol_table = "544a9d535b04db44d4054ffd9120d6fa48f31e4300f657ecd78b109d5a325124", unrolled_symbol_table = "544a9d535b04db44d4054ffd9120d6fa48f31e4300f657ecd78b109d5a325124", initial_ast = "2f8d55ea61fa7fb52258aaefa5571ecf1c200b18e4d4b59139682c3c31c17f2b", unrolled_ast = "2f8d55ea61fa7fb52258aaefa5571ecf1c200b18e4d4b59139682c3c31c17f2b", ssa_ast = "5337c07ebb026dacba7cdf0eea8bcfd0139aac6c55b48c1c9ff75e79e9e7f332", flattened_ast = "28aa94e6823d7626c58140ce27cef1019a12aab8f89be54dd7eefdaf8885769d", destructured_ast = "466205d5e4e8326dc655be74eabdb284a2c3836430cd881c7e96f6826fe4d215", inlined_ast = "cfb86cdbfc0965637504ba9bd5a251dd9da2fd656e779d3fbb139e421370cd0b", dce_ast = "cfb86cdbfc0965637504ba9bd5a251dd9da2fd656e779d3fbb139e421370cd0b", bytecode = "376346fcff5c4418e7d9e6a84eb5060f99b13ff743223475ef5e5b051b9d0bc8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/twoadicity.out b/tests/expectations/compiler/examples/twoadicity.out index c7cceca0b9..7fd2e8a364 100644 --- a/tests/expectations/compiler/examples/twoadicity.out +++ b/tests/expectations/compiler/examples/twoadicity.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2df53954a2e535354cf463aa4af0e16df0ad8bd404e32ae7a59112cccefc2e29 - type_checked_symbol_table: a9e1d417b5131d3f0b0fc218cacdfe9136bc2bf9025582383e0eeea208044784 - unrolled_symbol_table: e8c440f68fc7a2d3538959e7ec8ec4e90662e9a2599cd8d018fbebe942b4a29a - initial_ast: 47423bb725b42e8571e55829ae6784b52be84366628d4ac08716969cabca10ac - unrolled_ast: e0d4f372e90bd4ade1afacd971a09089fb41b993a1ee15800d76dccb86d3be35 - ssa_ast: b4217a2674509495998c8deb30435450caf0c6cd61e5745c916a919b8c2fdc80 - flattened_ast: d489c80166d3afe5c5220ad477c0b2ceba24affdb7b686cb799cdd7a09fc7189 - destructured_ast: 0602fda34468778931c9ed776235e0ece07e4bf1b825f89bd6052a842a55d44a - inlined_ast: 59cdd4f3331557ccb86a4bd135735846be87b1710032dceebb3f46e92fc7ffd9 - dce_ast: b290496ff29a92895769c6dc6591a3205ea6429a4326df653504ab287e91fdb6 - bytecode: c5073e255b7504fbc368079e634a99935c6c645c9db6830212e2c6077f8ebf3f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2df53954a2e535354cf463aa4af0e16df0ad8bd404e32ae7a59112cccefc2e29", type_checked_symbol_table = "a9e1d417b5131d3f0b0fc218cacdfe9136bc2bf9025582383e0eeea208044784", unrolled_symbol_table = "e8c440f68fc7a2d3538959e7ec8ec4e90662e9a2599cd8d018fbebe942b4a29a", initial_ast = "47423bb725b42e8571e55829ae6784b52be84366628d4ac08716969cabca10ac", unrolled_ast = "e0d4f372e90bd4ade1afacd971a09089fb41b993a1ee15800d76dccb86d3be35", ssa_ast = "b4217a2674509495998c8deb30435450caf0c6cd61e5745c916a919b8c2fdc80", flattened_ast = "d489c80166d3afe5c5220ad477c0b2ceba24affdb7b686cb799cdd7a09fc7189", destructured_ast = "0602fda34468778931c9ed776235e0ece07e4bf1b825f89bd6052a842a55d44a", inlined_ast = "59cdd4f3331557ccb86a4bd135735846be87b1710032dceebb3f46e92fc7ffd9", dce_ast = "b290496ff29a92895769c6dc6591a3205ea6429a4326df653504ab287e91fdb6", bytecode = "c5073e255b7504fbc368079e634a99935c6c645c9db6830212e2c6077f8ebf3f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/verify.out b/tests/expectations/compiler/examples/verify.out index 9620ca11a0..e99da35282 100644 --- a/tests/expectations/compiler/examples/verify.out +++ b/tests/expectations/compiler/examples/verify.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3b82389fac7bab079468a10d54271504b0f4af314374a7023e713e2d0a70ef8a - type_checked_symbol_table: 1de07c12e569cf46749424006cae98c00ae0455fbd7c0932e8474f54300a67b5 - unrolled_symbol_table: 1de07c12e569cf46749424006cae98c00ae0455fbd7c0932e8474f54300a67b5 - initial_ast: 36b5f1acbbecb9d7607e4dfb188a79ee8ee441665c8f78d39f914cf6809b3939 - unrolled_ast: 36b5f1acbbecb9d7607e4dfb188a79ee8ee441665c8f78d39f914cf6809b3939 - ssa_ast: 790fb96adadef10423d5596961c96015c0e955d9d74ba4f8f25c3be0f4ceb54e - flattened_ast: 5a6f8fd5f8007ab58b131f2209518f78bddd77879b04a9cbf40b89a98e44e76c - destructured_ast: 7739a0de1e9746b446e0180f30060fd6751d93959215d442967bc9a792039210 - inlined_ast: 6a8e417a3d90cdc0660d0521eb3e6faaba89d4415dd7f7848207db9fc6c38600 - dce_ast: 6a8e417a3d90cdc0660d0521eb3e6faaba89d4415dd7f7848207db9fc6c38600 - bytecode: 153cfd2616e879c311c136713624e83ef42642241ffebf540e308a29a610b058 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "3b82389fac7bab079468a10d54271504b0f4af314374a7023e713e2d0a70ef8a", type_checked_symbol_table = "1de07c12e569cf46749424006cae98c00ae0455fbd7c0932e8474f54300a67b5", unrolled_symbol_table = "1de07c12e569cf46749424006cae98c00ae0455fbd7c0932e8474f54300a67b5", initial_ast = "36b5f1acbbecb9d7607e4dfb188a79ee8ee441665c8f78d39f914cf6809b3939", unrolled_ast = "36b5f1acbbecb9d7607e4dfb188a79ee8ee441665c8f78d39f914cf6809b3939", ssa_ast = "790fb96adadef10423d5596961c96015c0e955d9d74ba4f8f25c3be0f4ceb54e", flattened_ast = "5a6f8fd5f8007ab58b131f2209518f78bddd77879b04a9cbf40b89a98e44e76c", destructured_ast = "7739a0de1e9746b446e0180f30060fd6751d93959215d442967bc9a792039210", inlined_ast = "6a8e417a3d90cdc0660d0521eb3e6faaba89d4415dd7f7848207db9fc6c38600", dce_ast = "6a8e417a3d90cdc0660d0521eb3e6faaba89d4415dd7f7848207db9fc6c38600", bytecode = "153cfd2616e879c311c136713624e83ef42642241ffebf540e308a29a610b058", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/examples/vote.out b/tests/expectations/compiler/examples/vote.out index 133605e272..4d8ba47aa2 100644 --- a/tests/expectations/compiler/examples/vote.out +++ b/tests/expectations/compiler/examples/vote.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 11fbbf3ad2d03fafd4f7db39a5bfb0ea4b5302bdc422b26a4afa904887e8ea6b - type_checked_symbol_table: fa1e31bf4b774f6039b03cbe5bc38eaf1bf9a85306ccbdef1f3a9b2976957018 - unrolled_symbol_table: fa1e31bf4b774f6039b03cbe5bc38eaf1bf9a85306ccbdef1f3a9b2976957018 - initial_ast: ed086619c9f0f5ad64417fcc17a6847fa22d1fa95b89f3ec58302928fd83b54c - unrolled_ast: b1faf12359c2995083c2f483742076cd6b0c8c60bb90e95143b04d44a3c006bd - ssa_ast: 8a035bb369caeebb7b6b582f32aaa06b5bfddbf702c8e234fa927d7bb3557946 - flattened_ast: 8cac8ffb570a503f38a5c980d08e985b5d8d299b5e6e38ceb5d21923ba21eae0 - destructured_ast: 29a979bc9640fbefdb0f05a3974a8d6fb917acea2c4deed82b09aa524c12dd91 - inlined_ast: dcde5e49f60622fba629dd82b6ad39841230a4030793756066ea2d8093df6814 - dce_ast: dcde5e49f60622fba629dd82b6ad39841230a4030793756066ea2d8093df6814 - bytecode: f5310d38dba01e579d5ec8cd7b3513997275d26de14c49ee3894d175a58c7aa5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "11fbbf3ad2d03fafd4f7db39a5bfb0ea4b5302bdc422b26a4afa904887e8ea6b", type_checked_symbol_table = "fa1e31bf4b774f6039b03cbe5bc38eaf1bf9a85306ccbdef1f3a9b2976957018", unrolled_symbol_table = "fa1e31bf4b774f6039b03cbe5bc38eaf1bf9a85306ccbdef1f3a9b2976957018", initial_ast = "ed086619c9f0f5ad64417fcc17a6847fa22d1fa95b89f3ec58302928fd83b54c", unrolled_ast = "b1faf12359c2995083c2f483742076cd6b0c8c60bb90e95143b04d44a3c006bd", ssa_ast = "8a035bb369caeebb7b6b582f32aaa06b5bfddbf702c8e234fa927d7bb3557946", flattened_ast = "8cac8ffb570a503f38a5c980d08e985b5d8d299b5e6e38ceb5d21923ba21eae0", destructured_ast = "29a979bc9640fbefdb0f05a3974a8d6fb917acea2c4deed82b09aa524c12dd91", inlined_ast = "dcde5e49f60622fba629dd82b6ad39841230a4030793756066ea2d8093df6814", dce_ast = "dcde5e49f60622fba629dd82b6ad39841230a4030793756066ea2d8093df6814", bytecode = "f5310d38dba01e579d5ec8cd7b3513997275d26de14c49ee3894d175a58c7aa5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/expression/cast.out b/tests/expectations/compiler/expression/cast.out index b1f8b8393f..d1fe0172fc 100644 --- a/tests/expectations/compiler/expression/cast.out +++ b/tests/expectations/compiler/expression/cast.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8f6e13a5fd601a00363471c5fc1065bb00f41edb861b1680db4aac5f554dc6f3 - type_checked_symbol_table: 4af217e514a21e8772cb3f0e8696516ebb4a13e64c0b7af04f6553b6cda6737c - unrolled_symbol_table: 4af217e514a21e8772cb3f0e8696516ebb4a13e64c0b7af04f6553b6cda6737c - initial_ast: a89a16051233f4b1f4c9b6e803a703526409f2e1245ac13aca2dff7835be040f - unrolled_ast: a89a16051233f4b1f4c9b6e803a703526409f2e1245ac13aca2dff7835be040f - ssa_ast: e6ac9289d21e1edfe4c7e77802054a95197c7f99a40de906670cb94458c3b7f8 - flattened_ast: 1618fff2d37f320945a9a84ef77aa77d6a52889a59e7920cf3f482cb97f3b956 - destructured_ast: 485360b2120f7ab866f3c24cde17e8cf5f138a50b1e5cf5b4f4b6c68dd8888f6 - inlined_ast: 485360b2120f7ab866f3c24cde17e8cf5f138a50b1e5cf5b4f4b6c68dd8888f6 - dce_ast: 5b1e97afe4bf09c18a1eac5430aa9b98977009350347cf397d18df23837117c4 - bytecode: 3c8ea2338433747c1805ff0086031f7be0d253cf25b173de2f145945fdbf2c98 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8f6e13a5fd601a00363471c5fc1065bb00f41edb861b1680db4aac5f554dc6f3", type_checked_symbol_table = "4af217e514a21e8772cb3f0e8696516ebb4a13e64c0b7af04f6553b6cda6737c", unrolled_symbol_table = "4af217e514a21e8772cb3f0e8696516ebb4a13e64c0b7af04f6553b6cda6737c", initial_ast = "a89a16051233f4b1f4c9b6e803a703526409f2e1245ac13aca2dff7835be040f", unrolled_ast = "a89a16051233f4b1f4c9b6e803a703526409f2e1245ac13aca2dff7835be040f", ssa_ast = "e6ac9289d21e1edfe4c7e77802054a95197c7f99a40de906670cb94458c3b7f8", flattened_ast = "1618fff2d37f320945a9a84ef77aa77d6a52889a59e7920cf3f482cb97f3b956", destructured_ast = "485360b2120f7ab866f3c24cde17e8cf5f138a50b1e5cf5b4f4b6c68dd8888f6", inlined_ast = "485360b2120f7ab866f3c24cde17e8cf5f138a50b1e5cf5b4f4b6c68dd8888f6", dce_ast = "5b1e97afe4bf09c18a1eac5430aa9b98977009350347cf397d18df23837117c4", bytecode = "3c8ea2338433747c1805ff0086031f7be0d253cf25b173de2f145945fdbf2c98", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/expression/cast_coersion.out b/tests/expectations/compiler/expression/cast_coersion.out index 24453d9a85..3d8842ecb0 100644 --- a/tests/expectations/compiler/expression/cast_coersion.out +++ b/tests/expectations/compiler/expression/cast_coersion.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 736ef33d4ea34eb43862ee271decb4587901ab41e91e4f8e41b8f99d1f8b557c - type_checked_symbol_table: 1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719 - unrolled_symbol_table: 1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719 - initial_ast: 409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961 - unrolled_ast: 409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961 - ssa_ast: 7f12fbc88f56e33590cbb790827e4ec6a04fa9be41e6c1f2bf48515e430d9dc5 - flattened_ast: 8e2378df83a8f59228993ec32ae9fbe19318052a3ced6b451b6f720ca6171257 - destructured_ast: 8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69 - inlined_ast: 8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69 - dce_ast: 2a0e5585007503ef568572b188bae1212a4839548f624b022aafca1ce8e2cf24 - bytecode: 675912267b82b91bd854fa2ef169b85c74ecaac6b73a157d7e99818e256b53b1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "736ef33d4ea34eb43862ee271decb4587901ab41e91e4f8e41b8f99d1f8b557c", type_checked_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", unrolled_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", initial_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", unrolled_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", ssa_ast = "7f12fbc88f56e33590cbb790827e4ec6a04fa9be41e6c1f2bf48515e430d9dc5", flattened_ast = "8e2378df83a8f59228993ec32ae9fbe19318052a3ced6b451b6f720ca6171257", destructured_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", inlined_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", dce_ast = "2a0e5585007503ef568572b188bae1212a4839548f624b022aafca1ce8e2cf24", bytecode = "675912267b82b91bd854fa2ef169b85c74ecaac6b73a157d7e99818e256b53b1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/expression/cast_fail.out b/tests/expectations/compiler/expression/cast_fail.out index 6c6a20e0b3..55c1c89e4d 100644 --- a/tests/expectations/compiler/expression/cast_fail.out +++ b/tests/expectations/compiler/expression/cast_fail.out @@ -1,5 +1,29 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:13:9\n |\n 13 | let b: string = a as string;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `string`\n --> compiler-test:13:25\n |\n 13 | let b: string = a as string;\n | ^^^^^^^^^^^\nError [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `Foo`\n --> compiler-test:16:24\n |\n 16 | let d: field = c as field;\n | ^\nError [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `(field,field)`\n --> compiler-test:19:24\n |\n 19 | let f: field = e as field;\n | ^\nError [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `(field => field)`\n --> compiler-test:25:24\n |\n 25 | let b: field = balances as field;\n | ^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:13:9 + | + 13 | let b: string = a as string; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `string` + --> compiler-test:13:25 + | + 13 | let b: string = a as string; + | ^^^^^^^^^^^ +Error [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `Foo` + --> compiler-test:16:24 + | + 16 | let d: field = c as field; + | ^ +Error [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `(field,field)` + --> compiler-test:19:24 + | + 19 | let f: field = e as field; + | ^ +Error [ETYC0372007]: Expected one type from `field, group, scalar, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, bool, address`, but got `(field => field)` + --> compiler-test:25:24 + | + 25 | let b: field = balances as field; + | ^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/expression/network_id.out b/tests/expectations/compiler/expression/network_id.out index 0c598517f4..ee95eda9aa 100644 --- a/tests/expectations/compiler/expression/network_id.out +++ b/tests/expectations/compiler/expression/network_id.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ef5cbe43fd02c4bdf9de14a42e77c7f1635e0ee8df54b45b71d9a82bae42e8eb - type_checked_symbol_table: 85e41486c103f9351c482a271ae2cc9e89eb37b36a50f786bff51feaf6537034 - unrolled_symbol_table: 85e41486c103f9351c482a271ae2cc9e89eb37b36a50f786bff51feaf6537034 - initial_ast: ad760a62ddcf6370800d4319ce4b0c48832cdf7442c2ad6b2fc244b7d9c8bbd7 - unrolled_ast: ad760a62ddcf6370800d4319ce4b0c48832cdf7442c2ad6b2fc244b7d9c8bbd7 - ssa_ast: 5f2251b6411d4843954be231b25beee450771b068de30ca66cdcbd0f6b371357 - flattened_ast: aba52a6d70cd6fc0ae608ca6853b8e41b720ce3ff7b4d67274c92e35d2269749 - destructured_ast: c2c04fdc548c372848fb69f8201af5a5657d8acbceb2ef7bea7a109ece2e9851 - inlined_ast: 663c8ee124bbb7a55247b2f5ce18443687e3262f9874bad35f21f65dbbf09a83 - dce_ast: 663c8ee124bbb7a55247b2f5ce18443687e3262f9874bad35f21f65dbbf09a83 - bytecode: ae04a04e7ffb01dfdd0ae0249f31649302bc120ea928c5ace16bc0879140e1f9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ef5cbe43fd02c4bdf9de14a42e77c7f1635e0ee8df54b45b71d9a82bae42e8eb", type_checked_symbol_table = "85e41486c103f9351c482a271ae2cc9e89eb37b36a50f786bff51feaf6537034", unrolled_symbol_table = "85e41486c103f9351c482a271ae2cc9e89eb37b36a50f786bff51feaf6537034", initial_ast = "ad760a62ddcf6370800d4319ce4b0c48832cdf7442c2ad6b2fc244b7d9c8bbd7", unrolled_ast = "ad760a62ddcf6370800d4319ce4b0c48832cdf7442c2ad6b2fc244b7d9c8bbd7", ssa_ast = "5f2251b6411d4843954be231b25beee450771b068de30ca66cdcbd0f6b371357", flattened_ast = "aba52a6d70cd6fc0ae608ca6853b8e41b720ce3ff7b4d67274c92e35d2269749", destructured_ast = "c2c04fdc548c372848fb69f8201af5a5657d8acbceb2ef7bea7a109ece2e9851", inlined_ast = "663c8ee124bbb7a55247b2f5ce18443687e3262f9874bad35f21f65dbbf09a83", dce_ast = "663c8ee124bbb7a55247b2f5ce18443687e3262f9874bad35f21f65dbbf09a83", bytecode = "ae04a04e7ffb01dfdd0ae0249f31649302bc120ea928c5ace16bc0879140e1f9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/expression/ternary.out b/tests/expectations/compiler/expression/ternary.out index 7ec55fc3b9..9606dfb963 100644 --- a/tests/expectations/compiler/expression/ternary.out +++ b/tests/expectations/compiler/expression/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d6ebbdbb0ac55a0338ca71cab7bdbd5fddd4782965afba8dd6ed0e631ada84d1 - type_checked_symbol_table: 4e3cf3d38f23ca67542003bb4985603b64c43b358f5cc0a067a1f8ba8fa7703a - unrolled_symbol_table: 4e3cf3d38f23ca67542003bb4985603b64c43b358f5cc0a067a1f8ba8fa7703a - initial_ast: b48a2050069f5e13014983f5b5b648f528e9478da91c008912364faff53090ce - unrolled_ast: b48a2050069f5e13014983f5b5b648f528e9478da91c008912364faff53090ce - ssa_ast: 797dccb7d8f7d42268a907c930af0ab54d87b26df3627656c4685191486d8e5f - flattened_ast: 523b26f743f704636b3cdab1693c82012419e05a87ff3a7319302f06ba08c365 - destructured_ast: a8f7c9cef239326de6534ac8c67886fe4e687d91141c81a874e374ca9766b424 - inlined_ast: a8f7c9cef239326de6534ac8c67886fe4e687d91141c81a874e374ca9766b424 - dce_ast: a8f7c9cef239326de6534ac8c67886fe4e687d91141c81a874e374ca9766b424 - bytecode: 11706f359e35f6269b2f879e483f2e1dc1df99c710fc8476dfb1e3c6115d8268 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d6ebbdbb0ac55a0338ca71cab7bdbd5fddd4782965afba8dd6ed0e631ada84d1", type_checked_symbol_table = "4e3cf3d38f23ca67542003bb4985603b64c43b358f5cc0a067a1f8ba8fa7703a", unrolled_symbol_table = "4e3cf3d38f23ca67542003bb4985603b64c43b358f5cc0a067a1f8ba8fa7703a", initial_ast = "b48a2050069f5e13014983f5b5b648f528e9478da91c008912364faff53090ce", unrolled_ast = "b48a2050069f5e13014983f5b5b648f528e9478da91c008912364faff53090ce", ssa_ast = "797dccb7d8f7d42268a907c930af0ab54d87b26df3627656c4685191486d8e5f", flattened_ast = "523b26f743f704636b3cdab1693c82012419e05a87ff3a7319302f06ba08c365", destructured_ast = "a8f7c9cef239326de6534ac8c67886fe4e687d91141c81a874e374ca9766b424", inlined_ast = "a8f7c9cef239326de6534ac8c67886fe4e687d91141c81a874e374ca9766b424", dce_ast = "a8f7c9cef239326de6534ac8c67886fe4e687d91141c81a874e374ca9766b424", bytecode = "11706f359e35f6269b2f879e483f2e1dc1df99c710fc8476dfb1e3c6115d8268", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/add.out b/tests/expectations/compiler/field/add.out index f3d72de3c0..7549b9f7c8 100644 --- a/tests/expectations/compiler/field/add.out +++ b/tests/expectations/compiler/field/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8 - type_checked_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - unrolled_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - initial_ast: 88fe78a0d52f0f8621d55dbb046be0bd394461d8a920a9fa0be3701af76046e8 - unrolled_ast: 88fe78a0d52f0f8621d55dbb046be0bd394461d8a920a9fa0be3701af76046e8 - ssa_ast: 73b8b86d06f011d8855dfe007be296f28953bc680b3606fcb52eedef199074a4 - flattened_ast: 773b5008f5217932810ade992001fec882510d36a93291eed3a8d15da082b64c - destructured_ast: a677e44d53934fcb3dde10b6f413295119adb991a987b251911932d9dfa8ae7a - inlined_ast: a677e44d53934fcb3dde10b6f413295119adb991a987b251911932d9dfa8ae7a - dce_ast: a677e44d53934fcb3dde10b6f413295119adb991a987b251911932d9dfa8ae7a - bytecode: 587770d63e2d2fe866f99683df9a32da50b718ee3a92aec0d9491cbb8569b80d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8", type_checked_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", unrolled_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", initial_ast = "88fe78a0d52f0f8621d55dbb046be0bd394461d8a920a9fa0be3701af76046e8", unrolled_ast = "88fe78a0d52f0f8621d55dbb046be0bd394461d8a920a9fa0be3701af76046e8", ssa_ast = "73b8b86d06f011d8855dfe007be296f28953bc680b3606fcb52eedef199074a4", flattened_ast = "773b5008f5217932810ade992001fec882510d36a93291eed3a8d15da082b64c", destructured_ast = "a677e44d53934fcb3dde10b6f413295119adb991a987b251911932d9dfa8ae7a", inlined_ast = "a677e44d53934fcb3dde10b6f413295119adb991a987b251911932d9dfa8ae7a", dce_ast = "a677e44d53934fcb3dde10b6f413295119adb991a987b251911932d9dfa8ae7a", bytecode = "587770d63e2d2fe866f99683df9a32da50b718ee3a92aec0d9491cbb8569b80d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/div.out b/tests/expectations/compiler/field/div.out index 0e9644294f..46d0a4dee6 100644 --- a/tests/expectations/compiler/field/div.out +++ b/tests/expectations/compiler/field/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8 - type_checked_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - unrolled_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - initial_ast: e0cff2f63e6d6ace7917626df81f82617defeb55a5c7bab19f07c3d22fab667e - unrolled_ast: e0cff2f63e6d6ace7917626df81f82617defeb55a5c7bab19f07c3d22fab667e - ssa_ast: dbb622f3afacebb7ac54e83f2187867435c3ac58be650b5ae8a9e12dc13c7eb8 - flattened_ast: 1fd7a79bfcc6e0a2c389a49d08b03847729265618cfb9527fbd7ef8542b56911 - destructured_ast: 151e4d2565cce6a7cc3b47043b9f701341a1923b98c3c29a8daf2be5cf50f94d - inlined_ast: 151e4d2565cce6a7cc3b47043b9f701341a1923b98c3c29a8daf2be5cf50f94d - dce_ast: 151e4d2565cce6a7cc3b47043b9f701341a1923b98c3c29a8daf2be5cf50f94d - bytecode: 8076383080c6f141d8c6038360d4c9494a44f39b20f85614faf57bb7f6e3a10d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8", type_checked_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", unrolled_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", initial_ast = "e0cff2f63e6d6ace7917626df81f82617defeb55a5c7bab19f07c3d22fab667e", unrolled_ast = "e0cff2f63e6d6ace7917626df81f82617defeb55a5c7bab19f07c3d22fab667e", ssa_ast = "dbb622f3afacebb7ac54e83f2187867435c3ac58be650b5ae8a9e12dc13c7eb8", flattened_ast = "1fd7a79bfcc6e0a2c389a49d08b03847729265618cfb9527fbd7ef8542b56911", destructured_ast = "151e4d2565cce6a7cc3b47043b9f701341a1923b98c3c29a8daf2be5cf50f94d", inlined_ast = "151e4d2565cce6a7cc3b47043b9f701341a1923b98c3c29a8daf2be5cf50f94d", dce_ast = "151e4d2565cce6a7cc3b47043b9f701341a1923b98c3c29a8daf2be5cf50f94d", bytecode = "8076383080c6f141d8c6038360d4c9494a44f39b20f85614faf57bb7f6e3a10d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/eq.out b/tests/expectations/compiler/field/eq.out index 245e9d9cc2..366173f447 100644 --- a/tests/expectations/compiler/field/eq.out +++ b/tests/expectations/compiler/field/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: eaedb08cd9ff18badbefd1f8b5046cad7c81ebd4b22eba15bbb24f4c5d1a0796 - type_checked_symbol_table: a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f - unrolled_symbol_table: a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f - initial_ast: 36cf5001f26c587afe42881bdb92e737bb4e83dafa829b2f0d7cbaee1b6bf0ee - unrolled_ast: 36cf5001f26c587afe42881bdb92e737bb4e83dafa829b2f0d7cbaee1b6bf0ee - ssa_ast: a8ed11ecc9191d05dbd504223a93f146ca67880ad03033e58f2c0db259420808 - flattened_ast: ea148a696f7ab514f94788ad09e7e732680e4cb65bde4a414598d64c5866e5aa - destructured_ast: 620dd4a9a0d116832e5803546bab8ff460ee802c9f18ba657cb4133c5e6fe035 - inlined_ast: 620dd4a9a0d116832e5803546bab8ff460ee802c9f18ba657cb4133c5e6fe035 - dce_ast: 620dd4a9a0d116832e5803546bab8ff460ee802c9f18ba657cb4133c5e6fe035 - bytecode: 935fb69a9229d935e0f2ec6ce8774b279e8d2ab9496ef8dfcf061aec2088db31 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "eaedb08cd9ff18badbefd1f8b5046cad7c81ebd4b22eba15bbb24f4c5d1a0796", type_checked_symbol_table = "a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f", unrolled_symbol_table = "a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f", initial_ast = "36cf5001f26c587afe42881bdb92e737bb4e83dafa829b2f0d7cbaee1b6bf0ee", unrolled_ast = "36cf5001f26c587afe42881bdb92e737bb4e83dafa829b2f0d7cbaee1b6bf0ee", ssa_ast = "a8ed11ecc9191d05dbd504223a93f146ca67880ad03033e58f2c0db259420808", flattened_ast = "ea148a696f7ab514f94788ad09e7e732680e4cb65bde4a414598d64c5866e5aa", destructured_ast = "620dd4a9a0d116832e5803546bab8ff460ee802c9f18ba657cb4133c5e6fe035", inlined_ast = "620dd4a9a0d116832e5803546bab8ff460ee802c9f18ba657cb4133c5e6fe035", dce_ast = "620dd4a9a0d116832e5803546bab8ff460ee802c9f18ba657cb4133c5e6fe035", bytecode = "935fb69a9229d935e0f2ec6ce8774b279e8d2ab9496ef8dfcf061aec2088db31", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/field.out b/tests/expectations/compiler/field/field.out index eb6c7f5672..3db05432f4 100644 --- a/tests/expectations/compiler/field/field.out +++ b/tests/expectations/compiler/field/field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1305bd0ff6bd94636ca16d92b5d797d9e6e13bb66984b6ca425ce31a61722ab4 - type_checked_symbol_table: 23078ce80d24a21fd39f504b2df476b5013b179ef7f7cbe8162ffc0c79fc357b - unrolled_symbol_table: 23078ce80d24a21fd39f504b2df476b5013b179ef7f7cbe8162ffc0c79fc357b - initial_ast: 20224c51976c8d3f67c4ebdc5d68b7efefe6040aaee1f5049f8954ffa615bcfb - unrolled_ast: 20224c51976c8d3f67c4ebdc5d68b7efefe6040aaee1f5049f8954ffa615bcfb - ssa_ast: ba10dad2c5d3b06b4228a01b1e6e634606497f77fcdc4b206c737df1f5be52b2 - flattened_ast: e04ab7960e4ae652ef3e4975ad3cd88d42982d444d09eee123ad11bbdf9b146f - destructured_ast: 9e41181621ba11f59a99eb5bc39bf4263cbee376e9497f00e10328ea2881a27e - inlined_ast: 9e41181621ba11f59a99eb5bc39bf4263cbee376e9497f00e10328ea2881a27e - dce_ast: 2e8804c04d07e872cacff71b9a8200c2300aeebe3bc8eeae67a71165518262ed - bytecode: 649e93daf1fbf2a9870cd22788b26685b9f873b10ced0b6844974081b511080b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1305bd0ff6bd94636ca16d92b5d797d9e6e13bb66984b6ca425ce31a61722ab4", type_checked_symbol_table = "23078ce80d24a21fd39f504b2df476b5013b179ef7f7cbe8162ffc0c79fc357b", unrolled_symbol_table = "23078ce80d24a21fd39f504b2df476b5013b179ef7f7cbe8162ffc0c79fc357b", initial_ast = "20224c51976c8d3f67c4ebdc5d68b7efefe6040aaee1f5049f8954ffa615bcfb", unrolled_ast = "20224c51976c8d3f67c4ebdc5d68b7efefe6040aaee1f5049f8954ffa615bcfb", ssa_ast = "ba10dad2c5d3b06b4228a01b1e6e634606497f77fcdc4b206c737df1f5be52b2", flattened_ast = "e04ab7960e4ae652ef3e4975ad3cd88d42982d444d09eee123ad11bbdf9b146f", destructured_ast = "9e41181621ba11f59a99eb5bc39bf4263cbee376e9497f00e10328ea2881a27e", inlined_ast = "9e41181621ba11f59a99eb5bc39bf4263cbee376e9497f00e10328ea2881a27e", dce_ast = "2e8804c04d07e872cacff71b9a8200c2300aeebe3bc8eeae67a71165518262ed", bytecode = "649e93daf1fbf2a9870cd22788b26685b9f873b10ced0b6844974081b511080b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/mul.out b/tests/expectations/compiler/field/mul.out index b28905ad25..9cfdbb59b8 100644 --- a/tests/expectations/compiler/field/mul.out +++ b/tests/expectations/compiler/field/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8 - type_checked_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - unrolled_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - initial_ast: caf50a8140cc504c2e12d0c4269e489317ca1133d7acca754b60523c72703778 - unrolled_ast: caf50a8140cc504c2e12d0c4269e489317ca1133d7acca754b60523c72703778 - ssa_ast: 91494d683a68eb0f8cf7fbb5f1adb670d61d7e33ce5a088a9ad5a18c43a73861 - flattened_ast: d88a15743b68503939b1592348e49f53b03cc78304f5bcc5a5807b4cad4e9178 - destructured_ast: 48f99754bbc6fc26d450026a1570171960ac8e96a43e747de0eaabd504340c19 - inlined_ast: 48f99754bbc6fc26d450026a1570171960ac8e96a43e747de0eaabd504340c19 - dce_ast: 48f99754bbc6fc26d450026a1570171960ac8e96a43e747de0eaabd504340c19 - bytecode: b66977ddf8c6be2363f9c584853adf0dc546d28df9c4eb87ab94d393e9c39c59 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8", type_checked_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", unrolled_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", initial_ast = "caf50a8140cc504c2e12d0c4269e489317ca1133d7acca754b60523c72703778", unrolled_ast = "caf50a8140cc504c2e12d0c4269e489317ca1133d7acca754b60523c72703778", ssa_ast = "91494d683a68eb0f8cf7fbb5f1adb670d61d7e33ce5a088a9ad5a18c43a73861", flattened_ast = "d88a15743b68503939b1592348e49f53b03cc78304f5bcc5a5807b4cad4e9178", destructured_ast = "48f99754bbc6fc26d450026a1570171960ac8e96a43e747de0eaabd504340c19", inlined_ast = "48f99754bbc6fc26d450026a1570171960ac8e96a43e747de0eaabd504340c19", dce_ast = "48f99754bbc6fc26d450026a1570171960ac8e96a43e747de0eaabd504340c19", bytecode = "b66977ddf8c6be2363f9c584853adf0dc546d28df9c4eb87ab94d393e9c39c59", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/negate.out b/tests/expectations/compiler/field/negate.out index 5996f07b38..5efa6aceeb 100644 --- a/tests/expectations/compiler/field/negate.out +++ b/tests/expectations/compiler/field/negate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: eaedb08cd9ff18badbefd1f8b5046cad7c81ebd4b22eba15bbb24f4c5d1a0796 - type_checked_symbol_table: a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f - unrolled_symbol_table: a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f - initial_ast: 1cd2dd98064f19e046f15fc21049e47fe5191fedd90b8c13f826e6128c63a4bf - unrolled_ast: 1cd2dd98064f19e046f15fc21049e47fe5191fedd90b8c13f826e6128c63a4bf - ssa_ast: 605eadbcb724b40419e5fa8b5cf800e0d97237b17175bc803802cef0986ee168 - flattened_ast: 3b5561a745b44711f0add62664ffacea72179f1b5f49f1bf17d21fb9ed6d60c7 - destructured_ast: b9ab8fc45ccbcd0c0627257c0adcaeeff2bbe7647c4ebb27d91c139bbe1df440 - inlined_ast: b9ab8fc45ccbcd0c0627257c0adcaeeff2bbe7647c4ebb27d91c139bbe1df440 - dce_ast: b9ab8fc45ccbcd0c0627257c0adcaeeff2bbe7647c4ebb27d91c139bbe1df440 - bytecode: b9e119319f6a86cf6b4820d47924a35737646c2bee28ef72882d8e255cdaf7fb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "eaedb08cd9ff18badbefd1f8b5046cad7c81ebd4b22eba15bbb24f4c5d1a0796", type_checked_symbol_table = "a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f", unrolled_symbol_table = "a252bcb92e6dc70f6bffb274f5178f727b247eeb9170d4ab4b526a077e2b419f", initial_ast = "1cd2dd98064f19e046f15fc21049e47fe5191fedd90b8c13f826e6128c63a4bf", unrolled_ast = "1cd2dd98064f19e046f15fc21049e47fe5191fedd90b8c13f826e6128c63a4bf", ssa_ast = "605eadbcb724b40419e5fa8b5cf800e0d97237b17175bc803802cef0986ee168", flattened_ast = "3b5561a745b44711f0add62664ffacea72179f1b5f49f1bf17d21fb9ed6d60c7", destructured_ast = "b9ab8fc45ccbcd0c0627257c0adcaeeff2bbe7647c4ebb27d91c139bbe1df440", inlined_ast = "b9ab8fc45ccbcd0c0627257c0adcaeeff2bbe7647c4ebb27d91c139bbe1df440", dce_ast = "b9ab8fc45ccbcd0c0627257c0adcaeeff2bbe7647c4ebb27d91c139bbe1df440", bytecode = "b9e119319f6a86cf6b4820d47924a35737646c2bee28ef72882d8e255cdaf7fb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/no_space_between_literal.out b/tests/expectations/compiler/field/no_space_between_literal.out index 99f6fb751b..055d66bd74 100644 --- a/tests/expectations/compiler/field/no_space_between_literal.out +++ b/tests/expectations/compiler/field/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:13\n |\n 5 | let f = 1 field;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:13 + | + 5 | let f = 1 field; + | ^"""] diff --git a/tests/expectations/compiler/field/operator_methods.out b/tests/expectations/compiler/field/operator_methods.out index 8483272d68..6aaae5d988 100644 --- a/tests/expectations/compiler/field/operator_methods.out +++ b/tests/expectations/compiler/field/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: eaedb08cd9ff18badbefd1f8b5046cad7c81ebd4b22eba15bbb24f4c5d1a0796 - type_checked_symbol_table: 120bf70661b1aeef0c5eb9c5c344878b5e61fd2ac7e2de625db6c2df3661078c - unrolled_symbol_table: 120bf70661b1aeef0c5eb9c5c344878b5e61fd2ac7e2de625db6c2df3661078c - initial_ast: 2382aba2e9a32e33bd45ef5be340b433d34b8d6ed5d1d1bd05d7d41ee5ca6495 - unrolled_ast: 2382aba2e9a32e33bd45ef5be340b433d34b8d6ed5d1d1bd05d7d41ee5ca6495 - ssa_ast: 83155b8ecce689a70c808907b7c0e2dc95a590b9fd884d87294e4a84f547dfbe - flattened_ast: cf5be6ff670c3eeb06a8fb34b303ba61c8fc5bda09b359346baaa2825debfd53 - destructured_ast: 0af17fd408d0cd7f31a1ac5b916dcfff8779026b61e02d016f32d1157daa90e0 - inlined_ast: 0af17fd408d0cd7f31a1ac5b916dcfff8779026b61e02d016f32d1157daa90e0 - dce_ast: dd8863fd3a3ea2d575a99522af0107bcf0e3350cd250f91b29bbb637d4ebafce - bytecode: bc2da8a1b63f9c24fb14b7468faa8cc14da40ce5c61c9a1c86804b808533b92a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "eaedb08cd9ff18badbefd1f8b5046cad7c81ebd4b22eba15bbb24f4c5d1a0796", type_checked_symbol_table = "120bf70661b1aeef0c5eb9c5c344878b5e61fd2ac7e2de625db6c2df3661078c", unrolled_symbol_table = "120bf70661b1aeef0c5eb9c5c344878b5e61fd2ac7e2de625db6c2df3661078c", initial_ast = "2382aba2e9a32e33bd45ef5be340b433d34b8d6ed5d1d1bd05d7d41ee5ca6495", unrolled_ast = "2382aba2e9a32e33bd45ef5be340b433d34b8d6ed5d1d1bd05d7d41ee5ca6495", ssa_ast = "83155b8ecce689a70c808907b7c0e2dc95a590b9fd884d87294e4a84f547dfbe", flattened_ast = "cf5be6ff670c3eeb06a8fb34b303ba61c8fc5bda09b359346baaa2825debfd53", destructured_ast = "0af17fd408d0cd7f31a1ac5b916dcfff8779026b61e02d016f32d1157daa90e0", inlined_ast = "0af17fd408d0cd7f31a1ac5b916dcfff8779026b61e02d016f32d1157daa90e0", dce_ast = "dd8863fd3a3ea2d575a99522af0107bcf0e3350cd250f91b29bbb637d4ebafce", bytecode = "bc2da8a1b63f9c24fb14b7468faa8cc14da40ce5c61c9a1c86804b808533b92a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/pow.out b/tests/expectations/compiler/field/pow.out index 0bb594c0c7..dfdb6032d8 100644 --- a/tests/expectations/compiler/field/pow.out +++ b/tests/expectations/compiler/field/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1305bd0ff6bd94636ca16d92b5d797d9e6e13bb66984b6ca425ce31a61722ab4 - type_checked_symbol_table: e84b6de3a50500bde0355234446698396b79574abffd41d92632415592fe63da - unrolled_symbol_table: e84b6de3a50500bde0355234446698396b79574abffd41d92632415592fe63da - initial_ast: 80312496ab24daabcf44226625ba379bcea0b3f29c0dcbf91e6042519b86f9bc - unrolled_ast: 80312496ab24daabcf44226625ba379bcea0b3f29c0dcbf91e6042519b86f9bc - ssa_ast: 9b99c98fbaaee87ec4ac27b0d9b05f3e2f72845ab12fd1b8eeb357b30b25cb89 - flattened_ast: e5958627930d907503ce5ea7d2dd6f8df094574bde50b0658bfe799ccd8bf5cf - destructured_ast: 7943411258cd4d53c210d04ce770e76e0064b18c516c2803de78cd4cb8038b9d - inlined_ast: 7943411258cd4d53c210d04ce770e76e0064b18c516c2803de78cd4cb8038b9d - dce_ast: 7943411258cd4d53c210d04ce770e76e0064b18c516c2803de78cd4cb8038b9d - bytecode: e31bed8381ccd85c771e3eba7b52867ed99d7cfbfadf9fed69211d5a815f89e2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1305bd0ff6bd94636ca16d92b5d797d9e6e13bb66984b6ca425ce31a61722ab4", type_checked_symbol_table = "e84b6de3a50500bde0355234446698396b79574abffd41d92632415592fe63da", unrolled_symbol_table = "e84b6de3a50500bde0355234446698396b79574abffd41d92632415592fe63da", initial_ast = "80312496ab24daabcf44226625ba379bcea0b3f29c0dcbf91e6042519b86f9bc", unrolled_ast = "80312496ab24daabcf44226625ba379bcea0b3f29c0dcbf91e6042519b86f9bc", ssa_ast = "9b99c98fbaaee87ec4ac27b0d9b05f3e2f72845ab12fd1b8eeb357b30b25cb89", flattened_ast = "e5958627930d907503ce5ea7d2dd6f8df094574bde50b0658bfe799ccd8bf5cf", destructured_ast = "7943411258cd4d53c210d04ce770e76e0064b18c516c2803de78cd4cb8038b9d", inlined_ast = "7943411258cd4d53c210d04ce770e76e0064b18c516c2803de78cd4cb8038b9d", dce_ast = "7943411258cd4d53c210d04ce770e76e0064b18c516c2803de78cd4cb8038b9d", bytecode = "e31bed8381ccd85c771e3eba7b52867ed99d7cfbfadf9fed69211d5a815f89e2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/sub.out b/tests/expectations/compiler/field/sub.out index 8e02d69346..e477163c0e 100644 --- a/tests/expectations/compiler/field/sub.out +++ b/tests/expectations/compiler/field/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8 - type_checked_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - unrolled_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - initial_ast: 11d7a73b8a5367111769db51f97bdb5d0aaa50e36e12b63af1b5a319e71b828c - unrolled_ast: 11d7a73b8a5367111769db51f97bdb5d0aaa50e36e12b63af1b5a319e71b828c - ssa_ast: 5b97c863f50fd38f339edceafddca0bd87f363c3713e221dd2ef9f61727fa59a - flattened_ast: 28ebdf7d6ff6c185998d456c3b5cfcfbe06a15c23588059b643ee8bc4eadf554 - destructured_ast: 92d14541313ed61b47172e652a33a2eb679940760f075f3ed0f1fdc85c311b2e - inlined_ast: 92d14541313ed61b47172e652a33a2eb679940760f075f3ed0f1fdc85c311b2e - dce_ast: 92d14541313ed61b47172e652a33a2eb679940760f075f3ed0f1fdc85c311b2e - bytecode: ad633a49970484d1285719af828974f068669c6aef5a1d0e6471cc1285469d09 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8", type_checked_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", unrolled_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", initial_ast = "11d7a73b8a5367111769db51f97bdb5d0aaa50e36e12b63af1b5a319e71b828c", unrolled_ast = "11d7a73b8a5367111769db51f97bdb5d0aaa50e36e12b63af1b5a319e71b828c", ssa_ast = "5b97c863f50fd38f339edceafddca0bd87f363c3713e221dd2ef9f61727fa59a", flattened_ast = "28ebdf7d6ff6c185998d456c3b5cfcfbe06a15c23588059b643ee8bc4eadf554", destructured_ast = "92d14541313ed61b47172e652a33a2eb679940760f075f3ed0f1fdc85c311b2e", inlined_ast = "92d14541313ed61b47172e652a33a2eb679940760f075f3ed0f1fdc85c311b2e", dce_ast = "92d14541313ed61b47172e652a33a2eb679940760f075f3ed0f1fdc85c311b2e", bytecode = "ad633a49970484d1285719af828974f068669c6aef5a1d0e6471cc1285469d09", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/field/ternary.out b/tests/expectations/compiler/field/ternary.out index 8bc93020dc..f9bb89d998 100644 --- a/tests/expectations/compiler/field/ternary.out +++ b/tests/expectations/compiler/field/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8 - type_checked_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - unrolled_symbol_table: 92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f - initial_ast: 79657b057467e04a464e1f7f595851aac649e8d3983512ba672c17bf5448366b - unrolled_ast: 79657b057467e04a464e1f7f595851aac649e8d3983512ba672c17bf5448366b - ssa_ast: 29a922daab043f83b1d029dacdc991a861d25f04acce07a86c29ccd6d233d8bf - flattened_ast: 2ac3dbfbad788bb270308fb75cf8f33a5dc9ab7f2f0573ffdecb696e61c37558 - destructured_ast: f0cfccccd657f5d58431da1ca8cef0a4de586751d0d2aff980680cf0debb8345 - inlined_ast: f0cfccccd657f5d58431da1ca8cef0a4de586751d0d2aff980680cf0debb8345 - dce_ast: f0cfccccd657f5d58431da1ca8cef0a4de586751d0d2aff980680cf0debb8345 - bytecode: 483aebac4ea170dd82b9056a667b2be13c0b9e0b957a151e5f833e0119f7650b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "98620129b0cae3db8279fce93caa34d45de1f5391c28c6cbcb4cc03f30f2afd8", type_checked_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", unrolled_symbol_table = "92edf34ecf2d3908533c31a80ea3b094fcb4009c6139c18fee15299d7b48250f", initial_ast = "79657b057467e04a464e1f7f595851aac649e8d3983512ba672c17bf5448366b", unrolled_ast = "79657b057467e04a464e1f7f595851aac649e8d3983512ba672c17bf5448366b", ssa_ast = "29a922daab043f83b1d029dacdc991a861d25f04acce07a86c29ccd6d233d8bf", flattened_ast = "2ac3dbfbad788bb270308fb75cf8f33a5dc9ab7f2f0573ffdecb696e61c37558", destructured_ast = "f0cfccccd657f5d58431da1ca8cef0a4de586751d0d2aff980680cf0debb8345", inlined_ast = "f0cfccccd657f5d58431da1ca8cef0a4de586751d0d2aff980680cf0debb8345", dce_ast = "f0cfccccd657f5d58431da1ca8cef0a4de586751d0d2aff980680cf0debb8345", bytecode = "483aebac4ea170dd82b9056a667b2be13c0b9e0b957a151e5f833e0119f7650b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/block_height.out b/tests/expectations/compiler/finalize/block_height.out index 026dc25e5b..d5753ad86e 100644 --- a/tests/expectations/compiler/finalize/block_height.out +++ b/tests/expectations/compiler/finalize/block_height.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e6e5fd52e77bcda0e8548f17b7c058669a4f33e8a9d22407fe4fdffd04e66db0 - type_checked_symbol_table: 411706dd6334892a3e0c77cb079b3aa6129485f86444948673cc681e8797d1b6 - unrolled_symbol_table: 411706dd6334892a3e0c77cb079b3aa6129485f86444948673cc681e8797d1b6 - initial_ast: 7c696a240b5dca3bd6f8528571fa7cf9f2a2d67448f775d3fd4cb31e415a7d3c - unrolled_ast: 7c696a240b5dca3bd6f8528571fa7cf9f2a2d67448f775d3fd4cb31e415a7d3c - ssa_ast: 47d43faf43d15c119ca806691578ee076593653307f7a15280a4d2f7a9c87875 - flattened_ast: 1fb77e4a151c2cf7e2ab0aee1f9e3b0db9cf1a3151e469eda5839c02f7a9fdb2 - destructured_ast: ce1827e7c8b3b720da956d13893c2521d5bb878bf3d06d5a80beecc46be4111c - inlined_ast: eb734460b6dc341d94745cd98f7a2dabe328cd36d37a090815eb19cd3076cba0 - dce_ast: eb734460b6dc341d94745cd98f7a2dabe328cd36d37a090815eb19cd3076cba0 - bytecode: efd6cf31c0ed4b1053dc7c99ebdea0147343fb8a2cb187d24a345e08debc169b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e6e5fd52e77bcda0e8548f17b7c058669a4f33e8a9d22407fe4fdffd04e66db0", type_checked_symbol_table = "411706dd6334892a3e0c77cb079b3aa6129485f86444948673cc681e8797d1b6", unrolled_symbol_table = "411706dd6334892a3e0c77cb079b3aa6129485f86444948673cc681e8797d1b6", initial_ast = "7c696a240b5dca3bd6f8528571fa7cf9f2a2d67448f775d3fd4cb31e415a7d3c", unrolled_ast = "7c696a240b5dca3bd6f8528571fa7cf9f2a2d67448f775d3fd4cb31e415a7d3c", ssa_ast = "47d43faf43d15c119ca806691578ee076593653307f7a15280a4d2f7a9c87875", flattened_ast = "1fb77e4a151c2cf7e2ab0aee1f9e3b0db9cf1a3151e469eda5839c02f7a9fdb2", destructured_ast = "ce1827e7c8b3b720da956d13893c2521d5bb878bf3d06d5a80beecc46be4111c", inlined_ast = "eb734460b6dc341d94745cd98f7a2dabe328cd36d37a090815eb19cd3076cba0", dce_ast = "eb734460b6dc341d94745cd98f7a2dabe328cd36d37a090815eb19cd3076cba0", bytecode = "efd6cf31c0ed4b1053dc7c99ebdea0147343fb8a2cb187d24a345e08debc169b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/block_height_fail.out b/tests/expectations/compiler/finalize/block_height_fail.out index 5128b60e5b..e17328c20d 100644 --- a/tests/expectations/compiler/finalize/block_height_fail.out +++ b/tests/expectations/compiler/finalize/block_height_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372034]: `block.height` must be inside an async function block.\n --> compiler-test:5:33\n |\n 5 | assert_eq(height, block.height);\n | ^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372034]: `block.height` must be inside an async function block. + --> compiler-test:5:33 + | + 5 | assert_eq(height, block.height); + | ^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/closure_with_finalize_fail.out b/tests/expectations/compiler/finalize/closure_with_finalize_fail.out index 4c2a770eb7..ab5ddaab4b 100644 --- a/tests/expectations/compiler/finalize/closure_with_finalize_fail.out +++ b/tests/expectations/compiler/finalize/closure_with_finalize_fail.out @@ -1,5 +1,63 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372110]: A `transition` cannot return a future.\n --> compiler-test:4:35\n |\n 4 | function foo(a: u8, b: u8) -> Future {\n | ^^^^^^\n |\n = Use an `async transition` instead.\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:5:16\n |\n 5 | return finalize_bar(a, b);\n | ^^^^^^^^^^^^^^^^^^\nError [ETYC0372101]: Can only make an async call from an async transition.\n --> compiler-test:5:16\n |\n 5 | return finalize_bar(a, b);\n | ^^^^^^^^^^^^^^^^^^\n |\n = Move the async call inside of the async transition block.\nError [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:12:5\n |\n 12 | async function finalize_bar(a: u8, b: u8) -> u8 {\n 13 | return a + b;\n 14 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\nError [ETYC0372110]: A `transition` cannot return a future.\n --> compiler-test:17:61\n |\n 17 | function mint_public(receiver: address, amount: u64) -> Future {\n | ^^^^^^\n |\n = Use an `async transition` instead.\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:18:16\n |\n 18 | return finalize_mint(receiver, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372101]: Can only make an async call from an async transition.\n --> compiler-test:18:16\n |\n 18 | return finalize_mint(receiver, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Move the async call inside of the async transition block.\nError [ETYC0372005]: Unknown variable `account`\n --> compiler-test:22:22\n |\n 22 | Mapping::set(account, receiver, amount);\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372110]: A `transition` cannot return a future. + --> compiler-test:4:35 + | + 4 | function foo(a: u8, b: u8) -> Future { + | ^^^^^^ + | + = Use an `async transition` instead. +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:5:16 + | + 5 | return finalize_bar(a, b); + | ^^^^^^^^^^^^^^^^^^ +Error [ETYC0372101]: Can only make an async call from an async transition. + --> compiler-test:5:16 + | + 5 | return finalize_bar(a, b); + | ^^^^^^^^^^^^^^^^^^ + | + = Move the async call inside of the async transition block. +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:12:5 + | + 12 | async function finalize_bar(a: u8, b: u8) -> u8 { + 13 | return a + b; + 14 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +Error [ETYC0372110]: A `transition` cannot return a future. + --> compiler-test:17:61 + | + 17 | function mint_public(receiver: address, amount: u64) -> Future { + | ^^^^^^ + | + = Use an `async transition` instead. +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:18:16 + | + 18 | return finalize_mint(receiver, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372101]: Can only make an async call from an async transition. + --> compiler-test:18:16 + | + 18 | return finalize_mint(receiver, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = Move the async call inside of the async transition block. +Error [ETYC0372005]: Unknown variable `account` + --> compiler-test:22:22 + | + 22 | Mapping::set(account, receiver, amount); + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/contains.out b/tests/expectations/compiler/finalize/contains.out index 7b787957c4..a912f3e173 100644 --- a/tests/expectations/compiler/finalize/contains.out +++ b/tests/expectations/compiler/finalize/contains.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 15158cf85896dafc3e0c9cb94aa57345abb8a8f312e24e64e90139add6bb8e27 - type_checked_symbol_table: 35f03792a077e2b869e29a912f5da8bf42fc5bfefde8e743d488b3fe950c326a - unrolled_symbol_table: 35f03792a077e2b869e29a912f5da8bf42fc5bfefde8e743d488b3fe950c326a - initial_ast: d2a45f9028d65426da3469e96d2861dc5211b6c38b32f712ee8836b21cfae53d - unrolled_ast: d2a45f9028d65426da3469e96d2861dc5211b6c38b32f712ee8836b21cfae53d - ssa_ast: 9ee712560853cd8d5056baf9ca70a530cc87a4f222f14f1404cb3530acc5c301 - flattened_ast: 40f24787942caba5124252a80625ecaf74e7948eb88206ba75f0a510015bec61 - destructured_ast: b34a0fbb7379b6b434082a0475fb1c44621bb69c9e5f3ca6717676cb9d84211c - inlined_ast: 9a6ba60bca68e60866f188fd3580fa388aeb1ce0032c013205b0e02b32bd250e - dce_ast: 9a6ba60bca68e60866f188fd3580fa388aeb1ce0032c013205b0e02b32bd250e - bytecode: 167f0db95f7c2be39c98ed17fde82214d5ca6afe1722a91d359dd7a801bad418 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "15158cf85896dafc3e0c9cb94aa57345abb8a8f312e24e64e90139add6bb8e27", type_checked_symbol_table = "35f03792a077e2b869e29a912f5da8bf42fc5bfefde8e743d488b3fe950c326a", unrolled_symbol_table = "35f03792a077e2b869e29a912f5da8bf42fc5bfefde8e743d488b3fe950c326a", initial_ast = "d2a45f9028d65426da3469e96d2861dc5211b6c38b32f712ee8836b21cfae53d", unrolled_ast = "d2a45f9028d65426da3469e96d2861dc5211b6c38b32f712ee8836b21cfae53d", ssa_ast = "9ee712560853cd8d5056baf9ca70a530cc87a4f222f14f1404cb3530acc5c301", flattened_ast = "40f24787942caba5124252a80625ecaf74e7948eb88206ba75f0a510015bec61", destructured_ast = "b34a0fbb7379b6b434082a0475fb1c44621bb69c9e5f3ca6717676cb9d84211c", inlined_ast = "9a6ba60bca68e60866f188fd3580fa388aeb1ce0032c013205b0e02b32bd250e", dce_ast = "9a6ba60bca68e60866f188fd3580fa388aeb1ce0032c013205b0e02b32bd250e", bytecode = "167f0db95f7c2be39c98ed17fde82214d5ca6afe1722a91d359dd7a801bad418", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/decrement_fail.out b/tests/expectations/compiler/finalize/decrement_fail.out index 02503ade2d..5cefee9f29 100644 --- a/tests/expectations/compiler/finalize/decrement_fail.out +++ b/tests/expectations/compiler/finalize/decrement_fail.out @@ -1,5 +1,15 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown function `decrement`\n --> compiler-test:11:9\n |\n 11 | decrement(amounts, addr, amount);\n | ^^^^^^^^^\nWarning [WPAR0370001]: The keyword `decrement` is deprecated.\n --> compiler-test:11:9\n |\n 11 | decrement(amounts, addr, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings." +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown function `decrement` + --> compiler-test:11:9 + | + 11 | decrement(amounts, addr, amount); + | ^^^^^^^^^ +Warning [WPAR0370001]: The keyword `decrement` is deprecated. + --> compiler-test:11:9 + | + 11 | decrement(amounts, addr, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings."""] diff --git a/tests/expectations/compiler/finalize/decrement_via_get_set.out b/tests/expectations/compiler/finalize/decrement_via_get_set.out index eb1842d02c..3ed0a37da0 100644 --- a/tests/expectations/compiler/finalize/decrement_via_get_set.out +++ b/tests/expectations/compiler/finalize/decrement_via_get_set.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 60f7bdd11192425cfc45192bcc1b539e7b05551236a1a490fba4f79823cc50e1 - type_checked_symbol_table: 652f161821c10c6528014b80c2dbc000f141f6e410ce96f093b5e5be5834d8de - unrolled_symbol_table: 652f161821c10c6528014b80c2dbc000f141f6e410ce96f093b5e5be5834d8de - initial_ast: 577b00e2287a194222a242de6c7c56c9c761ea97ad6ba126114fca212f74c9b8 - unrolled_ast: 577b00e2287a194222a242de6c7c56c9c761ea97ad6ba126114fca212f74c9b8 - ssa_ast: 33f828dbd1a0c3aedc5990cc8df882dca958f230575425068a95823d59483c2e - flattened_ast: 6251f84c9ed5cebf8ddf61ec6d1aeea44c4bf615581fb275f9ee881cd75b47f5 - destructured_ast: ca58c119a4ac73966ded5a2ec8f59cc4f6722e622010bbd2837602ba588404da - inlined_ast: ccb442edf03d8af70e78a8ebba312ad0966218244d3b55e2fc1298ccc888a936 - dce_ast: ccb442edf03d8af70e78a8ebba312ad0966218244d3b55e2fc1298ccc888a936 - bytecode: 2d6d813315ed6124a9d165422f7eab08f392cae110767d6b7fbdbfcaca4e5bcf - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "60f7bdd11192425cfc45192bcc1b539e7b05551236a1a490fba4f79823cc50e1", type_checked_symbol_table = "652f161821c10c6528014b80c2dbc000f141f6e410ce96f093b5e5be5834d8de", unrolled_symbol_table = "652f161821c10c6528014b80c2dbc000f141f6e410ce96f093b5e5be5834d8de", initial_ast = "577b00e2287a194222a242de6c7c56c9c761ea97ad6ba126114fca212f74c9b8", unrolled_ast = "577b00e2287a194222a242de6c7c56c9c761ea97ad6ba126114fca212f74c9b8", ssa_ast = "33f828dbd1a0c3aedc5990cc8df882dca958f230575425068a95823d59483c2e", flattened_ast = "6251f84c9ed5cebf8ddf61ec6d1aeea44c4bf615581fb275f9ee881cd75b47f5", destructured_ast = "ca58c119a4ac73966ded5a2ec8f59cc4f6722e622010bbd2837602ba588404da", inlined_ast = "ccb442edf03d8af70e78a8ebba312ad0966218244d3b55e2fc1298ccc888a936", dce_ast = "ccb442edf03d8af70e78a8ebba312ad0966218244d3b55e2fc1298ccc888a936", bytecode = "2d6d813315ed6124a9d165422f7eab08f392cae110767d6b7fbdbfcaca4e5bcf", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/empty_finalize_fail.out b/tests/expectations/compiler/finalize/empty_finalize_fail.out index 3c256b97d4..25cbd0dcd4 100644 --- a/tests/expectations/compiler/finalize/empty_finalize_fail.out +++ b/tests/expectations/compiler/finalize/empty_finalize_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372037]: An async function call block cannot be empty.\n --> compiler-test:9:80\n |\n 9 | async function finalize_mint(public receiver: address, public amount: u64) {}\n | ^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372037]: An async function call block cannot be empty. + --> compiler-test:9:80 + | + 9 | async function finalize_mint(public receiver: address, public amount: u64) {} + | ^^ +"""] diff --git a/tests/expectations/compiler/finalize/finalize.out b/tests/expectations/compiler/finalize/finalize.out index 649944114e..a6396220b7 100644 --- a/tests/expectations/compiler/finalize/finalize.out +++ b/tests/expectations/compiler/finalize/finalize.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 59fe602c0d7bc9ba582e57bd00ca4df0cf521ac4237f1822aab93672d25595a0 - type_checked_symbol_table: 9bc8d3261b8e16e3378c7dcf64f776a70ebb85a8f0e4ed89bc91febcf4a5d64c - unrolled_symbol_table: 9bc8d3261b8e16e3378c7dcf64f776a70ebb85a8f0e4ed89bc91febcf4a5d64c - initial_ast: fac4817f93bb7040ea2c073a4aa94babc29d0bec61198d17fe7fb0e4e7ea9ded - unrolled_ast: fac4817f93bb7040ea2c073a4aa94babc29d0bec61198d17fe7fb0e4e7ea9ded - ssa_ast: be2f3f263ca2b58754bbd8a7addcaa1052b03ceaef3d98d69612ddf4661ab0e0 - flattened_ast: 4756c0d180b5eeb11e93fdc18a693652d2f867db82bd3637128a7e8b7d4e2e96 - destructured_ast: e31c11310cb123d8209b8040105e9cea8d332a8c1641f2422b69f561202a5796 - inlined_ast: aa37165752ea0677d59741347d0185d40ba9e03a1c220692915c63ca72ecc63e - dce_ast: aa37165752ea0677d59741347d0185d40ba9e03a1c220692915c63ca72ecc63e - bytecode: a146226b7799224cc098e11a978dd80923ab5abe74d33fcbf62e729d130ac61d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "59fe602c0d7bc9ba582e57bd00ca4df0cf521ac4237f1822aab93672d25595a0", type_checked_symbol_table = "9bc8d3261b8e16e3378c7dcf64f776a70ebb85a8f0e4ed89bc91febcf4a5d64c", unrolled_symbol_table = "9bc8d3261b8e16e3378c7dcf64f776a70ebb85a8f0e4ed89bc91febcf4a5d64c", initial_ast = "fac4817f93bb7040ea2c073a4aa94babc29d0bec61198d17fe7fb0e4e7ea9ded", unrolled_ast = "fac4817f93bb7040ea2c073a4aa94babc29d0bec61198d17fe7fb0e4e7ea9ded", ssa_ast = "be2f3f263ca2b58754bbd8a7addcaa1052b03ceaef3d98d69612ddf4661ab0e0", flattened_ast = "4756c0d180b5eeb11e93fdc18a693652d2f867db82bd3637128a7e8b7d4e2e96", destructured_ast = "e31c11310cb123d8209b8040105e9cea8d332a8c1641f2422b69f561202a5796", inlined_ast = "aa37165752ea0677d59741347d0185d40ba9e03a1c220692915c63ca72ecc63e", dce_ast = "aa37165752ea0677d59741347d0185d40ba9e03a1c220692915c63ca72ecc63e", bytecode = "a146226b7799224cc098e11a978dd80923ab5abe74d33fcbf62e729d130ac61d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/finalize_fail.out b/tests/expectations/compiler/finalize/finalize_fail.out index 54fd32eb77..929fbb6af9 100644 --- a/tests/expectations/compiler/finalize/finalize_fail.out +++ b/tests/expectations/compiler/finalize/finalize_fail.out @@ -1,5 +1,32 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372006]: function `finalize_no_params` shadowed by\n --> compiler-test:27:5\n |\n 27 | async function finalize_no_params() {\n 28 | increment(values, 0u8, 1u8);\n 29 | increment(account, self.caller, 1u64);\n 30 | }\n | ^\nWarning [WPAR0370001]: The keyword `increment` is deprecated.\n --> compiler-test:12:9\n |\n 12 | increment(account, receiver, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings.\nWarning [WPAR0370001]: The keyword `increment` is deprecated.\n --> compiler-test:28:9\n |\n 28 | increment(values, 0u8, 1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings.\nWarning [WPAR0370001]: The keyword `increment` is deprecated.\n --> compiler-test:29:9\n |\n 29 | increment(account, self.caller, 1u64);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings." +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372006]: function `finalize_no_params` shadowed by + --> compiler-test:27:5 + | + 27 | async function finalize_no_params() { + 28 | increment(values, 0u8, 1u8); + 29 | increment(account, self.caller, 1u64); + 30 | } + | ^ +Warning [WPAR0370001]: The keyword `increment` is deprecated. + --> compiler-test:12:9 + | + 12 | increment(account, receiver, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings. +Warning [WPAR0370001]: The keyword `increment` is deprecated. + --> compiler-test:28:9 + | + 28 | increment(values, 0u8, 1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings. +Warning [WPAR0370001]: The keyword `increment` is deprecated. + --> compiler-test:29:9 + | + 29 | increment(account, self.caller, 1u64); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings."""] diff --git a/tests/expectations/compiler/finalize/finalize_incorrect_modes_fail.out b/tests/expectations/compiler/finalize/finalize_incorrect_modes_fail.out index bf673e679a..6dfc880ef6 100644 --- a/tests/expectations/compiler/finalize/finalize_incorrect_modes_fail.out +++ b/tests/expectations/compiler/finalize/finalize_incorrect_modes_fail.out @@ -1,5 +1,42 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:10:5\n |\n 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 {\n 11 | Mapping::set(account, receiver, amount);\n 12 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\nError [ETYC0372032]: An input to an async function must be public.\n --> compiler-test:10:76\n |\n 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 {\n | ^^^^^^\n |\n = Use a `public` modifier to the input variable declaration or remove the visibility modifier entirely.\nError [ETYC0372038]: A returned value cannot be a constant.\n --> compiler-test:10:101\n |\n 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 {\n | ^^^\nError [ETYC0372036]: Function must return a value.\n --> compiler-test:10:5\n |\n 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 {\n 11 | Mapping::set(account, receiver, amount);\n 12 | }\n | ^\nError [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:18:5\n |\n 18 | async function finalize_mint_public2(public receiver: address, amount: u64) -> u64 {\n 19 | Mapping::set(account, receiver, amount);\n 20 | return amount + amount;\n 21 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:10:5 + | + 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 { + 11 | Mapping::set(account, receiver, amount); + 12 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +Error [ETYC0372032]: An input to an async function must be public. + --> compiler-test:10:76 + | + 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 { + | ^^^^^^ + | + = Use a `public` modifier to the input variable declaration or remove the visibility modifier entirely. +Error [ETYC0372038]: A returned value cannot be a constant. + --> compiler-test:10:101 + | + 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 { + | ^^^ +Error [ETYC0372036]: Function must return a value. + --> compiler-test:10:5 + | + 10 | async function finalize_mint_public(public receiver: address, constant amount: u64) -> constant u64 { + 11 | Mapping::set(account, receiver, amount); + 12 | } + | ^ +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:18:5 + | + 18 | async function finalize_mint_public2(public receiver: address, amount: u64) -> u64 { + 19 | Mapping::set(account, receiver, amount); + 20 | return amount + amount; + 21 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +"""] diff --git a/tests/expectations/compiler/finalize/finalize_incorrect_return_fail.out b/tests/expectations/compiler/finalize/finalize_incorrect_return_fail.out index ca98538534..c503396ab3 100644 --- a/tests/expectations/compiler/finalize/finalize_incorrect_return_fail.out +++ b/tests/expectations/compiler/finalize/finalize_incorrect_return_fail.out @@ -1,5 +1,24 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:10:5\n |\n 10 | async function finalize_mint_public(public receiver: address, public amount: u64) -> u64 {\n 11 | Mapping::set(account, receiver, amount);\n 12 | return 1u8 + 2u8;\n 13 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\nError [ETYC0372003]: Expected type `u64` but type `u8` was found\n --> compiler-test:12:16\n |\n 12 | return 1u8 + 2u8;\n | ^^^\nError [ETYC0372003]: Expected type `u64` but type `u8` was found\n --> compiler-test:12:22\n |\n 12 | return 1u8 + 2u8;\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:10:5 + | + 10 | async function finalize_mint_public(public receiver: address, public amount: u64) -> u64 { + 11 | Mapping::set(account, receiver, amount); + 12 | return 1u8 + 2u8; + 13 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +Error [ETYC0372003]: Expected type `u64` but type `u8` was found + --> compiler-test:12:16 + | + 12 | return 1u8 + 2u8; + | ^^^ +Error [ETYC0372003]: Expected type `u64` but type `u8` was found + --> compiler-test:12:22 + | + 12 | return 1u8 + 2u8; + | ^^^ +"""] diff --git a/tests/expectations/compiler/finalize/finalize_missing_return_fail.out b/tests/expectations/compiler/finalize/finalize_missing_return_fail.out index 6b11834c2d..5f9e8937cb 100644 --- a/tests/expectations/compiler/finalize/finalize_missing_return_fail.out +++ b/tests/expectations/compiler/finalize/finalize_missing_return_fail.out @@ -1,5 +1,20 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:11:5\n |\n 11 | async function fin_mint(public receiver: address, public amount: u64) -> u64 {\n 12 | Mapping::set(account, receiver, amount);\n 13 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\nError [ETYC0372036]: Function must return a value.\n --> compiler-test:11:5\n |\n 11 | async function fin_mint(public receiver: address, public amount: u64) -> u64 {\n 12 | Mapping::set(account, receiver, amount);\n 13 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:11:5 + | + 11 | async function fin_mint(public receiver: address, public amount: u64) -> u64 { + 12 | Mapping::set(account, receiver, amount); + 13 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +Error [ETYC0372036]: Function must return a value. + --> compiler-test:11:5 + | + 11 | async function fin_mint(public receiver: address, public amount: u64) -> u64 { + 12 | Mapping::set(account, receiver, amount); + 13 | } + | ^ +"""] diff --git a/tests/expectations/compiler/finalize/finalize_name_mismatch_fail.out b/tests/expectations/compiler/finalize/finalize_name_mismatch_fail.out index 7073d4fad9..8dda11b920 100644 --- a/tests/expectations/compiler/finalize/finalize_name_mismatch_fail.out +++ b/tests/expectations/compiler/finalize/finalize_name_mismatch_fail.out @@ -1,5 +1,24 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown function `finalize_mint_public`\n --> compiler-test:8:16\n |\n 8 | return finalize_mint_public(receiver, amount);\n | ^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372088]: An async transition must call an async function.\n --> compiler-test:7:5\n |\n 7 | async transition mint_public(public receiver: address, public amount: u64) -> Future {\n 8 | return finalize_mint_public(receiver, amount);\n 9 | }\n | ^\n |\n = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }`\nWarning [WTYC0372002]: The async function `finalize_mint_private` is never called by an async transition.\n --> compiler-test:11:5\n |\n 11 | async function finalize_mint_private (public receiver: address, public amount: u64) {\n 12 | Mapping::set(account, receiver, amount);\n 13 | }\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown function `finalize_mint_public` + --> compiler-test:8:16 + | + 8 | return finalize_mint_public(receiver, amount); + | ^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372088]: An async transition must call an async function. + --> compiler-test:7:5 + | + 7 | async transition mint_public(public receiver: address, public amount: u64) -> Future { + 8 | return finalize_mint_public(receiver, amount); + 9 | } + | ^ + | + = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }` +Warning [WTYC0372002]: The async function `finalize_mint_private` is never called by an async transition. + --> compiler-test:11:5 + | + 11 | async function finalize_mint_private (public receiver: address, public amount: u64) { + 12 | Mapping::set(account, receiver, amount); + 13 | } + | ^"""] diff --git a/tests/expectations/compiler/finalize/finalize_reassign_to_outer_scope_fail.out b/tests/expectations/compiler/finalize/finalize_reassign_to_outer_scope_fail.out index 19eb5bdeef..43698f2e95 100644 --- a/tests/expectations/compiler/finalize/finalize_reassign_to_outer_scope_fail.out +++ b/tests/expectations/compiler/finalize/finalize_reassign_to_outer_scope_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372109]: Cannot re-assign to `try_get_token` from a conditional scope to an outer scope in an async function.\n --> compiler-test:16:13\n |\n 16 | let try_get_token: TokenInfo = Mapping::get_or_use(\n | ^^^^^^^^^^^^^\n |\n = This is a fundamental restriction that can often be avoided by using a ternary operator `?` or re-declaring the variable in the current scope. In the future, ARC XXXX (https://github.com/AleoHQ/ARCs) will support more complex assignments in async functions.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372109]: Cannot re-assign to `try_get_token` from a conditional scope to an outer scope in an async function. + --> compiler-test:16:13 + | + 16 | let try_get_token: TokenInfo = Mapping::get_or_use( + | ^^^^^^^^^^^^^ + | + = This is a fundamental restriction that can often be avoided by using a ternary operator `?` or re-declaring the variable in the current scope. In the future, ARC XXXX (https://github.com/AleoHQ/ARCs) will support more complex assignments in async functions. +"""] diff --git a/tests/expectations/compiler/finalize/finalize_returns_value_fail.out b/tests/expectations/compiler/finalize/finalize_returns_value_fail.out index aab85d1e4b..deca0183b9 100644 --- a/tests/expectations/compiler/finalize/finalize_returns_value_fail.out +++ b/tests/expectations/compiler/finalize/finalize_returns_value_fail.out @@ -1,5 +1,13 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:8:5\n |\n 8 | async function finalize_public_adder(a: u8, b: u8) -> public u8 {\n 9 | return a + b;\n 10 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:8:5 + | + 8 | async function finalize_public_adder(a: u8, b: u8) -> public u8 { + 9 | return a + b; + 10 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +"""] diff --git a/tests/expectations/compiler/finalize/finalize_statement_incorrect_args_fail.out b/tests/expectations/compiler/finalize/finalize_statement_incorrect_args_fail.out index f7d86c8cb6..57b98f2510 100644 --- a/tests/expectations/compiler/finalize/finalize_statement_incorrect_args_fail.out +++ b/tests/expectations/compiler/finalize/finalize_statement_incorrect_args_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372006]: Call expected `2` args, but got `3`\n --> compiler-test:8:16\n |\n 8 | return finalize_mint_public(receiver, amount, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372006]: Call expected `2` args, but got `3` + --> compiler-test:8:16 + | + 8 | return finalize_mint_public(receiver, amount, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/finalize_with_method_calls.out b/tests/expectations/compiler/finalize/finalize_with_method_calls.out index 09efa7e86b..c1c76cea8d 100644 --- a/tests/expectations/compiler/finalize/finalize_with_method_calls.out +++ b/tests/expectations/compiler/finalize/finalize_with_method_calls.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f3422ce14871b1c0cabd75467f8fda5c209d90a4bae85f8f9dff9fee98872b27 - type_checked_symbol_table: ac47beaa7a6934d53f9d7d08c661a4a9862798a8177b9a9718d56e782dd93f62 - unrolled_symbol_table: ac47beaa7a6934d53f9d7d08c661a4a9862798a8177b9a9718d56e782dd93f62 - initial_ast: 18697a2da0251fbac1310b6de5647e40096a07aac784a04c2ff0758795bc32ee - unrolled_ast: 18697a2da0251fbac1310b6de5647e40096a07aac784a04c2ff0758795bc32ee - ssa_ast: 68bb94a829d0d81d5498c72eadf07fd13bf4c16d91f869a6c86e9c125b1fae8f - flattened_ast: ef95952b1df07c24c080751864ebe1917a9bfb448b88a72f942bb54e83870867 - destructured_ast: 4e3eecbcc66d2b238bfcb35461908025b0be5f7314f7283c3be25800e2693d18 - inlined_ast: 745fe6f6eac6755b3b3e3bc0ab926819d43d9819b6df5a1bad921fd6e70c6fd6 - dce_ast: 745fe6f6eac6755b3b3e3bc0ab926819d43d9819b6df5a1bad921fd6e70c6fd6 - bytecode: c9efd41503bd559059cb4b5101eebd99917818e3a0def6062fc1f82d0cf66845 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f3422ce14871b1c0cabd75467f8fda5c209d90a4bae85f8f9dff9fee98872b27", type_checked_symbol_table = "ac47beaa7a6934d53f9d7d08c661a4a9862798a8177b9a9718d56e782dd93f62", unrolled_symbol_table = "ac47beaa7a6934d53f9d7d08c661a4a9862798a8177b9a9718d56e782dd93f62", initial_ast = "18697a2da0251fbac1310b6de5647e40096a07aac784a04c2ff0758795bc32ee", unrolled_ast = "18697a2da0251fbac1310b6de5647e40096a07aac784a04c2ff0758795bc32ee", ssa_ast = "68bb94a829d0d81d5498c72eadf07fd13bf4c16d91f869a6c86e9c125b1fae8f", flattened_ast = "ef95952b1df07c24c080751864ebe1917a9bfb448b88a72f942bb54e83870867", destructured_ast = "4e3eecbcc66d2b238bfcb35461908025b0be5f7314f7283c3be25800e2693d18", inlined_ast = "745fe6f6eac6755b3b3e3bc0ab926819d43d9819b6df5a1bad921fd6e70c6fd6", dce_ast = "745fe6f6eac6755b3b3e3bc0ab926819d43d9819b6df5a1bad921fd6e70c6fd6", bytecode = "c9efd41503bd559059cb4b5101eebd99917818e3a0def6062fc1f82d0cf66845", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/finalize_with_return.out b/tests/expectations/compiler/finalize/finalize_with_return.out index b41275e213..11409ed75b 100644 --- a/tests/expectations/compiler/finalize/finalize_with_return.out +++ b/tests/expectations/compiler/finalize/finalize_with_return.out @@ -1,5 +1,23 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:11:5\n |\n 11 | async function finalize_mint_public (public receiver: address, public amount: u64) -> u64 {\n 12 | Mapping::set(account, receiver, amount);\n 13 | return amount;\n 14 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\nError [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:18:7\n |\n 18 | } async function finalize_public_adder(a: u8, b: u8) -> public u8 {\n 19 | return a + b;\n 20 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:11:5 + | + 11 | async function finalize_mint_public (public receiver: address, public amount: u64) -> u64 { + 12 | Mapping::set(account, receiver, amount); + 13 | return amount; + 14 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:18:7 + | + 18 | } async function finalize_public_adder(a: u8, b: u8) -> public u8 { + 19 | return a + b; + 20 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +"""] diff --git a/tests/expectations/compiler/finalize/finalize_without_finalize_statement_fail.out b/tests/expectations/compiler/finalize/finalize_without_finalize_statement_fail.out index a8d88b70d7..2eb365b465 100644 --- a/tests/expectations/compiler/finalize/finalize_without_finalize_statement_fail.out +++ b/tests/expectations/compiler/finalize/finalize_without_finalize_statement_fail.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372088]: An async transition must call an async function.\n --> compiler-test:6:5\n |\n 6 | async transition mint_public(public receiver: address, public amount: u64) {\n 7 | \n 8 | }\n | ^\n |\n = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }`\nWarning [WTYC0372002]: The async function `finalize_mint_public` is never called by an async transition.\n --> compiler-test:10:5\n |\n 10 | async function finalize_mint_public (public receiver: address, public amount: u64) {\n 11 | Mapping::set(account, receiver, amount);\n 12 | }\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372088]: An async transition must call an async function. + --> compiler-test:6:5 + | + 6 | async transition mint_public(public receiver: address, public amount: u64) { + 7 | + 8 | } + | ^ + | + = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }` +Warning [WTYC0372002]: The async function `finalize_mint_public` is never called by an async transition. + --> compiler-test:10:5 + | + 10 | async function finalize_mint_public (public receiver: address, public amount: u64) { + 11 | Mapping::set(account, receiver, amount); + 12 | } + | ^"""] diff --git a/tests/expectations/compiler/finalize/get_incorrect_num_operands.out b/tests/expectations/compiler/finalize/get_incorrect_num_operands.out index 6fdfe5ed98..3ed76227f6 100644 --- a/tests/expectations/compiler/finalize/get_incorrect_num_operands.out +++ b/tests/expectations/compiler/finalize/get_incorrect_num_operands.out @@ -1,5 +1,13 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370021]: The type of `tokens` has no associated function `get` that takes 2 argument(s).\n --> compiler-test:18:9\n |\n 18 | tokens.get(true, true);\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370021]: The type of `amounts` has no associated function `get` that takes 0 argument(s).\n --> compiler-test:20:9\n |\n 20 | amounts.get();\n | ^^^^^^^^^^^^^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370021]: The type of `tokens` has no associated function `get` that takes 2 argument(s). + --> compiler-test:18:9 + | + 18 | tokens.get(true, true); + | ^^^^^^^^^^^^^^^^^^^^^^ +Error [EPAR0370021]: The type of `amounts` has no associated function `get` that takes 0 argument(s). + --> compiler-test:20:9 + | + 20 | amounts.get(); + | ^^^^^^^^^^^^^"""] diff --git a/tests/expectations/compiler/finalize/get_incorrect_type_fail.out b/tests/expectations/compiler/finalize/get_incorrect_type_fail.out index 93625fcc1a..c294aa350e 100644 --- a/tests/expectations/compiler/finalize/get_incorrect_type_fail.out +++ b/tests/expectations/compiler/finalize/get_incorrect_type_fail.out @@ -1,5 +1,29 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372031]: A mapping's value cannot be a record\n --> compiler-test:10:5\n |\n 10 | mapping tokens: address => Token;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `address` but type `bool` was found\n --> compiler-test:17:30\n |\n 17 | Mapping::get(tokens, true);\n | ^^^^\nError [ETYC0372003]: Expected type `address` but type `bool` was found\n --> compiler-test:18:20\n |\n 18 | tokens.get(true);\n | ^^^^\nError [ETYC0372003]: Expected type `address` but type `u8` was found\n --> compiler-test:19:31\n |\n 19 | Mapping::get(amounts, 1u8);\n | ^^^\nError [ETYC0372003]: Expected type `address` but type `u8` was found\n --> compiler-test:20:21\n |\n 20 | amounts.get(1u8);\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372031]: A mapping's value cannot be a record + --> compiler-test:10:5 + | + 10 | mapping tokens: address => Token; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `address` but type `bool` was found + --> compiler-test:17:30 + | + 17 | Mapping::get(tokens, true); + | ^^^^ +Error [ETYC0372003]: Expected type `address` but type `bool` was found + --> compiler-test:18:20 + | + 18 | tokens.get(true); + | ^^^^ +Error [ETYC0372003]: Expected type `address` but type `u8` was found + --> compiler-test:19:31 + | + 19 | Mapping::get(amounts, 1u8); + | ^^^ +Error [ETYC0372003]: Expected type `address` but type `u8` was found + --> compiler-test:20:21 + | + 20 | amounts.get(1u8); + | ^^^ +"""] diff --git a/tests/expectations/compiler/finalize/get_or_incorrect_num_operands.out b/tests/expectations/compiler/finalize/get_or_incorrect_num_operands.out index e5848c162c..0d73fee5b0 100644 --- a/tests/expectations/compiler/finalize/get_or_incorrect_num_operands.out +++ b/tests/expectations/compiler/finalize/get_or_incorrect_num_operands.out @@ -1,5 +1,18 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370021]: The type of `tokens` has no associated function `get_or_use` that takes 3 argument(s).\n --> compiler-test:18:9\n |\n 18 | tokens.get_or_use(addr, amount, 1u128);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370021]: The type of `amounts` has no associated function `get_or_use` that takes 1 argument(s).\n --> compiler-test:20:9\n |\n 20 | amounts.get_or_use(1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370021]: The type of `amounts` has no associated function `get_or_use` that takes 0 argument(s).\n --> compiler-test:22:9\n |\n 22 | amounts.get_or_use();\n | ^^^^^^^^^^^^^^^^^^^^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370021]: The type of `tokens` has no associated function `get_or_use` that takes 3 argument(s). + --> compiler-test:18:9 + | + 18 | tokens.get_or_use(addr, amount, 1u128); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [EPAR0370021]: The type of `amounts` has no associated function `get_or_use` that takes 1 argument(s). + --> compiler-test:20:9 + | + 20 | amounts.get_or_use(1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^ +Error [EPAR0370021]: The type of `amounts` has no associated function `get_or_use` that takes 0 argument(s). + --> compiler-test:22:9 + | + 22 | amounts.get_or_use(); + | ^^^^^^^^^^^^^^^^^^^^"""] diff --git a/tests/expectations/compiler/finalize/get_or_incorrect_type_fail.out b/tests/expectations/compiler/finalize/get_or_incorrect_type_fail.out index ca7ad684c7..8c3e666cc6 100644 --- a/tests/expectations/compiler/finalize/get_or_incorrect_type_fail.out +++ b/tests/expectations/compiler/finalize/get_or_incorrect_type_fail.out @@ -1,5 +1,59 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372031]: A mapping's value cannot be a record\n --> compiler-test:10:5\n |\n 10 | mapping tokens: address => Token;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `Token` but type `u128` was found\n --> compiler-test:17:43\n |\n 17 | Mapping::get_or_use(tokens, addr, amount);\n | ^^^^^^\nError [ETYC0372003]: Expected type `Token` but type `u128` was found\n --> compiler-test:18:33\n |\n 18 | tokens.get_or_use(addr, amount);\n | ^^^^^^\nError [ETYC0372003]: Expected type `address` but type `u8` was found\n --> compiler-test:19:38\n |\n 19 | Mapping::get_or_use(amounts, 1u8, amount);\n | ^^^\nError [ETYC0372003]: Expected type `address` but type `u8` was found\n --> compiler-test:20:28\n |\n 20 | amounts.get_or_use(1u8, amount);\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:21:44\n |\n 21 | Mapping::get_or_use(amounts, addr, 1u8);\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:22:34\n |\n 22 | amounts.get_or_use(addr, 1u8);\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:23:72\n |\n 23 | Mapping::get_or_use(tokens, addr, Token { owner: addr, amount: 1u8 });\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:24:62\n |\n 24 | tokens.get_or_use(addr, Token { owner: addr, amount: 1u8 });\n | ^^^\nError [ETYC0372005]: Unknown variable `foo`\n --> compiler-test:25:29\n |\n 25 | Mapping::get_or_use(foo, addr, amount);\n | ^^^\nError [ETYC0372005]: Unknown variable `foo`\n --> compiler-test:26:9\n |\n 26 | foo.get_or_use(addr, amount);\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372031]: A mapping's value cannot be a record + --> compiler-test:10:5 + | + 10 | mapping tokens: address => Token; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `Token` but type `u128` was found + --> compiler-test:17:43 + | + 17 | Mapping::get_or_use(tokens, addr, amount); + | ^^^^^^ +Error [ETYC0372003]: Expected type `Token` but type `u128` was found + --> compiler-test:18:33 + | + 18 | tokens.get_or_use(addr, amount); + | ^^^^^^ +Error [ETYC0372003]: Expected type `address` but type `u8` was found + --> compiler-test:19:38 + | + 19 | Mapping::get_or_use(amounts, 1u8, amount); + | ^^^ +Error [ETYC0372003]: Expected type `address` but type `u8` was found + --> compiler-test:20:28 + | + 20 | amounts.get_or_use(1u8, amount); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:21:44 + | + 21 | Mapping::get_or_use(amounts, addr, 1u8); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:22:34 + | + 22 | amounts.get_or_use(addr, 1u8); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:23:72 + | + 23 | Mapping::get_or_use(tokens, addr, Token { owner: addr, amount: 1u8 }); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:24:62 + | + 24 | tokens.get_or_use(addr, Token { owner: addr, amount: 1u8 }); + | ^^^ +Error [ETYC0372005]: Unknown variable `foo` + --> compiler-test:25:29 + | + 25 | Mapping::get_or_use(foo, addr, amount); + | ^^^ +Error [ETYC0372005]: Unknown variable `foo` + --> compiler-test:26:9 + | + 26 | foo.get_or_use(addr, amount); + | ^^^ +"""] diff --git a/tests/expectations/compiler/finalize/increment_fail.out b/tests/expectations/compiler/finalize/increment_fail.out index c0ec27d139..78539f063e 100644 --- a/tests/expectations/compiler/finalize/increment_fail.out +++ b/tests/expectations/compiler/finalize/increment_fail.out @@ -1,5 +1,15 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown function `increment`\n --> compiler-test:11:9\n |\n 11 | increment(amounts, addr, amount);\n | ^^^^^^^^^\nWarning [WPAR0370001]: The keyword `increment` is deprecated.\n --> compiler-test:11:9\n |\n 11 | increment(amounts, addr, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings." +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown function `increment` + --> compiler-test:11:9 + | + 11 | increment(amounts, addr, amount); + | ^^^^^^^^^ +Warning [WPAR0370001]: The keyword `increment` is deprecated. + --> compiler-test:11:9 + | + 11 | increment(amounts, addr, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings."""] diff --git a/tests/expectations/compiler/finalize/increment_via_get_set.out b/tests/expectations/compiler/finalize/increment_via_get_set.out index bd6d288901..1dc2bc18cb 100644 --- a/tests/expectations/compiler/finalize/increment_via_get_set.out +++ b/tests/expectations/compiler/finalize/increment_via_get_set.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2fc162ff09c451e1cb88b1a8b0915956feab9dfc3acc959d32839e54596cf265 - type_checked_symbol_table: c7b7719ddca3e021ec8172c94278fef10cb32847a3dab2728b1126b6cbc7cf43 - unrolled_symbol_table: c7b7719ddca3e021ec8172c94278fef10cb32847a3dab2728b1126b6cbc7cf43 - initial_ast: 9d5c2907ec4f8e31ef23d56bf23d0aeda97d2993ff485319d5b1e20d22b408b3 - unrolled_ast: 9d5c2907ec4f8e31ef23d56bf23d0aeda97d2993ff485319d5b1e20d22b408b3 - ssa_ast: 4f56e27bc3b09d665061f61079b37c96aa61e473476830185b498813b86b11e0 - flattened_ast: 94657074440a8a7ed9c20787ed50c44f2e8cb0ac9231d0273ae2a7611cc64d99 - destructured_ast: 91f4d7d2f66c3547aa8bc80af99a0a3519b662e2730932fa5fb66dabcba0a017 - inlined_ast: f3e27451be8d7ab875d3b4cfab04b5d5e5607ec1a789a529a82693a7a632d547 - dce_ast: f3e27451be8d7ab875d3b4cfab04b5d5e5607ec1a789a529a82693a7a632d547 - bytecode: b4f8e195256812d62d49c09bb152bf956c95cd2e8375eff8c4bee84d176a2cc5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2fc162ff09c451e1cb88b1a8b0915956feab9dfc3acc959d32839e54596cf265", type_checked_symbol_table = "c7b7719ddca3e021ec8172c94278fef10cb32847a3dab2728b1126b6cbc7cf43", unrolled_symbol_table = "c7b7719ddca3e021ec8172c94278fef10cb32847a3dab2728b1126b6cbc7cf43", initial_ast = "9d5c2907ec4f8e31ef23d56bf23d0aeda97d2993ff485319d5b1e20d22b408b3", unrolled_ast = "9d5c2907ec4f8e31ef23d56bf23d0aeda97d2993ff485319d5b1e20d22b408b3", ssa_ast = "4f56e27bc3b09d665061f61079b37c96aa61e473476830185b498813b86b11e0", flattened_ast = "94657074440a8a7ed9c20787ed50c44f2e8cb0ac9231d0273ae2a7611cc64d99", destructured_ast = "91f4d7d2f66c3547aa8bc80af99a0a3519b662e2730932fa5fb66dabcba0a017", inlined_ast = "f3e27451be8d7ab875d3b4cfab04b5d5e5607ec1a789a529a82693a7a632d547", dce_ast = "f3e27451be8d7ab875d3b4cfab04b5d5e5607ec1a789a529a82693a7a632d547", bytecode = "b4f8e195256812d62d49c09bb152bf956c95cd2e8375eff8c4bee84d176a2cc5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/inline_in_finalize.out b/tests/expectations/compiler/finalize/inline_in_finalize.out index f03825d25a..cc72f5b921 100644 --- a/tests/expectations/compiler/finalize/inline_in_finalize.out +++ b/tests/expectations/compiler/finalize/inline_in_finalize.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fb0001d10766e1e80dae4bf99d04f55b665a1c2aacad45bb2119a196421c4b34 - type_checked_symbol_table: caed000f9d2ac04c9ed3021e0e0be005e82ed3b203802f5776b6d347725d57e1 - unrolled_symbol_table: caed000f9d2ac04c9ed3021e0e0be005e82ed3b203802f5776b6d347725d57e1 - initial_ast: 6053f22b3880d8dcaa68bfc5c9a885dd3731183dc51347d9ef635f14d2d6e261 - unrolled_ast: 6053f22b3880d8dcaa68bfc5c9a885dd3731183dc51347d9ef635f14d2d6e261 - ssa_ast: 7237836e0866d3a5c1dcf508cca22b22eaa3d76e4a16bcc107cac703b054a083 - flattened_ast: 7856e0c4a21f29b3ff944903934344623f72620a473645e506aeba14ddde65d9 - destructured_ast: 12c1feb1b13fd0ec9708c0608324bdf334c5a4dbaf221c539b44f24cdec08a26 - inlined_ast: 6c54ef2fa42d781945f378dad07a0fd6051983477dbcbe2d3f792962d750ef77 - dce_ast: 6c54ef2fa42d781945f378dad07a0fd6051983477dbcbe2d3f792962d750ef77 - bytecode: 2fb2571e88289773df76468e6470aba403dd4f3e8fd48ec3f25c650a54e6402f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fb0001d10766e1e80dae4bf99d04f55b665a1c2aacad45bb2119a196421c4b34", type_checked_symbol_table = "caed000f9d2ac04c9ed3021e0e0be005e82ed3b203802f5776b6d347725d57e1", unrolled_symbol_table = "caed000f9d2ac04c9ed3021e0e0be005e82ed3b203802f5776b6d347725d57e1", initial_ast = "6053f22b3880d8dcaa68bfc5c9a885dd3731183dc51347d9ef635f14d2d6e261", unrolled_ast = "6053f22b3880d8dcaa68bfc5c9a885dd3731183dc51347d9ef635f14d2d6e261", ssa_ast = "7237836e0866d3a5c1dcf508cca22b22eaa3d76e4a16bcc107cac703b054a083", flattened_ast = "7856e0c4a21f29b3ff944903934344623f72620a473645e506aeba14ddde65d9", destructured_ast = "12c1feb1b13fd0ec9708c0608324bdf334c5a4dbaf221c539b44f24cdec08a26", inlined_ast = "6c54ef2fa42d781945f378dad07a0fd6051983477dbcbe2d3f792962d750ef77", dce_ast = "6c54ef2fa42d781945f378dad07a0fd6051983477dbcbe2d3f792962d750ef77", bytecode = "2fb2571e88289773df76468e6470aba403dd4f3e8fd48ec3f25c650a54e6402f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/mapping.out b/tests/expectations/compiler/finalize/mapping.out index 8a6c410ef4..62958dec25 100644 --- a/tests/expectations/compiler/finalize/mapping.out +++ b/tests/expectations/compiler/finalize/mapping.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: bc9d048929ff94bda88c39a484c09cb42ff7d864a0565ce0a2529f77c76f0bc1 - type_checked_symbol_table: 52e5122f749ac108f5c53b481886ab92185918e770714b01c42f339e5f489712 - unrolled_symbol_table: 52e5122f749ac108f5c53b481886ab92185918e770714b01c42f339e5f489712 - initial_ast: 6b1148feeddff414c9f68c99246cd506dbe9195701805ad86a48fa3a14baba66 - unrolled_ast: 6b1148feeddff414c9f68c99246cd506dbe9195701805ad86a48fa3a14baba66 - ssa_ast: 3e375cbca9880dc515ec9f6d8d74597a3ae47412876a0e227ef175f0eafed9c1 - flattened_ast: 46bc0a697fdd71c1f11d77f2316741634c5356009c89d4a9148f954c845e1618 - destructured_ast: a8e012d38d183720d972ff0be2b6ca37673db3d4b19e2c5dda0edb0626ec2496 - inlined_ast: a8e012d38d183720d972ff0be2b6ca37673db3d4b19e2c5dda0edb0626ec2496 - dce_ast: a8e012d38d183720d972ff0be2b6ca37673db3d4b19e2c5dda0edb0626ec2496 - bytecode: 312c25062c283bf27a955dc0d7035c166da12e5e40eb55b9e6572af8750e0474 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "bc9d048929ff94bda88c39a484c09cb42ff7d864a0565ce0a2529f77c76f0bc1", type_checked_symbol_table = "52e5122f749ac108f5c53b481886ab92185918e770714b01c42f339e5f489712", unrolled_symbol_table = "52e5122f749ac108f5c53b481886ab92185918e770714b01c42f339e5f489712", initial_ast = "6b1148feeddff414c9f68c99246cd506dbe9195701805ad86a48fa3a14baba66", unrolled_ast = "6b1148feeddff414c9f68c99246cd506dbe9195701805ad86a48fa3a14baba66", ssa_ast = "3e375cbca9880dc515ec9f6d8d74597a3ae47412876a0e227ef175f0eafed9c1", flattened_ast = "46bc0a697fdd71c1f11d77f2316741634c5356009c89d4a9148f954c845e1618", destructured_ast = "a8e012d38d183720d972ff0be2b6ca37673db3d4b19e2c5dda0edb0626ec2496", inlined_ast = "a8e012d38d183720d972ff0be2b6ca37673db3d4b19e2c5dda0edb0626ec2496", dce_ast = "a8e012d38d183720d972ff0be2b6ca37673db3d4b19e2c5dda0edb0626ec2496", bytecode = "312c25062c283bf27a955dc0d7035c166da12e5e40eb55b9e6572af8750e0474", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/mapping_fail.out b/tests/expectations/compiler/finalize/mapping_fail.out index b677c8c875..83ab9d8969 100644 --- a/tests/expectations/compiler/finalize/mapping_fail.out +++ b/tests/expectations/compiler/finalize/mapping_fail.out @@ -1,5 +1,61 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372031]: A mapping's key cannot be a tuple\n --> compiler-test:4:5\n |\n 4 | mapping foo: (u32, u32) => u32;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372017]: The type `baz` is not found in the current scope.\n --> compiler-test:6:5\n |\n 6 | mapping floo: baz => u8;\n | ^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372017]: The type `foo` is not found in the current scope.\n --> compiler-test:8:5\n |\n 8 | mapping floop: foo => foo;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372017]: The type `foo` is not found in the current scope.\n --> compiler-test:8:5\n |\n 8 | mapping floop: foo => foo;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372017]: The type `foo` is not found in the current scope.\n --> compiler-test:10:5\n |\n 10 | mapping bar: foo => baz;\n | ^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372017]: The type `baz` is not found in the current scope.\n --> compiler-test:10:5\n |\n 10 | mapping bar: foo => baz;\n | ^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372031]: A mapping's value cannot be a record\n --> compiler-test:19:5\n |\n 19 | mapping real_tokens: address => RealToken;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372031]: A mapping's key cannot be a record\n --> compiler-test:21:5\n |\n 21 | mapping owners: RealToken => address;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372031]: A mapping's key cannot be a tuple + --> compiler-test:4:5 + | + 4 | mapping foo: (u32, u32) => u32; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372017]: The type `baz` is not found in the current scope. + --> compiler-test:6:5 + | + 6 | mapping floo: baz => u8; + | ^^^^^^^^^^^^^^^^^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372017]: The type `foo` is not found in the current scope. + --> compiler-test:8:5 + | + 8 | mapping floop: foo => foo; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372017]: The type `foo` is not found in the current scope. + --> compiler-test:8:5 + | + 8 | mapping floop: foo => foo; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372017]: The type `foo` is not found in the current scope. + --> compiler-test:10:5 + | + 10 | mapping bar: foo => baz; + | ^^^^^^^^^^^^^^^^^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372017]: The type `baz` is not found in the current scope. + --> compiler-test:10:5 + | + 10 | mapping bar: foo => baz; + | ^^^^^^^^^^^^^^^^^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372031]: A mapping's value cannot be a record + --> compiler-test:19:5 + | + 19 | mapping real_tokens: address => RealToken; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372031]: A mapping's key cannot be a record + --> compiler-test:21:5 + | + 21 | mapping owners: RealToken => address; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/mapping_operations_in_inline_fail.out b/tests/expectations/compiler/finalize/mapping_operations_in_inline_fail.out index bf8780c885..f987d24718 100644 --- a/tests/expectations/compiler/finalize/mapping_operations_in_inline_fail.out +++ b/tests/expectations/compiler/finalize/mapping_operations_in_inline_fail.out @@ -1,5 +1,78 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372067]: This operation can only be used in an async function block.\n --> compiler-test:8:9\n |\n 8 | Mapping::set(values, 0u8, 1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372034]: `Mapping::set` must be inside an async function block.\n --> compiler-test:8:9\n |\n 8 | Mapping::set(values, 0u8, 1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372067]: This operation can only be used in an async function block.\n --> compiler-test:9:9\n |\n 9 | Mapping::get_or_use(account, self.caller, 1u64);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372034]: `Mapping::get_or` must be inside an async function block.\n --> compiler-test:9:9\n |\n 9 | Mapping::get_or_use(account, self.caller, 1u64);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372067]: This operation can only be used in an async function block.\n --> compiler-test:10:9\n |\n 10 | Mapping::get(values, 1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372034]: `Mapping::get` must be inside an async function block.\n --> compiler-test:10:9\n |\n 10 | Mapping::get(values, 1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372067]: This operation can only be used in an async function block.\n --> compiler-test:14:9\n |\n 14 | Mapping::set(values, 0u8, 1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372034]: `Mapping::set` must be inside an async function block.\n --> compiler-test:14:9\n |\n 14 | Mapping::set(values, 0u8, 1u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372067]: This operation can only be used in an async function block.\n --> compiler-test:15:9\n |\n 15 | Mapping::get_or_use(account, self.caller, 1u64);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372034]: `Mapping::get_or` must be inside an async function block.\n --> compiler-test:15:9\n |\n 15 | Mapping::get_or_use(account, self.caller, 1u64);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372067]: This operation can only be used in an async function block.\n --> compiler-test:16:9\n |\n 16 | Mapping::get(values, 0u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372034]: `Mapping::get` must be inside an async function block.\n --> compiler-test:16:9\n |\n 16 | Mapping::get(values, 0u8);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\nWarning [WTYC0372002]: The async function `finalize_finalize_no_params` is never called by an async transition.\n --> compiler-test:19:5\n |\n 19 | async function finalize_finalize_no_params() {\n 20 | foo();\n 21 | bar();\n 22 | }\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372067]: This operation can only be used in an async function block. + --> compiler-test:8:9 + | + 8 | Mapping::set(values, 0u8, 1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372034]: `Mapping::set` must be inside an async function block. + --> compiler-test:8:9 + | + 8 | Mapping::set(values, 0u8, 1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372067]: This operation can only be used in an async function block. + --> compiler-test:9:9 + | + 9 | Mapping::get_or_use(account, self.caller, 1u64); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372034]: `Mapping::get_or` must be inside an async function block. + --> compiler-test:9:9 + | + 9 | Mapping::get_or_use(account, self.caller, 1u64); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372067]: This operation can only be used in an async function block. + --> compiler-test:10:9 + | + 10 | Mapping::get(values, 1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372034]: `Mapping::get` must be inside an async function block. + --> compiler-test:10:9 + | + 10 | Mapping::get(values, 1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372067]: This operation can only be used in an async function block. + --> compiler-test:14:9 + | + 14 | Mapping::set(values, 0u8, 1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372034]: `Mapping::set` must be inside an async function block. + --> compiler-test:14:9 + | + 14 | Mapping::set(values, 0u8, 1u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372067]: This operation can only be used in an async function block. + --> compiler-test:15:9 + | + 15 | Mapping::get_or_use(account, self.caller, 1u64); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372034]: `Mapping::get_or` must be inside an async function block. + --> compiler-test:15:9 + | + 15 | Mapping::get_or_use(account, self.caller, 1u64); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372067]: This operation can only be used in an async function block. + --> compiler-test:16:9 + | + 16 | Mapping::get(values, 0u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372034]: `Mapping::get` must be inside an async function block. + --> compiler-test:16:9 + | + 16 | Mapping::get(values, 0u8); + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +Warning [WTYC0372002]: The async function `finalize_finalize_no_params` is never called by an async transition. + --> compiler-test:19:5 + | + 19 | async function finalize_finalize_no_params() { + 20 | foo(); + 21 | bar(); + 22 | } + | ^"""] diff --git a/tests/expectations/compiler/finalize/only_finalize_with_flattening.out b/tests/expectations/compiler/finalize/only_finalize_with_flattening.out index c436a20bb8..0d97aaaebd 100644 --- a/tests/expectations/compiler/finalize/only_finalize_with_flattening.out +++ b/tests/expectations/compiler/finalize/only_finalize_with_flattening.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 56c4eea018bad5b00fa3584917fe6327a28220606b7ef3392dd4f52510eb836d - type_checked_symbol_table: a53c4315ffbe58449d9ef772a8fab06c43082a1d24d3eb4240fd8c3be3ac0ad1 - unrolled_symbol_table: a53c4315ffbe58449d9ef772a8fab06c43082a1d24d3eb4240fd8c3be3ac0ad1 - initial_ast: 31d6210343f8a439e9a731aa2b344a0a35bb4828fcbfb5b7f3d3c532aa0d49e0 - unrolled_ast: 31d6210343f8a439e9a731aa2b344a0a35bb4828fcbfb5b7f3d3c532aa0d49e0 - ssa_ast: ed0d528c739439b087da26d083d1a1c6705e5e9b020f6dbb6d1510929df3079f - flattened_ast: 853653a2db1cb618cf7fe214cc90ff1ee6f952dbc6e945b6b3c4b34ca07e906d - destructured_ast: 0fa73a1e802c55fe76758295dbeb0e4a9340fd95c14b05b033fd9aec1a039fed - inlined_ast: 17df43530f88543010218898759c3459f380370012717bebaec75f9a27d40130 - dce_ast: 17df43530f88543010218898759c3459f380370012717bebaec75f9a27d40130 - bytecode: ed6b317a872c3d7083d96539a0f0601af2dcc1a6d198d897edf7f6d4db26e47a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "56c4eea018bad5b00fa3584917fe6327a28220606b7ef3392dd4f52510eb836d", type_checked_symbol_table = "a53c4315ffbe58449d9ef772a8fab06c43082a1d24d3eb4240fd8c3be3ac0ad1", unrolled_symbol_table = "a53c4315ffbe58449d9ef772a8fab06c43082a1d24d3eb4240fd8c3be3ac0ad1", initial_ast = "31d6210343f8a439e9a731aa2b344a0a35bb4828fcbfb5b7f3d3c532aa0d49e0", unrolled_ast = "31d6210343f8a439e9a731aa2b344a0a35bb4828fcbfb5b7f3d3c532aa0d49e0", ssa_ast = "ed0d528c739439b087da26d083d1a1c6705e5e9b020f6dbb6d1510929df3079f", flattened_ast = "853653a2db1cb618cf7fe214cc90ff1ee6f952dbc6e945b6b3c4b34ca07e906d", destructured_ast = "0fa73a1e802c55fe76758295dbeb0e4a9340fd95c14b05b033fd9aec1a039fed", inlined_ast = "17df43530f88543010218898759c3459f380370012717bebaec75f9a27d40130", dce_ast = "17df43530f88543010218898759c3459f380370012717bebaec75f9a27d40130", bytecode = "ed6b317a872c3d7083d96539a0f0601af2dcc1a6d198d897edf7f6d4db26e47a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/private_input_ouput_fail.out b/tests/expectations/compiler/finalize/private_input_ouput_fail.out index 918eb2d452..e6d2a0d172 100644 --- a/tests/expectations/compiler/finalize/private_input_ouput_fail.out +++ b/tests/expectations/compiler/finalize/private_input_ouput_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'async'\n --> compiler-test:5:9\n |\n 5 | async finalize_foo(a);\n | ^^^^^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'expression', found 'async' + --> compiler-test:5:9 + | + 5 | async finalize_foo(a); + | ^^^^^"""] diff --git a/tests/expectations/compiler/finalize/rand.out b/tests/expectations/compiler/finalize/rand.out index c0b16559f7..3f9f653df6 100644 --- a/tests/expectations/compiler/finalize/rand.out +++ b/tests/expectations/compiler/finalize/rand.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d874d22f303fe4b2e65fd277875664376ae7ea5b4de7238763167dcd76d3eea0 - type_checked_symbol_table: 15abdab3195aaaa9a990e7a8497775ad9e36da3cc859b2ffc62aac92ca3cd13e - unrolled_symbol_table: 15abdab3195aaaa9a990e7a8497775ad9e36da3cc859b2ffc62aac92ca3cd13e - initial_ast: 0ec754998930beb6457105c5b9bb1242f4790fe50b003b5a66e9673f157a64fd - unrolled_ast: 0ec754998930beb6457105c5b9bb1242f4790fe50b003b5a66e9673f157a64fd - ssa_ast: a489cfe29e84bfff687b5f66c4932bca41610f95655f0006b8fae8da8e4d4d1c - flattened_ast: 5ee9e69c74b25405fcf7a081bb852c9b14b0198b9bdfdb90bcb3f91e08cb533a - destructured_ast: aea5a7a6b14232ca2daf7a528c334910ea1bc0bb7340336974ea91087245f4a8 - inlined_ast: 9e0008ac06800cd2c94f5a9efa70ee30c680be63433ffce8eb6d5f38f973125e - dce_ast: c39cbe44958b3f2d1988eded5aa8e222d34f9a1e76dc8fa123c800722f32183f - bytecode: b8b21b4bfb77f76bf7d38787897832f3b8cc65ab6c7133607b6ed373a4517e06 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d874d22f303fe4b2e65fd277875664376ae7ea5b4de7238763167dcd76d3eea0", type_checked_symbol_table = "15abdab3195aaaa9a990e7a8497775ad9e36da3cc859b2ffc62aac92ca3cd13e", unrolled_symbol_table = "15abdab3195aaaa9a990e7a8497775ad9e36da3cc859b2ffc62aac92ca3cd13e", initial_ast = "0ec754998930beb6457105c5b9bb1242f4790fe50b003b5a66e9673f157a64fd", unrolled_ast = "0ec754998930beb6457105c5b9bb1242f4790fe50b003b5a66e9673f157a64fd", ssa_ast = "a489cfe29e84bfff687b5f66c4932bca41610f95655f0006b8fae8da8e4d4d1c", flattened_ast = "5ee9e69c74b25405fcf7a081bb852c9b14b0198b9bdfdb90bcb3f91e08cb533a", destructured_ast = "aea5a7a6b14232ca2daf7a528c334910ea1bc0bb7340336974ea91087245f4a8", inlined_ast = "9e0008ac06800cd2c94f5a9efa70ee30c680be63433ffce8eb6d5f38f973125e", dce_ast = "c39cbe44958b3f2d1988eded5aa8e222d34f9a1e76dc8fa123c800722f32183f", bytecode = "b8b21b4bfb77f76bf7d38787897832f3b8cc65ab6c7133607b6ed373a4517e06", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/rand_incorrect_num_operands.out b/tests/expectations/compiler/finalize/rand_incorrect_num_operands.out index eaf065d538..3dbdd6132b 100644 --- a/tests/expectations/compiler/finalize/rand_incorrect_num_operands.out +++ b/tests/expectations/compiler/finalize/rand_incorrect_num_operands.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372006]: Call expected `0` args, but got `1`\n --> compiler-test:12:24\n |\n 12 | let a: field = ChaCha::rand_field(1field);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372006]: Call expected `0` args, but got `2`\n --> compiler-test:13:24\n |\n 13 | let b: field = ChaCha::rand_field(1field, 2field);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372006]: Call expected `0` args, but got `1` + --> compiler-test:12:24 + | + 12 | let a: field = ChaCha::rand_field(1field); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372006]: Call expected `0` args, but got `2` + --> compiler-test:13:24 + | + 13 | let b: field = ChaCha::rand_field(1field, 2field); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/rand_incorrect_type_fail.out b/tests/expectations/compiler/finalize/rand_incorrect_type_fail.out index da94752b5e..4b38ec964c 100644 --- a/tests/expectations/compiler/finalize/rand_incorrect_type_fail.out +++ b/tests/expectations/compiler/finalize/rand_incorrect_type_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `scalar` but type `field` was found\n --> compiler-test:12:25\n |\n 12 | let a: scalar = ChaCha::rand_field();\n | ^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `group` but type `field` was found\n --> compiler-test:13:24\n |\n 13 | let b: group = ChaCha::rand_field();\n | ^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `scalar` but type `field` was found + --> compiler-test:12:25 + | + 12 | let a: scalar = ChaCha::rand_field(); + | ^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `group` but type `field` was found + --> compiler-test:13:24 + | + 13 | let b: group = ChaCha::rand_field(); + | ^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/rand_not_in_finalize.out b/tests/expectations/compiler/finalize/rand_not_in_finalize.out index 737cc37680..37059730ce 100644 --- a/tests/expectations/compiler/finalize/rand_not_in_finalize.out +++ b/tests/expectations/compiler/finalize/rand_not_in_finalize.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372067]: This operation can only be used in an async function block.\n --> compiler-test:8:25\n |\n 8 | let a: scalar = ChaCha::rand_scalar();\n | ^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372067]: This operation can only be used in an async function block. + --> compiler-test:8:25 + | + 8 | let a: scalar = ChaCha::rand_scalar(); + | ^^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/read_write_mapping_fail.out b/tests/expectations/compiler/finalize/read_write_mapping_fail.out index f17d72806f..cf3844b224 100644 --- a/tests/expectations/compiler/finalize/read_write_mapping_fail.out +++ b/tests/expectations/compiler/finalize/read_write_mapping_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ':'\n --> compiler-test:26:53\n |\n 26 | async function finalize_write_in_finalize(public: addr: address, public amount: u128) {\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found ':' + --> compiler-test:26:53 + | + 26 | async function finalize_write_in_finalize(public: addr: address, public amount: u128) { + | ^"""] diff --git a/tests/expectations/compiler/finalize/remove.out b/tests/expectations/compiler/finalize/remove.out index 336fce9a6b..4e967a25c2 100644 --- a/tests/expectations/compiler/finalize/remove.out +++ b/tests/expectations/compiler/finalize/remove.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 15158cf85896dafc3e0c9cb94aa57345abb8a8f312e24e64e90139add6bb8e27 - type_checked_symbol_table: c138b4bb11d2357415cd41f6f73d7edd79a18efc4321c03e8eac164f653b7d9f - unrolled_symbol_table: c138b4bb11d2357415cd41f6f73d7edd79a18efc4321c03e8eac164f653b7d9f - initial_ast: cf664e610f551b077107f0332ed7bac0af8eedb7f19af5d6b02268ffcee79f2c - unrolled_ast: cf664e610f551b077107f0332ed7bac0af8eedb7f19af5d6b02268ffcee79f2c - ssa_ast: f2a36ba1e48e02660a5f08263f04965838c8993a9123438b21db04a2be45776d - flattened_ast: 0b4d93229669f3d0e75fedcbd34e0d137f5aea6ed0bcca6a71fefa9846a0943f - destructured_ast: 04b2b47f767f04f77b5889d629e9dba247a52b35b9942e156ddf569146ec2cf3 - inlined_ast: 5dbe95e8ad433806c35808bab4737d80e143cbb6513597c24d036bae7892fecd - dce_ast: 5dbe95e8ad433806c35808bab4737d80e143cbb6513597c24d036bae7892fecd - bytecode: 62a1ca065b30b8addb4443ae24600555fb3d94b5f3f3d48cb17bb47e46bd4b3d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "15158cf85896dafc3e0c9cb94aa57345abb8a8f312e24e64e90139add6bb8e27", type_checked_symbol_table = "c138b4bb11d2357415cd41f6f73d7edd79a18efc4321c03e8eac164f653b7d9f", unrolled_symbol_table = "c138b4bb11d2357415cd41f6f73d7edd79a18efc4321c03e8eac164f653b7d9f", initial_ast = "cf664e610f551b077107f0332ed7bac0af8eedb7f19af5d6b02268ffcee79f2c", unrolled_ast = "cf664e610f551b077107f0332ed7bac0af8eedb7f19af5d6b02268ffcee79f2c", ssa_ast = "f2a36ba1e48e02660a5f08263f04965838c8993a9123438b21db04a2be45776d", flattened_ast = "0b4d93229669f3d0e75fedcbd34e0d137f5aea6ed0bcca6a71fefa9846a0943f", destructured_ast = "04b2b47f767f04f77b5889d629e9dba247a52b35b9942e156ddf569146ec2cf3", inlined_ast = "5dbe95e8ad433806c35808bab4737d80e143cbb6513597c24d036bae7892fecd", dce_ast = "5dbe95e8ad433806c35808bab4737d80e143cbb6513597c24d036bae7892fecd", bytecode = "62a1ca065b30b8addb4443ae24600555fb3d94b5f3f3d48cb17bb47e46bd4b3d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/finalize/set_in_an_assignment_fail.out b/tests/expectations/compiler/finalize/set_in_an_assignment_fail.out index 0303be5e96..e7274d7a24 100644 --- a/tests/expectations/compiler/finalize/set_in_an_assignment_fail.out +++ b/tests/expectations/compiler/finalize/set_in_an_assignment_fail.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements.\n --> compiler-test:11:9\n |\n 11 | let result: () = Mapping::set(amounts, addr, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `u128` but type `()` was found\n --> compiler-test:12:28\n |\n 12 | let result: u128 = Mapping::set(amounts, addr, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [EAST0372009]: variable `result` shadowed by\n --> compiler-test:12:13\n |\n 12 | let result: u128 = Mapping::set(amounts, addr, amount);\n | ^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements. + --> compiler-test:11:9 + | + 11 | let result: () = Mapping::set(amounts, addr, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `u128` but type `()` was found + --> compiler-test:12:28 + | + 12 | let result: u128 = Mapping::set(amounts, addr, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [EAST0372009]: variable `result` shadowed by + --> compiler-test:12:13 + | + 12 | let result: u128 = Mapping::set(amounts, addr, amount); + | ^^^^^^ +"""] diff --git a/tests/expectations/compiler/finalize/set_incorrect_num_operands.out b/tests/expectations/compiler/finalize/set_incorrect_num_operands.out index d87b1cf97d..78f62257d7 100644 --- a/tests/expectations/compiler/finalize/set_incorrect_num_operands.out +++ b/tests/expectations/compiler/finalize/set_incorrect_num_operands.out @@ -1,5 +1,18 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370021]: The type of `tokens` has no associated function `set` that takes 3 argument(s).\n --> compiler-test:18:9\n |\n 18 | tokens.set(addr, amount, 1u128);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370021]: The type of `amounts` has no associated function `set` that takes 1 argument(s).\n --> compiler-test:20:9\n |\n 20 | amounts.set(1u8);\n | ^^^^^^^^^^^^^^^^\nError [EPAR0370021]: The type of `amounts` has no associated function `set` that takes 0 argument(s).\n --> compiler-test:22:9\n |\n 22 | amounts.set();\n | ^^^^^^^^^^^^^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370021]: The type of `tokens` has no associated function `set` that takes 3 argument(s). + --> compiler-test:18:9 + | + 18 | tokens.set(addr, amount, 1u128); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [EPAR0370021]: The type of `amounts` has no associated function `set` that takes 1 argument(s). + --> compiler-test:20:9 + | + 20 | amounts.set(1u8); + | ^^^^^^^^^^^^^^^^ +Error [EPAR0370021]: The type of `amounts` has no associated function `set` that takes 0 argument(s). + --> compiler-test:22:9 + | + 22 | amounts.set(); + | ^^^^^^^^^^^^^"""] diff --git a/tests/expectations/compiler/finalize/set_incorrect_type_fail.out b/tests/expectations/compiler/finalize/set_incorrect_type_fail.out index bdd416676c..b9527bc9b2 100644 --- a/tests/expectations/compiler/finalize/set_incorrect_type_fail.out +++ b/tests/expectations/compiler/finalize/set_incorrect_type_fail.out @@ -1,5 +1,59 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372031]: A mapping's value cannot be a record\n --> compiler-test:10:5\n |\n 10 | mapping tokens: address => Token;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `Token` but type `u128` was found\n --> compiler-test:17:36\n |\n 17 | Mapping::set(tokens, addr, amount);\n | ^^^^^^\nError [ETYC0372003]: Expected type `Token` but type `u128` was found\n --> compiler-test:18:26\n |\n 18 | tokens.set(addr, amount);\n | ^^^^^^\nError [ETYC0372003]: Expected type `address` but type `u8` was found\n --> compiler-test:19:31\n |\n 19 | Mapping::set(amounts, 1u8, amount);\n | ^^^\nError [ETYC0372003]: Expected type `address` but type `u8` was found\n --> compiler-test:20:21\n |\n 20 | amounts.set(1u8, amount);\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:21:37\n |\n 21 | Mapping::set(amounts, addr, 1u8);\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:22:27\n |\n 22 | amounts.set(addr, 1u8);\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:23:65\n |\n 23 | Mapping::set(tokens, addr, Token { owner: addr, amount: 1u8 });\n | ^^^\nError [ETYC0372003]: Expected type `u128` but type `u8` was found\n --> compiler-test:24:55\n |\n 24 | tokens.set(addr, Token { owner: addr, amount: 1u8 });\n | ^^^\nError [ETYC0372005]: Unknown variable `foo`\n --> compiler-test:25:22\n |\n 25 | Mapping::set(foo, addr, amount);\n | ^^^\nError [ETYC0372005]: Unknown variable `foo`\n --> compiler-test:26:9\n |\n 26 | foo.set(addr, amount);\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372031]: A mapping's value cannot be a record + --> compiler-test:10:5 + | + 10 | mapping tokens: address => Token; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `Token` but type `u128` was found + --> compiler-test:17:36 + | + 17 | Mapping::set(tokens, addr, amount); + | ^^^^^^ +Error [ETYC0372003]: Expected type `Token` but type `u128` was found + --> compiler-test:18:26 + | + 18 | tokens.set(addr, amount); + | ^^^^^^ +Error [ETYC0372003]: Expected type `address` but type `u8` was found + --> compiler-test:19:31 + | + 19 | Mapping::set(amounts, 1u8, amount); + | ^^^ +Error [ETYC0372003]: Expected type `address` but type `u8` was found + --> compiler-test:20:21 + | + 20 | amounts.set(1u8, amount); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:21:37 + | + 21 | Mapping::set(amounts, addr, 1u8); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:22:27 + | + 22 | amounts.set(addr, 1u8); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:23:65 + | + 23 | Mapping::set(tokens, addr, Token { owner: addr, amount: 1u8 }); + | ^^^ +Error [ETYC0372003]: Expected type `u128` but type `u8` was found + --> compiler-test:24:55 + | + 24 | tokens.set(addr, Token { owner: addr, amount: 1u8 }); + | ^^^ +Error [ETYC0372005]: Unknown variable `foo` + --> compiler-test:25:22 + | + 25 | Mapping::set(foo, addr, amount); + | ^^^ +Error [ETYC0372005]: Unknown variable `foo` + --> compiler-test:26:9 + | + 26 | foo.set(addr, amount); + | ^^^ +"""] diff --git a/tests/expectations/compiler/finalize/shadow_mapping_fail.out b/tests/expectations/compiler/finalize/shadow_mapping_fail.out index 437765bfec..fc5022b566 100644 --- a/tests/expectations/compiler/finalize/shadow_mapping_fail.out +++ b/tests/expectations/compiler/finalize/shadow_mapping_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372008]: record `bar` shadowed by\n --> compiler-test:5:5\n |\n 5 | mapping bar: u8 => u8;\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [EAST0372007]: struct `bar` shadowed by\n --> compiler-test:7:5\n |\n 7 | transition bar(a: u8) -> u8 {\n 8 | return a + 1u8;\n 9 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372008]: record `bar` shadowed by + --> compiler-test:5:5 + | + 5 | mapping bar: u8 => u8; + | ^^^^^^^^^^^^^^^^^^^^^^ +Error [EAST0372007]: struct `bar` shadowed by + --> compiler-test:7:5 + | + 7 | transition bar(a: u8) -> u8 { + 8 | return a + 1u8; + 9 | } + | ^ +"""] diff --git a/tests/expectations/compiler/finalize/unknown_mapping_operation_fail.out b/tests/expectations/compiler/finalize/unknown_mapping_operation_fail.out index 619ed651e2..ecd985679d 100644 --- a/tests/expectations/compiler/finalize/unknown_mapping_operation_fail.out +++ b/tests/expectations/compiler/finalize/unknown_mapping_operation_fail.out @@ -1,5 +1,24 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372107]: The output of an async function must be assigned to a `Future` type..\n --> compiler-test:8:17\n |\n 8 | return finalize_mint_public(receiver, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `()` but type `Future` was found\n --> compiler-test:8:17\n |\n 8 | return finalize_mint_public(receiver, amount);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372009]: Mapping::has_key is not a valid core function.\n --> compiler-test:12:30\n |\n 12 | let has_key: bool = Mapping::has_key(account, receiver);\n | ^^^^^^^\nError [ETYC0372014]: Mapping::has_key is not a valid core function call.\n --> compiler-test:12:30\n |\n 12 | let has_key: bool = Mapping::has_key(account, receiver);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372107]: The output of an async function must be assigned to a `Future` type.. + --> compiler-test:8:17 + | + 8 | return finalize_mint_public(receiver, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `()` but type `Future` was found + --> compiler-test:8:17 + | + 8 | return finalize_mint_public(receiver, amount); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372009]: Mapping::has_key is not a valid core function. + --> compiler-test:12:30 + | + 12 | let has_key: bool = Mapping::has_key(account, receiver); + | ^^^^^^^ +Error [ETYC0372014]: Mapping::has_key is not a valid core function call. + --> compiler-test:12:30 + | + 12 | let has_key: bool = Mapping::has_key(account, receiver); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/9_inputs_fail.out b/tests/expectations/compiler/function/9_inputs_fail.out index 6f5c16a38d..86ffe01643 100644 --- a/tests/expectations/compiler/function/9_inputs_fail.out +++ b/tests/expectations/compiler/function/9_inputs_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected ; -- found '}'\n --> compiler-test:17:5\n |\n 17 | }}\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected ; -- found '}' + --> compiler-test:17:5 + | + 17 | }} + | ^"""] diff --git a/tests/expectations/compiler/function/annotated_function_fail.out b/tests/expectations/compiler/function/annotated_function_fail.out index b84752626b..7c9b020e13 100644 --- a/tests/expectations/compiler/function/annotated_function_fail.out +++ b/tests/expectations/compiler/function/annotated_function_fail.out @@ -1,5 +1,21 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372027]: Unknown annotation: `@test`.\n --> compiler-test:4:5\n |\n 4 | @test\n | ^^^^^\nError [ETYC0372027]: Unknown annotation: `@program`.\n --> compiler-test:9:5\n |\n 9 | @program\n | ^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372027]: Unknown annotation: `@test`. + --> compiler-test:4:5 + | + 4 | @test + | ^^^^^ +Error [ETYC0372027]: Unknown annotation: `@program`. + --> compiler-test:9:5 + | + 9 | @program + | ^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/basic_async.out b/tests/expectations/compiler/function/basic_async.out index 0ad4773d4b..c8a6d11356 100644 --- a/tests/expectations/compiler/function/basic_async.out +++ b/tests/expectations/compiler/function/basic_async.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f4fdd9d63c589d5b0d479ad742e172bdf396a2abbdc44f0875639ccd10fd24b0 - type_checked_symbol_table: 3da7188df5f78d7ea1554e7e6b665814a1b47defd1a928467f23ef06a2960ed7 - unrolled_symbol_table: 3da7188df5f78d7ea1554e7e6b665814a1b47defd1a928467f23ef06a2960ed7 - initial_ast: 3ca9478b8578b8767ece4f9b203dc6bd662f326a0bf19d8780b41a1cd1886da4 - unrolled_ast: 3ca9478b8578b8767ece4f9b203dc6bd662f326a0bf19d8780b41a1cd1886da4 - ssa_ast: 13759b3635fd78f577967b5f6086d19c2eca8d7f7f7e410a7ff62435f01d3275 - flattened_ast: a8bab5287b59f2843a752ba88c87705184e5b4680aa2de72f1bee71c18350955 - destructured_ast: 6a4309fa035a3c06b9cc08c6c1ce4aef89a4ae13389ce7aaeddf0982c779c93f - inlined_ast: 44341ccc9165fc7a2b662c051e7723391b25077d13a07780e9d525917d20aebc - dce_ast: 44341ccc9165fc7a2b662c051e7723391b25077d13a07780e9d525917d20aebc - bytecode: cc273037c3ab51d0adc1aa2a98ba98703f5bc15c14cce5207e29b1f6e3d88ab7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f4fdd9d63c589d5b0d479ad742e172bdf396a2abbdc44f0875639ccd10fd24b0", type_checked_symbol_table = "3da7188df5f78d7ea1554e7e6b665814a1b47defd1a928467f23ef06a2960ed7", unrolled_symbol_table = "3da7188df5f78d7ea1554e7e6b665814a1b47defd1a928467f23ef06a2960ed7", initial_ast = "3ca9478b8578b8767ece4f9b203dc6bd662f326a0bf19d8780b41a1cd1886da4", unrolled_ast = "3ca9478b8578b8767ece4f9b203dc6bd662f326a0bf19d8780b41a1cd1886da4", ssa_ast = "13759b3635fd78f577967b5f6086d19c2eca8d7f7f7e410a7ff62435f01d3275", flattened_ast = "a8bab5287b59f2843a752ba88c87705184e5b4680aa2de72f1bee71c18350955", destructured_ast = "6a4309fa035a3c06b9cc08c6c1ce4aef89a4ae13389ce7aaeddf0982c779c93f", inlined_ast = "44341ccc9165fc7a2b662c051e7723391b25077d13a07780e9d525917d20aebc", dce_ast = "44341ccc9165fc7a2b662c051e7723391b25077d13a07780e9d525917d20aebc", bytecode = "cc273037c3ab51d0adc1aa2a98ba98703f5bc15c14cce5207e29b1f6e3d88ab7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/complex_recursion_fail.out b/tests/expectations/compiler/function/complex_recursion_fail.out index 1566ccf7b3..d6a56807cf 100644 --- a/tests/expectations/compiler/function/complex_recursion_fail.out +++ b/tests/expectations/compiler/function/complex_recursion_fail.out @@ -1,5 +1,55 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:23:16\n |\n 23 | return six(n);\n | ^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:27:16\n |\n 27 | return seven(n) + eight(n);\n | ^^^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:27:27\n |\n 27 | return seven(n) + eight(n);\n | ^^^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:31:16\n |\n 31 | return five(n);\n | ^^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:35:16\n |\n 35 | return five(n);\n | ^^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:7:16\n |\n 7 | return two(n);\n | ^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:11:16\n |\n 11 | return three(n) + four(n);\n | ^^^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:11:27\n |\n 11 | return three(n) + four(n);\n | ^^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:15:16\n |\n 15 | return one(n);\n | ^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:19:16\n |\n 19 | return one(n);\n | ^^^^^^\nError [ETYC0372059]: Cyclic dependency between functions: `five` --> `six` --> `seven` --> `five`\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:23:16 + | + 23 | return six(n); + | ^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:27:16 + | + 27 | return seven(n) + eight(n); + | ^^^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:27:27 + | + 27 | return seven(n) + eight(n); + | ^^^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:31:16 + | + 31 | return five(n); + | ^^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:35:16 + | + 35 | return five(n); + | ^^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:7:16 + | + 7 | return two(n); + | ^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:11:16 + | + 11 | return three(n) + four(n); + | ^^^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:11:27 + | + 11 | return three(n) + four(n); + | ^^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:15:16 + | + 15 | return one(n); + | ^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:19:16 + | + 19 | return one(n); + | ^^^^^^ +Error [ETYC0372059]: Cyclic dependency between functions: `five` --> `six` --> `seven` --> `five` +"""] diff --git a/tests/expectations/compiler/function/conditional_return.out b/tests/expectations/compiler/function/conditional_return.out index be5def26d5..6d7cb0124c 100644 --- a/tests/expectations/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/function/conditional_return.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a65d950271de854ba474b347fd8b64b8e1acb6e1f8cb738464f760ec84711b28 - type_checked_symbol_table: 9dac0174af3f7b0b9a8c9ffe369edcbb90792ffdca166b0ceb7317842d059ce6 - unrolled_symbol_table: 9dac0174af3f7b0b9a8c9ffe369edcbb90792ffdca166b0ceb7317842d059ce6 - initial_ast: 8ba9a8e45a45f2533e256b3a001ede7f91cc199bbe31047147ecdd49014d52f1 - unrolled_ast: 8ba9a8e45a45f2533e256b3a001ede7f91cc199bbe31047147ecdd49014d52f1 - ssa_ast: 3e7a79efb2522e18a6bdfe1942ed539e5ad108e9a2b755076d8843f57f1b492d - flattened_ast: 4212b1fec042b0ed6aabb6ebea09dfb038242ecb11c507f15d580a68b6c13bd1 - destructured_ast: a73f5add01ed1aa34831e4ffe3e360fe45cab8b8f7317eb5f345856d7baf637e - inlined_ast: a73f5add01ed1aa34831e4ffe3e360fe45cab8b8f7317eb5f345856d7baf637e - dce_ast: c794cf910bd8b30f084cb86383a02208b6a7e64ea10b6688e437d27dd35c0cc3 - bytecode: 7fe490ec8230a29dea04ba2ade935868530bcdcde28707abfa794c90833cc678 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a65d950271de854ba474b347fd8b64b8e1acb6e1f8cb738464f760ec84711b28", type_checked_symbol_table = "9dac0174af3f7b0b9a8c9ffe369edcbb90792ffdca166b0ceb7317842d059ce6", unrolled_symbol_table = "9dac0174af3f7b0b9a8c9ffe369edcbb90792ffdca166b0ceb7317842d059ce6", initial_ast = "8ba9a8e45a45f2533e256b3a001ede7f91cc199bbe31047147ecdd49014d52f1", unrolled_ast = "8ba9a8e45a45f2533e256b3a001ede7f91cc199bbe31047147ecdd49014d52f1", ssa_ast = "3e7a79efb2522e18a6bdfe1942ed539e5ad108e9a2b755076d8843f57f1b492d", flattened_ast = "4212b1fec042b0ed6aabb6ebea09dfb038242ecb11c507f15d580a68b6c13bd1", destructured_ast = "a73f5add01ed1aa34831e4ffe3e360fe45cab8b8f7317eb5f345856d7baf637e", inlined_ast = "a73f5add01ed1aa34831e4ffe3e360fe45cab8b8f7317eb5f345856d7baf637e", dce_ast = "c794cf910bd8b30f084cb86383a02208b6a7e64ea10b6688e437d27dd35c0cc3", bytecode = "7fe490ec8230a29dea04ba2ade935868530bcdcde28707abfa794c90833cc678", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/dead_code_elimination.out b/tests/expectations/compiler/function/dead_code_elimination.out index 49fe836f1e..befa4246e2 100644 --- a/tests/expectations/compiler/function/dead_code_elimination.out +++ b/tests/expectations/compiler/function/dead_code_elimination.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0fb4b3c838108ed06c60f40a94768f70fb357b326302a58ff972f738739f1444 - type_checked_symbol_table: acb8ca7422d8053b2db7c29ef78353e450c7b85ae22f958020d4a33f3ba1c02f - unrolled_symbol_table: acb8ca7422d8053b2db7c29ef78353e450c7b85ae22f958020d4a33f3ba1c02f - initial_ast: d49dfe43c42214993dfb943c61df9c6827d0a2c776a096d557ac5ce39edbb596 - unrolled_ast: d49dfe43c42214993dfb943c61df9c6827d0a2c776a096d557ac5ce39edbb596 - ssa_ast: f20609affed799afc1e6c54febc34d12a9fc0fcd421fcacd9eb66f3a9513acca - flattened_ast: 9a863bf1d189402fdf36bb61f2e3db5226762c0ea91a023215e7d66566f3a38d - destructured_ast: f6fafc3a3aef45ed4d3d2892e59a907c0e8617c6931b807f97c25879965a92c8 - inlined_ast: 44f8af431773c3a33563240ed7e4ceb88e5ef11d2dbcadce87e4f1e34c07dd9b - dce_ast: 3aaebe40eb3e670c97b9418ef7685de0e4d6146d882830e98e0733212b4eee03 - bytecode: 68f3c939bd54966a95293dd018927a50887a633eea6d5dc60fca8a1ba5400607 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0fb4b3c838108ed06c60f40a94768f70fb357b326302a58ff972f738739f1444", type_checked_symbol_table = "acb8ca7422d8053b2db7c29ef78353e450c7b85ae22f958020d4a33f3ba1c02f", unrolled_symbol_table = "acb8ca7422d8053b2db7c29ef78353e450c7b85ae22f958020d4a33f3ba1c02f", initial_ast = "d49dfe43c42214993dfb943c61df9c6827d0a2c776a096d557ac5ce39edbb596", unrolled_ast = "d49dfe43c42214993dfb943c61df9c6827d0a2c776a096d557ac5ce39edbb596", ssa_ast = "f20609affed799afc1e6c54febc34d12a9fc0fcd421fcacd9eb66f3a9513acca", flattened_ast = "9a863bf1d189402fdf36bb61f2e3db5226762c0ea91a023215e7d66566f3a38d", destructured_ast = "f6fafc3a3aef45ed4d3d2892e59a907c0e8617c6931b807f97c25879965a92c8", inlined_ast = "44f8af431773c3a33563240ed7e4ceb88e5ef11d2dbcadce87e4f1e34c07dd9b", dce_ast = "3aaebe40eb3e670c97b9418ef7685de0e4d6146d882830e98e0733212b4eee03", bytecode = "68f3c939bd54966a95293dd018927a50887a633eea6d5dc60fca8a1ba5400607", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/duplicate_definition_fail.out b/tests/expectations/compiler/function/duplicate_definition_fail.out index 430b3e6e2e..696b058a78 100644 --- a/tests/expectations/compiler/function/duplicate_definition_fail.out +++ b/tests/expectations/compiler/function/duplicate_definition_fail.out @@ -1,5 +1,10 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> compiler-test:5:9\n |\n 5 | console.log(\"{}\", 1u8);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." +namespace = "Compile" +expectation = "Fail" +outputs = [''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> compiler-test:5:9 + | + 5 | console.log("{}", 1u8); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.'''] diff --git a/tests/expectations/compiler/function/duplicate_parameter_fail.out b/tests/expectations/compiler/function/duplicate_parameter_fail.out index 430b3e6e2e..696b058a78 100644 --- a/tests/expectations/compiler/function/duplicate_parameter_fail.out +++ b/tests/expectations/compiler/function/duplicate_parameter_fail.out @@ -1,5 +1,10 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> compiler-test:5:9\n |\n 5 | console.log(\"{}\", 1u8);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." +namespace = "Compile" +expectation = "Fail" +outputs = [''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> compiler-test:5:9 + | + 5 | console.log("{}", 1u8); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.'''] diff --git a/tests/expectations/compiler/function/flatten_arrays.out b/tests/expectations/compiler/function/flatten_arrays.out index 6c1e14621d..40e7aea22d 100644 --- a/tests/expectations/compiler/function/flatten_arrays.out +++ b/tests/expectations/compiler/function/flatten_arrays.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 37bc119985fc346d7ac604986beb19629f6016e99ae5be8f8282f5755bdd6e43 - type_checked_symbol_table: d46a714294f78dce6339bd6480e1ee888ec57ab92a28a4b2e949647161e49a73 - unrolled_symbol_table: d46a714294f78dce6339bd6480e1ee888ec57ab92a28a4b2e949647161e49a73 - initial_ast: bceb61ae75b47e92e83ce5e6836b22b68854858bb24207c476e77f6580b20c4b - unrolled_ast: bceb61ae75b47e92e83ce5e6836b22b68854858bb24207c476e77f6580b20c4b - ssa_ast: 695acd5239878bc6336d3628999bde308ea9e07b6cb45e61fd5586e72cd6faaa - flattened_ast: a60a773110079c62010c5e2a82dd0c4d9ecc02e050c78e32effc3bf7307f7de0 - destructured_ast: a2d873b02a1ae206b71dd77ab3e2452fb3fe7e204778e42baec415d0ce9b85cd - inlined_ast: e2939aaa893ac951eee3011e2ba14a75bc107a7d629ab17b665247844cf668cb - dce_ast: 5834dad1067cd1a345142ff7cb8f7d82c6eba50adf97971c3168b148d3e1c70b - bytecode: be43f1b20093160fdfc6c5f85fbbe6c3693a41505738d4d0db70b1fcf2243a4f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "37bc119985fc346d7ac604986beb19629f6016e99ae5be8f8282f5755bdd6e43", type_checked_symbol_table = "d46a714294f78dce6339bd6480e1ee888ec57ab92a28a4b2e949647161e49a73", unrolled_symbol_table = "d46a714294f78dce6339bd6480e1ee888ec57ab92a28a4b2e949647161e49a73", initial_ast = "bceb61ae75b47e92e83ce5e6836b22b68854858bb24207c476e77f6580b20c4b", unrolled_ast = "bceb61ae75b47e92e83ce5e6836b22b68854858bb24207c476e77f6580b20c4b", ssa_ast = "695acd5239878bc6336d3628999bde308ea9e07b6cb45e61fd5586e72cd6faaa", flattened_ast = "a60a773110079c62010c5e2a82dd0c4d9ecc02e050c78e32effc3bf7307f7de0", destructured_ast = "a2d873b02a1ae206b71dd77ab3e2452fb3fe7e204778e42baec415d0ce9b85cd", inlined_ast = "e2939aaa893ac951eee3011e2ba14a75bc107a7d629ab17b665247844cf668cb", dce_ast = "5834dad1067cd1a345142ff7cb8f7d82c6eba50adf97971c3168b148d3e1c70b", bytecode = "be43f1b20093160fdfc6c5f85fbbe6c3693a41505738d4d0db70b1fcf2243a4f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out b/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out index a71df508cb..c1d6137cfd 100644 --- a/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out +++ b/tests/expectations/compiler/function/flatten_inlined_tuples_of_structs.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c138455fffa3721dbe11d7de65dd88130421ec4f07524779ff45ee87d01715d6 - type_checked_symbol_table: ead044ce635fb4af279cc26d4a8947b27e584ea3c606191e391392fbcc67e39a - unrolled_symbol_table: ead044ce635fb4af279cc26d4a8947b27e584ea3c606191e391392fbcc67e39a - initial_ast: 4eaffbe5275c9202a13ecd96325d64711dd28510408da03cb69305b957cc0e88 - unrolled_ast: 4eaffbe5275c9202a13ecd96325d64711dd28510408da03cb69305b957cc0e88 - ssa_ast: d9500a5e75ac40d45f1cb1ca6e625f9a1dee7e46f3071016f52d5290af49ab70 - flattened_ast: 72ecc5ed171c827877906534005f04450bb636efea54c08507026e6b15857862 - destructured_ast: aed326f6c20b340137dd91f2303705c2c71d7b34140967a74ba3508e612c3399 - inlined_ast: db6efe2d8c097043958fb85b644a36a6f888adc58772596ef6656087075fa8bd - dce_ast: 850d749160d2a12943ad2e94d47a83b1475bbc224830ab74f4ec598cc6f826d4 - bytecode: fffe093215f68fcc292f2c7b67e847897cd0334cdbf4a410f288d7957541a1d3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "c138455fffa3721dbe11d7de65dd88130421ec4f07524779ff45ee87d01715d6", type_checked_symbol_table = "ead044ce635fb4af279cc26d4a8947b27e584ea3c606191e391392fbcc67e39a", unrolled_symbol_table = "ead044ce635fb4af279cc26d4a8947b27e584ea3c606191e391392fbcc67e39a", initial_ast = "4eaffbe5275c9202a13ecd96325d64711dd28510408da03cb69305b957cc0e88", unrolled_ast = "4eaffbe5275c9202a13ecd96325d64711dd28510408da03cb69305b957cc0e88", ssa_ast = "d9500a5e75ac40d45f1cb1ca6e625f9a1dee7e46f3071016f52d5290af49ab70", flattened_ast = "72ecc5ed171c827877906534005f04450bb636efea54c08507026e6b15857862", destructured_ast = "aed326f6c20b340137dd91f2303705c2c71d7b34140967a74ba3508e612c3399", inlined_ast = "db6efe2d8c097043958fb85b644a36a6f888adc58772596ef6656087075fa8bd", dce_ast = "850d749160d2a12943ad2e94d47a83b1475bbc224830ab74f4ec598cc6f826d4", bytecode = "fffe093215f68fcc292f2c7b67e847897cd0334cdbf4a410f288d7957541a1d3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/flatten_test.out b/tests/expectations/compiler/function/flatten_test.out index cdba6cfb4a..ce8254876f 100644 --- a/tests/expectations/compiler/function/flatten_test.out +++ b/tests/expectations/compiler/function/flatten_test.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 38ad3bcd37a0f5ed42c4a5872d672838cf9c898915be3b5bd7cbe2e2c951116d - type_checked_symbol_table: b06fff41daf8404608d3d84047a555f8b8abffceb060e9bd6c30d66d53044de3 - unrolled_symbol_table: b06fff41daf8404608d3d84047a555f8b8abffceb060e9bd6c30d66d53044de3 - initial_ast: aebc1a11c608a03ea9a3c30d82b635663b49753effe19404d97f273f58186b14 - unrolled_ast: aebc1a11c608a03ea9a3c30d82b635663b49753effe19404d97f273f58186b14 - ssa_ast: d227ff7eddc4e74d61b8e302f60fe9bf7b436f057606a4b5559d79af57ab3d1a - flattened_ast: 05a894445077f3505e800a089c6ddc475826a9de0f0a1b134c98512ea738e049 - destructured_ast: 924a5eb5bd60f7537b4669db6e393e6945bab38ae99ee68c6750ffe4666ec7a4 - inlined_ast: 3b7bbfbbe85929f77a46135310d8d8fc2cd41396185ad3a1e2abe8ca91dcc8fb - dce_ast: 011d693fae83c7f85f8cb3735aa82b0a0352301b0b0576ddb975bf93a578c32a - bytecode: eb4f76423c610f5f9223118f9f7a7020f297e001cae4f5ceeac9d47101487966 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "38ad3bcd37a0f5ed42c4a5872d672838cf9c898915be3b5bd7cbe2e2c951116d", type_checked_symbol_table = "b06fff41daf8404608d3d84047a555f8b8abffceb060e9bd6c30d66d53044de3", unrolled_symbol_table = "b06fff41daf8404608d3d84047a555f8b8abffceb060e9bd6c30d66d53044de3", initial_ast = "aebc1a11c608a03ea9a3c30d82b635663b49753effe19404d97f273f58186b14", unrolled_ast = "aebc1a11c608a03ea9a3c30d82b635663b49753effe19404d97f273f58186b14", ssa_ast = "d227ff7eddc4e74d61b8e302f60fe9bf7b436f057606a4b5559d79af57ab3d1a", flattened_ast = "05a894445077f3505e800a089c6ddc475826a9de0f0a1b134c98512ea738e049", destructured_ast = "924a5eb5bd60f7537b4669db6e393e6945bab38ae99ee68c6750ffe4666ec7a4", inlined_ast = "3b7bbfbbe85929f77a46135310d8d8fc2cd41396185ad3a1e2abe8ca91dcc8fb", dce_ast = "011d693fae83c7f85f8cb3735aa82b0a0352301b0b0576ddb975bf93a578c32a", bytecode = "eb4f76423c610f5f9223118f9f7a7020f297e001cae4f5ceeac9d47101487966", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/flatten_test_2.out b/tests/expectations/compiler/function/flatten_test_2.out index 7d5097d8ed..09254883f5 100644 --- a/tests/expectations/compiler/function/flatten_test_2.out +++ b/tests/expectations/compiler/function/flatten_test_2.out @@ -1,32 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9e57e65210ef32910c6d8f0fe0400f29ad320300aab89f780458722694f6f862 - type_checked_symbol_table: fdd69bb74cee526091393b6a1983534172224b2b571a881d4376f251b7cf7b4e - unrolled_symbol_table: fdd69bb74cee526091393b6a1983534172224b2b571a881d4376f251b7cf7b4e - initial_ast: 47182c12d4f7003819d71a9e7e352077b302b73e11037a316f0a141fbe4b9b12 - unrolled_ast: 47182c12d4f7003819d71a9e7e352077b302b73e11037a316f0a141fbe4b9b12 - ssa_ast: 245399f8485816f9687ebe4a758067ee86c38c65772e11c7e952e3efba46c45c - flattened_ast: 1cbaf23a82ac78edd880cce14f97ca791ad05586c2b298305b5d116c66f741cd - destructured_ast: 7399f593b39548470b1c26f25ca1336b4c565f30383515c19bf2b7d2b7595194 - inlined_ast: 7399f593b39548470b1c26f25ca1336b4c565f30383515c19bf2b7d2b7595194 - dce_ast: 867c80b990ef129c07631f494d2f26a249d769cae7f407ea569112d696db659c - bytecode: 34ea2316698e1b32c9a8cecafbc7ec613d38e33d39bc50b517a10f255e9c8a03 - errors: "" - warnings: "" - - compile: - - initial_symbol_table: 2645407f9ede04b353e82835d65996cf912fd1e8634a61f461d457a92305b9ce - type_checked_symbol_table: 4e9ce7072216712da8f565266c66371443d6761ea10f891042d97b457145b669 - unrolled_symbol_table: 4e9ce7072216712da8f565266c66371443d6761ea10f891042d97b457145b669 - initial_ast: ae96cef2402ff3fac80cc3363313fbdff221e2bfbf5ce30655bc1985be92210b - unrolled_ast: ae96cef2402ff3fac80cc3363313fbdff221e2bfbf5ce30655bc1985be92210b - ssa_ast: 70025d49470fabc8804bb98b54ae1d0d0d5d5943fc9d3e6e76b708f346aef7c1 - flattened_ast: 806c948265ae74e02fa0130bf2f66a572c0327341a6d990031fa5afee46a4182 - destructured_ast: 2863f3ca7be0e5bbfd5754c2e091dc6481bce1473d91b5bff1256ebb63e48f55 - inlined_ast: 2863f3ca7be0e5bbfd5754c2e091dc6481bce1473d91b5bff1256ebb63e48f55 - dce_ast: 2863f3ca7be0e5bbfd5754c2e091dc6481bce1473d91b5bff1256ebb63e48f55 - bytecode: 557450e6d9e6a77f05e910a1b9cb91eea9023f0c628dfa6f85e3551ebb296182 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[ + { compile = [{ initial_symbol_table = "9e57e65210ef32910c6d8f0fe0400f29ad320300aab89f780458722694f6f862", type_checked_symbol_table = "fdd69bb74cee526091393b6a1983534172224b2b571a881d4376f251b7cf7b4e", unrolled_symbol_table = "fdd69bb74cee526091393b6a1983534172224b2b571a881d4376f251b7cf7b4e", initial_ast = "47182c12d4f7003819d71a9e7e352077b302b73e11037a316f0a141fbe4b9b12", unrolled_ast = "47182c12d4f7003819d71a9e7e352077b302b73e11037a316f0a141fbe4b9b12", ssa_ast = "245399f8485816f9687ebe4a758067ee86c38c65772e11c7e952e3efba46c45c", flattened_ast = "1cbaf23a82ac78edd880cce14f97ca791ad05586c2b298305b5d116c66f741cd", destructured_ast = "7399f593b39548470b1c26f25ca1336b4c565f30383515c19bf2b7d2b7595194", inlined_ast = "7399f593b39548470b1c26f25ca1336b4c565f30383515c19bf2b7d2b7595194", dce_ast = "867c80b990ef129c07631f494d2f26a249d769cae7f407ea569112d696db659c", bytecode = "34ea2316698e1b32c9a8cecafbc7ec613d38e33d39bc50b517a10f255e9c8a03", errors = "", warnings = "" }] }, + { compile = [{ initial_symbol_table = "2645407f9ede04b353e82835d65996cf912fd1e8634a61f461d457a92305b9ce", type_checked_symbol_table = "4e9ce7072216712da8f565266c66371443d6761ea10f891042d97b457145b669", unrolled_symbol_table = "4e9ce7072216712da8f565266c66371443d6761ea10f891042d97b457145b669", initial_ast = "ae96cef2402ff3fac80cc3363313fbdff221e2bfbf5ce30655bc1985be92210b", unrolled_ast = "ae96cef2402ff3fac80cc3363313fbdff221e2bfbf5ce30655bc1985be92210b", ssa_ast = "70025d49470fabc8804bb98b54ae1d0d0d5d5943fc9d3e6e76b708f346aef7c1", flattened_ast = "806c948265ae74e02fa0130bf2f66a572c0327341a6d990031fa5afee46a4182", destructured_ast = "2863f3ca7be0e5bbfd5754c2e091dc6481bce1473d91b5bff1256ebb63e48f55", inlined_ast = "2863f3ca7be0e5bbfd5754c2e091dc6481bce1473d91b5bff1256ebb63e48f55", dce_ast = "2863f3ca7be0e5bbfd5754c2e091dc6481bce1473d91b5bff1256ebb63e48f55", bytecode = "557450e6d9e6a77f05e910a1b9cb91eea9023f0c628dfa6f85e3551ebb296182", errors = "", warnings = "" }] }, +]] diff --git a/tests/expectations/compiler/function/flatten_tuples_of_structs.out b/tests/expectations/compiler/function/flatten_tuples_of_structs.out index b1bb0e149b..99b57a8b28 100644 --- a/tests/expectations/compiler/function/flatten_tuples_of_structs.out +++ b/tests/expectations/compiler/function/flatten_tuples_of_structs.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d964d8a38b2e4c8e33fd7a00bb030825ad72e30dc6530ebbe8196fca68a93e90 - type_checked_symbol_table: 0cb246294e6a9c962e0596a8ff53a451bce88a9edfe538fbe86dfd919f789921 - unrolled_symbol_table: 0cb246294e6a9c962e0596a8ff53a451bce88a9edfe538fbe86dfd919f789921 - initial_ast: 35bd2bdf56095dd40ac177376dc338e04f1c08c7319d2412b51a23478ad098e8 - unrolled_ast: 35bd2bdf56095dd40ac177376dc338e04f1c08c7319d2412b51a23478ad098e8 - ssa_ast: d2990bbfa8df60235f5df4065f98680019c6a4fcf9793a6f980f0365b84b6681 - flattened_ast: 4f38814ab57e9f6b3d19fe9f77f2b55a78a295fab5a0141624303c654c0fa57a - destructured_ast: 79cd2e10db60a3edb72d6fc60948e546aa5d802f1ec59ddbb0879659908a296a - inlined_ast: 3b4a09203106b129a51aac843cf1cbf302f58e136c55f3a0e18f5bebc6a616be - dce_ast: 9adc8fd775f02506e08404f56c7c9ea6cd09971594f25078072fbc658dfa8057 - bytecode: 023b08025f2aa0f03538528dde0e9b8e6ddf7efb3feb3af35ff79a1d930e42cc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d964d8a38b2e4c8e33fd7a00bb030825ad72e30dc6530ebbe8196fca68a93e90", type_checked_symbol_table = "0cb246294e6a9c962e0596a8ff53a451bce88a9edfe538fbe86dfd919f789921", unrolled_symbol_table = "0cb246294e6a9c962e0596a8ff53a451bce88a9edfe538fbe86dfd919f789921", initial_ast = "35bd2bdf56095dd40ac177376dc338e04f1c08c7319d2412b51a23478ad098e8", unrolled_ast = "35bd2bdf56095dd40ac177376dc338e04f1c08c7319d2412b51a23478ad098e8", ssa_ast = "d2990bbfa8df60235f5df4065f98680019c6a4fcf9793a6f980f0365b84b6681", flattened_ast = "4f38814ab57e9f6b3d19fe9f77f2b55a78a295fab5a0141624303c654c0fa57a", destructured_ast = "79cd2e10db60a3edb72d6fc60948e546aa5d802f1ec59ddbb0879659908a296a", inlined_ast = "3b4a09203106b129a51aac843cf1cbf302f58e136c55f3a0e18f5bebc6a616be", dce_ast = "9adc8fd775f02506e08404f56c7c9ea6cd09971594f25078072fbc658dfa8057", bytecode = "023b08025f2aa0f03538528dde0e9b8e6ddf7efb3feb3af35ff79a1d930e42cc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/flatten_unit_expressions.out b/tests/expectations/compiler/function/flatten_unit_expressions.out index 567b66c5b8..f594874877 100644 --- a/tests/expectations/compiler/function/flatten_unit_expressions.out +++ b/tests/expectations/compiler/function/flatten_unit_expressions.out @@ -1,32 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c8235e4aaec64de0278ab061f528e9e08858b5c91581d86c511f9827969722bf - type_checked_symbol_table: 10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6 - unrolled_symbol_table: 10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6 - initial_ast: 858bf2fb16e87d10c82a7d0e2569a2535779bceec0e371bc7cc9ff84d433f648 - unrolled_ast: 858bf2fb16e87d10c82a7d0e2569a2535779bceec0e371bc7cc9ff84d433f648 - ssa_ast: 085dfdc6611943a9f1042eeeb84b9f5793600f9405e15581adb7fc1e4b69deaf - flattened_ast: 72349f847d23c9e1735c2d7636d50c0e93393df65d01f4ef5c83b8d28326a15d - destructured_ast: 96aaef29a9d00d1b2e73698ddd3adb8687a6a26a808cb778c34eda95f011f081 - inlined_ast: 96aaef29a9d00d1b2e73698ddd3adb8687a6a26a808cb778c34eda95f011f081 - dce_ast: 05c996ba926d1f7b84fbf004839b2d31b2532f39ac3d167e9b0d82454e6d0b51 - bytecode: b5e0f18e08535e19b2bc80bd0bc3d2893e58223cea4d006a8a8de262d3ab41fd - errors: "" - warnings: "" - - compile: - - initial_symbol_table: c8235e4aaec64de0278ab061f528e9e08858b5c91581d86c511f9827969722bf - type_checked_symbol_table: 10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6 - unrolled_symbol_table: 10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6 - initial_ast: 7516ce18766eb2c7838ded66e8bacf43c4475f592669ed4295d3e3785c04debf - unrolled_ast: 7516ce18766eb2c7838ded66e8bacf43c4475f592669ed4295d3e3785c04debf - ssa_ast: 328c20b0db3057ecbd9727a1cd49a7a7bc7772fe4559da1642ec0e1e14439049 - flattened_ast: 0a3dabf2f09dcc27073d2136cdbfcb111832ae419a2ffe169a852366d46d110a - destructured_ast: ff1cdcc9088318e108771c9619b3d36bee8f4f4d951d044bec4a6ee74accf19f - inlined_ast: ff1cdcc9088318e108771c9619b3d36bee8f4f4d951d044bec4a6ee74accf19f - dce_ast: ff1cdcc9088318e108771c9619b3d36bee8f4f4d951d044bec4a6ee74accf19f - bytecode: b5e0f18e08535e19b2bc80bd0bc3d2893e58223cea4d006a8a8de262d3ab41fd - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[ + { compile = [{ initial_symbol_table = "c8235e4aaec64de0278ab061f528e9e08858b5c91581d86c511f9827969722bf", type_checked_symbol_table = "10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6", unrolled_symbol_table = "10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6", initial_ast = "858bf2fb16e87d10c82a7d0e2569a2535779bceec0e371bc7cc9ff84d433f648", unrolled_ast = "858bf2fb16e87d10c82a7d0e2569a2535779bceec0e371bc7cc9ff84d433f648", ssa_ast = "085dfdc6611943a9f1042eeeb84b9f5793600f9405e15581adb7fc1e4b69deaf", flattened_ast = "72349f847d23c9e1735c2d7636d50c0e93393df65d01f4ef5c83b8d28326a15d", destructured_ast = "96aaef29a9d00d1b2e73698ddd3adb8687a6a26a808cb778c34eda95f011f081", inlined_ast = "96aaef29a9d00d1b2e73698ddd3adb8687a6a26a808cb778c34eda95f011f081", dce_ast = "05c996ba926d1f7b84fbf004839b2d31b2532f39ac3d167e9b0d82454e6d0b51", bytecode = "b5e0f18e08535e19b2bc80bd0bc3d2893e58223cea4d006a8a8de262d3ab41fd", errors = "", warnings = "" }] }, + { compile = [{ initial_symbol_table = "c8235e4aaec64de0278ab061f528e9e08858b5c91581d86c511f9827969722bf", type_checked_symbol_table = "10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6", unrolled_symbol_table = "10b97ae7d29d12a13ec429d1a5c7b048be301edbdae0071882bf3fd2fde5c7b6", initial_ast = "7516ce18766eb2c7838ded66e8bacf43c4475f592669ed4295d3e3785c04debf", unrolled_ast = "7516ce18766eb2c7838ded66e8bacf43c4475f592669ed4295d3e3785c04debf", ssa_ast = "328c20b0db3057ecbd9727a1cd49a7a7bc7772fe4559da1642ec0e1e14439049", flattened_ast = "0a3dabf2f09dcc27073d2136cdbfcb111832ae419a2ffe169a852366d46d110a", destructured_ast = "ff1cdcc9088318e108771c9619b3d36bee8f4f4d951d044bec4a6ee74accf19f", inlined_ast = "ff1cdcc9088318e108771c9619b3d36bee8f4f4d951d044bec4a6ee74accf19f", dce_ast = "ff1cdcc9088318e108771c9619b3d36bee8f4f4d951d044bec4a6ee74accf19f", bytecode = "b5e0f18e08535e19b2bc80bd0bc3d2893e58223cea4d006a8a8de262d3ab41fd", errors = "", warnings = "" }] }, +]] diff --git a/tests/expectations/compiler/function/function_call.out b/tests/expectations/compiler/function/function_call.out index eb81c7130e..d0ec053e33 100644 --- a/tests/expectations/compiler/function/function_call.out +++ b/tests/expectations/compiler/function/function_call.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 35c97567764961ff6fbc23d98b890dd313f80812135de16382028f687c32cf2e - type_checked_symbol_table: 2e2d79605b8d612b84bef68fbfc07f6a4594cf55b9addeaa197547f1d696de55 - unrolled_symbol_table: 2e2d79605b8d612b84bef68fbfc07f6a4594cf55b9addeaa197547f1d696de55 - initial_ast: 8b68fd0f18e8fc74db391751baaa281e3b62ab56208b7d910040d10fb775261a - unrolled_ast: 8b68fd0f18e8fc74db391751baaa281e3b62ab56208b7d910040d10fb775261a - ssa_ast: 4d36ab9d484d0d7eaec140ff70e1b43f9484a067dc3b5717e0719e78c46754f2 - flattened_ast: 139763ddf1d58bcdb053e62bd22a37f0f25cf40ac6b728d914f0473d4f094816 - destructured_ast: d66c8b8e8698cead559c3cc52b21a42d70be448b2caee0413dd1ce88fa3bcefd - inlined_ast: 89aec80f6e01ba7e7dab7f6ff988fd5205c6932a65d4f57cc164a5df7ac38468 - dce_ast: 8fa786c76867752aa1d7da290907cd6cb6ebc0b2eaf1c7f271aa9eb16ba187d8 - bytecode: ce0dbf69a657e1fbc866ccc8c4a1cb4f8080a561d1ba4bafca831cee80a3ef81 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "35c97567764961ff6fbc23d98b890dd313f80812135de16382028f687c32cf2e", type_checked_symbol_table = "2e2d79605b8d612b84bef68fbfc07f6a4594cf55b9addeaa197547f1d696de55", unrolled_symbol_table = "2e2d79605b8d612b84bef68fbfc07f6a4594cf55b9addeaa197547f1d696de55", initial_ast = "8b68fd0f18e8fc74db391751baaa281e3b62ab56208b7d910040d10fb775261a", unrolled_ast = "8b68fd0f18e8fc74db391751baaa281e3b62ab56208b7d910040d10fb775261a", ssa_ast = "4d36ab9d484d0d7eaec140ff70e1b43f9484a067dc3b5717e0719e78c46754f2", flattened_ast = "139763ddf1d58bcdb053e62bd22a37f0f25cf40ac6b728d914f0473d4f094816", destructured_ast = "d66c8b8e8698cead559c3cc52b21a42d70be448b2caee0413dd1ce88fa3bcefd", inlined_ast = "89aec80f6e01ba7e7dab7f6ff988fd5205c6932a65d4f57cc164a5df7ac38468", dce_ast = "8fa786c76867752aa1d7da290907cd6cb6ebc0b2eaf1c7f271aa9eb16ba187d8", bytecode = "ce0dbf69a657e1fbc866ccc8c4a1cb4f8080a561d1ba4bafca831cee80a3ef81", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/function_call_inline.out b/tests/expectations/compiler/function/function_call_inline.out index 9a239916d8..63bc7d02eb 100644 --- a/tests/expectations/compiler/function/function_call_inline.out +++ b/tests/expectations/compiler/function/function_call_inline.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed7a63f69dd453aaad2b420c8c66deaa0d1692363890d97e0fb284d49214b661 - type_checked_symbol_table: b190129467010a5748afb68f59ddbdf275b047c69ffb0b0d75ae175ce34d0326 - unrolled_symbol_table: b190129467010a5748afb68f59ddbdf275b047c69ffb0b0d75ae175ce34d0326 - initial_ast: c9a39ba95e3335c1fa6eb924e55371957d21eebefb07c307e48f556d0a80823b - unrolled_ast: c9a39ba95e3335c1fa6eb924e55371957d21eebefb07c307e48f556d0a80823b - ssa_ast: 020daa90945dd26c4048779015a7bc6b2a3af0570f23c93b94e22cebdf73754b - flattened_ast: 7c76b6b3b5eeaf8841d4002e7675e9bfbd27ae9dd07229701d617689ab49553c - destructured_ast: 12a6bfb9b3bd7a13345014396e276de753ede3a2259bc14c162eeee3de623db1 - inlined_ast: be58baef96b4edcdb15e134e6802d3d2124e785ec9f2d2a7e66dc653e572463b - dce_ast: 43fe34a4712b1904236bcadaa1c6acfe5fc24fba93b056678d17f2f10af0f325 - bytecode: 44ea5bc8171ad40715c28c40333b673e70474ef9ba2d8f60d6517c0bfc3539e0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed7a63f69dd453aaad2b420c8c66deaa0d1692363890d97e0fb284d49214b661", type_checked_symbol_table = "b190129467010a5748afb68f59ddbdf275b047c69ffb0b0d75ae175ce34d0326", unrolled_symbol_table = "b190129467010a5748afb68f59ddbdf275b047c69ffb0b0d75ae175ce34d0326", initial_ast = "c9a39ba95e3335c1fa6eb924e55371957d21eebefb07c307e48f556d0a80823b", unrolled_ast = "c9a39ba95e3335c1fa6eb924e55371957d21eebefb07c307e48f556d0a80823b", ssa_ast = "020daa90945dd26c4048779015a7bc6b2a3af0570f23c93b94e22cebdf73754b", flattened_ast = "7c76b6b3b5eeaf8841d4002e7675e9bfbd27ae9dd07229701d617689ab49553c", destructured_ast = "12a6bfb9b3bd7a13345014396e276de753ede3a2259bc14c162eeee3de623db1", inlined_ast = "be58baef96b4edcdb15e134e6802d3d2124e785ec9f2d2a7e66dc653e572463b", dce_ast = "43fe34a4712b1904236bcadaa1c6acfe5fc24fba93b056678d17f2f10af0f325", bytecode = "44ea5bc8171ad40715c28c40333b673e70474ef9ba2d8f60d6517c0bfc3539e0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/function_call_out_of_order.out b/tests/expectations/compiler/function/function_call_out_of_order.out index e20d71d257..97feb83884 100644 --- a/tests/expectations/compiler/function/function_call_out_of_order.out +++ b/tests/expectations/compiler/function/function_call_out_of_order.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 84549d4c1be93b50aac1ea548f47a06dd027838a52b4e646ddc1f9378906ca30 - type_checked_symbol_table: 0a4e359e496976381acad0d496b0e91c184fc71ac97ee062c95d793489cfac74 - unrolled_symbol_table: 0a4e359e496976381acad0d496b0e91c184fc71ac97ee062c95d793489cfac74 - initial_ast: cd67a4bd4c22784098cf8ecc4e8079479062df17e8da5d75d5efc029337c76bf - unrolled_ast: cd67a4bd4c22784098cf8ecc4e8079479062df17e8da5d75d5efc029337c76bf - ssa_ast: 50d96b3454dd9deb16aa306d308ffd7dd1d4ceb4b3e247516934c60f4c362a65 - flattened_ast: 08b9e3d394cedad85a405dbbba19dc56637d141ee85392df8520e0fb08e2ce9b - destructured_ast: eef3c63a267e76c98694279ed57e3fec725c02fe84766da8d194ae6f29ed32b7 - inlined_ast: b305b98efdaaa0fa8b5abbe0460b26ab1258c30f6dd66a459c235b1b945db62a - dce_ast: b305b98efdaaa0fa8b5abbe0460b26ab1258c30f6dd66a459c235b1b945db62a - bytecode: 0d1f4cbd82531fbd8e3be16dd6b130e30da05f95568ab89856527ead1a0d68a3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "84549d4c1be93b50aac1ea548f47a06dd027838a52b4e646ddc1f9378906ca30", type_checked_symbol_table = "0a4e359e496976381acad0d496b0e91c184fc71ac97ee062c95d793489cfac74", unrolled_symbol_table = "0a4e359e496976381acad0d496b0e91c184fc71ac97ee062c95d793489cfac74", initial_ast = "cd67a4bd4c22784098cf8ecc4e8079479062df17e8da5d75d5efc029337c76bf", unrolled_ast = "cd67a4bd4c22784098cf8ecc4e8079479062df17e8da5d75d5efc029337c76bf", ssa_ast = "50d96b3454dd9deb16aa306d308ffd7dd1d4ceb4b3e247516934c60f4c362a65", flattened_ast = "08b9e3d394cedad85a405dbbba19dc56637d141ee85392df8520e0fb08e2ce9b", destructured_ast = "eef3c63a267e76c98694279ed57e3fec725c02fe84766da8d194ae6f29ed32b7", inlined_ast = "b305b98efdaaa0fa8b5abbe0460b26ab1258c30f6dd66a459c235b1b945db62a", dce_ast = "b305b98efdaaa0fa8b5abbe0460b26ab1258c30f6dd66a459c235b1b945db62a", bytecode = "0d1f4cbd82531fbd8e3be16dd6b130e30da05f95568ab89856527ead1a0d68a3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/function_call_tyc_fail.out b/tests/expectations/compiler/function/function_call_tyc_fail.out index 4bf8563a2e..a664f96754 100644 --- a/tests/expectations/compiler/function/function_call_tyc_fail.out +++ b/tests/expectations/compiler/function/function_call_tyc_fail.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `i8` but type `u8` was found\n --> compiler-test:16:13\n |\n 16 | x = f1(1u8);\n | ^^^^^^^\nError [ETYC0372003]: Expected type `i8` but type `u8` was found\n --> compiler-test:20:13\n |\n 20 | y = f3(y, z);\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `u8` but type `i8` was found\n --> compiler-test:20:16\n |\n 20 | y = f3(y, z);\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `i8` but type `u8` was found + --> compiler-test:16:13 + | + 16 | x = f1(1u8); + | ^^^^^^^ +Error [ETYC0372003]: Expected type `i8` but type `u8` was found + --> compiler-test:20:13 + | + 20 | y = f3(y, z); + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `u8` but type `i8` was found + --> compiler-test:20:16 + | + 20 | y = f3(y, z); + | ^ +"""] diff --git a/tests/expectations/compiler/function/function_input_else_assignment.out b/tests/expectations/compiler/function/function_input_else_assignment.out index abfcc137e1..cedaf1fbbe 100644 --- a/tests/expectations/compiler/function/function_input_else_assignment.out +++ b/tests/expectations/compiler/function/function_input_else_assignment.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3a64910c315e257b67757ebc3478a2df7ff7aa2ae8ef8d258507e44b53942b82 - type_checked_symbol_table: 69a0008fc51152856295a0ef75043069f34b5f0e1ce5b944e4d575a2d184a233 - unrolled_symbol_table: 69a0008fc51152856295a0ef75043069f34b5f0e1ce5b944e4d575a2d184a233 - initial_ast: 4c9ab22f340920e9a086b4b55e1e09065bf8839d7bf03d725003fc53cc6d5265 - unrolled_ast: 4c9ab22f340920e9a086b4b55e1e09065bf8839d7bf03d725003fc53cc6d5265 - ssa_ast: bf04c3808bc97d0b45f1e69cb8f9faed5f31e01cc03e359364bf22132b36216b - flattened_ast: 42c7d42e4bef17c457c38309491d5b05e69294712c4dd72245a1ec3d23de3453 - destructured_ast: 4d3de6e078f3c109dfd2bdb96817b23da4c755d9ca1300ad3f74040453aa7f0d - inlined_ast: 4d3de6e078f3c109dfd2bdb96817b23da4c755d9ca1300ad3f74040453aa7f0d - dce_ast: 628a22914e986028049f1a82a9662057762c39876a72e85e2624bef3b0737e92 - bytecode: e78a049b9529f1feeaa63bcf231b86c28e604487d185d98bbc0e4a2f201c3ec0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "3a64910c315e257b67757ebc3478a2df7ff7aa2ae8ef8d258507e44b53942b82", type_checked_symbol_table = "69a0008fc51152856295a0ef75043069f34b5f0e1ce5b944e4d575a2d184a233", unrolled_symbol_table = "69a0008fc51152856295a0ef75043069f34b5f0e1ce5b944e4d575a2d184a233", initial_ast = "4c9ab22f340920e9a086b4b55e1e09065bf8839d7bf03d725003fc53cc6d5265", unrolled_ast = "4c9ab22f340920e9a086b4b55e1e09065bf8839d7bf03d725003fc53cc6d5265", ssa_ast = "bf04c3808bc97d0b45f1e69cb8f9faed5f31e01cc03e359364bf22132b36216b", flattened_ast = "42c7d42e4bef17c457c38309491d5b05e69294712c4dd72245a1ec3d23de3453", destructured_ast = "4d3de6e078f3c109dfd2bdb96817b23da4c755d9ca1300ad3f74040453aa7f0d", inlined_ast = "4d3de6e078f3c109dfd2bdb96817b23da4c755d9ca1300ad3f74040453aa7f0d", dce_ast = "628a22914e986028049f1a82a9662057762c39876a72e85e2624bef3b0737e92", bytecode = "e78a049b9529f1feeaa63bcf231b86c28e604487d185d98bbc0e4a2f201c3ec0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/function_returns_record_fail.out b/tests/expectations/compiler/function/function_returns_record_fail.out index 3ef37db86b..0ac88be6ab 100644 --- a/tests/expectations/compiler/function/function_returns_record_fail.out +++ b/tests/expectations/compiler/function/function_returns_record_fail.out @@ -1,5 +1,34 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:9:18\n |\n 9 | function foo(board: Board, data: u8) -> Board {\n | ^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:9:18\n |\n 9 | function foo(board: Board, data: u8) -> Board {\n | ^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:9:45\n |\n 9 | function foo(board: Board, data: u8) -> Board {\n | ^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:9:45\n |\n 9 | function foo(board: Board, data: u8) -> Board {\n | ^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:16:18\n |\n 16 | function bar(board: Board) {\n | ^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:16:18\n |\n 16 | function bar(board: Board) {\n | ^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:9:18 + | + 9 | function foo(board: Board, data: u8) -> Board { + | ^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:9:18 + | + 9 | function foo(board: Board, data: u8) -> Board { + | ^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:9:45 + | + 9 | function foo(board: Board, data: u8) -> Board { + | ^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:9:45 + | + 9 | function foo(board: Board, data: u8) -> Board { + | ^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:16:18 + | + 16 | function bar(board: Board) { + | ^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:16:18 + | + 16 | function bar(board: Board) { + | ^^^^^ +"""] diff --git a/tests/expectations/compiler/function/global_shadow_function_fail.out b/tests/expectations/compiler/function/global_shadow_function_fail.out index 05e51a4bb9..2d6818d69d 100644 --- a/tests/expectations/compiler/function/global_shadow_function_fail.out +++ b/tests/expectations/compiler/function/global_shadow_function_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372006]: function `f1` shadowed by\n --> compiler-test:10:5\n |\n 10 | function f1(a: u8) -> u8 {\n 11 | return a * 100u8;\n 12 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372006]: function `f1` shadowed by + --> compiler-test:10:5 + | + 10 | function f1(a: u8) -> u8 { + 11 | return a * 100u8; + 12 | } + | ^ +"""] diff --git a/tests/expectations/compiler/function/helper_function_with_interface.out b/tests/expectations/compiler/function/helper_function_with_interface.out index 186164efd8..2cb22b97bf 100644 --- a/tests/expectations/compiler/function/helper_function_with_interface.out +++ b/tests/expectations/compiler/function/helper_function_with_interface.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ec20dd09711f4d662bb010c4edf90412d5667f25229b19d0040d80ecdd59af05 - type_checked_symbol_table: 7ce9a710af70a1ca92f26cdce6cbfca6d2c908a7f54456f2f7a25a097766efba - unrolled_symbol_table: 7ce9a710af70a1ca92f26cdce6cbfca6d2c908a7f54456f2f7a25a097766efba - initial_ast: 4e274607321e481e80735f922a86f31ee94b1beced6860764cef81da822a70b8 - unrolled_ast: 4e274607321e481e80735f922a86f31ee94b1beced6860764cef81da822a70b8 - ssa_ast: 06352349c992e6fca231dab0ed6a47a0b8e44366a71dbc8ef07bdcd4621a44d7 - flattened_ast: 0030eca0e443f9ad10f18573d1abd47680923afc0c161268e522456a60c9d5b2 - destructured_ast: 32581512b36a175bab2a9e9fb8ee3b2cc37de33686bc49d686f5ac5fc794f348 - inlined_ast: 32581512b36a175bab2a9e9fb8ee3b2cc37de33686bc49d686f5ac5fc794f348 - dce_ast: 32581512b36a175bab2a9e9fb8ee3b2cc37de33686bc49d686f5ac5fc794f348 - bytecode: b48e67a8ef2d6c9c20bb5d14b831c6fdcccc5093212bccf31f75483613edb518 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ec20dd09711f4d662bb010c4edf90412d5667f25229b19d0040d80ecdd59af05", type_checked_symbol_table = "7ce9a710af70a1ca92f26cdce6cbfca6d2c908a7f54456f2f7a25a097766efba", unrolled_symbol_table = "7ce9a710af70a1ca92f26cdce6cbfca6d2c908a7f54456f2f7a25a097766efba", initial_ast = "4e274607321e481e80735f922a86f31ee94b1beced6860764cef81da822a70b8", unrolled_ast = "4e274607321e481e80735f922a86f31ee94b1beced6860764cef81da822a70b8", ssa_ast = "06352349c992e6fca231dab0ed6a47a0b8e44366a71dbc8ef07bdcd4621a44d7", flattened_ast = "0030eca0e443f9ad10f18573d1abd47680923afc0c161268e522456a60c9d5b2", destructured_ast = "32581512b36a175bab2a9e9fb8ee3b2cc37de33686bc49d686f5ac5fc794f348", inlined_ast = "32581512b36a175bab2a9e9fb8ee3b2cc37de33686bc49d686f5ac5fc794f348", dce_ast = "32581512b36a175bab2a9e9fb8ee3b2cc37de33686bc49d686f5ac5fc794f348", bytecode = "b48e67a8ef2d6c9c20bb5d14b831c6fdcccc5093212bccf31f75483613edb518", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/inline_expr_statement.out b/tests/expectations/compiler/function/inline_expr_statement.out index 043d810ac2..5d3bc5bfb7 100644 --- a/tests/expectations/compiler/function/inline_expr_statement.out +++ b/tests/expectations/compiler/function/inline_expr_statement.out @@ -1,32 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3c7d293c37250980a5585057e47928a31e3436cd32119581540bf51f5728c388 - type_checked_symbol_table: 091fb907ad9e6f299261d8d3b0d7eea3e1fe7b3d264462067710ef685b2270e1 - unrolled_symbol_table: 091fb907ad9e6f299261d8d3b0d7eea3e1fe7b3d264462067710ef685b2270e1 - initial_ast: 320a1254fe4e5e65832dcfac7cfce31f8e2d20330ee5d8db5dcb64db96b04e44 - unrolled_ast: 320a1254fe4e5e65832dcfac7cfce31f8e2d20330ee5d8db5dcb64db96b04e44 - ssa_ast: 8d254079e14cc38ec69727d94a05ef669becda48a4201d236c0342dd2ba0a3f4 - flattened_ast: 8a66d1d4efdac63e56a023f6741662a55d93481dcb0465eeafe876642f373cfd - destructured_ast: e2694d1e1b256ebff10109dbb78e7f2da7fbcc9abc1c9996ace63bba5567035c - inlined_ast: c089d74e6e09f64fe710904fbd61bffc92bcd7bd20379c404a724963dbe06401 - dce_ast: d890c7170e9541f4e7244473dea35ce26477cddd2c46ff9135a759848d948a6f - bytecode: 3c05138e2787f4f82e5e0503d73b7a23b55758efa05449d5fd6f691902e575f3 - errors: "" - warnings: "" - - compile: - - initial_symbol_table: d5caee9ae53a20fe1d54458ddd1917c970803f24acfc13fe709e2153de1b7f6d - type_checked_symbol_table: dd5524eb51878b66e38f6a28cb12cdacd1d62120329ea45b03e1f236b26fe52e - unrolled_symbol_table: dd5524eb51878b66e38f6a28cb12cdacd1d62120329ea45b03e1f236b26fe52e - initial_ast: a094a8ae3083698fac584a1407dbaa36dd9e13c89e1033f6664130508b4236fe - unrolled_ast: a094a8ae3083698fac584a1407dbaa36dd9e13c89e1033f6664130508b4236fe - ssa_ast: 3a8be5fb4ccac2e6ab5f1aae00045a4c88c46370ae08f49aa9d1c30a9bc6e93e - flattened_ast: ddbd43eb73f73b7221aa796d9fdf30abb4bbdb1648f4c4dfed9d83c31bf6c094 - destructured_ast: c59b5b47675f69cbc2ecbca481878dcaa7bea74837c3cedb33618a724b951e67 - inlined_ast: e71a0d88b32d3c92ccae2ccd5e9e11056e38c7b5c6c48dfb61584e08f52478bb - dce_ast: e71a0d88b32d3c92ccae2ccd5e9e11056e38c7b5c6c48dfb61584e08f52478bb - bytecode: a0b5126f2fda64d2ee08377b08a787af8dcdb825268db2acf45a4a9d94dd8887 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[ + { compile = [{ initial_symbol_table = "3c7d293c37250980a5585057e47928a31e3436cd32119581540bf51f5728c388", type_checked_symbol_table = "091fb907ad9e6f299261d8d3b0d7eea3e1fe7b3d264462067710ef685b2270e1", unrolled_symbol_table = "091fb907ad9e6f299261d8d3b0d7eea3e1fe7b3d264462067710ef685b2270e1", initial_ast = "320a1254fe4e5e65832dcfac7cfce31f8e2d20330ee5d8db5dcb64db96b04e44", unrolled_ast = "320a1254fe4e5e65832dcfac7cfce31f8e2d20330ee5d8db5dcb64db96b04e44", ssa_ast = "8d254079e14cc38ec69727d94a05ef669becda48a4201d236c0342dd2ba0a3f4", flattened_ast = "8a66d1d4efdac63e56a023f6741662a55d93481dcb0465eeafe876642f373cfd", destructured_ast = "e2694d1e1b256ebff10109dbb78e7f2da7fbcc9abc1c9996ace63bba5567035c", inlined_ast = "c089d74e6e09f64fe710904fbd61bffc92bcd7bd20379c404a724963dbe06401", dce_ast = "d890c7170e9541f4e7244473dea35ce26477cddd2c46ff9135a759848d948a6f", bytecode = "3c05138e2787f4f82e5e0503d73b7a23b55758efa05449d5fd6f691902e575f3", errors = "", warnings = "" }] }, + { compile = [{ initial_symbol_table = "d5bf3f05f5a0afc811a2238929940629213ae93d47a62c90227f0c413c717544", type_checked_symbol_table = "79511fe231f3462aabe4261e9a2f22aa91c54351f576656f9b6bf64b5d467495", unrolled_symbol_table = "79511fe231f3462aabe4261e9a2f22aa91c54351f576656f9b6bf64b5d467495", initial_ast = "c5160a46e1db93ff65609f2995f5a7c02537c60fc41ee5286939515a93ec5860", unrolled_ast = "c5160a46e1db93ff65609f2995f5a7c02537c60fc41ee5286939515a93ec5860", ssa_ast = "f47fd6ab0deb01d222b7b7bd3852ecffb6506a4acdbb3c45eefe44503cec2fcb", flattened_ast = "ec138eb7d296236a666ee95a2da4ff5f379c76c12e76e9e2483e1b2d431e3c3f", destructured_ast = "69ad728f2fcb556dfa10941bd582f6e6c3fcd8169052916af5aec4bb41f03305", inlined_ast = "09985facfd23d038614e4b5eabe6e400b47321c1a8e3f5ec2f27144c2cad76c1", dce_ast = "09985facfd23d038614e4b5eabe6e400b47321c1a8e3f5ec2f27144c2cad76c1", bytecode = "a0b5126f2fda64d2ee08377b08a787af8dcdb825268db2acf45a4a9d94dd8887", errors = "", warnings = "" }] }, +]] diff --git a/tests/expectations/compiler/function/inline_twice.out b/tests/expectations/compiler/function/inline_twice.out index 84cef5a728..6ffc72d8e6 100644 --- a/tests/expectations/compiler/function/inline_twice.out +++ b/tests/expectations/compiler/function/inline_twice.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1624ae6ba198cc50d30c89cdb72e7778cc9136d41afdc874630dd91ac8fa465e - type_checked_symbol_table: 645b5d0be66ad8c24a8cd15eae713f77763e4532da9976b55c767dc9e4575355 - unrolled_symbol_table: 645b5d0be66ad8c24a8cd15eae713f77763e4532da9976b55c767dc9e4575355 - initial_ast: 43678a1aa93fc7c3820ff56d5a63818c81ebc5e4c639cfac968b5ee487cf79b2 - unrolled_ast: 43678a1aa93fc7c3820ff56d5a63818c81ebc5e4c639cfac968b5ee487cf79b2 - ssa_ast: 2948122e4b02f36dd806cde869cca46a2494261f02f09f97f5f4f37e2700fb14 - flattened_ast: d1db8ec275e74bd5dbc32935b87170a99f681423536f08ee952e474c76f580e2 - destructured_ast: ca86883d13783d288988a97e7d628bb8c61329dcbf2fa2d54176286e48191c20 - inlined_ast: 21a4ec7174456773b1c858ad63e22dd69835cbc9b16855f277d06f2f48de870c - dce_ast: 21a4ec7174456773b1c858ad63e22dd69835cbc9b16855f277d06f2f48de870c - bytecode: 0d572a58b3609a5835754184c0d7b55b9bb11b101a11a1be25546a212a668e25 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1624ae6ba198cc50d30c89cdb72e7778cc9136d41afdc874630dd91ac8fa465e", type_checked_symbol_table = "645b5d0be66ad8c24a8cd15eae713f77763e4532da9976b55c767dc9e4575355", unrolled_symbol_table = "645b5d0be66ad8c24a8cd15eae713f77763e4532da9976b55c767dc9e4575355", initial_ast = "43678a1aa93fc7c3820ff56d5a63818c81ebc5e4c639cfac968b5ee487cf79b2", unrolled_ast = "43678a1aa93fc7c3820ff56d5a63818c81ebc5e4c639cfac968b5ee487cf79b2", ssa_ast = "2948122e4b02f36dd806cde869cca46a2494261f02f09f97f5f4f37e2700fb14", flattened_ast = "d1db8ec275e74bd5dbc32935b87170a99f681423536f08ee952e474c76f580e2", destructured_ast = "ca86883d13783d288988a97e7d628bb8c61329dcbf2fa2d54176286e48191c20", inlined_ast = "21a4ec7174456773b1c858ad63e22dd69835cbc9b16855f277d06f2f48de870c", dce_ast = "21a4ec7174456773b1c858ad63e22dd69835cbc9b16855f277d06f2f48de870c", bytecode = "0d572a58b3609a5835754184c0d7b55b9bb11b101a11a1be25546a212a668e25", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/mutual_recursion_fail.out b/tests/expectations/compiler/function/mutual_recursion_fail.out index 066807c110..1961f6dea9 100644 --- a/tests/expectations/compiler/function/mutual_recursion_fail.out +++ b/tests/expectations/compiler/function/mutual_recursion_fail.out @@ -1,5 +1,25 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:13:16\n |\n 13 | return bax(n);\n | ^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:17:16\n |\n 17 | return baz(n);\n | ^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:5:16\n |\n 5 | return bar(n);\n | ^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:9:16\n |\n 9 | return foo(n);\n | ^^^^^^\nError [ETYC0372059]: Cyclic dependency between functions: `baz` --> `bax` --> `baz`\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:13:16 + | + 13 | return bax(n); + | ^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:17:16 + | + 17 | return baz(n); + | ^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:5:16 + | + 5 | return bar(n); + | ^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:9:16 + | + 9 | return foo(n); + | ^^^^^^ +Error [ETYC0372059]: Cyclic dependency between functions: `baz` --> `bax` --> `baz` +"""] diff --git a/tests/expectations/compiler/function/no_return.out b/tests/expectations/compiler/function/no_return.out index 7e2fd24e68..cbba20d261 100644 --- a/tests/expectations/compiler/function/no_return.out +++ b/tests/expectations/compiler/function/no_return.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372036]: Function must return a value.\n --> compiler-test:4:5\n |\n 4 | transition main() -> u8 {}\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372036]: Function must return a value. + --> compiler-test:4:5 + | + 4 | transition main() -> u8 {} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/no_transition_fail.out b/tests/expectations/compiler/function/no_transition_fail.out index 0c4487e7ea..d8206b4406 100644 --- a/tests/expectations/compiler/function/no_transition_fail.out +++ b/tests/expectations/compiler/function/no_transition_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/non_transition_variant_input_record_fail.out b/tests/expectations/compiler/function/non_transition_variant_input_record_fail.out index ceb07134fe..14a345ce74 100644 --- a/tests/expectations/compiler/function/non_transition_variant_input_record_fail.out +++ b/tests/expectations/compiler/function/non_transition_variant_input_record_fail.out @@ -1,5 +1,31 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:9:18\n |\n 9 | function foo(a: credits) -> u8 {\n | ^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:9:18\n |\n 9 | function foo(a: credits) -> u8 {\n | ^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:13:41\n |\n 13 | function boo(a: address, b: u64) -> credits {\n | ^^^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:13:41\n |\n 13 | function boo(a: address, b: u64) -> credits {\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:9:18 + | + 9 | function foo(a: credits) -> u8 { + | ^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:9:18 + | + 9 | function foo(a: credits) -> u8 { + | ^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:13:41 + | + 13 | function boo(a: address, b: u64) -> credits { + | ^^^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:13:41 + | + 13 | function boo(a: address, b: u64) -> credits { + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/private_input_output.out b/tests/expectations/compiler/function/private_input_output.out index f05d5d9915..2e5f61577b 100644 --- a/tests/expectations/compiler/function/private_input_output.out +++ b/tests/expectations/compiler/function/private_input_output.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 269955dab44f6f17490187377e8c7f3bb18e0f0b657171316568df40676edffc - type_checked_symbol_table: 05bd3aa27aa93d25af0e5fcd60220bb351422969580115b245440005461b0759 - unrolled_symbol_table: 05bd3aa27aa93d25af0e5fcd60220bb351422969580115b245440005461b0759 - initial_ast: 2569d5851b8ede5c78d184817772e23a07b2b330725a6bdee169727f58f2551f - unrolled_ast: 2569d5851b8ede5c78d184817772e23a07b2b330725a6bdee169727f58f2551f - ssa_ast: 2e694f0a8c67e1009f88d3b0d9bb126a53adb428c0e64a7339c2e8256728dbf5 - flattened_ast: d8a0831a70db10840d598f7ddae6da070afbc71520112e6a636066aa7916c0d3 - destructured_ast: a20586a95afeb25460a9735d02bf5886ed0169c0f406f822bee03110538f98f0 - inlined_ast: a20586a95afeb25460a9735d02bf5886ed0169c0f406f822bee03110538f98f0 - dce_ast: a20586a95afeb25460a9735d02bf5886ed0169c0f406f822bee03110538f98f0 - bytecode: 9b307e37c2c37a7ce3a9817079f2c4701e09be5a72610792a62a26d9e2027e0d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "269955dab44f6f17490187377e8c7f3bb18e0f0b657171316568df40676edffc", type_checked_symbol_table = "05bd3aa27aa93d25af0e5fcd60220bb351422969580115b245440005461b0759", unrolled_symbol_table = "05bd3aa27aa93d25af0e5fcd60220bb351422969580115b245440005461b0759", initial_ast = "2569d5851b8ede5c78d184817772e23a07b2b330725a6bdee169727f58f2551f", unrolled_ast = "2569d5851b8ede5c78d184817772e23a07b2b330725a6bdee169727f58f2551f", ssa_ast = "2e694f0a8c67e1009f88d3b0d9bb126a53adb428c0e64a7339c2e8256728dbf5", flattened_ast = "d8a0831a70db10840d598f7ddae6da070afbc71520112e6a636066aa7916c0d3", destructured_ast = "a20586a95afeb25460a9735d02bf5886ed0169c0f406f822bee03110538f98f0", inlined_ast = "a20586a95afeb25460a9735d02bf5886ed0169c0f406f822bee03110538f98f0", dce_ast = "a20586a95afeb25460a9735d02bf5886ed0169c0f406f822bee03110538f98f0", bytecode = "9b307e37c2c37a7ce3a9817079f2c4701e09be5a72610792a62a26d9e2027e0d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out b/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out index c645f165b9..e1dc928a30 100644 --- a/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out +++ b/tests/expectations/compiler/function/program_function_any_number_of_inputs_and_outputs.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fceec4e2cc903ab899bbdba1421bb64fd84911c43d10182a5ec61d28a24334e0 - type_checked_symbol_table: 76687a38bb7f99981ad644e775078cd2ba7c1ee3003d2f3b2bc44404a9f777e7 - unrolled_symbol_table: 76687a38bb7f99981ad644e775078cd2ba7c1ee3003d2f3b2bc44404a9f777e7 - initial_ast: aacfba037ccc2e33dd2317a82e4957173f0d46f7c6ca8f875d96f0ddee2c01c7 - unrolled_ast: aacfba037ccc2e33dd2317a82e4957173f0d46f7c6ca8f875d96f0ddee2c01c7 - ssa_ast: f58475b28ba41d3bb5707ff5f4fb714013dcaad7557b926105b7e0ffd06c3df5 - flattened_ast: 76b3378bab85a9c02cd68bee7e9abcf48cbeee20dc76f97a98a54217ef628126 - destructured_ast: 5125cda9a601ef5b91120c9e627e5f6ec2e29e27aaf6fbcf73375605968cd4f8 - inlined_ast: 5125cda9a601ef5b91120c9e627e5f6ec2e29e27aaf6fbcf73375605968cd4f8 - dce_ast: 5125cda9a601ef5b91120c9e627e5f6ec2e29e27aaf6fbcf73375605968cd4f8 - bytecode: eac5d0cfbac44a017f12d12a655088f7aa15d0567afa771b5ff8d83ba7a9eacd - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fceec4e2cc903ab899bbdba1421bb64fd84911c43d10182a5ec61d28a24334e0", type_checked_symbol_table = "76687a38bb7f99981ad644e775078cd2ba7c1ee3003d2f3b2bc44404a9f777e7", unrolled_symbol_table = "76687a38bb7f99981ad644e775078cd2ba7c1ee3003d2f3b2bc44404a9f777e7", initial_ast = "aacfba037ccc2e33dd2317a82e4957173f0d46f7c6ca8f875d96f0ddee2c01c7", unrolled_ast = "aacfba037ccc2e33dd2317a82e4957173f0d46f7c6ca8f875d96f0ddee2c01c7", ssa_ast = "f58475b28ba41d3bb5707ff5f4fb714013dcaad7557b926105b7e0ffd06c3df5", flattened_ast = "76b3378bab85a9c02cd68bee7e9abcf48cbeee20dc76f97a98a54217ef628126", destructured_ast = "5125cda9a601ef5b91120c9e627e5f6ec2e29e27aaf6fbcf73375605968cd4f8", inlined_ast = "5125cda9a601ef5b91120c9e627e5f6ec2e29e27aaf6fbcf73375605968cd4f8", dce_ast = "5125cda9a601ef5b91120c9e627e5f6ec2e29e27aaf6fbcf73375605968cd4f8", bytecode = "eac5d0cfbac44a017f12d12a655088f7aa15d0567afa771b5ff8d83ba7a9eacd", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/program_function_empty_body.out b/tests/expectations/compiler/function/program_function_empty_body.out index c0d5801670..345e5db0a6 100644 --- a/tests/expectations/compiler/function/program_function_empty_body.out +++ b/tests/expectations/compiler/function/program_function_empty_body.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4930d5ca5b6c44137f57c6ddc50932d0c4e524c2b650fbafab3b5a7b5a9c39cf - type_checked_symbol_table: 474939085f77956d9a6476e4369bb466de16f7c1213be4b965f04d5c64c9d8c5 - unrolled_symbol_table: 474939085f77956d9a6476e4369bb466de16f7c1213be4b965f04d5c64c9d8c5 - initial_ast: 3c699a01b9f29a9b1afabe9a37cf579b7d697c57e7163654775d88e3b0b8c01b - unrolled_ast: 3c699a01b9f29a9b1afabe9a37cf579b7d697c57e7163654775d88e3b0b8c01b - ssa_ast: 3c699a01b9f29a9b1afabe9a37cf579b7d697c57e7163654775d88e3b0b8c01b - flattened_ast: 0ed487b1b36a28dda3c1cd7c9be5fafed2c42823926a6d57ee4b4807e52a378c - destructured_ast: 807e7645ccf0e04bc099fdde2d0ec03da10fcd4dd0f85f69da61a1b1c23f41f2 - inlined_ast: 807e7645ccf0e04bc099fdde2d0ec03da10fcd4dd0f85f69da61a1b1c23f41f2 - dce_ast: 807e7645ccf0e04bc099fdde2d0ec03da10fcd4dd0f85f69da61a1b1c23f41f2 - bytecode: abc411306856bb13d787153cb890d742f962dfe924477954c427b7a3ab4e279b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4930d5ca5b6c44137f57c6ddc50932d0c4e524c2b650fbafab3b5a7b5a9c39cf", type_checked_symbol_table = "474939085f77956d9a6476e4369bb466de16f7c1213be4b965f04d5c64c9d8c5", unrolled_symbol_table = "474939085f77956d9a6476e4369bb466de16f7c1213be4b965f04d5c64c9d8c5", initial_ast = "3c699a01b9f29a9b1afabe9a37cf579b7d697c57e7163654775d88e3b0b8c01b", unrolled_ast = "3c699a01b9f29a9b1afabe9a37cf579b7d697c57e7163654775d88e3b0b8c01b", ssa_ast = "3c699a01b9f29a9b1afabe9a37cf579b7d697c57e7163654775d88e3b0b8c01b", flattened_ast = "0ed487b1b36a28dda3c1cd7c9be5fafed2c42823926a6d57ee4b4807e52a378c", destructured_ast = "807e7645ccf0e04bc099fdde2d0ec03da10fcd4dd0f85f69da61a1b1c23f41f2", inlined_ast = "807e7645ccf0e04bc099fdde2d0ec03da10fcd4dd0f85f69da61a1b1c23f41f2", dce_ast = "807e7645ccf0e04bc099fdde2d0ec03da10fcd4dd0f85f69da61a1b1c23f41f2", bytecode = "abc411306856bb13d787153cb890d742f962dfe924477954c427b7a3ab4e279b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/program_function_no_constant_mode_fail.out b/tests/expectations/compiler/function/program_function_no_constant_mode_fail.out index 2905d10355..77a690bb2f 100644 --- a/tests/expectations/compiler/function/program_function_no_constant_mode_fail.out +++ b/tests/expectations/compiler/function/program_function_no_constant_mode_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372006]: function `foo` shadowed by\n --> compiler-test:7:5\n |\n 7 | transition foo(a: u8) -> constant u8 {\n 8 | return a + a;\n 9 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372006]: function `foo` shadowed by + --> compiler-test:7:5 + | + 7 | transition foo(a: u8) -> constant u8 { + 8 | return a + a; + 9 | } + | ^ +"""] diff --git a/tests/expectations/compiler/function/program_function_unit_type.out b/tests/expectations/compiler/function/program_function_unit_type.out index d28a765de1..bdff49dbe5 100644 --- a/tests/expectations/compiler/function/program_function_unit_type.out +++ b/tests/expectations/compiler/function/program_function_unit_type.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ce97476c8da7e0efffa9ab3a4d3611af6b65ef13c1f585590d4872c923d6aaac - type_checked_symbol_table: a84c101446cad44493fd97e85264029a4d2722c6f421f73650926c43c5fc63a3 - unrolled_symbol_table: a84c101446cad44493fd97e85264029a4d2722c6f421f73650926c43c5fc63a3 - initial_ast: 9680aa7f92ec49edb01c6baba8fb8ae8249d0380e1703a4fdba7c67ba32ca232 - unrolled_ast: 9680aa7f92ec49edb01c6baba8fb8ae8249d0380e1703a4fdba7c67ba32ca232 - ssa_ast: 9680aa7f92ec49edb01c6baba8fb8ae8249d0380e1703a4fdba7c67ba32ca232 - flattened_ast: d14b2e7ad66a2310192094a9e516901fa55ba3a7ffc2cfb1ff6cdbd184fbe0a8 - destructured_ast: 7dd5bfbe242ced8d9d5319e72db8020e842ae8fd2695338e820f5827d03f1464 - inlined_ast: 7dd5bfbe242ced8d9d5319e72db8020e842ae8fd2695338e820f5827d03f1464 - dce_ast: 7dd5bfbe242ced8d9d5319e72db8020e842ae8fd2695338e820f5827d03f1464 - bytecode: 8ed93150ef7e3de74faaace88f995a65373e73428068d75142100775684d2fe7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ce97476c8da7e0efffa9ab3a4d3611af6b65ef13c1f585590d4872c923d6aaac", type_checked_symbol_table = "a84c101446cad44493fd97e85264029a4d2722c6f421f73650926c43c5fc63a3", unrolled_symbol_table = "a84c101446cad44493fd97e85264029a4d2722c6f421f73650926c43c5fc63a3", initial_ast = "9680aa7f92ec49edb01c6baba8fb8ae8249d0380e1703a4fdba7c67ba32ca232", unrolled_ast = "9680aa7f92ec49edb01c6baba8fb8ae8249d0380e1703a4fdba7c67ba32ca232", ssa_ast = "9680aa7f92ec49edb01c6baba8fb8ae8249d0380e1703a4fdba7c67ba32ca232", flattened_ast = "d14b2e7ad66a2310192094a9e516901fa55ba3a7ffc2cfb1ff6cdbd184fbe0a8", destructured_ast = "7dd5bfbe242ced8d9d5319e72db8020e842ae8fd2695338e820f5827d03f1464", inlined_ast = "7dd5bfbe242ced8d9d5319e72db8020e842ae8fd2695338e820f5827d03f1464", dce_ast = "7dd5bfbe242ced8d9d5319e72db8020e842ae8fd2695338e820f5827d03f1464", bytecode = "8ed93150ef7e3de74faaace88f995a65373e73428068d75142100775684d2fe7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/program_function_with_mode.out b/tests/expectations/compiler/function/program_function_with_mode.out index 52f0b9b141..b0a70c9d79 100644 --- a/tests/expectations/compiler/function/program_function_with_mode.out +++ b/tests/expectations/compiler/function/program_function_with_mode.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: bde0a1287d9a57131e4aae57135817efc1a5c4dbd6cfbd01aa42bfaa76592c2b - type_checked_symbol_table: f8b7932ac64dc4ba284ba3ad08944a37bee079bac412d529bc911bd4c196b7a6 - unrolled_symbol_table: f8b7932ac64dc4ba284ba3ad08944a37bee079bac412d529bc911bd4c196b7a6 - initial_ast: d5d2835847882ca6ba2d6547a2a814aac63115fd9b54776af8bbe1ad9dbc3fe0 - unrolled_ast: d5d2835847882ca6ba2d6547a2a814aac63115fd9b54776af8bbe1ad9dbc3fe0 - ssa_ast: 10521c62524e59467f6752f85253b2822b17be946fdbb3741fd3bc7cfd3bcc19 - flattened_ast: 34afa866296c733203a8a2a35c2c628d00133b486ea0887bfdc2f85456fa0115 - destructured_ast: 19bbfa9a0989b4be845614cc16d24de691c91f07f9a1d5bcf950b34737ed8fc7 - inlined_ast: 19bbfa9a0989b4be845614cc16d24de691c91f07f9a1d5bcf950b34737ed8fc7 - dce_ast: 19bbfa9a0989b4be845614cc16d24de691c91f07f9a1d5bcf950b34737ed8fc7 - bytecode: 7d4b43f8c90f7d5050fe8df5f3e44485187d882e4ecd4a9fcf9aae5ae14413df - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "bde0a1287d9a57131e4aae57135817efc1a5c4dbd6cfbd01aa42bfaa76592c2b", type_checked_symbol_table = "f8b7932ac64dc4ba284ba3ad08944a37bee079bac412d529bc911bd4c196b7a6", unrolled_symbol_table = "f8b7932ac64dc4ba284ba3ad08944a37bee079bac412d529bc911bd4c196b7a6", initial_ast = "d5d2835847882ca6ba2d6547a2a814aac63115fd9b54776af8bbe1ad9dbc3fe0", unrolled_ast = "d5d2835847882ca6ba2d6547a2a814aac63115fd9b54776af8bbe1ad9dbc3fe0", ssa_ast = "10521c62524e59467f6752f85253b2822b17be946fdbb3741fd3bc7cfd3bcc19", flattened_ast = "34afa866296c733203a8a2a35c2c628d00133b486ea0887bfdc2f85456fa0115", destructured_ast = "19bbfa9a0989b4be845614cc16d24de691c91f07f9a1d5bcf950b34737ed8fc7", inlined_ast = "19bbfa9a0989b4be845614cc16d24de691c91f07f9a1d5bcf950b34737ed8fc7", dce_ast = "19bbfa9a0989b4be845614cc16d24de691c91f07f9a1d5bcf950b34737ed8fc7", bytecode = "7d4b43f8c90f7d5050fe8df5f3e44485187d882e4ecd4a9fcf9aae5ae14413df", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/record_in_conditional_return.out b/tests/expectations/compiler/function/record_in_conditional_return.out index cb0f5c2d30..4d97ba9084 100644 --- a/tests/expectations/compiler/function/record_in_conditional_return.out +++ b/tests/expectations/compiler/function/record_in_conditional_return.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d5ea2324dee9fefc1c1266aa3984173753649bfe5c3b90ecc38c1e9923a278a0 - type_checked_symbol_table: cd4b664d03514db45cebcbd9ba62b3403d49fb498838e73352e87cd7558d8cb7 - unrolled_symbol_table: cd4b664d03514db45cebcbd9ba62b3403d49fb498838e73352e87cd7558d8cb7 - initial_ast: 0f32aead0f48227cb0c4c01f6e034c16e83b58c285fb02fda1b651389e6003b5 - unrolled_ast: 0f32aead0f48227cb0c4c01f6e034c16e83b58c285fb02fda1b651389e6003b5 - ssa_ast: 1eff92c09f76a87a712c3540266c67df2968a2a12c079d341fc42f1faf2024a9 - flattened_ast: 76a3571ec39036a4e246c5a6e9f9cecff922d18d859cfa58e6165772872b3cbc - destructured_ast: f5d61fc324d462caa8fd59843c5125da2306f1d2d5a87cc79c2b699c39228a6f - inlined_ast: f5d61fc324d462caa8fd59843c5125da2306f1d2d5a87cc79c2b699c39228a6f - dce_ast: abb41334bcee8b02f350d058659e62dc767c34393bb41ac2e4b6dc4127144bd8 - bytecode: d33387a022d43e9692d4e894d0f01081de02b7a97bca69ab6b769b9ee41672a2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d5ea2324dee9fefc1c1266aa3984173753649bfe5c3b90ecc38c1e9923a278a0", type_checked_symbol_table = "cd4b664d03514db45cebcbd9ba62b3403d49fb498838e73352e87cd7558d8cb7", unrolled_symbol_table = "cd4b664d03514db45cebcbd9ba62b3403d49fb498838e73352e87cd7558d8cb7", initial_ast = "0f32aead0f48227cb0c4c01f6e034c16e83b58c285fb02fda1b651389e6003b5", unrolled_ast = "0f32aead0f48227cb0c4c01f6e034c16e83b58c285fb02fda1b651389e6003b5", ssa_ast = "1eff92c09f76a87a712c3540266c67df2968a2a12c079d341fc42f1faf2024a9", flattened_ast = "76a3571ec39036a4e246c5a6e9f9cecff922d18d859cfa58e6165772872b3cbc", destructured_ast = "f5d61fc324d462caa8fd59843c5125da2306f1d2d5a87cc79c2b699c39228a6f", inlined_ast = "f5d61fc324d462caa8fd59843c5125da2306f1d2d5a87cc79c2b699c39228a6f", dce_ast = "abb41334bcee8b02f350d058659e62dc767c34393bb41ac2e4b6dc4127144bd8", bytecode = "d33387a022d43e9692d4e894d0f01081de02b7a97bca69ab6b769b9ee41672a2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/scope_fail.out b/tests/expectations/compiler/function/scope_fail.out index 8e090027e3..a748ac1d64 100644 --- a/tests/expectations/compiler/function/scope_fail.out +++ b/tests/expectations/compiler/function/scope_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:10:22\n |\n 10 | let myGlobal = 42field;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:10:22 + | + 10 | let myGlobal = 42field; + | ^"""] diff --git a/tests/expectations/compiler/function/self.out b/tests/expectations/compiler/function/self.out index fc4e3628b1..3131446f07 100644 --- a/tests/expectations/compiler/function/self.out +++ b/tests/expectations/compiler/function/self.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2db80161099ae9cbdc5ffffa66eca562fcce22058d7d8fc7b5ee73f317e377b5 - type_checked_symbol_table: 9cf657dc16a1640aaa90e73decf21c3cfd5e1ee640b96f86e96a156e333c5e94 - unrolled_symbol_table: 9cf657dc16a1640aaa90e73decf21c3cfd5e1ee640b96f86e96a156e333c5e94 - initial_ast: ad7fc0246dd88eb2f03be2a73c3ed453b122d987f9c2a6b0657f16d16e5273ef - unrolled_ast: ad7fc0246dd88eb2f03be2a73c3ed453b122d987f9c2a6b0657f16d16e5273ef - ssa_ast: 13a76006f82854659f167076d9533a5c9822785e0362d9c053f2d5d4cd4f7420 - flattened_ast: 37e7a149da369c2ad4337799de7c0d431025a04f6cc94678d52e715d62c98ca0 - destructured_ast: 4d26846699037466b6d0dea68cf92ebbd34e1815c8ffafaba8520accf8e292d7 - inlined_ast: 4d26846699037466b6d0dea68cf92ebbd34e1815c8ffafaba8520accf8e292d7 - dce_ast: 4d26846699037466b6d0dea68cf92ebbd34e1815c8ffafaba8520accf8e292d7 - bytecode: 189a1342c4be53d495f4ebae39c645cb1f27532c1cc1f27f4ed656ed200f05af - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2db80161099ae9cbdc5ffffa66eca562fcce22058d7d8fc7b5ee73f317e377b5", type_checked_symbol_table = "9cf657dc16a1640aaa90e73decf21c3cfd5e1ee640b96f86e96a156e333c5e94", unrolled_symbol_table = "9cf657dc16a1640aaa90e73decf21c3cfd5e1ee640b96f86e96a156e333c5e94", initial_ast = "ad7fc0246dd88eb2f03be2a73c3ed453b122d987f9c2a6b0657f16d16e5273ef", unrolled_ast = "ad7fc0246dd88eb2f03be2a73c3ed453b122d987f9c2a6b0657f16d16e5273ef", ssa_ast = "13a76006f82854659f167076d9533a5c9822785e0362d9c053f2d5d4cd4f7420", flattened_ast = "37e7a149da369c2ad4337799de7c0d431025a04f6cc94678d52e715d62c98ca0", destructured_ast = "4d26846699037466b6d0dea68cf92ebbd34e1815c8ffafaba8520accf8e292d7", inlined_ast = "4d26846699037466b6d0dea68cf92ebbd34e1815c8ffafaba8520accf8e292d7", dce_ast = "4d26846699037466b6d0dea68cf92ebbd34e1815c8ffafaba8520accf8e292d7", bytecode = "189a1342c4be53d495f4ebae39c645cb1f27532c1cc1f27f4ed656ed200f05af", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/function/self_fail.out b/tests/expectations/compiler/function/self_fail.out index bac44bf633..971acb4ea9 100644 --- a/tests/expectations/compiler/function/self_fail.out +++ b/tests/expectations/compiler/function/self_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372040]: The allowed accesses to `self` are `self.caller` and `self.signer`.\n --> compiler-test:5:21\n |\n 5 | return self.foo == addr;\n | ^^^\nError [ETYC0372003]: Expected type `address` but type `no type` was found\n --> compiler-test:5:16\n |\n 5 | return self.foo == addr;\n | ^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372040]: The allowed accesses to `self` are `self.caller` and `self.signer`. + --> compiler-test:5:21 + | + 5 | return self.foo == addr; + | ^^^ +Error [ETYC0372003]: Expected type `address` but type `no type` was found + --> compiler-test:5:16 + | + 5 | return self.foo == addr; + | ^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/self_finalize_fail.out b/tests/expectations/compiler/function/self_finalize_fail.out index 7a7e3c2820..83892d5f1b 100644 --- a/tests/expectations/compiler/function/self_finalize_fail.out +++ b/tests/expectations/compiler/function/self_finalize_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372066]: `self.caller` is not a valid operand in an async function call context.\n --> compiler-test:8:30\n |\n 8 | assert_eq(addr, self.caller);\n | ^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372066]: `self.caller` is not a valid operand in an async function call context. + --> compiler-test:8:30 + | + 8 | assert_eq(addr, self.caller); + | ^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/self_recursive_cycle_fail.out b/tests/expectations/compiler/function/self_recursive_cycle_fail.out index 7b609eb46e..725b98997d 100644 --- a/tests/expectations/compiler/function/self_recursive_cycle_fail.out +++ b/tests/expectations/compiler/function/self_recursive_cycle_fail.out @@ -1,5 +1,25 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:16:20\n |\n 16 | return foo(n - 1u8) + foo(n - 2u8);\n | ^^^^^^^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:16:35\n |\n 16 | return foo(n - 1u8) + foo(n - 2u8);\n | ^^^^^^^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:8:20\n |\n 8 | return fib(n - 1u8) + fib(n - 2u8);\n | ^^^^^^^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:8:35\n |\n 8 | return fib(n - 1u8) + fib(n - 2u8);\n | ^^^^^^^^^^^^\nError [ETYC0372059]: Cyclic dependency between functions: `foo` --> `foo`\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:16:20 + | + 16 | return foo(n - 1u8) + foo(n - 2u8); + | ^^^^^^^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:16:35 + | + 16 | return foo(n - 1u8) + foo(n - 2u8); + | ^^^^^^^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:8:20 + | + 8 | return fib(n - 1u8) + fib(n - 2u8); + | ^^^^^^^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:8:35 + | + 8 | return fib(n - 1u8) + fib(n - 2u8); + | ^^^^^^^^^^^^ +Error [ETYC0372059]: Cyclic dependency between functions: `foo` --> `foo` +"""] diff --git a/tests/expectations/compiler/function/shadow_parameter_fail.out b/tests/expectations/compiler/function/shadow_parameter_fail.out index ff2b04f0a0..85fa9e0c8d 100644 --- a/tests/expectations/compiler/function/shadow_parameter_fail.out +++ b/tests/expectations/compiler/function/shadow_parameter_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:16\n |\n 5 | let hi = 2u8;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:16 + | + 5 | let hi = 2u8; + | ^"""] diff --git a/tests/expectations/compiler/function/standard_function_calls_standard_function_fail.out b/tests/expectations/compiler/function/standard_function_calls_standard_function_fail.out index 6b02687451..80aa9f7a5c 100644 --- a/tests/expectations/compiler/function/standard_function_calls_standard_function_fail.out +++ b/tests/expectations/compiler/function/standard_function_calls_standard_function_fail.out @@ -1,5 +1,21 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:6:19\n |\n 6 | return adder(a, b);\n | ^^^^^^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:8:20\n |\n 8 | return subber(a, b);\n | ^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:6:19 + | + 6 | return adder(a, b); + | ^^^^^^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:8:20 + | + 8 | return subber(a, b); + | ^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/standard_function_calls_transition_function_fail.out b/tests/expectations/compiler/function/standard_function_calls_transition_function_fail.out index dfb281c08f..9bb5ad5756 100644 --- a/tests/expectations/compiler/function/standard_function_calls_transition_function_fail.out +++ b/tests/expectations/compiler/function/standard_function_calls_transition_function_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:6:19\n |\n 6 | return adder(a, b);\n | ^^^^^^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:8:20\n |\n 8 | return subber(a, b);\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:6:19 + | + 6 | return adder(a, b); + | ^^^^^^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:8:20 + | + 8 | return subber(a, b); + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/too_many_transitions_fail.out b/tests/expectations/compiler/function/too_many_transitions_fail.out index cecf67c255..e8e29dc713 100644 --- a/tests/expectations/compiler/function/too_many_transitions_fail.out +++ b/tests/expectations/compiler/function/too_many_transitions_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372047]: The number of transitions exceeds the maximum. snarkVM allows up to 31 transitions within a single program.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372047]: The number of transitions exceeds the maximum. snarkVM allows up to 31 transitions within a single program. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/transition_calls_async_function_fail.out b/tests/expectations/compiler/function/transition_calls_async_function_fail.out index f98e8a7085..fca1ade9d5 100644 --- a/tests/expectations/compiler/function/transition_calls_async_function_fail.out +++ b/tests/expectations/compiler/function/transition_calls_async_function_fail.out @@ -1,5 +1,31 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372110]: A `transition` cannot return a future.\n --> compiler-test:5:35\n |\n 5 | transition a(a: u64, b: u64) -> Future {\n | ^^^^^^\n |\n = Use an `async transition` instead.\nError [ETYC0372111]: The async function `finish` does not exist.\n --> compiler-test:6:12\n |\n 6 | return finish(a, b);\n | ^^^^^^^^^^^^\n |\n = Ensure that `finish` is defined as an async function in the current program.\nError [ETYC0372088]: An async transition must call an async function.\n --> compiler-test:9:3\n |\n 9 | async transition finish(a: u64, b: u64) {\n 10 | if (b == 0u64) {\n 11 | assert_eq(b, 0u64);\n 12 | } else {\n 13 | assert_eq(a / b, 1u64);\n 14 | }\n 15 | }\n | ^\n |\n = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }`\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372110]: A `transition` cannot return a future. + --> compiler-test:5:35 + | + 5 | transition a(a: u64, b: u64) -> Future { + | ^^^^^^ + | + = Use an `async transition` instead. +Error [ETYC0372111]: The async function `finish` does not exist. + --> compiler-test:6:12 + | + 6 | return finish(a, b); + | ^^^^^^^^^^^^ + | + = Ensure that `finish` is defined as an async function in the current program. +Error [ETYC0372088]: An async transition must call an async function. + --> compiler-test:9:3 + | + 9 | async transition finish(a: u64, b: u64) { + 10 | if (b == 0u64) { + 11 | assert_eq(b, 0u64); + 12 | } else { + 13 | assert_eq(a / b, 1u64); + 14 | } + 15 | } + | ^ + | + = Example: `async transition foo() -> Future { let a: Future = bar(); return await_futures(a); }` +"""] diff --git a/tests/expectations/compiler/function/transition_function_calls_transition_function_fail.out b/tests/expectations/compiler/function/transition_function_calls_transition_function_fail.out index b3f4a9a109..7906bc33b2 100644 --- a/tests/expectations/compiler/function/transition_function_calls_transition_function_fail.out +++ b/tests/expectations/compiler/function/transition_function_calls_transition_function_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:6:19\n |\n 6 | return adder(a, b);\n | ^^^^^^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:8:20\n |\n 8 | return subber(a, b);\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:6:19 + | + 6 | return adder(a, b); + | ^^^^^^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:8:20 + | + 8 | return subber(a, b); + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/undefined_data_type_fail.out b/tests/expectations/compiler/function/undefined_data_type_fail.out index e1f35aa452..63f8440de1 100644 --- a/tests/expectations/compiler/function/undefined_data_type_fail.out +++ b/tests/expectations/compiler/function/undefined_data_type_fail.out @@ -1,5 +1,37 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372017]: The type `Board` is not found in the current scope.\n --> compiler-test:4:35\n |\n 4 | function aria192check_for_win(b: Board, p: u8) -> u128bool {\n | ^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372017]: The type `Board` is not found in the current scope.\n --> compiler-test:4:35\n |\n 4 | function aria192check_for_win(b: Board, p: u8) -> u128bool {\n | ^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372017]: The type `u128bool` is not found in the current scope.\n --> compiler-test:4:55\n |\n 4 | function aria192check_for_win(b: Board, p: u8) -> u128bool {\n | ^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372005]: Unknown variable `test`\n --> compiler-test:5:16\n |\n 5 | return test;\n | ^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372017]: The type `Board` is not found in the current scope. + --> compiler-test:4:35 + | + 4 | function aria192check_for_win(b: Board, p: u8) -> u128bool { + | ^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372017]: The type `Board` is not found in the current scope. + --> compiler-test:4:35 + | + 4 | function aria192check_for_win(b: Board, p: u8) -> u128bool { + | ^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372017]: The type `u128bool` is not found in the current scope. + --> compiler-test:4:55 + | + 4 | function aria192check_for_win(b: Board, p: u8) -> u128bool { + | ^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372005]: Unknown variable `test` + --> compiler-test:5:16 + | + 5 | return test; + | ^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/undefined_fail.out b/tests/expectations/compiler/function/undefined_fail.out index 3c5111e5ea..e64f202046 100644 --- a/tests/expectations/compiler/function/undefined_fail.out +++ b/tests/expectations/compiler/function/undefined_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown function `my_function`\n --> compiler-test:5:9\n |\n 5 | my_function();\n | ^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown function `my_function` + --> compiler-test:5:9 + | + 5 | my_function(); + | ^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/function/unknown_parameter_type_fail.out b/tests/expectations/compiler/function/unknown_parameter_type_fail.out index 62bd80146b..fb869d1b9d 100644 --- a/tests/expectations/compiler/function/unknown_parameter_type_fail.out +++ b/tests/expectations/compiler/function/unknown_parameter_type_fail.out @@ -1,5 +1,23 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:4:28\n |\n 4 | transition main(a: u8, foo: Foo) -> u8 {\n | ^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:8:38\n |\n 8 | transition returns_foo(a: u8) -> Foo {\n | ^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372003]: Expected type `Foo` but type `u8` was found\n --> compiler-test:9:16\n |\n 9 | return a;\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372017]: The type `Foo` is not found in the current scope. + --> compiler-test:4:28 + | + 4 | transition main(a: u8, foo: Foo) -> u8 { + | ^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372017]: The type `Foo` is not found in the current scope. + --> compiler-test:8:38 + | + 8 | transition returns_foo(a: u8) -> Foo { + | ^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372003]: Expected type `Foo` but type `u8` was found + --> compiler-test:9:16 + | + 9 | return a; + | ^ +"""] diff --git a/tests/expectations/compiler/futures/explicit_return_type_fail.out b/tests/expectations/compiler/futures/explicit_return_type_fail.out index a476258ff0..19ed59ae00 100644 --- a/tests/expectations/compiler/futures/explicit_return_type_fail.out +++ b/tests/expectations/compiler/futures/explicit_return_type_fail.out @@ -1,5 +1,27 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372106]: An async function is not allowed to return a value.\n --> compiler-test:10:5\n |\n 10 | async function finalize() -> Future {\n 11 | Mapping::set(foo, 1u32, 1u32);\n 12 | }\n | ^\n |\n = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written.\nError [ETYC0372110]: A `transition` cannot return a future.\n --> compiler-test:10:34\n |\n 10 | async function finalize() -> Future {\n | ^^^^^^\n |\n = Use an `async transition` instead.\nError [ETYC0372036]: Function must return a value.\n --> compiler-test:10:5\n |\n 10 | async function finalize() -> Future {\n 11 | Mapping::set(foo, 1u32, 1u32);\n 12 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372106]: An async function is not allowed to return a value. + --> compiler-test:10:5 + | + 10 | async function finalize() -> Future { + 11 | Mapping::set(foo, 1u32, 1u32); + 12 | } + | ^ + | + = Remove an output type in the function signature, and remove the return statement from the function. Note that the future returned by async functions is automatically inferred, and must not be explicitly written. +Error [ETYC0372110]: A `transition` cannot return a future. + --> compiler-test:10:34 + | + 10 | async function finalize() -> Future { + | ^^^^^^ + | + = Use an `async transition` instead. +Error [ETYC0372036]: Function must return a value. + --> compiler-test:10:5 + | + 10 | async function finalize() -> Future { + 11 | Mapping::set(foo, 1u32, 1u32); + 12 | } + | ^ +"""] diff --git a/tests/expectations/compiler/futures/explicit_type_simple.out b/tests/expectations/compiler/futures/explicit_type_simple.out index a3e0dc08a5..63d5696b30 100644 --- a/tests/expectations/compiler/futures/explicit_type_simple.out +++ b/tests/expectations/compiler/futures/explicit_type_simple.out @@ -1,31 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8b522d0a39eb531a3b44e1689486e9421bf3511b734ea1866490af667391a494 - type_checked_symbol_table: 5518f6156fadf886a27d01ab9f04e7d5ba6ad744eb57eae50591cfeb7ac3e245 - unrolled_symbol_table: 5518f6156fadf886a27d01ab9f04e7d5ba6ad744eb57eae50591cfeb7ac3e245 - initial_ast: 2bfe467a04d427a79a28ef4029ccebdb3cb0eddf0b37e6b33dbdbe2063aa67bc - unrolled_ast: 2bfe467a04d427a79a28ef4029ccebdb3cb0eddf0b37e6b33dbdbe2063aa67bc - ssa_ast: 658fe90229b11769bc01e033f7833960f756b09e082ea0542b270acb4c1ee71b - flattened_ast: 6e131dfaa409eaec17bd67acc1b1ac4611fdb5deb1686f70f8bc34327ab10648 - destructured_ast: dc160ce86c6b05e46449a72e5ed1d1b9e932693d28f430940442fd5df2354143 - inlined_ast: 43a6c945bdcf715ee62ef3eb62df9fa922c2f9f848c8989438514a05d4fd2101 - dce_ast: 43a6c945bdcf715ee62ef3eb62df9fa922c2f9f848c8989438514a05d4fd2101 - bytecode: fcafcc5b4dca1daebcb7e7f97cce06bcd129c54677e310c424a255abd3132732 - errors: "" - warnings: "" - - initial_symbol_table: ad49aec92f87f1e65648a7ae10d5bfb563f50bb397a933a9852c979b4ed5e3f3 - type_checked_symbol_table: 7a05bbb86250bee3f69eee0c1f46f9d506dcb57c74358c26d158bde771b29bd7 - unrolled_symbol_table: 7a05bbb86250bee3f69eee0c1f46f9d506dcb57c74358c26d158bde771b29bd7 - initial_ast: f4b27c45b21e659b2b730a167dbbf8a309b19e71beded7108cb7267b06177417 - unrolled_ast: bdd7c6800831eebcb6a09cb05acd5be0ad83730e1d210eb4d9b4d6b968d0b326 - ssa_ast: e4441d4a0d42e1061d4481bce0113ebd8a6f258dc9e877adc5e52029d3f04991 - flattened_ast: 82cca8f1537803acde719f029a4ac265e0c1c53fa6e8cd4e4e2800a4d840c871 - destructured_ast: aee30ce903740d4f39c7f88aae66ed0bca4affce5b51988699cc9167ff946494 - inlined_ast: f4292c099047c4d8e3c0fbdaf7f32a1273a3eb68c4a11b0eccff59bd7c804247 - dce_ast: 406a8d3de9427c696512e49e8f7ab27d48616754516e535152dc13c15a3e1ee0 - bytecode: 1619c1b8a3e185454210bc8c9433ceec86833904810bba242398f28ea7d99d81 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "8b522d0a39eb531a3b44e1689486e9421bf3511b734ea1866490af667391a494", type_checked_symbol_table = "5518f6156fadf886a27d01ab9f04e7d5ba6ad744eb57eae50591cfeb7ac3e245", unrolled_symbol_table = "5518f6156fadf886a27d01ab9f04e7d5ba6ad744eb57eae50591cfeb7ac3e245", initial_ast = "2bfe467a04d427a79a28ef4029ccebdb3cb0eddf0b37e6b33dbdbe2063aa67bc", unrolled_ast = "2bfe467a04d427a79a28ef4029ccebdb3cb0eddf0b37e6b33dbdbe2063aa67bc", ssa_ast = "658fe90229b11769bc01e033f7833960f756b09e082ea0542b270acb4c1ee71b", flattened_ast = "6e131dfaa409eaec17bd67acc1b1ac4611fdb5deb1686f70f8bc34327ab10648", destructured_ast = "dc160ce86c6b05e46449a72e5ed1d1b9e932693d28f430940442fd5df2354143", inlined_ast = "43a6c945bdcf715ee62ef3eb62df9fa922c2f9f848c8989438514a05d4fd2101", dce_ast = "43a6c945bdcf715ee62ef3eb62df9fa922c2f9f848c8989438514a05d4fd2101", bytecode = "fcafcc5b4dca1daebcb7e7f97cce06bcd129c54677e310c424a255abd3132732", errors = "", warnings = "" }, + { initial_symbol_table = "ad49aec92f87f1e65648a7ae10d5bfb563f50bb397a933a9852c979b4ed5e3f3", type_checked_symbol_table = "7a05bbb86250bee3f69eee0c1f46f9d506dcb57c74358c26d158bde771b29bd7", unrolled_symbol_table = "7a05bbb86250bee3f69eee0c1f46f9d506dcb57c74358c26d158bde771b29bd7", initial_ast = "f4b27c45b21e659b2b730a167dbbf8a309b19e71beded7108cb7267b06177417", unrolled_ast = "bdd7c6800831eebcb6a09cb05acd5be0ad83730e1d210eb4d9b4d6b968d0b326", ssa_ast = "e4441d4a0d42e1061d4481bce0113ebd8a6f258dc9e877adc5e52029d3f04991", flattened_ast = "82cca8f1537803acde719f029a4ac265e0c1c53fa6e8cd4e4e2800a4d840c871", destructured_ast = "aee30ce903740d4f39c7f88aae66ed0bca4affce5b51988699cc9167ff946494", inlined_ast = "f4292c099047c4d8e3c0fbdaf7f32a1273a3eb68c4a11b0eccff59bd7c804247", dce_ast = "406a8d3de9427c696512e49e8f7ab27d48616754516e535152dc13c15a3e1ee0", bytecode = "1619c1b8a3e185454210bc8c9433ceec86833904810bba242398f28ea7d99d81", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/futures/future_in_tuple.out b/tests/expectations/compiler/futures/future_in_tuple.out index f4d7d8a31e..5e86efa102 100644 --- a/tests/expectations/compiler/futures/future_in_tuple.out +++ b/tests/expectations/compiler/futures/future_in_tuple.out @@ -1,31 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e19a77f482bf38e20c7ecd69838dadb5e778a6a95c1de2eb56bddc42121b8940 - type_checked_symbol_table: 33b1b5c2459bfa8d5c5b4b740965f4d59e09990037934364b94f1cb2e6316c2f - unrolled_symbol_table: 33b1b5c2459bfa8d5c5b4b740965f4d59e09990037934364b94f1cb2e6316c2f - initial_ast: 65074d34d89168f67b8db62c7b091b8c02e93aeda11f79c218c3761e270f8c09 - unrolled_ast: 65074d34d89168f67b8db62c7b091b8c02e93aeda11f79c218c3761e270f8c09 - ssa_ast: 3b05d816fbca67dce63e2f851a77f8ffa65930e3eb094c01647f05d251305632 - flattened_ast: 6fa4c0335842d7ba9412438bbf35dcd75843107f14a25ebeb16b8a150bee11b7 - destructured_ast: f21d1fc10d1ebd9a86273f17a20bd1cd1247c1ce1456f9ad252cb7c4f5bb10bb - inlined_ast: 3cb6765aec323b35119157dd2e3264aead6820169d79b182c256f499af1ff5a8 - dce_ast: 3cb6765aec323b35119157dd2e3264aead6820169d79b182c256f499af1ff5a8 - bytecode: 5650e018cca64d11f7a2eb88b57ed2f9fcc81a2b56856f983f660d34421dd82e - errors: "" - warnings: "" - - initial_symbol_table: fd67d75af194fb6d6fee5a2b15b4b51ae5511e5d0546c6c6f83063611a168123 - type_checked_symbol_table: 031e9fc89b17624e259bb154ca42385665d2cf4349bf1579347a2d2487305a1b - unrolled_symbol_table: 031e9fc89b17624e259bb154ca42385665d2cf4349bf1579347a2d2487305a1b - initial_ast: fc9f1985c1e0441e9423e67cfd4cb8252178ccc236dfabae17187c5a5cc98ebe - unrolled_ast: c6fdd37447ee674a058e7fe314096c0df8cf0c02f307ff499e0f08b76cdc6709 - ssa_ast: d26ea69b3993a2a3c4b2660a27706c51383f9b01357d27adf6275a5dfffe6e9d - flattened_ast: 5741efe1907a4da96fbad021b725a22e8c3365fa61b2413b06743c3ed01cda35 - destructured_ast: 496bea9fd498c2d4ac9d93dd143beb403e13fdf59fc2ff842d8ff932883feda1 - inlined_ast: 7c87cc964f8225fd91c634c8683ee0b09aaa301cb29ab85cadc4e4aea65253ba - dce_ast: 7c87cc964f8225fd91c634c8683ee0b09aaa301cb29ab85cadc4e4aea65253ba - bytecode: a3cec0fb931bb7be4c60ea116dec933b1587fc50f37efdd9a0816628889a2f68 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "e19a77f482bf38e20c7ecd69838dadb5e778a6a95c1de2eb56bddc42121b8940", type_checked_symbol_table = "33b1b5c2459bfa8d5c5b4b740965f4d59e09990037934364b94f1cb2e6316c2f", unrolled_symbol_table = "33b1b5c2459bfa8d5c5b4b740965f4d59e09990037934364b94f1cb2e6316c2f", initial_ast = "65074d34d89168f67b8db62c7b091b8c02e93aeda11f79c218c3761e270f8c09", unrolled_ast = "65074d34d89168f67b8db62c7b091b8c02e93aeda11f79c218c3761e270f8c09", ssa_ast = "3b05d816fbca67dce63e2f851a77f8ffa65930e3eb094c01647f05d251305632", flattened_ast = "6fa4c0335842d7ba9412438bbf35dcd75843107f14a25ebeb16b8a150bee11b7", destructured_ast = "f21d1fc10d1ebd9a86273f17a20bd1cd1247c1ce1456f9ad252cb7c4f5bb10bb", inlined_ast = "3cb6765aec323b35119157dd2e3264aead6820169d79b182c256f499af1ff5a8", dce_ast = "3cb6765aec323b35119157dd2e3264aead6820169d79b182c256f499af1ff5a8", bytecode = "5650e018cca64d11f7a2eb88b57ed2f9fcc81a2b56856f983f660d34421dd82e", errors = "", warnings = "" }, + { initial_symbol_table = "fd67d75af194fb6d6fee5a2b15b4b51ae5511e5d0546c6c6f83063611a168123", type_checked_symbol_table = "031e9fc89b17624e259bb154ca42385665d2cf4349bf1579347a2d2487305a1b", unrolled_symbol_table = "031e9fc89b17624e259bb154ca42385665d2cf4349bf1579347a2d2487305a1b", initial_ast = "fc9f1985c1e0441e9423e67cfd4cb8252178ccc236dfabae17187c5a5cc98ebe", unrolled_ast = "c6fdd37447ee674a058e7fe314096c0df8cf0c02f307ff499e0f08b76cdc6709", ssa_ast = "d26ea69b3993a2a3c4b2660a27706c51383f9b01357d27adf6275a5dfffe6e9d", flattened_ast = "5741efe1907a4da96fbad021b725a22e8c3365fa61b2413b06743c3ed01cda35", destructured_ast = "496bea9fd498c2d4ac9d93dd143beb403e13fdf59fc2ff842d8ff932883feda1", inlined_ast = "7c87cc964f8225fd91c634c8683ee0b09aaa301cb29ab85cadc4e4aea65253ba", dce_ast = "7c87cc964f8225fd91c634c8683ee0b09aaa301cb29ab85cadc4e4aea65253ba", bytecode = "a3cec0fb931bb7be4c60ea116dec933b1587fc50f37efdd9a0816628889a2f68", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/futures/future_not_all_awaited_fail.out b/tests/expectations/compiler/futures/future_not_all_awaited_fail.out index 6a3a99570f..f7ef0cdbdb 100644 --- a/tests/expectations/compiler/futures/future_not_all_awaited_fail.out +++ b/tests/expectations/compiler/futures/future_not_all_awaited_fail.out @@ -1,5 +1,17 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372093]: The following futures were never awaited: f4\n --> compiler-test:12:5\n |\n 12 | async function finalize_foo(f0: Future, f1: Future, f2: Future, f3: Future, f4: Future, f5: Future) {\n 13 | f1.await();\n 14 | f2.await();\n 15 | f3.await();\n 16 | f0.await();\n 17 | f5.await();\n 18 | }\n | ^\n |\n = Ex: for `f: Future` call `f.await()` to await a future.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372093]: The following futures were never awaited: f4 + --> compiler-test:12:5 + | + 12 | async function finalize_foo(f0: Future, f1: Future, f2: Future, f3: Future, f4: Future, f5: Future) { + 13 | f1.await(); + 14 | f2.await(); + 15 | f3.await(); + 16 | f0.await(); + 17 | f5.await(); + 18 | } + | ^ + | + = Ex: for `f: Future` call `f.await()` to await a future. +"""] diff --git a/tests/expectations/compiler/futures/future_not_all_passed_to_async_call_fail.out b/tests/expectations/compiler/futures/future_not_all_passed_to_async_call_fail.out index cc7eddfded..11c5762dd0 100644 --- a/tests/expectations/compiler/futures/future_not_all_passed_to_async_call_fail.out +++ b/tests/expectations/compiler/futures/future_not_all_passed_to_async_call_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372104]: Not all futures were consumed: f1\n --> compiler-test:16:16\n |\n 16 | return finalize_foo(f0, f3, f2, f5, f4);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Make sure all futures are consumed exactly once. Consume by passing to an async function call.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372104]: Not all futures were consumed: f1 + --> compiler-test:16:16 + | + 16 | return finalize_foo(f0, f3, f2, f5, f4); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | + = Make sure all futures are consumed exactly once. Consume by passing to an async function call. +"""] diff --git a/tests/expectations/compiler/futures/nested.out b/tests/expectations/compiler/futures/nested.out index 85274a6f1e..af115498cd 100644 --- a/tests/expectations/compiler/futures/nested.out +++ b/tests/expectations/compiler/futures/nested.out @@ -1,57 +1,29 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0fbe7b86610386bfb1c7f0f211b2043baae706b9195008f8553511968f9297e7 - type_checked_symbol_table: efc3324af11b2f3645010266f1a871d799b81b07bec594fa88402b3f6fe1330b - unrolled_symbol_table: efc3324af11b2f3645010266f1a871d799b81b07bec594fa88402b3f6fe1330b - initial_ast: 472f984ad224e345de6a6a8cb7c4986b0bf8fa288713c38a506b41bad280faa5 - unrolled_ast: 472f984ad224e345de6a6a8cb7c4986b0bf8fa288713c38a506b41bad280faa5 - ssa_ast: ff6501ea72e6a46b15d71a89b71181851fba9aa2e6ee2a36d70218ad1a089a68 - flattened_ast: ba4154876562575fc3f8b6106a3ed4ab331382a4538ebc9630c82ed9be48176b - destructured_ast: a995365c129f150bc361a571e5a0810f014a62c170d39e904b7de473bcdac50f - inlined_ast: 3a2f11285208b9bd75048be921a23504d9389ae81e2bdc96f631943cfa4349c6 - dce_ast: ed19a1a5455d89e6a59914923e69d600b0fde7fa91cae652d70756eb59365e03 - bytecode: 833525edcc02927d3c52ea36f01ee8b6100738cb8d8c2d26fedec7365c622169 - errors: "" - warnings: "" - - initial_symbol_table: 837e6e9f7a93af9d92cb90208d54a4e55693939bccddf588c94102805a600ec2 - type_checked_symbol_table: c33e10eabb14d2d0dc8a7ffd7370dcda4d0467b46dc00d9a526c0cf7fc373906 - unrolled_symbol_table: c33e10eabb14d2d0dc8a7ffd7370dcda4d0467b46dc00d9a526c0cf7fc373906 - initial_ast: 64089bd9ecc0ab9ce224328c7ba9b2ece577f585b2417b48eb0883ec8cec304c - unrolled_ast: 450bb73f7249477591a716a45cbd0fbb332d98a8765b2804ca919488cbc7e1bf - ssa_ast: d445e67098ada41b7ada11f69a07acf107d1b8e6ab052e7bb3e8d1b6530c4371 - flattened_ast: b3e5d4d940f433b770b6acdd85c2a5f1de7327617f71783b75108c2a515c12a1 - destructured_ast: 36361778b1d97dcde52548c1e082ad7382dbe6e6be4fd6be1fdc73bb213d0016 - inlined_ast: b358e9fa7f234ae1154b48cbd83c3e2029c1a83c5298470035729f78537e03a6 - dce_ast: 4d6d5c792f8d7a9d83e0c1bee6efcf24470e92fd4746aa7a9d0afabc93ec8a19 - bytecode: 10ad760ad5a7c1882aca46c034e78125cc5cb06a57163ca694a3cb568be4fff9 - errors: "" - warnings: "Warning [WTYC0372000]: Not all paths through the function await all futures. 2/4 paths contain at least one future that is never awaited.\n --> compiler-test:17:5\n |\n 17 | async function finalize_main(f: Future, f2: Future, a: u32) {\n 18 | // f.await();\n 19 | if a == 1u32 {\n 20 | Future::await(f);\n 21 | f2.await();\n 22 | }\n 23 | \n 24 | if a == 2u32 {\n 25 | //f2.await();\n 26 | Mapping::set(ayo, 1u32, 1u32);\n 27 | }\n 28 | \n 29 | let total: u32 = f.0 + f2.0;\n 30 | Mapping::set(ayo, 1u32, total);\n 31 | }\n | ^\n |\n = Ex: `f.await()` to await a future. Remove this warning by including the `--disable-conditional-branch-type-checking` flag." - - initial_symbol_table: 11d73259b527776fa2019508fa961ca24850cc2bd0fbbcebfb7310c565289560 - type_checked_symbol_table: fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d - unrolled_symbol_table: fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d - initial_ast: 05de2b0dcfd85ec6446f4507492e26b2093e771f44c497f92a24d6fff5e8c864 - unrolled_ast: 4f09dae0678393afc3cbc5592159df83ca22b947084d3c8e779281724d07a2ca - ssa_ast: 0cb5c531ad471909089716ef6c7382fb3fcbb82dafb6edef541e4f7cff4fb8ba - flattened_ast: 46d54d4d9fe36538d34ac306780262ee1f54a6141aa2281ef7ae74ffcf4dddcf - destructured_ast: 88653b95656b6f56872d7ea452491322e4c122909879b72856b891c474aa8342 - inlined_ast: 0f81029815dec13a526530eeea0e92e6eb61313421ce5a7b46ed3739d62beaf6 - dce_ast: 6b852bcf601b323678eea14e096f49c72f8800d18ec811b00c31817daf630d63 - bytecode: 7a2fd5581e13d3b66f1fad269ba868cf6d272929b84cea2dc1cb6a0af22867c2 - errors: "" - warnings: "" - - initial_symbol_table: 04a3a0ccbf4ed061d19da4e624725caff0e64ac838498cbd09df865f4f9044f2 - type_checked_symbol_table: 69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027 - unrolled_symbol_table: 69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027 - initial_ast: bf4f5dac2e3cac6f6c8b117a93b7bc9a4b9d31f66b3b0d946866da23003e6a69 - unrolled_ast: a1786c230d46f3b207f118aaaaea373cd1d9935aa7e63b99e403a8faf36df2fe - ssa_ast: 82581ca24afcd79d3e3c1346009981d4a9d3d227afc0540707b6c315ecdce107 - flattened_ast: 2ff2d69c6199a5c70a8ffb96d8dc0529f6f1fbf631a1f690169d2d9162e91689 - destructured_ast: 8da4c7c91fabf5edb6768e616f223e574b3415c848321f66ad9e587b76259210 - inlined_ast: a740025e070d37bd22f264e37dfd6802eb9e1b10c12c928a08acd14fbe9043d6 - dce_ast: e127a5223a49f123398009b927e96ebb44f266df7271feb7b1ff5f7f748e6ff5 - bytecode: 388c60022d4ad4fac382a685cc997c84d142f4e1357eb7c00e3efb545f5f70e5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "0fbe7b86610386bfb1c7f0f211b2043baae706b9195008f8553511968f9297e7", type_checked_symbol_table = "efc3324af11b2f3645010266f1a871d799b81b07bec594fa88402b3f6fe1330b", unrolled_symbol_table = "efc3324af11b2f3645010266f1a871d799b81b07bec594fa88402b3f6fe1330b", initial_ast = "472f984ad224e345de6a6a8cb7c4986b0bf8fa288713c38a506b41bad280faa5", unrolled_ast = "472f984ad224e345de6a6a8cb7c4986b0bf8fa288713c38a506b41bad280faa5", ssa_ast = "ff6501ea72e6a46b15d71a89b71181851fba9aa2e6ee2a36d70218ad1a089a68", flattened_ast = "ba4154876562575fc3f8b6106a3ed4ab331382a4538ebc9630c82ed9be48176b", destructured_ast = "a995365c129f150bc361a571e5a0810f014a62c170d39e904b7de473bcdac50f", inlined_ast = "3a2f11285208b9bd75048be921a23504d9389ae81e2bdc96f631943cfa4349c6", dce_ast = "ed19a1a5455d89e6a59914923e69d600b0fde7fa91cae652d70756eb59365e03", bytecode = "833525edcc02927d3c52ea36f01ee8b6100738cb8d8c2d26fedec7365c622169", errors = "", warnings = "" }, + { initial_symbol_table = "837e6e9f7a93af9d92cb90208d54a4e55693939bccddf588c94102805a600ec2", type_checked_symbol_table = "c33e10eabb14d2d0dc8a7ffd7370dcda4d0467b46dc00d9a526c0cf7fc373906", unrolled_symbol_table = "c33e10eabb14d2d0dc8a7ffd7370dcda4d0467b46dc00d9a526c0cf7fc373906", initial_ast = "64089bd9ecc0ab9ce224328c7ba9b2ece577f585b2417b48eb0883ec8cec304c", unrolled_ast = "450bb73f7249477591a716a45cbd0fbb332d98a8765b2804ca919488cbc7e1bf", ssa_ast = "d445e67098ada41b7ada11f69a07acf107d1b8e6ab052e7bb3e8d1b6530c4371", flattened_ast = "b3e5d4d940f433b770b6acdd85c2a5f1de7327617f71783b75108c2a515c12a1", destructured_ast = "36361778b1d97dcde52548c1e082ad7382dbe6e6be4fd6be1fdc73bb213d0016", inlined_ast = "b358e9fa7f234ae1154b48cbd83c3e2029c1a83c5298470035729f78537e03a6", dce_ast = "4d6d5c792f8d7a9d83e0c1bee6efcf24470e92fd4746aa7a9d0afabc93ec8a19", bytecode = "10ad760ad5a7c1882aca46c034e78125cc5cb06a57163ca694a3cb568be4fff9", errors = "", warnings = """ +Warning [WTYC0372000]: Not all paths through the function await all futures. 2/4 paths contain at least one future that is never awaited. + --> compiler-test:17:5 + | + 17 | async function finalize_main(f: Future, f2: Future, a: u32) { + 18 | // f.await(); + 19 | if a == 1u32 { + 20 | Future::await(f); + 21 | f2.await(); + 22 | } + 23 | + 24 | if a == 2u32 { + 25 | //f2.await(); + 26 | Mapping::set(ayo, 1u32, 1u32); + 27 | } + 28 | + 29 | let total: u32 = f.0 + f2.0; + 30 | Mapping::set(ayo, 1u32, total); + 31 | } + | ^ + | + = Ex: `f.await()` to await a future. Remove this warning by including the `--disable-conditional-branch-type-checking` flag.""" }, + { initial_symbol_table = "11d73259b527776fa2019508fa961ca24850cc2bd0fbbcebfb7310c565289560", type_checked_symbol_table = "fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d", unrolled_symbol_table = "fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d", initial_ast = "05de2b0dcfd85ec6446f4507492e26b2093e771f44c497f92a24d6fff5e8c864", unrolled_ast = "4f09dae0678393afc3cbc5592159df83ca22b947084d3c8e779281724d07a2ca", ssa_ast = "0cb5c531ad471909089716ef6c7382fb3fcbb82dafb6edef541e4f7cff4fb8ba", flattened_ast = "46d54d4d9fe36538d34ac306780262ee1f54a6141aa2281ef7ae74ffcf4dddcf", destructured_ast = "88653b95656b6f56872d7ea452491322e4c122909879b72856b891c474aa8342", inlined_ast = "0f81029815dec13a526530eeea0e92e6eb61313421ce5a7b46ed3739d62beaf6", dce_ast = "6b852bcf601b323678eea14e096f49c72f8800d18ec811b00c31817daf630d63", bytecode = "7a2fd5581e13d3b66f1fad269ba868cf6d272929b84cea2dc1cb6a0af22867c2", errors = "", warnings = "" }, + { initial_symbol_table = "04a3a0ccbf4ed061d19da4e624725caff0e64ac838498cbd09df865f4f9044f2", type_checked_symbol_table = "69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027", unrolled_symbol_table = "69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027", initial_ast = "bf4f5dac2e3cac6f6c8b117a93b7bc9a4b9d31f66b3b0d946866da23003e6a69", unrolled_ast = "a1786c230d46f3b207f118aaaaea373cd1d9935aa7e63b99e403a8faf36df2fe", ssa_ast = "82581ca24afcd79d3e3c1346009981d4a9d3d227afc0540707b6c315ecdce107", flattened_ast = "2ff2d69c6199a5c70a8ffb96d8dc0529f6f1fbf631a1f690169d2d9162e91689", destructured_ast = "8da4c7c91fabf5edb6768e616f223e574b3415c848321f66ad9e587b76259210", inlined_ast = "a740025e070d37bd22f264e37dfd6802eb9e1b10c12c928a08acd14fbe9043d6", dce_ast = "e127a5223a49f123398009b927e96ebb44f266df7271feb7b1ff5f7f748e6ff5", bytecode = "388c60022d4ad4fac382a685cc997c84d142f4e1357eb7c00e3efb545f5f70e5", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/futures/partial_type_specification.out b/tests/expectations/compiler/futures/partial_type_specification.out index e187fe458d..f5521b2083 100644 --- a/tests/expectations/compiler/futures/partial_type_specification.out +++ b/tests/expectations/compiler/futures/partial_type_specification.out @@ -1,57 +1,29 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c3d0ea026b5d60b48e857637a67489b89de75466d257974347c164546b9b9660 - type_checked_symbol_table: ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3 - unrolled_symbol_table: ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3 - initial_ast: 6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d - unrolled_ast: 6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d - ssa_ast: d898f89ce1fbcd93694c06446e31d5ab52ace6fd966c7dd35e082dead74440c7 - flattened_ast: 3f8304d2444d4e4132549ae4b530997040c0978d09fc8986bf67a3eba1538e99 - destructured_ast: 55c36655c56d82657c07cd352bc12762b12f41a00ca7e8cbf039a4d4d8d6e264 - inlined_ast: b7dda92d9f46b0646ce43f38625e29da41f0273f87990fc0e153cfe61e992523 - dce_ast: 638d72b2d6010f5a2a7d699fb69b1a056faae9a878b3c37f2b34e8f41fad5176 - bytecode: d207ac4b2d723295d2e715b2ea29f26bf8adcddbe41b4d5a036b69998a0ecfd6 - errors: "" - warnings: "" - - initial_symbol_table: 1a537ce4873945cd8969e08fd2440d3d9dbf4175306e7a60a18f59305958366e - type_checked_symbol_table: 3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5 - unrolled_symbol_table: 3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5 - initial_ast: bcfa98eafaf355e7313773fa4340b88d2530e3d2b279252fc1117327de42d77a - unrolled_ast: 01a9f5e11f5749b408619a513bf7f9eececfd83f9f87c883fcd8db53440babab - ssa_ast: b6da9c41019a2af6cd137e29fe7b5041cc13a45d574b920101a69f7093c58980 - flattened_ast: 7bddc7f16b5ef5baef1fc50ac2f45767844d05fc0de797d267c77306bc586dc5 - destructured_ast: df2c950dd52d4094ef1f2d364aa6dd57020f7ca431ead915353c2c33482ee05d - inlined_ast: 7dd0bb6eee84d038c01e43a8c7fdfd38ec3cbb269bf4990078a49e5202fe177e - dce_ast: 4378a2b09abc850959d98704efb7ec28bd6ad7962cc4ec761e26e57400cec8a0 - bytecode: 10ad760ad5a7c1882aca46c034e78125cc5cb06a57163ca694a3cb568be4fff9 - errors: "" - warnings: "Warning [WTYC0372000]: Not all paths through the function await all futures. 2/4 paths contain at least one future that is never awaited.\n --> compiler-test:17:5\n |\n 17 | async function finalize_main(f: Future, f2: Future, a: u32) {\n 18 | // f.await();\n 19 | if a == 1u32 {\n 20 | Future::await(f);\n 21 | f2.await();\n 22 | }\n 23 | \n 24 | if a == 2u32 {\n 25 | //f2.await();\n 26 | Mapping::set(ayo, 1u32, 1u32);\n 27 | }\n 28 | \n 29 | let total: u32 = f.0 + f2.0;\n 30 | Mapping::set(ayo, 1u32, total);\n 31 | }\n | ^\n |\n = Ex: `f.await()` to await a future. Remove this warning by including the `--disable-conditional-branch-type-checking` flag." - - initial_symbol_table: 04f7d3a44d791763aec79b596224c653e682ab928bc0cba71a1cd6282198e885 - type_checked_symbol_table: d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e - unrolled_symbol_table: d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e - initial_ast: 856e56d95eaf14f6e9241001763546b7d982402ac87521e2ec3b7ea476764692 - unrolled_ast: 75b69748ca1e534c95cf084164773d471f51537b50b2d517dc4be26dddb06e1b - ssa_ast: 6d38bf225e9cf5af37b9d6c595c2973ec31a32d227ca65cb590d27400d442780 - flattened_ast: 65fb4138701cad86a5fcd7e024645e833aeb6e88b3ea2a3a6b69269fd1d77620 - destructured_ast: 85a81c23da7e97b057ddf4ef71f375781e1dfcb90d656d694a5aa0f0c176b497 - inlined_ast: a1b2367575e170a79ace2ac7ff071bc3c770476b37ee149310c3b2cfe67b1c7f - dce_ast: f46fa7963b327b9c75c9f7a7569e350d7f62c21964cb5df140cd2186c2043697 - bytecode: 7a2fd5581e13d3b66f1fad269ba868cf6d272929b84cea2dc1cb6a0af22867c2 - errors: "" - warnings: "" - - initial_symbol_table: 11c1000ce2f1774ad382af12ba51e8b55d5a98ee0da67cb8620e686c1fcaebb1 - type_checked_symbol_table: 9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab - unrolled_symbol_table: 9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab - initial_ast: 575e251f07e552c917ab36bc9877b13dd1638651c4023ade20701dd2a5fe27ff - unrolled_ast: 2a4969ad315e900b5a3f1eecd4e6508dc6946fb5f6c3861ee793961ce6bcc203 - ssa_ast: 4a00e3d36cdd4ff4be1fc6a389aaf17cfb02b6c54fa84276fb5be66b8a78b124 - flattened_ast: 885c5f8145aa1a82e5fe41abbabae12cbd15eb014b333b246c6c5401b5b6bfea - destructured_ast: f3b5b961a498f9befec85b69b3012145a6e97774d37a8c8e354ec4e5eeb64f84 - inlined_ast: 2bf37fc499b3eca18c8227e61f69f730d36e755d7879dde13bb9161936bafbfc - dce_ast: 390391c2098cf6a910eeec98fc92fdea31303a84a1d6fd6673c8dbd9d20180de - bytecode: 388c60022d4ad4fac382a685cc997c84d142f4e1357eb7c00e3efb545f5f70e5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "c3d0ea026b5d60b48e857637a67489b89de75466d257974347c164546b9b9660", type_checked_symbol_table = "ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3", unrolled_symbol_table = "ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3", initial_ast = "6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d", unrolled_ast = "6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d", ssa_ast = "d898f89ce1fbcd93694c06446e31d5ab52ace6fd966c7dd35e082dead74440c7", flattened_ast = "3f8304d2444d4e4132549ae4b530997040c0978d09fc8986bf67a3eba1538e99", destructured_ast = "55c36655c56d82657c07cd352bc12762b12f41a00ca7e8cbf039a4d4d8d6e264", inlined_ast = "b7dda92d9f46b0646ce43f38625e29da41f0273f87990fc0e153cfe61e992523", dce_ast = "638d72b2d6010f5a2a7d699fb69b1a056faae9a878b3c37f2b34e8f41fad5176", bytecode = "d207ac4b2d723295d2e715b2ea29f26bf8adcddbe41b4d5a036b69998a0ecfd6", errors = "", warnings = "" }, + { initial_symbol_table = "1a537ce4873945cd8969e08fd2440d3d9dbf4175306e7a60a18f59305958366e", type_checked_symbol_table = "3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5", unrolled_symbol_table = "3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5", initial_ast = "bcfa98eafaf355e7313773fa4340b88d2530e3d2b279252fc1117327de42d77a", unrolled_ast = "01a9f5e11f5749b408619a513bf7f9eececfd83f9f87c883fcd8db53440babab", ssa_ast = "b6da9c41019a2af6cd137e29fe7b5041cc13a45d574b920101a69f7093c58980", flattened_ast = "7bddc7f16b5ef5baef1fc50ac2f45767844d05fc0de797d267c77306bc586dc5", destructured_ast = "df2c950dd52d4094ef1f2d364aa6dd57020f7ca431ead915353c2c33482ee05d", inlined_ast = "7dd0bb6eee84d038c01e43a8c7fdfd38ec3cbb269bf4990078a49e5202fe177e", dce_ast = "4378a2b09abc850959d98704efb7ec28bd6ad7962cc4ec761e26e57400cec8a0", bytecode = "10ad760ad5a7c1882aca46c034e78125cc5cb06a57163ca694a3cb568be4fff9", errors = "", warnings = """ +Warning [WTYC0372000]: Not all paths through the function await all futures. 2/4 paths contain at least one future that is never awaited. + --> compiler-test:17:5 + | + 17 | async function finalize_main(f: Future, f2: Future, a: u32) { + 18 | // f.await(); + 19 | if a == 1u32 { + 20 | Future::await(f); + 21 | f2.await(); + 22 | } + 23 | + 24 | if a == 2u32 { + 25 | //f2.await(); + 26 | Mapping::set(ayo, 1u32, 1u32); + 27 | } + 28 | + 29 | let total: u32 = f.0 + f2.0; + 30 | Mapping::set(ayo, 1u32, total); + 31 | } + | ^ + | + = Ex: `f.await()` to await a future. Remove this warning by including the `--disable-conditional-branch-type-checking` flag.""" }, + { initial_symbol_table = "04f7d3a44d791763aec79b596224c653e682ab928bc0cba71a1cd6282198e885", type_checked_symbol_table = "d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e", unrolled_symbol_table = "d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e", initial_ast = "856e56d95eaf14f6e9241001763546b7d982402ac87521e2ec3b7ea476764692", unrolled_ast = "75b69748ca1e534c95cf084164773d471f51537b50b2d517dc4be26dddb06e1b", ssa_ast = "6d38bf225e9cf5af37b9d6c595c2973ec31a32d227ca65cb590d27400d442780", flattened_ast = "65fb4138701cad86a5fcd7e024645e833aeb6e88b3ea2a3a6b69269fd1d77620", destructured_ast = "85a81c23da7e97b057ddf4ef71f375781e1dfcb90d656d694a5aa0f0c176b497", inlined_ast = "a1b2367575e170a79ace2ac7ff071bc3c770476b37ee149310c3b2cfe67b1c7f", dce_ast = "f46fa7963b327b9c75c9f7a7569e350d7f62c21964cb5df140cd2186c2043697", bytecode = "7a2fd5581e13d3b66f1fad269ba868cf6d272929b84cea2dc1cb6a0af22867c2", errors = "", warnings = "" }, + { initial_symbol_table = "11c1000ce2f1774ad382af12ba51e8b55d5a98ee0da67cb8620e686c1fcaebb1", type_checked_symbol_table = "9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab", unrolled_symbol_table = "9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab", initial_ast = "575e251f07e552c917ab36bc9877b13dd1638651c4023ade20701dd2a5fe27ff", unrolled_ast = "2a4969ad315e900b5a3f1eecd4e6508dc6946fb5f6c3861ee793961ce6bcc203", ssa_ast = "4a00e3d36cdd4ff4be1fc6a389aaf17cfb02b6c54fa84276fb5be66b8a78b124", flattened_ast = "885c5f8145aa1a82e5fe41abbabae12cbd15eb014b333b246c6c5401b5b6bfea", destructured_ast = "f3b5b961a498f9befec85b69b3012145a6e97774d37a8c8e354ec4e5eeb64f84", inlined_ast = "2bf37fc499b3eca18c8227e61f69f730d36e755d7879dde13bb9161936bafbfc", dce_ast = "390391c2098cf6a910eeec98fc92fdea31303a84a1d6fd6673c8dbd9d20180de", bytecode = "388c60022d4ad4fac382a685cc997c84d142f4e1357eb7c00e3efb545f5f70e5", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/futures/simple.out b/tests/expectations/compiler/futures/simple.out index 84a7287ee9..acbe95cfcc 100644 --- a/tests/expectations/compiler/futures/simple.out +++ b/tests/expectations/compiler/futures/simple.out @@ -1,31 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 116d58ba03f7a7d97eed6581380790a8f53f04bae1ba88b75602f860ec303795 - type_checked_symbol_table: 9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b - unrolled_symbol_table: 9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b - initial_ast: 0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc - unrolled_ast: 0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc - ssa_ast: 2a1a92101ca526d604626f5ba6c0e4d032877119538e3f1f11a184d7e1c9820e - flattened_ast: 16987d115d2346155c394f964ddc7ad81d13c9f825a0e4e206c46bb7b3c3250f - destructured_ast: e237c687b23978180a04086c93fd6e894743e0bf2a95d4de408b0e4d2ecfc636 - inlined_ast: 479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04 - dce_ast: 479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04 - bytecode: 7e95d1c0ff9c0edfb2081fe98cc11fb567b41a1c5c586688a2586aed8629b3be - errors: "" - warnings: "" - - initial_symbol_table: e68fd2fbfc3ff3832375c1c2df1e6a67787480498938fc77e766ca07ae751992 - type_checked_symbol_table: a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43 - unrolled_symbol_table: a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43 - initial_ast: 90315edede362afca47bb3f8c861ab8bbbdb049ea56db7ebbbf8f20ce60aeb4a - unrolled_ast: 6541d8c338b4eeb027aedd7c9151f3eac30d61ab2986d22a008ef5bd4a67ffc7 - ssa_ast: 80086e21c3779f9da4b57c755eedf9132709a1edc63644ef4ec574ce047b076f - flattened_ast: a9988b6cbd9cb03bc49e6850084531888e0cc04e456496fe7eff390812d39611 - destructured_ast: a94ba575cc25982052a729a8a1b8fa3560a0043b305cf4dede91d17a71202fcb - inlined_ast: 7a6d98c84ce9a50bd944f11bca3d98f8262ab57b55fcc7f15537650b3d4bc6ef - dce_ast: ef3d06f7a3ed3bba09c3fda4378aaa2f700384fc28e5d8c3751633bbc03f9f4e - bytecode: 7a91652b8a95d6a25f0ad68011d37481570f9c7b5e79d05c0ae8476c6754f7a8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "116d58ba03f7a7d97eed6581380790a8f53f04bae1ba88b75602f860ec303795", type_checked_symbol_table = "9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b", unrolled_symbol_table = "9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b", initial_ast = "0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc", unrolled_ast = "0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc", ssa_ast = "2a1a92101ca526d604626f5ba6c0e4d032877119538e3f1f11a184d7e1c9820e", flattened_ast = "16987d115d2346155c394f964ddc7ad81d13c9f825a0e4e206c46bb7b3c3250f", destructured_ast = "e237c687b23978180a04086c93fd6e894743e0bf2a95d4de408b0e4d2ecfc636", inlined_ast = "479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04", dce_ast = "479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04", bytecode = "7e95d1c0ff9c0edfb2081fe98cc11fb567b41a1c5c586688a2586aed8629b3be", errors = "", warnings = "" }, + { initial_symbol_table = "e68fd2fbfc3ff3832375c1c2df1e6a67787480498938fc77e766ca07ae751992", type_checked_symbol_table = "a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43", unrolled_symbol_table = "a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43", initial_ast = "90315edede362afca47bb3f8c861ab8bbbdb049ea56db7ebbbf8f20ce60aeb4a", unrolled_ast = "6541d8c338b4eeb027aedd7c9151f3eac30d61ab2986d22a008ef5bd4a67ffc7", ssa_ast = "80086e21c3779f9da4b57c755eedf9132709a1edc63644ef4ec574ce047b076f", flattened_ast = "a9988b6cbd9cb03bc49e6850084531888e0cc04e456496fe7eff390812d39611", destructured_ast = "a94ba575cc25982052a729a8a1b8fa3560a0043b305cf4dede91d17a71202fcb", inlined_ast = "7a6d98c84ce9a50bd944f11bca3d98f8262ab57b55fcc7f15537650b3d4bc6ef", dce_ast = "ef3d06f7a3ed3bba09c3fda4378aaa2f700384fc28e5d8c3751633bbc03f9f4e", bytecode = "7a91652b8a95d6a25f0ad68011d37481570f9c7b5e79d05c0ae8476c6754f7a8", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/group/add.out b/tests/expectations/compiler/group/add.out index 754f52c9cb..35488717a0 100644 --- a/tests/expectations/compiler/group/add.out +++ b/tests/expectations/compiler/group/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367 - type_checked_symbol_table: 73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74 - unrolled_symbol_table: 73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74 - initial_ast: 53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8 - unrolled_ast: 53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8 - ssa_ast: 49647b0f3d05fc59eca5611e5d4a0458980af0e18291fd5d52e67b43487823cb - flattened_ast: 2f93017a99f8aa024c4a63144d80f4736c1c1ba5250cfc08e69942bbe66d5fc0 - destructured_ast: 4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c - inlined_ast: 4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c - dce_ast: 4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c - bytecode: e5ff5cd670d0f32a96530eeba1b403bf2d6d5ff8ed31f4328227bb8857708f76 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", unrolled_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", initial_ast = "53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8", unrolled_ast = "53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8", ssa_ast = "49647b0f3d05fc59eca5611e5d4a0458980af0e18291fd5d52e67b43487823cb", flattened_ast = "2f93017a99f8aa024c4a63144d80f4736c1c1ba5250cfc08e69942bbe66d5fc0", destructured_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", inlined_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", dce_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", bytecode = "e5ff5cd670d0f32a96530eeba1b403bf2d6d5ff8ed31f4328227bb8857708f76", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/assert_eq.out b/tests/expectations/compiler/group/assert_eq.out index 8eb3ea6b1e..15041600db 100644 --- a/tests/expectations/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/group/assert_eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd - type_checked_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - unrolled_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - initial_ast: 1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e - unrolled_ast: 1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e - ssa_ast: 6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b - flattened_ast: 06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b - destructured_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - inlined_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - dce_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - bytecode: eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = "eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/eq.out b/tests/expectations/compiler/group/eq.out index 8eb3ea6b1e..15041600db 100644 --- a/tests/expectations/compiler/group/eq.out +++ b/tests/expectations/compiler/group/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd - type_checked_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - unrolled_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - initial_ast: 1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e - unrolled_ast: 1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e - ssa_ast: 6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b - flattened_ast: 06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b - destructured_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - inlined_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - dce_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - bytecode: eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = "eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/group_mul.out b/tests/expectations/compiler/group/group_mul.out index d768ed14c7..8645a02141 100644 --- a/tests/expectations/compiler/group/group_mul.out +++ b/tests/expectations/compiler/group/group_mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 95edd6b4d38b52bc1ae9148b35110cd2849c0c90f59703d18737077bdb6cd3f8 - type_checked_symbol_table: e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b - unrolled_symbol_table: e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b - initial_ast: d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534 - unrolled_ast: d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534 - ssa_ast: 69eca3bd0e2e74cd650cb4265d4cdf64420a0798290aefb5775321b68ca8e52f - flattened_ast: 73ef2575140139c704d6c6492ba5cf5e19bccf490e010f116eec2a68b28c77a1 - destructured_ast: 92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411 - inlined_ast: 92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411 - dce_ast: 7d9ea267543a0c4e333ccd18e48d607d8daddcfefb1413145c67aad50ba0d516 - bytecode: 893927d508e10659ff793c68266c2702a5002dab713b22c8e5d00abec91925e7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "95edd6b4d38b52bc1ae9148b35110cd2849c0c90f59703d18737077bdb6cd3f8", type_checked_symbol_table = "e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b", unrolled_symbol_table = "e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b", initial_ast = "d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534", unrolled_ast = "d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534", ssa_ast = "69eca3bd0e2e74cd650cb4265d4cdf64420a0798290aefb5775321b68ca8e52f", flattened_ast = "73ef2575140139c704d6c6492ba5cf5e19bccf490e010f116eec2a68b28c77a1", destructured_ast = "92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411", inlined_ast = "92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411", dce_ast = "7d9ea267543a0c4e333ccd18e48d607d8daddcfefb1413145c67aad50ba0d516", bytecode = "893927d508e10659ff793c68266c2702a5002dab713b22c8e5d00abec91925e7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/input.out b/tests/expectations/compiler/group/input.out index 8eb3ea6b1e..15041600db 100644 --- a/tests/expectations/compiler/group/input.out +++ b/tests/expectations/compiler/group/input.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd - type_checked_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - unrolled_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - initial_ast: 1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e - unrolled_ast: 1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e - ssa_ast: 6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b - flattened_ast: 06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b - destructured_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - inlined_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - dce_ast: be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2 - bytecode: eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = "eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/mul.out b/tests/expectations/compiler/group/mul.out index c2b2d4e07d..868578cf5a 100644 --- a/tests/expectations/compiler/group/mul.out +++ b/tests/expectations/compiler/group/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b4603cce49e2a73039e43471c5df2351921bf489a622b2a8461cb5d0251683a8 - type_checked_symbol_table: 40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0 - unrolled_symbol_table: 40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0 - initial_ast: 4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b - unrolled_ast: 4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b - ssa_ast: bbf850eabfff9caa4798a7a7bc772d1dd30b7b22f7d810e7490aa06c4c86163f - flattened_ast: 3fc29f8537f766907dc1c304627f52271d76b3008a26a9e00c4a44caa6a644dc - destructured_ast: 6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a - inlined_ast: 6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a - dce_ast: 6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a - bytecode: 5ae93b430e99846cd18eedb09361257138ec9e2708bdb12c5f8de43ee470c031 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b4603cce49e2a73039e43471c5df2351921bf489a622b2a8461cb5d0251683a8", type_checked_symbol_table = "40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0", unrolled_symbol_table = "40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0", initial_ast = "4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b", unrolled_ast = "4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b", ssa_ast = "bbf850eabfff9caa4798a7a7bc772d1dd30b7b22f7d810e7490aa06c4c86163f", flattened_ast = "3fc29f8537f766907dc1c304627f52271d76b3008a26a9e00c4a44caa6a644dc", destructured_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", inlined_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", dce_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", bytecode = "5ae93b430e99846cd18eedb09361257138ec9e2708bdb12c5f8de43ee470c031", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/mult_by_group_fail.out b/tests/expectations/compiler/group/mult_by_group_fail.out index 3a28e8e5c4..685375e5f1 100644 --- a/tests/expectations/compiler/group/mult_by_group_fail.out +++ b/tests/expectations/compiler/group/mult_by_group_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372007]: Expected one type from `scalar`, but got `group`\n --> compiler-test:5:30\n |\n 5 | return (_, _)group * a;\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372007]: Expected one type from `scalar`, but got `group` + --> compiler-test:5:30 + | + 5 | return (_, _)group * a; + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/group/mult_by_scalar.out index ce47d76eb1..902fa78383 100644 --- a/tests/expectations/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/group/mult_by_scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3a9a0ba6ea861ff989eb097197b98a508fa71fe6cce5b36901be680fa786ecc5 - type_checked_symbol_table: 564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a - unrolled_symbol_table: 564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a - initial_ast: 64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746 - unrolled_ast: 64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746 - ssa_ast: 8ea933d83175a83b0e722497effd993d5587c3da1c52a5b44e41bc23ece99b98 - flattened_ast: ef31ce530d35a160d8b1c8b844f2b53b5775e63014181ab57490dafa55b9c847 - destructured_ast: 56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae - inlined_ast: 56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae - dce_ast: 56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae - bytecode: 8d98c485074bce1870f038811bfa40e7910f16e7e489f22263f9b1816b1e2d8c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "3a9a0ba6ea861ff989eb097197b98a508fa71fe6cce5b36901be680fa786ecc5", type_checked_symbol_table = "564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a", unrolled_symbol_table = "564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a", initial_ast = "64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746", unrolled_ast = "64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746", ssa_ast = "8ea933d83175a83b0e722497effd993d5587c3da1c52a5b44e41bc23ece99b98", flattened_ast = "ef31ce530d35a160d8b1c8b844f2b53b5775e63014181ab57490dafa55b9c847", destructured_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", inlined_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", dce_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", bytecode = "8d98c485074bce1870f038811bfa40e7910f16e7e489f22263f9b1816b1e2d8c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/negate.out b/tests/expectations/compiler/group/negate.out index 44e28aa30b..f38ebd5ae7 100644 --- a/tests/expectations/compiler/group/negate.out +++ b/tests/expectations/compiler/group/negate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd - type_checked_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - unrolled_symbol_table: 64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a - initial_ast: 431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04 - unrolled_ast: 431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04 - ssa_ast: 8e1a60195d0a265423ac4c187f73ad26288c990fdd3f9d8a4f8e3832ee824cb3 - flattened_ast: 3d047394c4ebce0e9f38aa0c762781ad92fe26f5a834309c3a79d7f871e03bcf - destructured_ast: fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b - inlined_ast: fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b - dce_ast: fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b - bytecode: 0d7662a131d11ba04a4f945b24906a6f1899ac4260e423cc48aadd781371d3f5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04", unrolled_ast = "431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04", ssa_ast = "8e1a60195d0a265423ac4c187f73ad26288c990fdd3f9d8a4f8e3832ee824cb3", flattened_ast = "3d047394c4ebce0e9f38aa0c762781ad92fe26f5a834309c3a79d7f871e03bcf", destructured_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", inlined_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", dce_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", bytecode = "0d7662a131d11ba04a4f945b24906a6f1899ac4260e423cc48aadd781371d3f5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/no_space_between_literal.out b/tests/expectations/compiler/group/no_space_between_literal.out index d249a36d93..a94a232312 100644 --- a/tests/expectations/compiler/group/no_space_between_literal.out +++ b/tests/expectations/compiler/group/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370004]: Unexpected white space between terms (0,1) and group\n --> compiler-test:5:27\n |\n 5 | let g: group = (0,1) group;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370004]: Unexpected white space between terms (0,1) and group + --> compiler-test:5:27 + | + 5 | let g: group = (0,1) group; + | ^"""] diff --git a/tests/expectations/compiler/group/operator_methods.out b/tests/expectations/compiler/group/operator_methods.out index 64e0ee46ee..e5550ae9b2 100644 --- a/tests/expectations/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/group/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd - type_checked_symbol_table: 7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e - unrolled_symbol_table: 7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e - initial_ast: 26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1 - unrolled_ast: 26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1 - ssa_ast: 2a2483edd24e9001227c4c99a036161f2e904cbe1e9339154f5b38194a9bc108 - flattened_ast: fafce6cb12679320397f2410b2433c52d3426f7c0f5e841339b036cf8f20211a - destructured_ast: e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7 - inlined_ast: e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7 - dce_ast: 232230e71ca8f2f98423f7e382d3ec7897f6a72d8450158f2bbd4983cfdf6bba - bytecode: f8f1b8520fc2b0b64155f840db31d03aeee1afecd309f7a4be10038ee72fc5ea - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e", unrolled_symbol_table = "7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e", initial_ast = "26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1", unrolled_ast = "26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1", ssa_ast = "2a2483edd24e9001227c4c99a036161f2e904cbe1e9339154f5b38194a9bc108", flattened_ast = "fafce6cb12679320397f2410b2433c52d3426f7c0f5e841339b036cf8f20211a", destructured_ast = "e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7", inlined_ast = "e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7", dce_ast = "232230e71ca8f2f98423f7e382d3ec7897f6a72d8450158f2bbd4983cfdf6bba", bytecode = "f8f1b8520fc2b0b64155f840db31d03aeee1afecd309f7a4be10038ee72fc5ea", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/point_input.out b/tests/expectations/compiler/group/point_input.out index 635664202b..f0d9c88d8a 100644 --- a/tests/expectations/compiler/group/point_input.out +++ b/tests/expectations/compiler/group/point_input.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6246af416dc46ede0bd79789b9b3490b49cbd3da23fe30624c4b9fbc54f59de9 - type_checked_symbol_table: 5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea - unrolled_symbol_table: 5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea - initial_ast: 23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11 - unrolled_ast: 23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11 - ssa_ast: d48d0d28b458729afd3befacf63b29754be219e5aa05100e1413b0697d0c9f14 - flattened_ast: eeae8377846e994279413c0e734d8f58f3b3e51ddf867c71f4d1e298da90b763 - destructured_ast: c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806 - inlined_ast: c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806 - dce_ast: c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806 - bytecode: e7f080384059049f2c24ec0a010b5ec6b055497b51b78d736a5e2e8fa7b441eb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6246af416dc46ede0bd79789b9b3490b49cbd3da23fe30624c4b9fbc54f59de9", type_checked_symbol_table = "5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea", unrolled_symbol_table = "5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea", initial_ast = "23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11", unrolled_ast = "23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11", ssa_ast = "d48d0d28b458729afd3befacf63b29754be219e5aa05100e1413b0697d0c9f14", flattened_ast = "eeae8377846e994279413c0e734d8f58f3b3e51ddf867c71f4d1e298da90b763", destructured_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", inlined_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", dce_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", bytecode = "e7f080384059049f2c24ec0a010b5ec6b055497b51b78d736a5e2e8fa7b441eb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/sub.out b/tests/expectations/compiler/group/sub.out index fe1b3c9edc..ad4707d0f2 100644 --- a/tests/expectations/compiler/group/sub.out +++ b/tests/expectations/compiler/group/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367 - type_checked_symbol_table: 73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74 - unrolled_symbol_table: 73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74 - initial_ast: c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d - unrolled_ast: c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d - ssa_ast: 573a08fc6569fd4e7ccd86cd6cfabf84769244776466de7d7180e28ba2e831c0 - flattened_ast: 01b87aae812c33d594dbdf36efe7101a30942fd084b1d69ad04ab73d970601ab - destructured_ast: 2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b - inlined_ast: 2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b - dce_ast: 2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b - bytecode: cab98d3ba5835201a8db5ce82ab32e51dc68f37a01156374e2f00a8bcbd82308 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", unrolled_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", initial_ast = "c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d", unrolled_ast = "c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d", ssa_ast = "573a08fc6569fd4e7ccd86cd6cfabf84769244776466de7d7180e28ba2e831c0", flattened_ast = "01b87aae812c33d594dbdf36efe7101a30942fd084b1d69ad04ab73d970601ab", destructured_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", inlined_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", dce_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", bytecode = "cab98d3ba5835201a8db5ce82ab32e51dc68f37a01156374e2f00a8bcbd82308", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/ternary.out b/tests/expectations/compiler/group/ternary.out index 3ecda9f48a..4e56a5a44d 100644 --- a/tests/expectations/compiler/group/ternary.out +++ b/tests/expectations/compiler/group/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367 - type_checked_symbol_table: 005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1 - unrolled_symbol_table: 005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1 - initial_ast: 3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def - unrolled_ast: 3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def - ssa_ast: 62d476da8c7d7e6e4dcdee879f591954c4f32812b473eebfff9a949d6ce6bbe6 - flattened_ast: f1ba9eaf698f1e2fc703b9ac7e158837cc7636667fe82e135f7350421e47d0c0 - destructured_ast: 66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a - inlined_ast: 66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a - dce_ast: 66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a - bytecode: d60be9014c6563fb9bb800891ce6238d2f99473faf47c92cf99893ad1474a64e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1", unrolled_symbol_table = "005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1", initial_ast = "3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def", unrolled_ast = "3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def", ssa_ast = "62d476da8c7d7e6e4dcdee879f591954c4f32812b473eebfff9a949d6ce6bbe6", flattened_ast = "f1ba9eaf698f1e2fc703b9ac7e158837cc7636667fe82e135f7350421e47d0c0", destructured_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", inlined_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", dce_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", bytecode = "d60be9014c6563fb9bb800891ce6238d2f99473faf47c92cf99893ad1474a64e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/to_x_coordinate.out b/tests/expectations/compiler/group/to_x_coordinate.out index 24ac94bf2e..627943e07d 100644 --- a/tests/expectations/compiler/group/to_x_coordinate.out +++ b/tests/expectations/compiler/group/to_x_coordinate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156 - type_checked_symbol_table: 791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b - unrolled_symbol_table: 791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b - initial_ast: 676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8 - unrolled_ast: 676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8 - ssa_ast: c7221fce1a07017b44db28e701c14fd1046de2272e2ef49333db2eb2e10f6a6a - flattened_ast: a932fc45f884624db67fe5948600384c7aa5bff863a181bc13f06c4ca4f79b66 - destructured_ast: 4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07 - inlined_ast: 4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07 - dce_ast: 8762ebc07b19bbcb9961fc23acb584cb91daf52787426b6bcf55a9cbdee8ce10 - bytecode: 51e95e10668242bec30e9917715d9856da632e933c33207ee41c5ed38d6366aa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156", type_checked_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", unrolled_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", initial_ast = "676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8", unrolled_ast = "676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8", ssa_ast = "c7221fce1a07017b44db28e701c14fd1046de2272e2ef49333db2eb2e10f6a6a", flattened_ast = "a932fc45f884624db67fe5948600384c7aa5bff863a181bc13f06c4ca4f79b66", destructured_ast = "4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07", inlined_ast = "4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07", dce_ast = "8762ebc07b19bbcb9961fc23acb584cb91daf52787426b6bcf55a9cbdee8ce10", bytecode = "51e95e10668242bec30e9917715d9856da632e933c33207ee41c5ed38d6366aa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/to_y_coordinate.out b/tests/expectations/compiler/group/to_y_coordinate.out index 3150f940c1..105570b8df 100644 --- a/tests/expectations/compiler/group/to_y_coordinate.out +++ b/tests/expectations/compiler/group/to_y_coordinate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156 - type_checked_symbol_table: 791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b - unrolled_symbol_table: 791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b - initial_ast: d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1 - unrolled_ast: d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1 - ssa_ast: 5dc07267a99edfc008039448a461c2a86120afcdcc1f358987169ae1fbe920cb - flattened_ast: a791fe154beb662ea85c3180b5960fa7764bccdcd350f34043fa4d75dc85c344 - destructured_ast: c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8 - inlined_ast: c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8 - dce_ast: 89b21f088c668c849c8c4050663108f46b964cc81cad4f243ccb844150ee1d3e - bytecode: ea2e94f0f589fac4565040575643b1b7cd7813fe513d5b09b17c191bbf0f727e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156", type_checked_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", unrolled_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", initial_ast = "d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1", unrolled_ast = "d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1", ssa_ast = "5dc07267a99edfc008039448a461c2a86120afcdcc1f358987169ae1fbe920cb", flattened_ast = "a791fe154beb662ea85c3180b5960fa7764bccdcd350f34043fa4d75dc85c344", destructured_ast = "c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8", inlined_ast = "c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8", dce_ast = "89b21f088c668c849c8c4050663108f46b964cc81cad4f243ccb844150ee1d3e", bytecode = "ea2e94f0f589fac4565040575643b1b7cd7813fe513d5b09b17c191bbf0f727e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_and_y.out b/tests/expectations/compiler/group/x_and_y.out index f9a3ceacf5..36ca6c8f12 100644 --- a/tests/expectations/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/group/x_and_y.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875 - type_checked_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - unrolled_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - initial_ast: 68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e - unrolled_ast: 68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e - ssa_ast: 257ba6437ede6d72fa4a30ec158432088d3dc94b957bf1a2ac9fd4346d49bbda - flattened_ast: ea3470c8284c0e5e5f92b0ef5504e90d97b596c4722b89fcb7267d6305026f66 - destructured_ast: 24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836 - inlined_ast: 24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836 - dce_ast: 24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836 - bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e", unrolled_ast = "68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e", ssa_ast = "257ba6437ede6d72fa4a30ec158432088d3dc94b957bf1a2ac9fd4346d49bbda", flattened_ast = "ea3470c8284c0e5e5f92b0ef5504e90d97b596c4722b89fcb7267d6305026f66", destructured_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", inlined_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", dce_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_sign_high.out b/tests/expectations/compiler/group/x_sign_high.out index a418c91625..e456eafd5e 100644 --- a/tests/expectations/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/group/x_sign_high.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875 - type_checked_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - unrolled_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - initial_ast: fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3 - unrolled_ast: fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3 - ssa_ast: f3d3314fc3bc3138d62b02405c9412e0a69856d30ec919eb356d466925d9de05 - flattened_ast: 8a78e0ab842b7b38b90bb7b3557d71ebf489ccd3f87f00aaa90472a31b1e7731 - destructured_ast: 8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d - inlined_ast: 8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d - dce_ast: 8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d - bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3", unrolled_ast = "fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3", ssa_ast = "f3d3314fc3bc3138d62b02405c9412e0a69856d30ec919eb356d466925d9de05", flattened_ast = "8a78e0ab842b7b38b90bb7b3557d71ebf489ccd3f87f00aaa90472a31b1e7731", destructured_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", inlined_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", dce_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/group/x_sign_inferred.out index e355d6e21d..e0a8962b40 100644 --- a/tests/expectations/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/group/x_sign_inferred.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875 - type_checked_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - unrolled_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - initial_ast: 0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596 - unrolled_ast: 0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596 - ssa_ast: 3febba2ab3c3333fde6b0fb8bcb53bcf7f2bf29b992d8e767107f776d6a56639 - flattened_ast: ff26f857f1c756dd199b7484ba8748112f0f3a236a55fdf6106adb53e96ddbc1 - destructured_ast: fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189 - inlined_ast: fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189 - dce_ast: fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189 - bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596", unrolled_ast = "0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596", ssa_ast = "3febba2ab3c3333fde6b0fb8bcb53bcf7f2bf29b992d8e767107f776d6a56639", flattened_ast = "ff26f857f1c756dd199b7484ba8748112f0f3a236a55fdf6106adb53e96ddbc1", destructured_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", inlined_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", dce_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_sign_low.out b/tests/expectations/compiler/group/x_sign_low.out index 9b9b7ee7d1..340d8abb83 100644 --- a/tests/expectations/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/group/x_sign_low.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875 - type_checked_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - unrolled_symbol_table: c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8 - initial_ast: 56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c - unrolled_ast: 56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c - ssa_ast: 89d9ee763b994f9a5b721590fb6c5260280b2badadc39c17842178d2fe412998 - flattened_ast: 8a5680a5ac1460233aa4b01aab7583877253adc510f51f4366abd393673e2a4f - destructured_ast: d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1 - inlined_ast: d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1 - dce_ast: d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1 - bytecode: c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c", unrolled_ast = "56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c", ssa_ast = "89d9ee763b994f9a5b721590fb6c5260280b2badadc39c17842178d2fe412998", flattened_ast = "8a5680a5ac1460233aa4b01aab7583877253adc510f51f4366abd393673e2a4f", destructured_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", inlined_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", dce_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/zero.out b/tests/expectations/compiler/group/zero.out index 328d16ad91..33c01cbc58 100644 --- a/tests/expectations/compiler/group/zero.out +++ b/tests/expectations/compiler/group/zero.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875 - type_checked_symbol_table: b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab - unrolled_symbol_table: b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab - initial_ast: 1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf - unrolled_ast: 1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf - ssa_ast: 3f1b803aa3810824e912e78501ed7806047154cf6774b82243066ed6704b8386 - flattened_ast: 463e73f9be58935dd081921c62272369b8a3f7eb15d6a41d373ee78f5b509581 - destructured_ast: 66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581 - inlined_ast: 66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581 - dce_ast: 66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581 - bytecode: 1d6fcff80cb39d7f9451de676f70ab1e4dd1bcca8f7c9d0f1ddd34d12f159594 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab", unrolled_symbol_table = "b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab", initial_ast = "1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf", unrolled_ast = "1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf", ssa_ast = "3f1b803aa3810824e912e78501ed7806047154cf6774b82243066ed6704b8386", flattened_ast = "463e73f9be58935dd081921c62272369b8a3f7eb15d6a41d373ee78f5b509581", destructured_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", inlined_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", dce_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", bytecode = "1d6fcff80cb39d7f9451de676f70ab1e4dd1bcca8f7c9d0f1ddd34d12f159594", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/input/main.out b/tests/expectations/compiler/input/main.out index 310b0a4728..2b707d4772 100644 --- a/tests/expectations/compiler/input/main.out +++ b/tests/expectations/compiler/input/main.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cd4ebade513aae8761f790956bbb0844fb86590191f420485545414b6d4fe56e - type_checked_symbol_table: 5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc - unrolled_symbol_table: 5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc - initial_ast: 9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7 - unrolled_ast: 9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7 - ssa_ast: 3b323cbbac9b545411df261c0b5e11f600b7f2419f69bfa4ec05bec5b49f9d06 - flattened_ast: d3b2dc2367790c6ac743f182dadcf616ad0e05fdb1e91dea074251f8832a9c11 - destructured_ast: 840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3 - inlined_ast: 840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3 - dce_ast: 840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cd4ebade513aae8761f790956bbb0844fb86590191f420485545414b6d4fe56e", type_checked_symbol_table = "5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc", unrolled_symbol_table = "5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc", initial_ast = "9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7", unrolled_ast = "9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7", ssa_ast = "3b323cbbac9b545411df261c0b5e11f600b7f2419f69bfa4ec05bec5b49f9d06", flattened_ast = "d3b2dc2367790c6ac743f182dadcf616ad0e05fdb1e91dea074251f8832a9c11", destructured_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", inlined_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", dce_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/input/main_field.out b/tests/expectations/compiler/input/main_field.out index 8ff31699a1..f78730fb8c 100644 --- a/tests/expectations/compiler/input/main_field.out +++ b/tests/expectations/compiler/input/main_field.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 76a79fc5516ffc652065c7ab76c208ea22d02413a23052097243711150266802 - type_checked_symbol_table: a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4 - unrolled_symbol_table: a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4 - initial_ast: bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6 - unrolled_ast: bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6 - ssa_ast: 3890848349e17661ababdd618ca99be6ec6cc56f631bd0eabec3fd2ec0f57b04 - flattened_ast: 172a76b682ecfa210a5d18a51e5c48a4d9d9103392d45d38b513cccdeab46573 - destructured_ast: a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d - inlined_ast: a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d - dce_ast: a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d - bytecode: 5634fe853e1a2815f0828063a855b798b56cc6051b24205568908a5490c7d531 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "76a79fc5516ffc652065c7ab76c208ea22d02413a23052097243711150266802", type_checked_symbol_table = "a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4", unrolled_symbol_table = "a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4", initial_ast = "bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6", unrolled_ast = "bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6", ssa_ast = "3890848349e17661ababdd618ca99be6ec6cc56f631bd0eabec3fd2ec0f57b04", flattened_ast = "172a76b682ecfa210a5d18a51e5c48a4d9d9103392d45d38b513cccdeab46573", destructured_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", inlined_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", dce_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", bytecode = "5634fe853e1a2815f0828063a855b798b56cc6051b24205568908a5490c7d531", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/add.out b/tests/expectations/compiler/integers/i128/add.out index d6d297ba35..31f6f2bbca 100644 --- a/tests/expectations/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/integers/i128/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3 - unrolled_ast: ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3 - ssa_ast: 7b96c27836ae377f3f645c66a013d022938dbb74f9d0bcb194b0c4af4fd7b845 - flattened_ast: 574c59799ae92538c78300a4c37120d4fa6e1d187e6c0c1db15c323a07ffeddd - destructured_ast: c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89 - inlined_ast: c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89 - dce_ast: c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89 - bytecode: 494e6857a1963542c9c28acd1b0d3584e2fa7aa4541a3c4d2accdaffa21a5363 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3", unrolled_ast = "ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3", ssa_ast = "7b96c27836ae377f3f645c66a013d022938dbb74f9d0bcb194b0c4af4fd7b845", flattened_ast = "574c59799ae92538c78300a4c37120d4fa6e1d187e6c0c1db15c323a07ffeddd", destructured_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", inlined_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", dce_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", bytecode = "494e6857a1963542c9c28acd1b0d3584e2fa7aa4541a3c4d2accdaffa21a5363", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/and.out b/tests/expectations/compiler/integers/i128/and.out index 2e8d12d71e..2dabbe3bd8 100644 --- a/tests/expectations/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/integers/i128/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: 97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758 - unrolled_ast: 97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758 - ssa_ast: d31ecf76bf4e48a4d87912b10f5324cbf8f9f5269dccc3bb5c9bf98681cd3298 - flattened_ast: 1b3affd478da373952c6d57edfab48a60f62aa84f27798be99e2eec7b42838d6 - destructured_ast: 6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198 - inlined_ast: 6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198 - dce_ast: 6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198 - bytecode: 8285a2e1709b0ec4a12c265fcbfc8fafe3168599b60c587c0c4cb2eead7d4cb5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758", unrolled_ast = "97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758", ssa_ast = "d31ecf76bf4e48a4d87912b10f5324cbf8f9f5269dccc3bb5c9bf98681cd3298", flattened_ast = "1b3affd478da373952c6d57edfab48a60f62aa84f27798be99e2eec7b42838d6", destructured_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", inlined_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", dce_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", bytecode = "8285a2e1709b0ec4a12c265fcbfc8fafe3168599b60c587c0c4cb2eead7d4cb5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/integers/i128/console_assert.out index 1a34e6eb61..59a1a665aa 100644 --- a/tests/expectations/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/integers/i128/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c - type_checked_symbol_table: 91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a - unrolled_symbol_table: 91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a - initial_ast: 5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd - unrolled_ast: 5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd - ssa_ast: f40ea6c3defb7ad2b1593b75ebf1e5605cecee6e9d03ecb904a010a6830c0604 - flattened_ast: 0478991ca32fdf1302f9f4a71750b8248baf9b04ea279643120632d645e67005 - destructured_ast: eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243 - inlined_ast: eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243 - dce_ast: eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243 - bytecode: cfb775c32747a200198579e073ead1a4acd478ed2346b0e51ff488e71b5f806c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a", unrolled_symbol_table = "91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a", initial_ast = "5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd", unrolled_ast = "5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd", ssa_ast = "f40ea6c3defb7ad2b1593b75ebf1e5605cecee6e9d03ecb904a010a6830c0604", flattened_ast = "0478991ca32fdf1302f9f4a71750b8248baf9b04ea279643120632d645e67005", destructured_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", inlined_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", dce_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", bytecode = "cfb775c32747a200198579e073ead1a4acd478ed2346b0e51ff488e71b5f806c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/div.out b/tests/expectations/compiler/integers/i128/div.out index 4992eaad01..62bb6cc633 100644 --- a/tests/expectations/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/integers/i128/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: 06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f - unrolled_ast: 06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f - ssa_ast: 0d406271c5309d18ec58ba5541f484cf0294538ddfda6b069b8a6074c979f4a9 - flattened_ast: 3ccd42d195e163bcf97060f245618ad1e3c24f37798767e04813731903e02ec2 - destructured_ast: b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932 - inlined_ast: b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932 - dce_ast: b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932 - bytecode: 65f57028681592ca0f5c4fed50abb89f4aa53139b2371bc00c3e701d5b8e896f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f", unrolled_ast = "06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f", ssa_ast = "0d406271c5309d18ec58ba5541f484cf0294538ddfda6b069b8a6074c979f4a9", flattened_ast = "3ccd42d195e163bcf97060f245618ad1e3c24f37798767e04813731903e02ec2", destructured_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", inlined_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", dce_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", bytecode = "65f57028681592ca0f5c4fed50abb89f4aa53139b2371bc00c3e701d5b8e896f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/eq.out b/tests/expectations/compiler/integers/i128/eq.out index ead1480d1e..dc2bdb9434 100644 --- a/tests/expectations/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/integers/i128/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5 - type_checked_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - unrolled_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - initial_ast: 9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f - unrolled_ast: 9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f - ssa_ast: 64963113917d17c9887355e5440b51d6d85512fd54bfa536c54cbec21d4fc3b1 - flattened_ast: 5d5cd3e01fa92f2b34ecaece9cf31a454ba43a54dbfd2c36aed776ab3724028c - destructured_ast: 13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03 - inlined_ast: 13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03 - dce_ast: 13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03 - bytecode: 3cdd93b31b489b0c21ed940752b5f00fdbde28dc7e52fbe97bd6c0f5b3f2e2e3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f", unrolled_ast = "9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f", ssa_ast = "64963113917d17c9887355e5440b51d6d85512fd54bfa536c54cbec21d4fc3b1", flattened_ast = "5d5cd3e01fa92f2b34ecaece9cf31a454ba43a54dbfd2c36aed776ab3724028c", destructured_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", inlined_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", dce_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", bytecode = "3cdd93b31b489b0c21ed940752b5f00fdbde28dc7e52fbe97bd6c0f5b3f2e2e3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/ge.out b/tests/expectations/compiler/integers/i128/ge.out index 5a7a1a3e58..a68e1ab36f 100644 --- a/tests/expectations/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/integers/i128/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5 - type_checked_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - unrolled_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - initial_ast: 4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f - unrolled_ast: 4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f - ssa_ast: 4f4bab95d39b85781fe1f6f6e07bcefa45398d690af6b67bbba530a8dc7bb731 - flattened_ast: f9edd90b98b188a11663452fdcc796ddcd5e38f792b526cbb6811647e48e39d7 - destructured_ast: 816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893 - inlined_ast: 816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893 - dce_ast: 816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893 - bytecode: 10cd5a11422cda879fb35cd61b5e1b83e0a3b954e6583f44762802917d338085 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f", unrolled_ast = "4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f", ssa_ast = "4f4bab95d39b85781fe1f6f6e07bcefa45398d690af6b67bbba530a8dc7bb731", flattened_ast = "f9edd90b98b188a11663452fdcc796ddcd5e38f792b526cbb6811647e48e39d7", destructured_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", inlined_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", dce_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", bytecode = "10cd5a11422cda879fb35cd61b5e1b83e0a3b954e6583f44762802917d338085", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/gt.out b/tests/expectations/compiler/integers/i128/gt.out index 3158299eba..0bd33ac6c3 100644 --- a/tests/expectations/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/integers/i128/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5 - type_checked_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - unrolled_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - initial_ast: 1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165 - unrolled_ast: 1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165 - ssa_ast: 930df778182d362d79dbd7efa4b0c61857bdd362e6de0c13d3f5a80c80416930 - flattened_ast: 2ec0058e830d3d6a9978f689988abd49df3b4f1741691e7fd8533e0e678bd641 - destructured_ast: aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1 - inlined_ast: aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1 - dce_ast: aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1 - bytecode: 484e03eaf5d4db72c6c47e37433ad15e9bf225f8ee65964eebcbbb627e1229d5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165", unrolled_ast = "1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165", ssa_ast = "930df778182d362d79dbd7efa4b0c61857bdd362e6de0c13d3f5a80c80416930", flattened_ast = "2ec0058e830d3d6a9978f689988abd49df3b4f1741691e7fd8533e0e678bd641", destructured_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", inlined_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", dce_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", bytecode = "484e03eaf5d4db72c6c47e37433ad15e9bf225f8ee65964eebcbbb627e1229d5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/hex_and_bin.out b/tests/expectations/compiler/integers/i128/hex_and_bin.out index 0df26af869..bc8c52b2c3 100644 --- a/tests/expectations/compiler/integers/i128/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i128/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b8fa9541b26d44c8348e7ded98e6bd1b235ee9c02e632192fb2da00234e84c5c - type_checked_symbol_table: 9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277 - unrolled_symbol_table: 9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277 - initial_ast: 1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c - unrolled_ast: 1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c - ssa_ast: 6926cc34fac90a4bed0c819030cf61f0f614e539e4b85b63c2abb3b8776cf532 - flattened_ast: 108e01348ff9fd5dbbc00cc94208f98c5a5782a86ddf452ee59602c5bfe046f4 - destructured_ast: d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e - inlined_ast: d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e - dce_ast: d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e - bytecode: 7b4ac23af746311a65be3314562eb9247cacd4b29ed1ea20d04b0dc8c06eef19 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b8fa9541b26d44c8348e7ded98e6bd1b235ee9c02e632192fb2da00234e84c5c", type_checked_symbol_table = "9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277", unrolled_symbol_table = "9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277", initial_ast = "1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c", unrolled_ast = "1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c", ssa_ast = "6926cc34fac90a4bed0c819030cf61f0f614e539e4b85b63c2abb3b8776cf532", flattened_ast = "108e01348ff9fd5dbbc00cc94208f98c5a5782a86ddf452ee59602c5bfe046f4", destructured_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", inlined_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", dce_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", bytecode = "7b4ac23af746311a65be3314562eb9247cacd4b29ed1ea20d04b0dc8c06eef19", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/le.out b/tests/expectations/compiler/integers/i128/le.out index f8250c2b38..5573d64c8f 100644 --- a/tests/expectations/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/integers/i128/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5 - type_checked_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - unrolled_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - initial_ast: 5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1 - unrolled_ast: 5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1 - ssa_ast: e463395afb5d70d3c16c3c6de30459b5edf7c8768555d05a2c60025328f73034 - flattened_ast: bc5f2a77b2c76ceefc87002024b45fbedd31249e6be19886f9349ba3c58c4a79 - destructured_ast: 421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e - inlined_ast: 421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e - dce_ast: 421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e - bytecode: cc1ee4fde8609e495d29513d4f1ba6088310c0b68929e619e6fef2fbcf127b13 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1", unrolled_ast = "5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1", ssa_ast = "e463395afb5d70d3c16c3c6de30459b5edf7c8768555d05a2c60025328f73034", flattened_ast = "bc5f2a77b2c76ceefc87002024b45fbedd31249e6be19886f9349ba3c58c4a79", destructured_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", inlined_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", dce_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", bytecode = "cc1ee4fde8609e495d29513d4f1ba6088310c0b68929e619e6fef2fbcf127b13", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/lt.out b/tests/expectations/compiler/integers/i128/lt.out index 01a228ebe7..635c51fcbc 100644 --- a/tests/expectations/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/integers/i128/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5 - type_checked_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - unrolled_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - initial_ast: cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805 - unrolled_ast: cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805 - ssa_ast: 5002f155f28077ebce55d26234abb4f740face120d70096beb59aabd97f898b9 - flattened_ast: 7ce217dc14e027bdd8f8ad768b4b9cc97129cff62d197c1e1faeb87204f41ec1 - destructured_ast: 509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25 - inlined_ast: 509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25 - dce_ast: 509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25 - bytecode: b1fc620dc1f15fe250bfd4e7bbf7ec3e51d72f7a47867a1b0ad680f7d97906aa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805", unrolled_ast = "cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805", ssa_ast = "5002f155f28077ebce55d26234abb4f740face120d70096beb59aabd97f898b9", flattened_ast = "7ce217dc14e027bdd8f8ad768b4b9cc97129cff62d197c1e1faeb87204f41ec1", destructured_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", inlined_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", dce_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", bytecode = "b1fc620dc1f15fe250bfd4e7bbf7ec3e51d72f7a47867a1b0ad680f7d97906aa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/max.out b/tests/expectations/compiler/integers/i128/max.out index 2a49f33371..8b81091767 100644 --- a/tests/expectations/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/integers/i128/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee - type_checked_symbol_table: 6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025 - unrolled_symbol_table: 6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025 - initial_ast: 0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501 - unrolled_ast: 0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501 - ssa_ast: 74dc2fc74b3f986d6323911f118f544d956d485ec40a42807cfd61a212cd1f76 - flattened_ast: ff411ea98f4733147dd800325458dbf480e7543c0d76288d42f17aa55d8192b6 - destructured_ast: 6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d - inlined_ast: 6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d - dce_ast: 6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d - bytecode: 0c9250cc00df66aac1199455cdfacc5d1a37bbf3719a4661a022b02d023ef962 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee", type_checked_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", unrolled_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", initial_ast = "0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501", unrolled_ast = "0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501", ssa_ast = "74dc2fc74b3f986d6323911f118f544d956d485ec40a42807cfd61a212cd1f76", flattened_ast = "ff411ea98f4733147dd800325458dbf480e7543c0d76288d42f17aa55d8192b6", destructured_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", inlined_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", dce_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", bytecode = "0c9250cc00df66aac1199455cdfacc5d1a37bbf3719a4661a022b02d023ef962", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/max_fail.out b/tests/expectations/compiler/integers/i128/max_fail.out index 8f3ac4b3f8..4825c9d9be 100644 --- a/tests/expectations/compiler/integers/i128/max_fail.out +++ b/tests/expectations/compiler/integers/i128/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 170141183460469231731687303715884105728 is not a valid `i128`\n --> compiler-test:5:23\n |\n 5 | let a: i128 = 170141183460469231731687303715884105728i128;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 170141183460469231731687303715884105728 is not a valid `i128` + --> compiler-test:5:23 + | + 5 | let a: i128 = 170141183460469231731687303715884105728i128; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index b071713244..4b1703d3c0 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee - type_checked_symbol_table: 6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025 - unrolled_symbol_table: 6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025 - initial_ast: f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f - unrolled_ast: f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f - ssa_ast: 31cdcf328d7cc18463607e2901e987d3d95aaf83cb20fde0508e70137d9bf487 - flattened_ast: 25d111900840664756af2207bc812a3193d1c49236e04ba0902f7f8dd2a3df66 - destructured_ast: 7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d - inlined_ast: 7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d - dce_ast: 7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d - bytecode: 3371e90020913ff2646967d8f24bd5da1033f31c46c1b46c1996331bb488b96e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee", type_checked_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", unrolled_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", initial_ast = "f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f", unrolled_ast = "f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f", ssa_ast = "31cdcf328d7cc18463607e2901e987d3d95aaf83cb20fde0508e70137d9bf487", flattened_ast = "25d111900840664756af2207bc812a3193d1c49236e04ba0902f7f8dd2a3df66", destructured_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", inlined_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", dce_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", bytecode = "3371e90020913ff2646967d8f24bd5da1033f31c46c1b46c1996331bb488b96e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index bdae83b884..c486b53beb 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a - type_checked_symbol_table: 647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc - unrolled_symbol_table: 647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc - initial_ast: 68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb - unrolled_ast: 68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb - ssa_ast: 223d0d71b6c902bc36d98866cd58738c8ef0ae5459dc8c7e4d05306107291dfe - flattened_ast: 9ba67b9062caf22f889f944ff08221577d7326ebac0dd4c4dd6b8fc228cb0680 - destructured_ast: a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502 - inlined_ast: a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502 - dce_ast: a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502 - bytecode: 01713226f7ba799a801ed169d73aa94e4a3cb8048c6c069fdc874c2807e8ead6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a", type_checked_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", unrolled_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", initial_ast = "68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb", unrolled_ast = "68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb", ssa_ast = "223d0d71b6c902bc36d98866cd58738c8ef0ae5459dc8c7e4d05306107291dfe", flattened_ast = "9ba67b9062caf22f889f944ff08221577d7326ebac0dd4c4dd6b8fc228cb0680", destructured_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", inlined_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", dce_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", bytecode = "01713226f7ba799a801ed169d73aa94e4a3cb8048c6c069fdc874c2807e8ead6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/mul.out b/tests/expectations/compiler/integers/i128/mul.out index bb86144a7e..3ca1bf31db 100644 --- a/tests/expectations/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/integers/i128/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: 8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c - unrolled_ast: 8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c - ssa_ast: 8e09972165e24aa239fbcb6a8c82560a2f4b398ddc455fc987f562a0e017f0cf - flattened_ast: af7dc99616e7a80562397108fe540585550a7db22d57500971722308ce8c31e4 - destructured_ast: 1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f - inlined_ast: 1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f - dce_ast: 1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f - bytecode: d0d6aecd823bb5cd501ed807e6a169820dbee3db351de35303d4b8dda007e0d8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c", unrolled_ast = "8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c", ssa_ast = "8e09972165e24aa239fbcb6a8c82560a2f4b398ddc455fc987f562a0e017f0cf", flattened_ast = "af7dc99616e7a80562397108fe540585550a7db22d57500971722308ce8c31e4", destructured_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", inlined_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", dce_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", bytecode = "d0d6aecd823bb5cd501ed807e6a169820dbee3db351de35303d4b8dda007e0d8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/ne.out b/tests/expectations/compiler/integers/i128/ne.out index f4ce92094a..386dec3c4b 100644 --- a/tests/expectations/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/integers/i128/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5 - type_checked_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - unrolled_symbol_table: 9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7 - initial_ast: e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6 - unrolled_ast: e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6 - ssa_ast: f39da53b7fe3ad0a873e3076928d405504e32a83cc7d7bef580c63a7b66a32cc - flattened_ast: 6df74c05ced16a151c187403fb88b6394c34b3a129f2a247ad9493af98729a06 - destructured_ast: a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f - inlined_ast: a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f - dce_ast: a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f - bytecode: 234d1c18ac19b0979e3bf09581be0370faa2e2b322474f693d90c52cb2991177 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6", unrolled_ast = "e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6", ssa_ast = "f39da53b7fe3ad0a873e3076928d405504e32a83cc7d7bef580c63a7b66a32cc", flattened_ast = "6df74c05ced16a151c187403fb88b6394c34b3a129f2a247ad9493af98729a06", destructured_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", inlined_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", dce_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", bytecode = "234d1c18ac19b0979e3bf09581be0370faa2e2b322474f693d90c52cb2991177", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index 6b4eed258d..0736decd74 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c - type_checked_symbol_table: 9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936 - unrolled_symbol_table: 9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936 - initial_ast: 3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4 - unrolled_ast: 3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4 - ssa_ast: a502c69314fdab5366078b3eecfe0ce21f076509922b279170cf8dd7360e1afc - flattened_ast: 91c9a1708e90ab39f59bafb53f1f70353ad0d05b983803a024ab06f97eae1463 - destructured_ast: b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133 - inlined_ast: b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133 - dce_ast: b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133 - bytecode: 8fbbd1ffdc2128ce18c84c8eee60a408dd29cdc99ca197ffe094a8be0c4019c4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936", unrolled_symbol_table = "9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936", initial_ast = "3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4", unrolled_ast = "3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4", ssa_ast = "a502c69314fdab5366078b3eecfe0ce21f076509922b279170cf8dd7360e1afc", flattened_ast = "91c9a1708e90ab39f59bafb53f1f70353ad0d05b983803a024ab06f97eae1463", destructured_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", inlined_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", dce_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", bytecode = "8fbbd1ffdc2128ce18c84c8eee60a408dd29cdc99ca197ffe094a8be0c4019c4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index 81e8b9d58e..b14bf40d4c 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a - type_checked_symbol_table: 647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc - unrolled_symbol_table: 647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc - initial_ast: c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9 - unrolled_ast: c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9 - ssa_ast: 808fe0b96e382d45a1626f2dd61c774a3060712cd3feb7d499ed161e8f210bfa - flattened_ast: 16da702383e63b60d953c59e7ec7992cdbad720620c417ea70a39490394b03a9 - destructured_ast: 64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0 - inlined_ast: 64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0 - dce_ast: 64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0 - bytecode: a9a22fd3ceba8f7aa3bc7f1e577a63bfdf395c9cad00987880cf75066bdf85c8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a", type_checked_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", unrolled_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", initial_ast = "c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9", unrolled_ast = "c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9", ssa_ast = "808fe0b96e382d45a1626f2dd61c774a3060712cd3feb7d499ed161e8f210bfa", flattened_ast = "16da702383e63b60d953c59e7ec7992cdbad720620c417ea70a39490394b03a9", destructured_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", inlined_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", dce_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", bytecode = "a9a22fd3ceba8f7aa3bc7f1e577a63bfdf395c9cad00987880cf75066bdf85c8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/integers/i128/negate_zero.out index 1e70591d48..6752912d4f 100644 --- a/tests/expectations/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/integers/i128/negate_zero.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e - unrolled_symbol_table: 3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e - initial_ast: 8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4 - unrolled_ast: 8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4 - ssa_ast: e936be1db4ae61f50fa30639555b1fc3d7f9a1fd885b91b2e6cf18cebbf9cd26 - flattened_ast: c5d06b4f52dfa0b15092e7e3ec4ddadb59127a342fdf3f5961bb1a3c3d9ab6f2 - destructured_ast: c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd - inlined_ast: c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd - dce_ast: c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd - bytecode: 163f69d6df6294a79a4f27ccb9ed64ebd0e5df96c5205cf176f1201eab229deb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e", unrolled_symbol_table = "3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e", initial_ast = "8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4", unrolled_ast = "8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4", ssa_ast = "e936be1db4ae61f50fa30639555b1fc3d7f9a1fd885b91b2e6cf18cebbf9cd26", flattened_ast = "c5d06b4f52dfa0b15092e7e3ec4ddadb59127a342fdf3f5961bb1a3c3d9ab6f2", destructured_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", inlined_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", dce_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", bytecode = "163f69d6df6294a79a4f27ccb9ed64ebd0e5df96c5205cf176f1201eab229deb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/no_space_between_literal.out b/tests/expectations/compiler/integers/i128/no_space_between_literal.out index c2bb8dd318..ec3ddad66d 100644 --- a/tests/expectations/compiler/integers/i128/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/i128/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 i128;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 i128; + | ^"""] diff --git a/tests/expectations/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/integers/i128/operator_methods.out index 05c3f2694f..c6607779cf 100644 --- a/tests/expectations/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/integers/i128/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c - type_checked_symbol_table: 8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865 - unrolled_symbol_table: 8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865 - initial_ast: e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7 - unrolled_ast: e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7 - ssa_ast: 5a08712fb7e153575ef5f2e870c33632eae472c2bd1bc30a96fb09afd1c7cbe2 - flattened_ast: 5913f34241ce99c06a12c40d3ce9f1f7b52364820397b91cfdf2851ff015d559 - destructured_ast: 50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4 - inlined_ast: 50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4 - dce_ast: 0e025972bbd618d52bdca021a50f5a3cd949bcae1100327fe645c0f981dec495 - bytecode: 3f9bcd59307e76bb9f1ec70f6b5aa9d7d279141fd0ac17f03e19ad42c64b292e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865", unrolled_symbol_table = "8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865", initial_ast = "e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7", unrolled_ast = "e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7", ssa_ast = "5a08712fb7e153575ef5f2e870c33632eae472c2bd1bc30a96fb09afd1c7cbe2", flattened_ast = "5913f34241ce99c06a12c40d3ce9f1f7b52364820397b91cfdf2851ff015d559", destructured_ast = "50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4", inlined_ast = "50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4", dce_ast = "0e025972bbd618d52bdca021a50f5a3cd949bcae1100327fe645c0f981dec495", bytecode = "3f9bcd59307e76bb9f1ec70f6b5aa9d7d279141fd0ac17f03e19ad42c64b292e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/or.out b/tests/expectations/compiler/integers/i128/or.out index e53822717e..48cc1963e4 100644 --- a/tests/expectations/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/integers/i128/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: 78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411 - unrolled_ast: 78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411 - ssa_ast: 5ad943b23279ea25edc0ddf58fb553f83e7f648767dd09ed22413d89a4d68a61 - flattened_ast: 79657df1a9610f5a711d553b9fe2e165ed2127cbd09b8c9a2d4edcac6bc99524 - destructured_ast: 6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22 - inlined_ast: 6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22 - dce_ast: 6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22 - bytecode: 85fa769a183361184804ca78415e58cd4df150b04f1b50a743771dc28df46b4b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411", unrolled_ast = "78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411", ssa_ast = "5ad943b23279ea25edc0ddf58fb553f83e7f648767dd09ed22413d89a4d68a61", flattened_ast = "79657df1a9610f5a711d553b9fe2e165ed2127cbd09b8c9a2d4edcac6bc99524", destructured_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", inlined_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", dce_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", bytecode = "85fa769a183361184804ca78415e58cd4df150b04f1b50a743771dc28df46b4b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/pow.out b/tests/expectations/compiler/integers/i128/pow.out index 4d5556288e..c6d028256f 100644 --- a/tests/expectations/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/integers/i128/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: 961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46 - unrolled_ast: 961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46 - ssa_ast: 146306f6f05eded52b192b9bfee4b86825ae855b719505a28bd15eba8590aa44 - flattened_ast: 6eb70dfca778f3c552a2f841f86d669fb84babacb22b31aea760170d9a7f5b58 - destructured_ast: 5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3 - inlined_ast: 5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3 - dce_ast: 5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3 - bytecode: d190616fb105ce612eb0022279524f88dacfa3a9bef033cc54a70954b0140ef6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46", unrolled_ast = "961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46", ssa_ast = "146306f6f05eded52b192b9bfee4b86825ae855b719505a28bd15eba8590aa44", flattened_ast = "6eb70dfca778f3c552a2f841f86d669fb84babacb22b31aea760170d9a7f5b58", destructured_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", inlined_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", dce_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", bytecode = "d190616fb105ce612eb0022279524f88dacfa3a9bef033cc54a70954b0140ef6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/rem.out b/tests/expectations/compiler/integers/i128/rem.out index 1007fe7e5f..7aa3d69c63 100644 --- a/tests/expectations/compiler/integers/i128/rem.out +++ b/tests/expectations/compiler/integers/i128/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181 - unrolled_ast: cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181 - ssa_ast: 0423308918cd8a3aa5a15bb008bee3c3e5c982250fe43ce6bd66ba168ebfd5d3 - flattened_ast: c4f52f094312b0ade04c0302d4d8333f4184c11c4e2375870315eacfd1609dba - destructured_ast: f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5 - inlined_ast: f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5 - dce_ast: f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5 - bytecode: 5d53e21705893d69b529fbcd09e2200ac612868aa3b553ab83eac9ab33ecdcad - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181", unrolled_ast = "cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181", ssa_ast = "0423308918cd8a3aa5a15bb008bee3c3e5c982250fe43ce6bd66ba168ebfd5d3", flattened_ast = "c4f52f094312b0ade04c0302d4d8333f4184c11c4e2375870315eacfd1609dba", destructured_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", inlined_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", dce_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", bytecode = "5d53e21705893d69b529fbcd09e2200ac612868aa3b553ab83eac9ab33ecdcad", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/shl.out b/tests/expectations/compiler/integers/i128/shl.out index 08551009b6..3efe05a501 100644 --- a/tests/expectations/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/integers/i128/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: 4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d - unrolled_ast: 4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d - ssa_ast: 3e1857f5b77ed36a8d7d514899b278d17887cc0229061bbb36918ba1ca321c67 - flattened_ast: a367d58b22397aadf2a9b50176228388cd5e995ec76e1df1721d1f268cccb767 - destructured_ast: 3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6 - inlined_ast: 3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6 - dce_ast: 3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6 - bytecode: d27718f2372db60651de0720d5d611c3199e4be462f5a122ec9fbf05720f9700 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d", unrolled_ast = "4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d", ssa_ast = "3e1857f5b77ed36a8d7d514899b278d17887cc0229061bbb36918ba1ca321c67", flattened_ast = "a367d58b22397aadf2a9b50176228388cd5e995ec76e1df1721d1f268cccb767", destructured_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", inlined_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", dce_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", bytecode = "d27718f2372db60651de0720d5d611c3199e4be462f5a122ec9fbf05720f9700", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/shr.out b/tests/expectations/compiler/integers/i128/shr.out index 9f8d1dc28f..c0d4067bbd 100644 --- a/tests/expectations/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/integers/i128/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a - unrolled_ast: e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a - ssa_ast: a077a00172d25a11c338ef2be947723ebc4cc44f37486b2cbfe7e5e13b830894 - flattened_ast: d4acea907a937b5cc361d247b9ac88b467f180108ce51cb46fbc0307ca4165f8 - destructured_ast: 45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2 - inlined_ast: 45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2 - dce_ast: 45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2 - bytecode: 3835c59e778362b72f87e954fe6c9777904bf7d390f68b5ff47fb6c8ef5bb258 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a", unrolled_ast = "e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a", ssa_ast = "a077a00172d25a11c338ef2be947723ebc4cc44f37486b2cbfe7e5e13b830894", flattened_ast = "d4acea907a937b5cc361d247b9ac88b467f180108ce51cb46fbc0307ca4165f8", destructured_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", inlined_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", dce_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", bytecode = "3835c59e778362b72f87e954fe6c9777904bf7d390f68b5ff47fb6c8ef5bb258", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/sub.out b/tests/expectations/compiler/integers/i128/sub.out index 54733a2b50..18ea20ae38 100644 --- a/tests/expectations/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/integers/i128/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366 - type_checked_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - unrolled_symbol_table: 49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01 - initial_ast: 366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2 - unrolled_ast: 366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2 - ssa_ast: 452a3ded08bdc82a4137f6c83de0d686f794d2628c2f08b8c59570531fbd175c - flattened_ast: a6787b875bc922630b77f26b2dec98af36ed818d825c4eafff0b00bfacead1dc - destructured_ast: 076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02 - inlined_ast: 076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02 - dce_ast: 076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02 - bytecode: 1adab47eb5efe9d41dbad9d8b31eb8866871818b40ef6bd54a77c8b016683a5a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2", unrolled_ast = "366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2", ssa_ast = "452a3ded08bdc82a4137f6c83de0d686f794d2628c2f08b8c59570531fbd175c", flattened_ast = "a6787b875bc922630b77f26b2dec98af36ed818d825c4eafff0b00bfacead1dc", destructured_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", inlined_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", dce_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", bytecode = "1adab47eb5efe9d41dbad9d8b31eb8866871818b40ef6bd54a77c8b016683a5a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/ternary.out b/tests/expectations/compiler/integers/i128/ternary.out index 119c65dd8c..98fb517407 100644 --- a/tests/expectations/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/integers/i128/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: acbedd59b5575955dd3e57c00324a9e42deb95c8c2734a29945bf9e2d1926e73 - type_checked_symbol_table: 2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6 - unrolled_symbol_table: 2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6 - initial_ast: ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6 - unrolled_ast: ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6 - ssa_ast: 17e1a255732c391dfff6fa4fd03f076cef97983916d270fece8cb17fb7bcdfb8 - flattened_ast: 79798fc4c657bf4b1f316db4fc70e3be0fef1add5157f39a97bc89abb16c1ae5 - destructured_ast: 72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9 - inlined_ast: 72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9 - dce_ast: 72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9 - bytecode: dfa955d512febab56fa2b549f3f0857663aaddb77a71f0322d48b26af49eb2af - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "acbedd59b5575955dd3e57c00324a9e42deb95c8c2734a29945bf9e2d1926e73", type_checked_symbol_table = "2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6", unrolled_symbol_table = "2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6", initial_ast = "ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6", unrolled_ast = "ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6", ssa_ast = "17e1a255732c391dfff6fa4fd03f076cef97983916d270fece8cb17fb7bcdfb8", flattened_ast = "79798fc4c657bf4b1f316db4fc70e3be0fef1add5157f39a97bc89abb16c1ae5", destructured_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", inlined_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", dce_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", bytecode = "dfa955d512febab56fa2b549f3f0857663aaddb77a71f0322d48b26af49eb2af", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/xor.out b/tests/expectations/compiler/integers/i128/xor.out index 3e434c850c..ef07e958aa 100644 --- a/tests/expectations/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/integers/i128/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b507044a654db0c30b45b373e38fa3e58e04ee5d435c1ceeba2dd237828a158a - type_checked_symbol_table: 817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e - unrolled_symbol_table: 817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e - initial_ast: 9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079 - unrolled_ast: 9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079 - ssa_ast: acbfeb5f768f531964b2114a7c06ff4e5cbcfa04b9c04a271911a32132f523a4 - flattened_ast: 81128b2004af5b82555f63a1b3cb5a8a0be8a827140b0288d5e683f2b60e5ff7 - destructured_ast: 41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5 - inlined_ast: 41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5 - dce_ast: 41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5 - bytecode: a4e52d530daa111c685a34ebf07350f49f886e72fb1af5fd8c789c1ece9813b9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b507044a654db0c30b45b373e38fa3e58e04ee5d435c1ceeba2dd237828a158a", type_checked_symbol_table = "817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e", unrolled_symbol_table = "817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e", initial_ast = "9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079", unrolled_ast = "9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079", ssa_ast = "acbfeb5f768f531964b2114a7c06ff4e5cbcfa04b9c04a271911a32132f523a4", flattened_ast = "81128b2004af5b82555f63a1b3cb5a8a0be8a827140b0288d5e683f2b60e5ff7", destructured_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", inlined_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", dce_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", bytecode = "a4e52d530daa111c685a34ebf07350f49f886e72fb1af5fd8c789c1ece9813b9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/add.out b/tests/expectations/compiler/integers/i16/add.out index 8db19a4c53..1e29932b77 100644 --- a/tests/expectations/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/integers/i16/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: 6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272 - unrolled_ast: 6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272 - ssa_ast: f71009ea8a0fae7bd9a28b477e02df08ff3cfa479b7f81e2f0b63f0100ce3d96 - flattened_ast: d2f11e953067d8bbaaea97bf495dc461a0368f4ec56f61e9d76bff9e5a919002 - destructured_ast: d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f - inlined_ast: d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f - dce_ast: d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f - bytecode: 4d6180dac5a97d9a8f2825b4cae41adec00897380b309e1ffadda4ddd4f607fa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272", unrolled_ast = "6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272", ssa_ast = "f71009ea8a0fae7bd9a28b477e02df08ff3cfa479b7f81e2f0b63f0100ce3d96", flattened_ast = "d2f11e953067d8bbaaea97bf495dc461a0368f4ec56f61e9d76bff9e5a919002", destructured_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", inlined_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", dce_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", bytecode = "4d6180dac5a97d9a8f2825b4cae41adec00897380b309e1ffadda4ddd4f607fa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/and.out b/tests/expectations/compiler/integers/i16/and.out index ba8d0cb698..293d2bb5ba 100644 --- a/tests/expectations/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/integers/i16/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: 7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f - unrolled_ast: 7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f - ssa_ast: 3cf17e37c8b7809f7201c566404da558ff53211bd67bcefd7a9410626d6c13d3 - flattened_ast: d050c38ea3e92aa63b796eb0317f920753fbb0de6bd3755a2cb651d8d8f0366d - destructured_ast: 236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5 - inlined_ast: 236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5 - dce_ast: 236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5 - bytecode: a0056ca7a6a670a9bb0bc979e224136219b6a336c43d3ecd624c218cba49ba22 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f", unrolled_ast = "7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f", ssa_ast = "3cf17e37c8b7809f7201c566404da558ff53211bd67bcefd7a9410626d6c13d3", flattened_ast = "d050c38ea3e92aa63b796eb0317f920753fbb0de6bd3755a2cb651d8d8f0366d", destructured_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", inlined_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", dce_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", bytecode = "a0056ca7a6a670a9bb0bc979e224136219b6a336c43d3ecd624c218cba49ba22", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/integers/i16/console_assert.out index f1ea135423..9e46db819d 100644 --- a/tests/expectations/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/integers/i16/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143 - type_checked_symbol_table: 201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c - unrolled_symbol_table: 201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c - initial_ast: bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d - unrolled_ast: bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d - ssa_ast: 5ab1d2a184285e2cc6a67587bc6b59ad0f6a94492602a6c47a2c870e09b1dcd0 - flattened_ast: 51b1dfa630ccfe91d0b4338352400c2817e4ec97d13cebd011b8f8df53dae9b6 - destructured_ast: bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f - inlined_ast: bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f - dce_ast: bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f - bytecode: ac2d2f57bf49761437884caa2b7f46c8c33df05175d3cba3ace16cb068374f18 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c", unrolled_symbol_table = "201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c", initial_ast = "bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d", unrolled_ast = "bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d", ssa_ast = "5ab1d2a184285e2cc6a67587bc6b59ad0f6a94492602a6c47a2c870e09b1dcd0", flattened_ast = "51b1dfa630ccfe91d0b4338352400c2817e4ec97d13cebd011b8f8df53dae9b6", destructured_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", inlined_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", dce_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", bytecode = "ac2d2f57bf49761437884caa2b7f46c8c33df05175d3cba3ace16cb068374f18", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/div.out b/tests/expectations/compiler/integers/i16/div.out index b9d4e1e147..41be1f40eb 100644 --- a/tests/expectations/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/integers/i16/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: 038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a - unrolled_ast: 038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a - ssa_ast: ed5404d130ae5bf4e1135fc198fcda42ac055f1b42648c9ee7f0bb5f118c091e - flattened_ast: 9cd3c3ef2cff9ad4b503775bcec497a86dd3d2d0733751e413e2bf2578220953 - destructured_ast: a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8 - inlined_ast: a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8 - dce_ast: a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8 - bytecode: 0d753f8ac24fd6daf4150b9ab5d1469e61c65d75c6eddcc8a5dd859e8084fb2f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a", unrolled_ast = "038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a", ssa_ast = "ed5404d130ae5bf4e1135fc198fcda42ac055f1b42648c9ee7f0bb5f118c091e", flattened_ast = "9cd3c3ef2cff9ad4b503775bcec497a86dd3d2d0733751e413e2bf2578220953", destructured_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", inlined_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", dce_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", bytecode = "0d753f8ac24fd6daf4150b9ab5d1469e61c65d75c6eddcc8a5dd859e8084fb2f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/eq.out b/tests/expectations/compiler/integers/i16/eq.out index 0ac4d0adef..289dce0031 100644 --- a/tests/expectations/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/integers/i16/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23 - type_checked_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - unrolled_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - initial_ast: 9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d - unrolled_ast: 9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d - ssa_ast: cf36eb27361ccc7f9d18f6feb1f43a2cb3011a32f016663bbb8efd501781cef5 - flattened_ast: d40b7e818e541c629e462b845fabd0505036172f082c2787794b7d25c16e57c5 - destructured_ast: 8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7 - inlined_ast: 8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7 - dce_ast: 8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7 - bytecode: 898a6a5cc452219a2c31f1cc7f0c73c6eea23a72d4d331e013cfb866167467e2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d", unrolled_ast = "9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d", ssa_ast = "cf36eb27361ccc7f9d18f6feb1f43a2cb3011a32f016663bbb8efd501781cef5", flattened_ast = "d40b7e818e541c629e462b845fabd0505036172f082c2787794b7d25c16e57c5", destructured_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", inlined_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", dce_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", bytecode = "898a6a5cc452219a2c31f1cc7f0c73c6eea23a72d4d331e013cfb866167467e2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/ge.out b/tests/expectations/compiler/integers/i16/ge.out index 3729f088a9..f85685f310 100644 --- a/tests/expectations/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/integers/i16/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23 - type_checked_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - unrolled_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - initial_ast: 45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3 - unrolled_ast: 45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3 - ssa_ast: 9e4dca84f1c7bc06e7e2f432119bc4a742137b0756da6d628c12a93880dcebef - flattened_ast: 423022ef7438e119cb9f85504614f2806aaff9397b9f5bee728a5e53ce7604d6 - destructured_ast: c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16 - inlined_ast: c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16 - dce_ast: c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16 - bytecode: e35d3733d6b9cdae2cad91fa9100d057efcbdf45f16994f11a75319486a81e64 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3", unrolled_ast = "45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3", ssa_ast = "9e4dca84f1c7bc06e7e2f432119bc4a742137b0756da6d628c12a93880dcebef", flattened_ast = "423022ef7438e119cb9f85504614f2806aaff9397b9f5bee728a5e53ce7604d6", destructured_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", inlined_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", dce_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", bytecode = "e35d3733d6b9cdae2cad91fa9100d057efcbdf45f16994f11a75319486a81e64", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/gt.out b/tests/expectations/compiler/integers/i16/gt.out index 4248425955..94b7316972 100644 --- a/tests/expectations/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/integers/i16/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23 - type_checked_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - unrolled_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - initial_ast: a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d - unrolled_ast: a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d - ssa_ast: d343b1ed12fde8c888e41213991b6eed7814058f702efd82af14144ef7c48e44 - flattened_ast: 708abf5b9aced79c5f41ee88114ea5b11895cd0335c979853ecb7ba1c2878ca4 - destructured_ast: 65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c - inlined_ast: 65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c - dce_ast: 65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c - bytecode: 8195766fd4b565e30f6f4e088c57977e5a558d68847e0a61fe2b8de79bd2590d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d", unrolled_ast = "a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d", ssa_ast = "d343b1ed12fde8c888e41213991b6eed7814058f702efd82af14144ef7c48e44", flattened_ast = "708abf5b9aced79c5f41ee88114ea5b11895cd0335c979853ecb7ba1c2878ca4", destructured_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", inlined_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", dce_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", bytecode = "8195766fd4b565e30f6f4e088c57977e5a558d68847e0a61fe2b8de79bd2590d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/hex_and_bin.out b/tests/expectations/compiler/integers/i16/hex_and_bin.out index b9c437d678..00ca4c60ea 100644 --- a/tests/expectations/compiler/integers/i16/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i16/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 29029f1a16e25967a35a6ed07eb857a7a14c2aff01cbe5cc53065fb37de75e33 - type_checked_symbol_table: b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09 - unrolled_symbol_table: b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09 - initial_ast: 40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30 - unrolled_ast: 40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30 - ssa_ast: 10914c235af1410bcc77ba6b7ef1378d414b655086650d6b6814b5adfa29cb17 - flattened_ast: 042a582d89960ccf8683decbf3a0b3b44c66d53f8922ef878ae83317c16eb777 - destructured_ast: f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6 - inlined_ast: f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6 - dce_ast: f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6 - bytecode: abbe9790219732acac590659c2aa27351a46df65ca5cc03c9def1889d5642d2d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "29029f1a16e25967a35a6ed07eb857a7a14c2aff01cbe5cc53065fb37de75e33", type_checked_symbol_table = "b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09", unrolled_symbol_table = "b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09", initial_ast = "40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30", unrolled_ast = "40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30", ssa_ast = "10914c235af1410bcc77ba6b7ef1378d414b655086650d6b6814b5adfa29cb17", flattened_ast = "042a582d89960ccf8683decbf3a0b3b44c66d53f8922ef878ae83317c16eb777", destructured_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", inlined_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", dce_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", bytecode = "abbe9790219732acac590659c2aa27351a46df65ca5cc03c9def1889d5642d2d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/le.out b/tests/expectations/compiler/integers/i16/le.out index 0aecea1be2..f0235e0d06 100644 --- a/tests/expectations/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/integers/i16/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23 - type_checked_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - unrolled_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - initial_ast: 01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892 - unrolled_ast: 01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892 - ssa_ast: 9a7d0212c75fa433a90af18edd4a5dbb1c4a8f6bf2cc259c2f9b492ecdf4354b - flattened_ast: 10a0d660647a6ff40cac8df4a1815b1e53755480603bf11c8de1a7f8e72e89ab - destructured_ast: b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8 - inlined_ast: b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8 - dce_ast: b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8 - bytecode: 98dc59dd7939556e96fd2a7f222612401d18c45c3d38845f2c68d273b1d848c3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892", unrolled_ast = "01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892", ssa_ast = "9a7d0212c75fa433a90af18edd4a5dbb1c4a8f6bf2cc259c2f9b492ecdf4354b", flattened_ast = "10a0d660647a6ff40cac8df4a1815b1e53755480603bf11c8de1a7f8e72e89ab", destructured_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", inlined_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", dce_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", bytecode = "98dc59dd7939556e96fd2a7f222612401d18c45c3d38845f2c68d273b1d848c3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/lt.out b/tests/expectations/compiler/integers/i16/lt.out index 887681d990..c939dcf112 100644 --- a/tests/expectations/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/integers/i16/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23 - type_checked_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - unrolled_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - initial_ast: 0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce - unrolled_ast: 0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce - ssa_ast: 32be361ea64b6ac8c2d2f67c4d00d9c74f8f65e4667a1e238b38441b57d067e8 - flattened_ast: b55b15c0327af13788356383bec2a16488af78c7604ce7d22ba9c2e4fc3a5200 - destructured_ast: 8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080 - inlined_ast: 8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080 - dce_ast: 8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080 - bytecode: 1ce9578b21f22dfd7342da3a2ea28ed86cb30b94475fc02329dab93fe121eaa3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce", unrolled_ast = "0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce", ssa_ast = "32be361ea64b6ac8c2d2f67c4d00d9c74f8f65e4667a1e238b38441b57d067e8", flattened_ast = "b55b15c0327af13788356383bec2a16488af78c7604ce7d22ba9c2e4fc3a5200", destructured_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", inlined_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", dce_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", bytecode = "1ce9578b21f22dfd7342da3a2ea28ed86cb30b94475fc02329dab93fe121eaa3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/max.out b/tests/expectations/compiler/integers/i16/max.out index 04ea715fe3..a8403b03a3 100644 --- a/tests/expectations/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/integers/i16/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591 - type_checked_symbol_table: b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f - unrolled_symbol_table: b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f - initial_ast: 2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5 - unrolled_ast: 2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5 - ssa_ast: db4dd33512c7a427af08beb26d3fd65427f11f211bd0348c8b98e336df53d206 - flattened_ast: dfe4b31e00a15032fa75f0a29d22d6d93344b3bf7d102274ccddfd15628eeb26 - destructured_ast: 319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438 - inlined_ast: 319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438 - dce_ast: 319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438 - bytecode: 45295d2179ab802afcc86d7d5b8c0b17afcdab726c8cca491370f77918e64a2b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591", type_checked_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", unrolled_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", initial_ast = "2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5", unrolled_ast = "2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5", ssa_ast = "db4dd33512c7a427af08beb26d3fd65427f11f211bd0348c8b98e336df53d206", flattened_ast = "dfe4b31e00a15032fa75f0a29d22d6d93344b3bf7d102274ccddfd15628eeb26", destructured_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", inlined_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", dce_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", bytecode = "45295d2179ab802afcc86d7d5b8c0b17afcdab726c8cca491370f77918e64a2b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/max_fail.out b/tests/expectations/compiler/integers/i16/max_fail.out index 0e34de69df..ccd9ad9218 100644 --- a/tests/expectations/compiler/integers/i16/max_fail.out +++ b/tests/expectations/compiler/integers/i16/max_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 32768 is not a valid `i16`\n --> compiler-test:5:22\n |\n 5 | let a: i16 = 32768i16;\n | ^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 32768 is not a valid `i16` + --> compiler-test:5:22 + | + 5 | let a: i16 = 32768i16; + | ^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index 83581a66a1..3601e3e3f0 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591 - type_checked_symbol_table: b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f - unrolled_symbol_table: b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f - initial_ast: 7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4 - unrolled_ast: 7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4 - ssa_ast: f8499bd22ee01e6da2208cf543c9bd6202d2be17ae2c7245a82ebf2f55fe121b - flattened_ast: 81080692d927e37301b2666e4060cdbe4e7c2a21689fa661e75dde03ccc9a044 - destructured_ast: 491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3 - inlined_ast: 491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3 - dce_ast: 491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3 - bytecode: b4ca9ba0607d70a519a65b1415ffb48639cda59835abf8a7a892710f309b0abc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591", type_checked_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", unrolled_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", initial_ast = "7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4", unrolled_ast = "7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4", ssa_ast = "f8499bd22ee01e6da2208cf543c9bd6202d2be17ae2c7245a82ebf2f55fe121b", flattened_ast = "81080692d927e37301b2666e4060cdbe4e7c2a21689fa661e75dde03ccc9a044", destructured_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", inlined_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", dce_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", bytecode = "b4ca9ba0607d70a519a65b1415ffb48639cda59835abf8a7a892710f309b0abc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index ce908209ff..226f4b7c1a 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718 - type_checked_symbol_table: 908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5 - unrolled_symbol_table: 908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5 - initial_ast: b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5 - unrolled_ast: b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5 - ssa_ast: 2d5267193d78ca01d95362840d84052f846c16c287a6ffb405c4e4b1a31f744f - flattened_ast: c71c8899a4a2000b54e348eac03181f96e25fceb6a05b1e7fee5acec38e25835 - destructured_ast: 01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3 - inlined_ast: 01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3 - dce_ast: 01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3 - bytecode: 5d5bc4c63f62ab0bf4b07e3791e046417ea909f69375729be199bbdba267e742 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718", type_checked_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", unrolled_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", initial_ast = "b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5", unrolled_ast = "b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5", ssa_ast = "2d5267193d78ca01d95362840d84052f846c16c287a6ffb405c4e4b1a31f744f", flattened_ast = "c71c8899a4a2000b54e348eac03181f96e25fceb6a05b1e7fee5acec38e25835", destructured_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", inlined_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", dce_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", bytecode = "5d5bc4c63f62ab0bf4b07e3791e046417ea909f69375729be199bbdba267e742", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/mul.out b/tests/expectations/compiler/integers/i16/mul.out index c73254c285..9f7ab7d091 100644 --- a/tests/expectations/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/integers/i16/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: 149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc - unrolled_ast: 149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc - ssa_ast: 160c673ad78b1e9743597edf8051a9a968236481b9b353dfae1d476577eebd9a - flattened_ast: bd5667189055bc254b8258a25cf3eeda3d9a8e3a3c5597ecd86c8f28c22381ce - destructured_ast: 9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0 - inlined_ast: 9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0 - dce_ast: 9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0 - bytecode: dfd9acb20823234cdd87513c5b6ee195f0e5b925b52e035009dcb7ff22e6900a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc", unrolled_ast = "149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc", ssa_ast = "160c673ad78b1e9743597edf8051a9a968236481b9b353dfae1d476577eebd9a", flattened_ast = "bd5667189055bc254b8258a25cf3eeda3d9a8e3a3c5597ecd86c8f28c22381ce", destructured_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", inlined_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", dce_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", bytecode = "dfd9acb20823234cdd87513c5b6ee195f0e5b925b52e035009dcb7ff22e6900a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/ne.out b/tests/expectations/compiler/integers/i16/ne.out index 00c3181da9..8d29a7455f 100644 --- a/tests/expectations/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/integers/i16/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23 - type_checked_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - unrolled_symbol_table: 458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d - initial_ast: 7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a - unrolled_ast: 7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a - ssa_ast: c0e6f90c44da98fef1c04a2ca2215dd7e718f8697c25d35e02eabb6c7ea14465 - flattened_ast: 03be2b9a03f30c2eec9bf2536e155a6e2635469ee9fe4ba85f37dd6d6840b163 - destructured_ast: 2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28 - inlined_ast: 2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28 - dce_ast: 2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28 - bytecode: 955b3e3d4d80a6816de6d59563cc6f31f94dbff43853facba45936dfdc2012ca - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a", unrolled_ast = "7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a", ssa_ast = "c0e6f90c44da98fef1c04a2ca2215dd7e718f8697c25d35e02eabb6c7ea14465", flattened_ast = "03be2b9a03f30c2eec9bf2536e155a6e2635469ee9fe4ba85f37dd6d6840b163", destructured_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", inlined_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", dce_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", bytecode = "955b3e3d4d80a6816de6d59563cc6f31f94dbff43853facba45936dfdc2012ca", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index 65b17987a1..5a0aa08466 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143 - type_checked_symbol_table: 72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6 - unrolled_symbol_table: 72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6 - initial_ast: 19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872 - unrolled_ast: 19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872 - ssa_ast: 415a2c2d597270ac91f4d6f37a36b8edf5b1ed8be72068e90bf53a26d94c6ad3 - flattened_ast: 740041a346ea9666e5104166eb87435ac1471179f3f428b3e3b592af4807c4d7 - destructured_ast: 5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3 - inlined_ast: 5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3 - dce_ast: 5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3 - bytecode: 4c2a08bbf8cfdd45438e33b981a9f3d77b1d44225227714b3189e3e641e428e9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6", unrolled_symbol_table = "72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6", initial_ast = "19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872", unrolled_ast = "19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872", ssa_ast = "415a2c2d597270ac91f4d6f37a36b8edf5b1ed8be72068e90bf53a26d94c6ad3", flattened_ast = "740041a346ea9666e5104166eb87435ac1471179f3f428b3e3b592af4807c4d7", destructured_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", inlined_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", dce_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", bytecode = "4c2a08bbf8cfdd45438e33b981a9f3d77b1d44225227714b3189e3e641e428e9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index e425be77a2..b45a8d14a3 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718 - type_checked_symbol_table: 908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5 - unrolled_symbol_table: 908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5 - initial_ast: 714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773 - unrolled_ast: 714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773 - ssa_ast: 4312012008bfd431feec056a18efe1bf1053ae3fbe55a30863d1846dc2e8a6a6 - flattened_ast: d4d1a2c0b7799d10df1036aae149fda4bb7b5a909150a24d48ae09b0e5639473 - destructured_ast: 969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67 - inlined_ast: 969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67 - dce_ast: 969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67 - bytecode: f1c720ffbffc836bb5dcc1bdf2b2e9cb95de97275e7798b6f8e508c9116d757c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718", type_checked_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", unrolled_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", initial_ast = "714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773", unrolled_ast = "714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773", ssa_ast = "4312012008bfd431feec056a18efe1bf1053ae3fbe55a30863d1846dc2e8a6a6", flattened_ast = "d4d1a2c0b7799d10df1036aae149fda4bb7b5a909150a24d48ae09b0e5639473", destructured_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", inlined_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", dce_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", bytecode = "f1c720ffbffc836bb5dcc1bdf2b2e9cb95de97275e7798b6f8e508c9116d757c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/integers/i16/negate_zero.out index e4ddaba725..450424c9ce 100644 --- a/tests/expectations/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/integers/i16/negate_zero.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89 - unrolled_symbol_table: d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89 - initial_ast: 7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8 - unrolled_ast: 7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8 - ssa_ast: d0e8a02c77d5ba131933d0cf93ae70bbfbc1e3b290fa842836221d8ce3de7743 - flattened_ast: 289376e403ff4b94e4539312cbd03f89df34bac7fd268366a3775c0e41cfde53 - destructured_ast: 0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f - inlined_ast: 0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f - dce_ast: 0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f - bytecode: 041ad04237619df46380596339019563fc1d330a7e3792a3d856e4b600e8501e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89", unrolled_symbol_table = "d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89", initial_ast = "7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8", unrolled_ast = "7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8", ssa_ast = "d0e8a02c77d5ba131933d0cf93ae70bbfbc1e3b290fa842836221d8ce3de7743", flattened_ast = "289376e403ff4b94e4539312cbd03f89df34bac7fd268366a3775c0e41cfde53", destructured_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", inlined_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", dce_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", bytecode = "041ad04237619df46380596339019563fc1d330a7e3792a3d856e4b600e8501e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/no_space_between_literal.out b/tests/expectations/compiler/integers/i16/no_space_between_literal.out index f0cccfe734..a542df4a79 100644 --- a/tests/expectations/compiler/integers/i16/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/i16/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 i16;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 i16; + | ^"""] diff --git a/tests/expectations/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/integers/i16/operator_methods.out index 3d3e6b3cc3..488607bc94 100644 --- a/tests/expectations/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/integers/i16/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143 - type_checked_symbol_table: e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a - unrolled_symbol_table: e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a - initial_ast: 5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb - unrolled_ast: 5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb - ssa_ast: fde89dfbffc96d97e4154c24167b9ae2e57feabe421a320d2cf6d7e716c3b27d - flattened_ast: e709202124e35435409f2fb5667b77c3f88def8c2511a15abb5a613e8dae3e0a - destructured_ast: 30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c - inlined_ast: 30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c - dce_ast: c3baefa1b4e4ef7a17f1382d03767e9895fc3e63f701442bdac209d0b47de477 - bytecode: 2ae0c269722de40ebea82115838ca6bc794e781954d9437afc1684c0f171847f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a", unrolled_symbol_table = "e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a", initial_ast = "5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb", unrolled_ast = "5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb", ssa_ast = "fde89dfbffc96d97e4154c24167b9ae2e57feabe421a320d2cf6d7e716c3b27d", flattened_ast = "e709202124e35435409f2fb5667b77c3f88def8c2511a15abb5a613e8dae3e0a", destructured_ast = "30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c", inlined_ast = "30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c", dce_ast = "c3baefa1b4e4ef7a17f1382d03767e9895fc3e63f701442bdac209d0b47de477", bytecode = "2ae0c269722de40ebea82115838ca6bc794e781954d9437afc1684c0f171847f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/or.out b/tests/expectations/compiler/integers/i16/or.out index bfe6411f3d..2c94b5f40b 100644 --- a/tests/expectations/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/integers/i16/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: 84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b - unrolled_ast: 84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b - ssa_ast: 4a319970e8c0bed5a417837135e53cc73257083dc4dc579f6cb8663b23f7fa31 - flattened_ast: d589d1dd8ac18541bbb00050f30777aac25cb7be05826e28849b73256f246887 - destructured_ast: 951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93 - inlined_ast: 951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93 - dce_ast: 951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93 - bytecode: ce2896db5a90c1bfd62a00f9b8721cc2285e1ef077a8e225e2748bb33742564b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b", unrolled_ast = "84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b", ssa_ast = "4a319970e8c0bed5a417837135e53cc73257083dc4dc579f6cb8663b23f7fa31", flattened_ast = "d589d1dd8ac18541bbb00050f30777aac25cb7be05826e28849b73256f246887", destructured_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", inlined_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", dce_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", bytecode = "ce2896db5a90c1bfd62a00f9b8721cc2285e1ef077a8e225e2748bb33742564b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/pow.out b/tests/expectations/compiler/integers/i16/pow.out index d8dc85360c..64cd2705d7 100644 --- a/tests/expectations/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/integers/i16/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9 - unrolled_ast: d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9 - ssa_ast: 4a084d423586810e375172414eb6e9671e7080cd1a628939feaf3f54ae8c7ae9 - flattened_ast: ff147245e6925e970af4ef63f8091a010dce9b6b195013da38951c77de859551 - destructured_ast: 58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773 - inlined_ast: 58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773 - dce_ast: 58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773 - bytecode: 5566b622f6c5ea37b1b130db8b59ea5d69140dbe2aae45a1ada003d92482f7a9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9", unrolled_ast = "d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9", ssa_ast = "4a084d423586810e375172414eb6e9671e7080cd1a628939feaf3f54ae8c7ae9", flattened_ast = "ff147245e6925e970af4ef63f8091a010dce9b6b195013da38951c77de859551", destructured_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", inlined_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", dce_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", bytecode = "5566b622f6c5ea37b1b130db8b59ea5d69140dbe2aae45a1ada003d92482f7a9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/rem.out b/tests/expectations/compiler/integers/i16/rem.out index f9f7a7a472..3e33b7ddd3 100644 --- a/tests/expectations/compiler/integers/i16/rem.out +++ b/tests/expectations/compiler/integers/i16/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4 - unrolled_ast: d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4 - ssa_ast: 13a9aa57a7630c2b06d428bf91364f01f01e12a020d22e52446d0d0a99f40dd3 - flattened_ast: 5c5521d529ad4b82f2c961056292208270c9bd7b08f0d9d5ba85ca742c5fd7b7 - destructured_ast: 1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c - inlined_ast: 1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c - dce_ast: 1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c - bytecode: 9db0a74c24c209fa63e0d47919e9fa1a10cde21b15179098872b9c99f821cb16 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4", unrolled_ast = "d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4", ssa_ast = "13a9aa57a7630c2b06d428bf91364f01f01e12a020d22e52446d0d0a99f40dd3", flattened_ast = "5c5521d529ad4b82f2c961056292208270c9bd7b08f0d9d5ba85ca742c5fd7b7", destructured_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", inlined_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", dce_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", bytecode = "9db0a74c24c209fa63e0d47919e9fa1a10cde21b15179098872b9c99f821cb16", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/shl.out b/tests/expectations/compiler/integers/i16/shl.out index 11f1e284ef..5e066a78ad 100644 --- a/tests/expectations/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/integers/i16/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: 9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd - unrolled_ast: 9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd - ssa_ast: 25f8703e34a8bd0e480065a66a8cab504b02362b3884e6c1c9ce0bb934fe5e41 - flattened_ast: aceaeefa523b5c2de49d91b7d218f0afb4b3b5def9707716461cdd442fdebf16 - destructured_ast: 0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad - inlined_ast: 0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad - dce_ast: 0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad - bytecode: 65af41a661155e3ce64ac1afced0c2ad5098a59a458f1ef3215f34f5a8e4247a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd", unrolled_ast = "9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd", ssa_ast = "25f8703e34a8bd0e480065a66a8cab504b02362b3884e6c1c9ce0bb934fe5e41", flattened_ast = "aceaeefa523b5c2de49d91b7d218f0afb4b3b5def9707716461cdd442fdebf16", destructured_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", inlined_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", dce_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", bytecode = "65af41a661155e3ce64ac1afced0c2ad5098a59a458f1ef3215f34f5a8e4247a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/shr.out b/tests/expectations/compiler/integers/i16/shr.out index 7c8bdd377a..4a2240446e 100644 --- a/tests/expectations/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/integers/i16/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: 130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980 - unrolled_ast: 130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980 - ssa_ast: 14923d98a6596a92030a74f449b03f2ccf1256d71604426eabcf04c05d577720 - flattened_ast: 6b720f037ed78f2d27521620a0b4eea03171b9c315a30c9c5fa7308ce514d980 - destructured_ast: ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f - inlined_ast: ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f - dce_ast: ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f - bytecode: 1af055915587aced3dca90d1e065481be3648546d2bc465461d50b03c2974f6a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980", unrolled_ast = "130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980", ssa_ast = "14923d98a6596a92030a74f449b03f2ccf1256d71604426eabcf04c05d577720", flattened_ast = "6b720f037ed78f2d27521620a0b4eea03171b9c315a30c9c5fa7308ce514d980", destructured_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", inlined_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", dce_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", bytecode = "1af055915587aced3dca90d1e065481be3648546d2bc465461d50b03c2974f6a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/sub.out b/tests/expectations/compiler/integers/i16/sub.out index 5ac53d2d86..da394085ca 100644 --- a/tests/expectations/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/integers/i16/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d - type_checked_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - unrolled_symbol_table: 28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0 - initial_ast: a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9 - unrolled_ast: a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9 - ssa_ast: e46167198f67124edfa8e5f577a390cef4148c743cd62c2b49c9f65f79277ca0 - flattened_ast: 80f2a6674f59707ee2623306ff5ce0dd8fbdc3da0a2a83d217eddf4be7c2febe - destructured_ast: 5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040 - inlined_ast: 5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040 - dce_ast: 5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040 - bytecode: 17009388ef3907c90aabc4a26d822d5b361f00d4753cca95dda6539866f8d908 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9", unrolled_ast = "a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9", ssa_ast = "e46167198f67124edfa8e5f577a390cef4148c743cd62c2b49c9f65f79277ca0", flattened_ast = "80f2a6674f59707ee2623306ff5ce0dd8fbdc3da0a2a83d217eddf4be7c2febe", destructured_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", inlined_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", dce_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", bytecode = "17009388ef3907c90aabc4a26d822d5b361f00d4753cca95dda6539866f8d908", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/ternary.out b/tests/expectations/compiler/integers/i16/ternary.out index 342b0f63a5..87800c55b4 100644 --- a/tests/expectations/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/integers/i16/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9cd4e4875276e75cac91418bd801624910ae6e4e3ff74e01a3a9978093d1ac98 - type_checked_symbol_table: 82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f - unrolled_symbol_table: 82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f - initial_ast: ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4 - unrolled_ast: ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4 - ssa_ast: bec1b099e818a8c09554c2d1c6864b72687d56fe36cda7e40ad32e258e5d408b - flattened_ast: d50fa16894f625dd7b1aacc7ac2c4170ed24acaf5daace3044205ce3f6af1118 - destructured_ast: 89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326 - inlined_ast: 89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326 - dce_ast: 89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326 - bytecode: 36a621308b0c9bc17df0d85b9b4734e73d1d64cbcacdd813603f3d79f74e8996 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9cd4e4875276e75cac91418bd801624910ae6e4e3ff74e01a3a9978093d1ac98", type_checked_symbol_table = "82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f", unrolled_symbol_table = "82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f", initial_ast = "ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4", unrolled_ast = "ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4", ssa_ast = "bec1b099e818a8c09554c2d1c6864b72687d56fe36cda7e40ad32e258e5d408b", flattened_ast = "d50fa16894f625dd7b1aacc7ac2c4170ed24acaf5daace3044205ce3f6af1118", destructured_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", inlined_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", dce_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", bytecode = "36a621308b0c9bc17df0d85b9b4734e73d1d64cbcacdd813603f3d79f74e8996", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/xor.out b/tests/expectations/compiler/integers/i16/xor.out index 42ba89abf3..18d31c874f 100644 --- a/tests/expectations/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/integers/i16/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ad2b082c26499314be59b13e61a1ba499b5c10275644008b26255b2f76b28c07 - type_checked_symbol_table: bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77 - unrolled_symbol_table: bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77 - initial_ast: f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c - unrolled_ast: f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c - ssa_ast: bf6b460264a6871db8d170dd96e52976526b55abed4cb01dfd3809c3760cb84f - flattened_ast: 1f9ff93c34e2ff0e793e2c61ce3a447352cafc89c8d566af7a2a22c84edc4f34 - destructured_ast: 34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e - inlined_ast: 34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e - dce_ast: 34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e - bytecode: b3f7fd0a992ed66d1a25b6669e1387d7567d6fad58e97b43c160249c2109f516 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ad2b082c26499314be59b13e61a1ba499b5c10275644008b26255b2f76b28c07", type_checked_symbol_table = "bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77", unrolled_symbol_table = "bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77", initial_ast = "f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c", unrolled_ast = "f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c", ssa_ast = "bf6b460264a6871db8d170dd96e52976526b55abed4cb01dfd3809c3760cb84f", flattened_ast = "1f9ff93c34e2ff0e793e2c61ce3a447352cafc89c8d566af7a2a22c84edc4f34", destructured_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", inlined_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", dce_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", bytecode = "b3f7fd0a992ed66d1a25b6669e1387d7567d6fad58e97b43c160249c2109f516", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/add.out b/tests/expectations/compiler/integers/i32/add.out index d92aeb1de4..3cf3448f14 100644 --- a/tests/expectations/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/integers/i32/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf - unrolled_ast: c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf - ssa_ast: e216c8b4739f7f568eb1ff0238db7c02b058d5df2c1e09a6c9459b9d2d72aca5 - flattened_ast: 45bb4bb53f6532dfa256a2ce7ca645979a7cfe23854b4bd77e00310d8131d30c - destructured_ast: c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6 - inlined_ast: c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6 - dce_ast: c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6 - bytecode: 2a2cbf02e188b3022afe1de563d58f86c9c18a2277c8dbeb307dd1b5dc66f8d3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf", unrolled_ast = "c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf", ssa_ast = "e216c8b4739f7f568eb1ff0238db7c02b058d5df2c1e09a6c9459b9d2d72aca5", flattened_ast = "45bb4bb53f6532dfa256a2ce7ca645979a7cfe23854b4bd77e00310d8131d30c", destructured_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", inlined_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", dce_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", bytecode = "2a2cbf02e188b3022afe1de563d58f86c9c18a2277c8dbeb307dd1b5dc66f8d3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/and.out b/tests/expectations/compiler/integers/i32/and.out index 734f92fd77..f7094db215 100644 --- a/tests/expectations/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/integers/i32/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: 9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c - unrolled_ast: 9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c - ssa_ast: f68364b096fa8d84127d1fe65e90787daf8ba496d2eb31f106dc2afe2bd9a011 - flattened_ast: 91742bb3d50e0436960f11a9dbcf33d10432d0ed59cde4e5992a5c47efcf3061 - destructured_ast: 6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1 - inlined_ast: 6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1 - dce_ast: 6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1 - bytecode: eee50040aac3f0f43988dcc4e46afc2f734d30f614a2ae6ee1ce88f39b5f2827 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c", unrolled_ast = "9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c", ssa_ast = "f68364b096fa8d84127d1fe65e90787daf8ba496d2eb31f106dc2afe2bd9a011", flattened_ast = "91742bb3d50e0436960f11a9dbcf33d10432d0ed59cde4e5992a5c47efcf3061", destructured_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", inlined_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", dce_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", bytecode = "eee50040aac3f0f43988dcc4e46afc2f734d30f614a2ae6ee1ce88f39b5f2827", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/integers/i32/console_assert.out index b29c17eec7..cb80f3c4ea 100644 --- a/tests/expectations/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/integers/i32/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19 - type_checked_symbol_table: 3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42 - unrolled_symbol_table: 3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42 - initial_ast: d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92 - unrolled_ast: d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92 - ssa_ast: f97819ab4d51bd7f264bc9ac57501f09571e57f47d6c5c3db739fef24d227a33 - flattened_ast: 56a418d0009ad0594726fa77691cfe55c0146a4d7453368cf0a54e9ce3b8d31b - destructured_ast: 8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd - inlined_ast: 8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd - dce_ast: 8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd - bytecode: e8b3b5f71b01963e4df9f24f4f4f47e9976e5e5b099659e6083cef239d37a2d1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42", unrolled_symbol_table = "3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42", initial_ast = "d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92", unrolled_ast = "d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92", ssa_ast = "f97819ab4d51bd7f264bc9ac57501f09571e57f47d6c5c3db739fef24d227a33", flattened_ast = "56a418d0009ad0594726fa77691cfe55c0146a4d7453368cf0a54e9ce3b8d31b", destructured_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", inlined_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", dce_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", bytecode = "e8b3b5f71b01963e4df9f24f4f4f47e9976e5e5b099659e6083cef239d37a2d1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/div.out b/tests/expectations/compiler/integers/i32/div.out index 538352db32..881ca53e82 100644 --- a/tests/expectations/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/integers/i32/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: 96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a - unrolled_ast: 96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a - ssa_ast: 6c0eebf5c03a30327e43bc6036ab7310174afbf0928110bf7a907a123403c343 - flattened_ast: 860e3fa1e3ed44496b8d448b9897e4571d4a8c306c9d18fe4be1e106d1c92d89 - destructured_ast: 94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27 - inlined_ast: 94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27 - dce_ast: 94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27 - bytecode: 22fa0cb05cba0820444e31f02772af70719116ea4f41c50faaed75a4c50cb845 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a", unrolled_ast = "96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a", ssa_ast = "6c0eebf5c03a30327e43bc6036ab7310174afbf0928110bf7a907a123403c343", flattened_ast = "860e3fa1e3ed44496b8d448b9897e4571d4a8c306c9d18fe4be1e106d1c92d89", destructured_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", inlined_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", dce_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", bytecode = "22fa0cb05cba0820444e31f02772af70719116ea4f41c50faaed75a4c50cb845", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/eq.out b/tests/expectations/compiler/integers/i32/eq.out index d84ad35353..3c63211931 100644 --- a/tests/expectations/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/integers/i32/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee - type_checked_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - unrolled_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - initial_ast: 7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9 - unrolled_ast: 7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9 - ssa_ast: 7ce698e9c41ef5829263615cc01049e036e5163e42af0a107d1dd2524bf32779 - flattened_ast: 045d7ac7e2b492a5d185af57f2c65b1c15feb7a310f03fb14c4d0bf16800e27e - destructured_ast: 7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c - inlined_ast: 7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c - dce_ast: 7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c - bytecode: db6394a0bd5332bffbca151ba7a0ea7bdb38f83f732c3afef149535db47a71cb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9", unrolled_ast = "7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9", ssa_ast = "7ce698e9c41ef5829263615cc01049e036e5163e42af0a107d1dd2524bf32779", flattened_ast = "045d7ac7e2b492a5d185af57f2c65b1c15feb7a310f03fb14c4d0bf16800e27e", destructured_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", inlined_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", dce_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", bytecode = "db6394a0bd5332bffbca151ba7a0ea7bdb38f83f732c3afef149535db47a71cb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/ge.out b/tests/expectations/compiler/integers/i32/ge.out index 929160b919..048c58891d 100644 --- a/tests/expectations/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/integers/i32/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee - type_checked_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - unrolled_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - initial_ast: 2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e - unrolled_ast: 2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e - ssa_ast: 3da1f6cde1a78cb33f124d16da7b34251fa64803410f85d844cc9846ab69dfcd - flattened_ast: 195e3b5e6234aa13ba6a7aa0f23b3a0b1cfefcfde5cd1744f2eaaa3b72426dd6 - destructured_ast: 48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887 - inlined_ast: 48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887 - dce_ast: 48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887 - bytecode: 319b96ef20018acc654ec52780087d599a75f6204095ab426882087218865bcc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e", unrolled_ast = "2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e", ssa_ast = "3da1f6cde1a78cb33f124d16da7b34251fa64803410f85d844cc9846ab69dfcd", flattened_ast = "195e3b5e6234aa13ba6a7aa0f23b3a0b1cfefcfde5cd1744f2eaaa3b72426dd6", destructured_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", inlined_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", dce_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", bytecode = "319b96ef20018acc654ec52780087d599a75f6204095ab426882087218865bcc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/gt.out b/tests/expectations/compiler/integers/i32/gt.out index 2fffb14657..bdc8127c5f 100644 --- a/tests/expectations/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/integers/i32/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee - type_checked_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - unrolled_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - initial_ast: b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5 - unrolled_ast: b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5 - ssa_ast: 409246088010a03ecaf951efc555155f02590d688431339aba27b631919e4638 - flattened_ast: 1151cd5bdc59c71817d2e87bfff873d0a62bd3850134bc16d210b085c171d743 - destructured_ast: ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac - inlined_ast: ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac - dce_ast: ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac - bytecode: 7b0157b83a4db9b46a3c6572aeb5ccae55be420768dc034163508ac4a99308ea - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5", unrolled_ast = "b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5", ssa_ast = "409246088010a03ecaf951efc555155f02590d688431339aba27b631919e4638", flattened_ast = "1151cd5bdc59c71817d2e87bfff873d0a62bd3850134bc16d210b085c171d743", destructured_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", inlined_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", dce_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", bytecode = "7b0157b83a4db9b46a3c6572aeb5ccae55be420768dc034163508ac4a99308ea", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/hex_and_bin.out b/tests/expectations/compiler/integers/i32/hex_and_bin.out index dc3a3d011f..bb2923a2e3 100644 --- a/tests/expectations/compiler/integers/i32/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i32/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 64448615fb54198853ec0db1342703f538e30c529c17dc1de8ce21e73cb9aec0 - type_checked_symbol_table: f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b - unrolled_symbol_table: f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b - initial_ast: d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc - unrolled_ast: d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc - ssa_ast: 9c01e57aa0ee03cf03b7da15f64c40a6fce773dac8afda6e8722f5d8d16d7730 - flattened_ast: 5222a287ea1a208cb950a77630e32621375e0f9d1c78ee74828482c1a3d2d5fa - destructured_ast: 4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011 - inlined_ast: 4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011 - dce_ast: 4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011 - bytecode: 60f3f7cf4996cce21e8854a05cd0018dbbc6f3836e82f110a7327a48d826604a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "64448615fb54198853ec0db1342703f538e30c529c17dc1de8ce21e73cb9aec0", type_checked_symbol_table = "f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b", unrolled_symbol_table = "f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b", initial_ast = "d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc", unrolled_ast = "d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc", ssa_ast = "9c01e57aa0ee03cf03b7da15f64c40a6fce773dac8afda6e8722f5d8d16d7730", flattened_ast = "5222a287ea1a208cb950a77630e32621375e0f9d1c78ee74828482c1a3d2d5fa", destructured_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", inlined_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", dce_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", bytecode = "60f3f7cf4996cce21e8854a05cd0018dbbc6f3836e82f110a7327a48d826604a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/le.out b/tests/expectations/compiler/integers/i32/le.out index ff28ce85c6..a7b545191f 100644 --- a/tests/expectations/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/integers/i32/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee - type_checked_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - unrolled_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - initial_ast: d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973 - unrolled_ast: d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973 - ssa_ast: 01671d010bd9dd494a0456492e1351b94cb9e4f6b9b47e44ac90807a8831fc53 - flattened_ast: 3410a585a98141f594814d13b0a4ffde56205a70f63a70e2f611418fabe7dd2a - destructured_ast: 4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69 - inlined_ast: 4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69 - dce_ast: 4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69 - bytecode: cc2d953415427376e9e3c26c04b4e66630e4b77f19e04e932b28f04599b7fe77 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973", unrolled_ast = "d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973", ssa_ast = "01671d010bd9dd494a0456492e1351b94cb9e4f6b9b47e44ac90807a8831fc53", flattened_ast = "3410a585a98141f594814d13b0a4ffde56205a70f63a70e2f611418fabe7dd2a", destructured_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", inlined_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", dce_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", bytecode = "cc2d953415427376e9e3c26c04b4e66630e4b77f19e04e932b28f04599b7fe77", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/lt.out b/tests/expectations/compiler/integers/i32/lt.out index 9f230bba1d..d8f59e0a0f 100644 --- a/tests/expectations/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/integers/i32/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee - type_checked_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - unrolled_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - initial_ast: ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629 - unrolled_ast: ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629 - ssa_ast: 7d5210472cb3ba84643e24a2219b4f3c6740ca6fccc386af4e6b6f835063b03f - flattened_ast: 2924ca209765a19d522a57ad8901cc9cb3d34d40bd3f248f26cc9519b4e22c28 - destructured_ast: 607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d - inlined_ast: 607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d - dce_ast: 607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d - bytecode: 815cbaa285c68d1b7707bbe1df33b84fcb00a81bfbae3d4d9cd290902e2ce091 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629", unrolled_ast = "ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629", ssa_ast = "7d5210472cb3ba84643e24a2219b4f3c6740ca6fccc386af4e6b6f835063b03f", flattened_ast = "2924ca209765a19d522a57ad8901cc9cb3d34d40bd3f248f26cc9519b4e22c28", destructured_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", inlined_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", dce_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", bytecode = "815cbaa285c68d1b7707bbe1df33b84fcb00a81bfbae3d4d9cd290902e2ce091", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/max.out b/tests/expectations/compiler/integers/i32/max.out index 00353a3541..f4b5985fa5 100644 --- a/tests/expectations/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/integers/i32/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553 - type_checked_symbol_table: c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0 - unrolled_symbol_table: c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0 - initial_ast: 4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd - unrolled_ast: 4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd - ssa_ast: 463be3766f9720530ba482a1d25c7ca4b5e6ea65226b74bf7517bebea8e9480f - flattened_ast: 50c266396ffd543f6513374aa4cf3c4c6aad8576e330fc5111528853c47e2915 - destructured_ast: a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd - inlined_ast: a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd - dce_ast: a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd - bytecode: 6821174db234fb38a3ded7835589628bf76443f2faff6cf9aa2f2fc5a5da71cb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553", type_checked_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", unrolled_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", initial_ast = "4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd", unrolled_ast = "4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd", ssa_ast = "463be3766f9720530ba482a1d25c7ca4b5e6ea65226b74bf7517bebea8e9480f", flattened_ast = "50c266396ffd543f6513374aa4cf3c4c6aad8576e330fc5111528853c47e2915", destructured_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", inlined_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", dce_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", bytecode = "6821174db234fb38a3ded7835589628bf76443f2faff6cf9aa2f2fc5a5da71cb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/max_fail.out b/tests/expectations/compiler/integers/i32/max_fail.out index 8895c83509..91345ff13d 100644 --- a/tests/expectations/compiler/integers/i32/max_fail.out +++ b/tests/expectations/compiler/integers/i32/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 2147483648 is not a valid `i32`\n --> compiler-test:5:22\n |\n 5 | let a: i32 = 2147483648i32;\n | ^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 2147483648 is not a valid `i32` + --> compiler-test:5:22 + | + 5 | let a: i32 = 2147483648i32; + | ^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index 9a2b30ee4b..f332c7019c 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553 - type_checked_symbol_table: c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0 - unrolled_symbol_table: c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0 - initial_ast: 19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729 - unrolled_ast: 19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729 - ssa_ast: fbe1f5fc71b3290a0dc449a0cc0d31f47e71a7e7774e696d2f374ed2a03b8d09 - flattened_ast: b66b7dc4e690de20fabc7614d514e1f18e984b61b87daff236326773f4a3bdae - destructured_ast: 46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f - inlined_ast: 46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f - dce_ast: 46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f - bytecode: 71fa0293c129cb150cfbc206d6709f67884cd0864200dd8a6382ae6d30a3dac2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553", type_checked_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", unrolled_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", initial_ast = "19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729", unrolled_ast = "19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729", ssa_ast = "fbe1f5fc71b3290a0dc449a0cc0d31f47e71a7e7774e696d2f374ed2a03b8d09", flattened_ast = "b66b7dc4e690de20fabc7614d514e1f18e984b61b87daff236326773f4a3bdae", destructured_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", inlined_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", dce_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", bytecode = "71fa0293c129cb150cfbc206d6709f67884cd0864200dd8a6382ae6d30a3dac2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index 8dbef2428e..d6ded8ad80 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06 - type_checked_symbol_table: f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3 - unrolled_symbol_table: f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3 - initial_ast: 9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5 - unrolled_ast: 9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5 - ssa_ast: 3903a214a9257609f79e09b7628e4a266f7203f9d8f6633934cd44c0b17d2b43 - flattened_ast: a68596361eb4f8da3a1a2e158dd55bfce45cb13aa2c7c186618f73fcebb70995 - destructured_ast: 462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d - inlined_ast: 462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d - dce_ast: 462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d - bytecode: e28a0b12a5006a7f44ebd60e001a3b2bb2142f3e2bc03564b5870415a1bd1e6d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06", type_checked_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", unrolled_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", initial_ast = "9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5", unrolled_ast = "9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5", ssa_ast = "3903a214a9257609f79e09b7628e4a266f7203f9d8f6633934cd44c0b17d2b43", flattened_ast = "a68596361eb4f8da3a1a2e158dd55bfce45cb13aa2c7c186618f73fcebb70995", destructured_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", inlined_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", dce_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", bytecode = "e28a0b12a5006a7f44ebd60e001a3b2bb2142f3e2bc03564b5870415a1bd1e6d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/mul.out b/tests/expectations/compiler/integers/i32/mul.out index 1930813f6f..13ad147c89 100644 --- a/tests/expectations/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/integers/i32/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4 - unrolled_ast: fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4 - ssa_ast: f90c33a218cce19c524ca73e099711f306c685bd2eb93a25039213087e62178c - flattened_ast: b418c443e3a499fa6f5b44248709c23866e0822ee14363adf3f1c5b261e73e71 - destructured_ast: a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65 - inlined_ast: a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65 - dce_ast: a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65 - bytecode: 6a5893dfd948c5fa425269a9ddab867cbcf55956e015e95b3d4a5be7a861d763 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4", unrolled_ast = "fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4", ssa_ast = "f90c33a218cce19c524ca73e099711f306c685bd2eb93a25039213087e62178c", flattened_ast = "b418c443e3a499fa6f5b44248709c23866e0822ee14363adf3f1c5b261e73e71", destructured_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", inlined_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", dce_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", bytecode = "6a5893dfd948c5fa425269a9ddab867cbcf55956e015e95b3d4a5be7a861d763", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/ne.out b/tests/expectations/compiler/integers/i32/ne.out index 2988fb0555..17c9d4fa23 100644 --- a/tests/expectations/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/integers/i32/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee - type_checked_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - unrolled_symbol_table: 9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27 - initial_ast: df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48 - unrolled_ast: df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48 - ssa_ast: 9329dad3b872221b6c12b0ee4906f4121da1a3cd0368f71f6151beb0d2d33c36 - flattened_ast: 9ee356775ecb61a67514047a4748361e4b9a279a72e872e07df7177b28e3d347 - destructured_ast: 53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a - inlined_ast: 53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a - dce_ast: 53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a - bytecode: 7e3f7a34eaf764f2d9b7119b882a649e4eaceabcd8e54ac5313127b3add0c091 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48", unrolled_ast = "df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48", ssa_ast = "9329dad3b872221b6c12b0ee4906f4121da1a3cd0368f71f6151beb0d2d33c36", flattened_ast = "9ee356775ecb61a67514047a4748361e4b9a279a72e872e07df7177b28e3d347", destructured_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", inlined_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", dce_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", bytecode = "7e3f7a34eaf764f2d9b7119b882a649e4eaceabcd8e54ac5313127b3add0c091", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index b01ba2fe00..1d72d9f38c 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19 - type_checked_symbol_table: 8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620 - unrolled_symbol_table: 8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620 - initial_ast: 6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6 - unrolled_ast: 6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6 - ssa_ast: cded77e1331ebd0d5724d69b7182547013040e39761baa885ba5f46d82598078 - flattened_ast: ec71465f20d9b248f94bae954b65f4e8753e6e8612828a12538338a33e6feefd - destructured_ast: 7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1 - inlined_ast: 7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1 - dce_ast: 7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1 - bytecode: 009e138c1ef58588c8c34fdd4b56c5cd984a2f4664d71a3ce1f5811350d5cc1f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620", unrolled_symbol_table = "8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620", initial_ast = "6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6", unrolled_ast = "6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6", ssa_ast = "cded77e1331ebd0d5724d69b7182547013040e39761baa885ba5f46d82598078", flattened_ast = "ec71465f20d9b248f94bae954b65f4e8753e6e8612828a12538338a33e6feefd", destructured_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", inlined_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", dce_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", bytecode = "009e138c1ef58588c8c34fdd4b56c5cd984a2f4664d71a3ce1f5811350d5cc1f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index 8a052c965e..4e0331efb4 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06 - type_checked_symbol_table: f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3 - unrolled_symbol_table: f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3 - initial_ast: 9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b - unrolled_ast: 9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b - ssa_ast: 8227aad1b63a3978f34062dbb9e84b70731833fd9ab204f2ee4975f2dba217bd - flattened_ast: 8d8fb45f29708a829d0977a1a725ce5d63d3e7c6b8481e3e086ecf7b85cec9e2 - destructured_ast: 0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5 - inlined_ast: 0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5 - dce_ast: 0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5 - bytecode: 7014d5adeb6ff035c6415dd1001650301e64c7bb14426a4adc0f9b9daa514f69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06", type_checked_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", unrolled_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", initial_ast = "9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b", unrolled_ast = "9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b", ssa_ast = "8227aad1b63a3978f34062dbb9e84b70731833fd9ab204f2ee4975f2dba217bd", flattened_ast = "8d8fb45f29708a829d0977a1a725ce5d63d3e7c6b8481e3e086ecf7b85cec9e2", destructured_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", inlined_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", dce_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", bytecode = "7014d5adeb6ff035c6415dd1001650301e64c7bb14426a4adc0f9b9daa514f69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/integers/i32/negate_zero.out index 389888edc2..2d2e78c478 100644 --- a/tests/expectations/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/integers/i32/negate_zero.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359 - unrolled_symbol_table: 84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359 - initial_ast: b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d - unrolled_ast: b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d - ssa_ast: 5a243c3bc8e5d90bd3220777170ba703c5c335c12db3dc0b4e4c0f5d303d10b3 - flattened_ast: 4414f021e672ae9893e2df65562d035b2eff71e3f4d2a2a06522fd0f7c79a41a - destructured_ast: 7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744 - inlined_ast: 7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744 - dce_ast: 7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744 - bytecode: 0d7b74771220febbbf1600fe72c373d3398998c0d1200c1fd592d3b3da56b928 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359", unrolled_symbol_table = "84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359", initial_ast = "b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d", unrolled_ast = "b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d", ssa_ast = "5a243c3bc8e5d90bd3220777170ba703c5c335c12db3dc0b4e4c0f5d303d10b3", flattened_ast = "4414f021e672ae9893e2df65562d035b2eff71e3f4d2a2a06522fd0f7c79a41a", destructured_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", inlined_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", dce_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", bytecode = "0d7b74771220febbbf1600fe72c373d3398998c0d1200c1fd592d3b3da56b928", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/no_space_between_literal.out b/tests/expectations/compiler/integers/i32/no_space_between_literal.out index 20d4b88386..5499f17056 100644 --- a/tests/expectations/compiler/integers/i32/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/i32/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 i32;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 i32; + | ^"""] diff --git a/tests/expectations/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/integers/i32/operator_methods.out index 1ddd671155..3f8d4054c9 100644 --- a/tests/expectations/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/integers/i32/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19 - type_checked_symbol_table: 55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf - unrolled_symbol_table: 55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf - initial_ast: 2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1 - unrolled_ast: 2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1 - ssa_ast: e7383b8d25ce13ebd7ba0ce1f6d87a935926a5c6a5b54bf99d34e91d877e0cc5 - flattened_ast: 50e13db046a3bb93864073fcbcf1f80fac456457206eb67fef678b34d962e373 - destructured_ast: 5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990 - inlined_ast: 5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990 - dce_ast: 4b044f3729a8886f63143d1429cff39d3f6a780ded96243f6c56be6b41f8dcfe - bytecode: 40661150b3b39dd341d29dab9771982c77efa03e028104d1965c1e2e2fbf3c28 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf", unrolled_symbol_table = "55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf", initial_ast = "2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1", unrolled_ast = "2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1", ssa_ast = "e7383b8d25ce13ebd7ba0ce1f6d87a935926a5c6a5b54bf99d34e91d877e0cc5", flattened_ast = "50e13db046a3bb93864073fcbcf1f80fac456457206eb67fef678b34d962e373", destructured_ast = "5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990", inlined_ast = "5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990", dce_ast = "4b044f3729a8886f63143d1429cff39d3f6a780ded96243f6c56be6b41f8dcfe", bytecode = "40661150b3b39dd341d29dab9771982c77efa03e028104d1965c1e2e2fbf3c28", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/or.out b/tests/expectations/compiler/integers/i32/or.out index 3bb5c58845..418e061ae8 100644 --- a/tests/expectations/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/integers/i32/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: 8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8 - unrolled_ast: 8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8 - ssa_ast: 8500eac3b091101ce395ff2217809f8a7ef2ef6d12d41adf0d816ad954d5bb1f - flattened_ast: 52b7c1895349087bb9c13b8f797e54d0c72921fa23062a85be0add297e76b61d - destructured_ast: d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a - inlined_ast: d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a - dce_ast: d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a - bytecode: 607f946bff91ee499a6d977e52f6cbc32678d1306e1e6437adc3ed3720d77a02 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8", unrolled_ast = "8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8", ssa_ast = "8500eac3b091101ce395ff2217809f8a7ef2ef6d12d41adf0d816ad954d5bb1f", flattened_ast = "52b7c1895349087bb9c13b8f797e54d0c72921fa23062a85be0add297e76b61d", destructured_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", inlined_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", dce_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", bytecode = "607f946bff91ee499a6d977e52f6cbc32678d1306e1e6437adc3ed3720d77a02", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/pow.out b/tests/expectations/compiler/integers/i32/pow.out index eae1c2e348..33eb06e4b5 100644 --- a/tests/expectations/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/integers/i32/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: 4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753 - unrolled_ast: 4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753 - ssa_ast: 21f1cc483ac5f8accd327a0174066b9332d30e96545579e1c5315dfa7f778650 - flattened_ast: 7e7b9c8f934ee0d9f32e2c494c533b14c9dce64cf621c1b086a31d2e932e3155 - destructured_ast: 732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e - inlined_ast: 732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e - dce_ast: 732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e - bytecode: 356e8fd9b7a616538d51b58accbf2cb604812f8d4e1d984ed091819b6b1dd7ef - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753", unrolled_ast = "4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753", ssa_ast = "21f1cc483ac5f8accd327a0174066b9332d30e96545579e1c5315dfa7f778650", flattened_ast = "7e7b9c8f934ee0d9f32e2c494c533b14c9dce64cf621c1b086a31d2e932e3155", destructured_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", inlined_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", dce_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", bytecode = "356e8fd9b7a616538d51b58accbf2cb604812f8d4e1d984ed091819b6b1dd7ef", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/rem.out b/tests/expectations/compiler/integers/i32/rem.out index 9453a3ed64..91dedfa187 100644 --- a/tests/expectations/compiler/integers/i32/rem.out +++ b/tests/expectations/compiler/integers/i32/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: 0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7 - unrolled_ast: 0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7 - ssa_ast: 7e9b42f58fd67b703c4d20dea6da6d24fc4ee178d62f68218828c96a6b696a03 - flattened_ast: 8860a778786e10b922e114bbcf31305539d5e09ffae176054a39b1a0f2dddb5d - destructured_ast: 6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350 - inlined_ast: 6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350 - dce_ast: 6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350 - bytecode: 58eca9e830625c2f8ae8836c94380e3decec48e4ea0b0b07421a69dffafc9366 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7", unrolled_ast = "0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7", ssa_ast = "7e9b42f58fd67b703c4d20dea6da6d24fc4ee178d62f68218828c96a6b696a03", flattened_ast = "8860a778786e10b922e114bbcf31305539d5e09ffae176054a39b1a0f2dddb5d", destructured_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", inlined_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", dce_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", bytecode = "58eca9e830625c2f8ae8836c94380e3decec48e4ea0b0b07421a69dffafc9366", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/shl.out b/tests/expectations/compiler/integers/i32/shl.out index 50899f2a70..862fe81aec 100644 --- a/tests/expectations/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/integers/i32/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: 7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b - unrolled_ast: 7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b - ssa_ast: 6073ada6ac6a5844c76ecb6aceeece916469dbca056db2441b648cb01d3c8ef2 - flattened_ast: 438fc5776febf197d8f07748d8c8d8aee5f005c552adce1bbd60399230470df5 - destructured_ast: 5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7 - inlined_ast: 5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7 - dce_ast: 5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7 - bytecode: 7b5bbc80ede3dfcc182728241b3f4a889f3c1afc6e5db865947f34cc0eab889c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b", unrolled_ast = "7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b", ssa_ast = "6073ada6ac6a5844c76ecb6aceeece916469dbca056db2441b648cb01d3c8ef2", flattened_ast = "438fc5776febf197d8f07748d8c8d8aee5f005c552adce1bbd60399230470df5", destructured_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", inlined_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", dce_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", bytecode = "7b5bbc80ede3dfcc182728241b3f4a889f3c1afc6e5db865947f34cc0eab889c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/shr.out b/tests/expectations/compiler/integers/i32/shr.out index dc23cc8d96..bd1f37e0a6 100644 --- a/tests/expectations/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/integers/i32/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205 - unrolled_ast: a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205 - ssa_ast: ae148dd21f5532cddf5c9202aae9b12cd02756a039a7389c2cfb721f3001432b - flattened_ast: cdd6dba47cadc95bff43e644259295873c037a5e1acd22703dafe9a251eb9d79 - destructured_ast: c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859 - inlined_ast: c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859 - dce_ast: c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859 - bytecode: 4beebe6f64c29d63c9bafe8a3a58e52b14705368f667c1a44fd85d5d46e80f6c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205", unrolled_ast = "a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205", ssa_ast = "ae148dd21f5532cddf5c9202aae9b12cd02756a039a7389c2cfb721f3001432b", flattened_ast = "cdd6dba47cadc95bff43e644259295873c037a5e1acd22703dafe9a251eb9d79", destructured_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", inlined_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", dce_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", bytecode = "4beebe6f64c29d63c9bafe8a3a58e52b14705368f667c1a44fd85d5d46e80f6c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/sub.out b/tests/expectations/compiler/integers/i32/sub.out index e834b5be49..71cef74ab7 100644 --- a/tests/expectations/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/integers/i32/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7 - type_checked_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - unrolled_symbol_table: 0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5 - initial_ast: aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089 - unrolled_ast: aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089 - ssa_ast: b178dcccd1545e0768bfce699c5c6ad55d1ec4607c7abeb78ffb8d896cec4182 - flattened_ast: 63f068cd118cf7f0a3696a432647c07d675368348a0d0f807087b5c0dcf11d56 - destructured_ast: 5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2 - inlined_ast: 5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2 - dce_ast: 5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2 - bytecode: 8efbc5343f7c2f0c0978f035231692e7ff00b213495d8713911fe1be40aa91f4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089", unrolled_ast = "aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089", ssa_ast = "b178dcccd1545e0768bfce699c5c6ad55d1ec4607c7abeb78ffb8d896cec4182", flattened_ast = "63f068cd118cf7f0a3696a432647c07d675368348a0d0f807087b5c0dcf11d56", destructured_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", inlined_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", dce_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", bytecode = "8efbc5343f7c2f0c0978f035231692e7ff00b213495d8713911fe1be40aa91f4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/ternary.out b/tests/expectations/compiler/integers/i32/ternary.out index 881cd18cb2..3e349ad21f 100644 --- a/tests/expectations/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/integers/i32/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d0c61a121356719d5fe78692cfdff531cf4bfaf4dbbc30182c5b2493f5cd3778 - type_checked_symbol_table: f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123 - unrolled_symbol_table: f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123 - initial_ast: 5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167 - unrolled_ast: 5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167 - ssa_ast: 98d2f4f3e23b256c86323f4ee4304e6e1e6350bd836fb72e3103cee6fe531e6d - flattened_ast: e4dfa4f008ad2777e974029ef07c2d1b6e83beb091b55d0dbad1586852feb0a6 - destructured_ast: 880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae - inlined_ast: 880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae - dce_ast: 880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae - bytecode: 8255076ed16f7675cce867bf0b6ab1eacad9bdc4735188bb9b1b2dc40cf24ce0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d0c61a121356719d5fe78692cfdff531cf4bfaf4dbbc30182c5b2493f5cd3778", type_checked_symbol_table = "f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123", unrolled_symbol_table = "f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123", initial_ast = "5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167", unrolled_ast = "5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167", ssa_ast = "98d2f4f3e23b256c86323f4ee4304e6e1e6350bd836fb72e3103cee6fe531e6d", flattened_ast = "e4dfa4f008ad2777e974029ef07c2d1b6e83beb091b55d0dbad1586852feb0a6", destructured_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", inlined_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", dce_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", bytecode = "8255076ed16f7675cce867bf0b6ab1eacad9bdc4735188bb9b1b2dc40cf24ce0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/xor.out b/tests/expectations/compiler/integers/i32/xor.out index 94238c9b4c..f1878d98fd 100644 --- a/tests/expectations/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/integers/i32/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 22a7d7792f0fc312fba0af5c6e8e7c7b7e20f38187e0c18150668c26747d78e5 - type_checked_symbol_table: dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd - unrolled_symbol_table: dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd - initial_ast: 04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b - unrolled_ast: 04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b - ssa_ast: 458d4182af4adbca9a6baaddb4e3529a6feec2b4baa8d5a938023ad48f185b63 - flattened_ast: f3e585a825a43bcd7434e8a6ac25a02f7074799e22205c05f0e2da6bbd956bd8 - destructured_ast: 1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213 - inlined_ast: 1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213 - dce_ast: 1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213 - bytecode: 6a7c1505b6d57a26f767b63372873413e4ca3a4b7ff7b42f652a2841d843da64 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "22a7d7792f0fc312fba0af5c6e8e7c7b7e20f38187e0c18150668c26747d78e5", type_checked_symbol_table = "dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd", unrolled_symbol_table = "dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd", initial_ast = "04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b", unrolled_ast = "04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b", ssa_ast = "458d4182af4adbca9a6baaddb4e3529a6feec2b4baa8d5a938023ad48f185b63", flattened_ast = "f3e585a825a43bcd7434e8a6ac25a02f7074799e22205c05f0e2da6bbd956bd8", destructured_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", inlined_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", dce_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", bytecode = "6a7c1505b6d57a26f767b63372873413e4ca3a4b7ff7b42f652a2841d843da64", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/add.out b/tests/expectations/compiler/integers/i64/add.out index 0fc81b60ee..9fdabd189c 100644 --- a/tests/expectations/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/integers/i64/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: 07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3 - unrolled_ast: 07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3 - ssa_ast: f1bf04488f9243523a8b99338bc9a05ff144b5760fc73f6290fa3f6e9289c094 - flattened_ast: 0ff0661c01e073406e01efdc292cc2169567f204cfbdaf3f2e582edfc7638d44 - destructured_ast: 37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b - inlined_ast: 37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b - dce_ast: 37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b - bytecode: cacab9d7bb5db2f55373c7acaab14386b1e68569b39d0ca4837e07d67d31b78e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3", unrolled_ast = "07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3", ssa_ast = "f1bf04488f9243523a8b99338bc9a05ff144b5760fc73f6290fa3f6e9289c094", flattened_ast = "0ff0661c01e073406e01efdc292cc2169567f204cfbdaf3f2e582edfc7638d44", destructured_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", inlined_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", dce_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", bytecode = "cacab9d7bb5db2f55373c7acaab14386b1e68569b39d0ca4837e07d67d31b78e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/and.out b/tests/expectations/compiler/integers/i64/and.out index 7d66ec5b0e..2bb6305eff 100644 --- a/tests/expectations/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/integers/i64/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd - unrolled_ast: d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd - ssa_ast: 9dc90bb6fbdc7a957cee70e1bae5d33d2756e817fbdc49c1eee9f723cf533575 - flattened_ast: 86fa1a2b391a710f539273132109d7a52c39e9f320a0fcbe7abccefd737720a3 - destructured_ast: 12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3 - inlined_ast: 12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3 - dce_ast: 12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3 - bytecode: 8867cc02772ac290447a78df347c850a4f5a2cf3077d76fa71c1c3ee43ba6e55 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd", unrolled_ast = "d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd", ssa_ast = "9dc90bb6fbdc7a957cee70e1bae5d33d2756e817fbdc49c1eee9f723cf533575", flattened_ast = "86fa1a2b391a710f539273132109d7a52c39e9f320a0fcbe7abccefd737720a3", destructured_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", inlined_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", dce_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", bytecode = "8867cc02772ac290447a78df347c850a4f5a2cf3077d76fa71c1c3ee43ba6e55", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/integers/i64/console_assert.out index 067edc2b6b..c07ff6b37f 100644 --- a/tests/expectations/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/integers/i64/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f - type_checked_symbol_table: 62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e - unrolled_symbol_table: 62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e - initial_ast: 857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765 - unrolled_ast: 857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765 - ssa_ast: 6ff3c42ca326c08ce02b97f7a567e1fa451a7925fd3adebc6809a225bc41f4aa - flattened_ast: 2dd8274f3cf7abfee8b126ca66d897a1635f03db559627cac1085a4c5118b209 - destructured_ast: a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925 - inlined_ast: a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925 - dce_ast: a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925 - bytecode: 84d9ec69408c0662a22522e0fde8c535c8f73af3da10f98f7b228a9c9ac2742e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e", unrolled_symbol_table = "62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e", initial_ast = "857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765", unrolled_ast = "857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765", ssa_ast = "6ff3c42ca326c08ce02b97f7a567e1fa451a7925fd3adebc6809a225bc41f4aa", flattened_ast = "2dd8274f3cf7abfee8b126ca66d897a1635f03db559627cac1085a4c5118b209", destructured_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", inlined_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", dce_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", bytecode = "84d9ec69408c0662a22522e0fde8c535c8f73af3da10f98f7b228a9c9ac2742e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/div.out b/tests/expectations/compiler/integers/i64/div.out index eec7262ed5..eb6e4042dd 100644 --- a/tests/expectations/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/integers/i64/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83 - unrolled_ast: afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83 - ssa_ast: 5878cb4dfcc88bd2608451dd0c2da16dc21babc339787e9db51fa5dbed520b4d - flattened_ast: f315413e125980569e6db4d506094096b373436476da4c1dad6ef35143b8d6b8 - destructured_ast: a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201 - inlined_ast: a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201 - dce_ast: a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201 - bytecode: 1d370b22d4ae239f0bcb12a771b471bfbbf8c43ad4b3f15b8223b6f122f29457 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83", unrolled_ast = "afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83", ssa_ast = "5878cb4dfcc88bd2608451dd0c2da16dc21babc339787e9db51fa5dbed520b4d", flattened_ast = "f315413e125980569e6db4d506094096b373436476da4c1dad6ef35143b8d6b8", destructured_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", inlined_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", dce_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", bytecode = "1d370b22d4ae239f0bcb12a771b471bfbbf8c43ad4b3f15b8223b6f122f29457", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/eq.out b/tests/expectations/compiler/integers/i64/eq.out index ee3aa74f72..4a602019f3 100644 --- a/tests/expectations/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/integers/i64/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960 - type_checked_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - unrolled_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - initial_ast: e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828 - unrolled_ast: e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828 - ssa_ast: 7ade987b7485dd6c281f1c1b99032369fbdee19fb75d18587301855c3a334b3f - flattened_ast: 7f0773c4e57b2c25554e6ea4384e8258bbf72fff915218cad09829d385e4ca85 - destructured_ast: 988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541 - inlined_ast: 988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541 - dce_ast: 988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541 - bytecode: 3b16a9ffcba2d86d0099abfc040442550dad3a04f8ba2bbdec05f93ec3c1b6ec - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828", unrolled_ast = "e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828", ssa_ast = "7ade987b7485dd6c281f1c1b99032369fbdee19fb75d18587301855c3a334b3f", flattened_ast = "7f0773c4e57b2c25554e6ea4384e8258bbf72fff915218cad09829d385e4ca85", destructured_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", inlined_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", dce_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", bytecode = "3b16a9ffcba2d86d0099abfc040442550dad3a04f8ba2bbdec05f93ec3c1b6ec", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/ge.out b/tests/expectations/compiler/integers/i64/ge.out index 15822cb82c..3ab5de6bba 100644 --- a/tests/expectations/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/integers/i64/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960 - type_checked_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - unrolled_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - initial_ast: c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc - unrolled_ast: c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc - ssa_ast: bacc54616930cc03dabcfa37cc55aa7fa94b9877271ce596199dd4b845dda433 - flattened_ast: b295ca3b902b9c8901c0b0c7b77125c4b5a53d782c35dacecb1c02c3631f929e - destructured_ast: f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c - inlined_ast: f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c - dce_ast: f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c - bytecode: ed40a103f79cba4bb4b6ca00730fb673def3a223840271519eecbc1ee845f325 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc", unrolled_ast = "c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc", ssa_ast = "bacc54616930cc03dabcfa37cc55aa7fa94b9877271ce596199dd4b845dda433", flattened_ast = "b295ca3b902b9c8901c0b0c7b77125c4b5a53d782c35dacecb1c02c3631f929e", destructured_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", inlined_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", dce_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", bytecode = "ed40a103f79cba4bb4b6ca00730fb673def3a223840271519eecbc1ee845f325", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/gt.out b/tests/expectations/compiler/integers/i64/gt.out index 4227067738..0e4d358620 100644 --- a/tests/expectations/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/integers/i64/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960 - type_checked_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - unrolled_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - initial_ast: e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6 - unrolled_ast: e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6 - ssa_ast: 41020c3290293767d84e0206146df452852bbe518109329fccb138e8664c80ee - flattened_ast: b568cf3748d1ce9ef5087c6da40f1b9467a95f06986b5faf1254f3639b28a38e - destructured_ast: 8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7 - inlined_ast: 8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7 - dce_ast: 8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7 - bytecode: 9e8596394abe6381f7e39ef612e78acc5b9fd4e2cd036a0b3f1296686182a3e5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6", unrolled_ast = "e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6", ssa_ast = "41020c3290293767d84e0206146df452852bbe518109329fccb138e8664c80ee", flattened_ast = "b568cf3748d1ce9ef5087c6da40f1b9467a95f06986b5faf1254f3639b28a38e", destructured_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", inlined_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", dce_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", bytecode = "9e8596394abe6381f7e39ef612e78acc5b9fd4e2cd036a0b3f1296686182a3e5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/hex_and_bin.out b/tests/expectations/compiler/integers/i64/hex_and_bin.out index f2e9df8d6c..235c0d497e 100644 --- a/tests/expectations/compiler/integers/i64/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i64/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d2e895a60db1d09efc2efbc085307b6c978f705bc7b83dcaaaec16237b67878e - type_checked_symbol_table: 7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607 - unrolled_symbol_table: 7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607 - initial_ast: a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e - unrolled_ast: a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e - ssa_ast: c0e2803b8c6ad33be5427dc1b78c3c6b92c770ce5836c0a4f78ae8d3e46b86eb - flattened_ast: e67049b2d3a44fb83a96aaf3c96e133fbaebd0d811626d42c820a24679c5ae69 - destructured_ast: 56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81 - inlined_ast: 56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81 - dce_ast: 56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81 - bytecode: a5e5d9c09c3ad932e4e2c7e04964675bfc54a27e86729fa99520a13c79cbdc81 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d2e895a60db1d09efc2efbc085307b6c978f705bc7b83dcaaaec16237b67878e", type_checked_symbol_table = "7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607", unrolled_symbol_table = "7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607", initial_ast = "a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e", unrolled_ast = "a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e", ssa_ast = "c0e2803b8c6ad33be5427dc1b78c3c6b92c770ce5836c0a4f78ae8d3e46b86eb", flattened_ast = "e67049b2d3a44fb83a96aaf3c96e133fbaebd0d811626d42c820a24679c5ae69", destructured_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", inlined_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", dce_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", bytecode = "a5e5d9c09c3ad932e4e2c7e04964675bfc54a27e86729fa99520a13c79cbdc81", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/le.out b/tests/expectations/compiler/integers/i64/le.out index c58019a977..2c538e0cc5 100644 --- a/tests/expectations/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/integers/i64/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960 - type_checked_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - unrolled_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - initial_ast: 6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5 - unrolled_ast: 6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5 - ssa_ast: 19d68ec27d45b3dbaa2eed5a898cf0077cab6c70971a6d07634fa46477e0d177 - flattened_ast: 5f7b0296f74c890a2e690c21df6bb4bb3efd29b4071c01448f481c2d38447c67 - destructured_ast: 16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658 - inlined_ast: 16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658 - dce_ast: 16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658 - bytecode: b1f586e188d06fec69970d2cbf367157f2046040b6b848b8b0bc3dd6b02aa095 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5", unrolled_ast = "6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5", ssa_ast = "19d68ec27d45b3dbaa2eed5a898cf0077cab6c70971a6d07634fa46477e0d177", flattened_ast = "5f7b0296f74c890a2e690c21df6bb4bb3efd29b4071c01448f481c2d38447c67", destructured_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", inlined_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", dce_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", bytecode = "b1f586e188d06fec69970d2cbf367157f2046040b6b848b8b0bc3dd6b02aa095", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/lt.out b/tests/expectations/compiler/integers/i64/lt.out index 7c5f3edd96..a0a15ada8a 100644 --- a/tests/expectations/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/integers/i64/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960 - type_checked_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - unrolled_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - initial_ast: 1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300 - unrolled_ast: 1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300 - ssa_ast: 500e8bc170e33ef86638afbc66d6c02c8aace89cb0e74feee7173d8d05b93567 - flattened_ast: 1c1db737a708829721982482d6f1fc8d965147adc31e515232418158b41107cf - destructured_ast: 284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1 - inlined_ast: 284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1 - dce_ast: 284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1 - bytecode: 146646862a181a2d9c802993b30c04190405d0ec9cf00847c755162af14ab765 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300", unrolled_ast = "1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300", ssa_ast = "500e8bc170e33ef86638afbc66d6c02c8aace89cb0e74feee7173d8d05b93567", flattened_ast = "1c1db737a708829721982482d6f1fc8d965147adc31e515232418158b41107cf", destructured_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", inlined_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", dce_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", bytecode = "146646862a181a2d9c802993b30c04190405d0ec9cf00847c755162af14ab765", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/max.out b/tests/expectations/compiler/integers/i64/max.out index 155e8885aa..3a155050d0 100644 --- a/tests/expectations/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/integers/i64/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa - type_checked_symbol_table: 6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63 - unrolled_symbol_table: 6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63 - initial_ast: 146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd - unrolled_ast: 146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd - ssa_ast: 77b1a480cc9d78c037f5787b19d9053f378e7071e06ba7dff3210826f6f9dbbf - flattened_ast: ed80cb411b105de5206e05dfc0c23453d2a6e9a934f7566acaca2319f2c5f139 - destructured_ast: 71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f - inlined_ast: 71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f - dce_ast: 71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f - bytecode: c8d4abba332861ba511e2f210502137e5aeeef23c159740de5649958515e3910 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa", type_checked_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", unrolled_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", initial_ast = "146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd", unrolled_ast = "146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd", ssa_ast = "77b1a480cc9d78c037f5787b19d9053f378e7071e06ba7dff3210826f6f9dbbf", flattened_ast = "ed80cb411b105de5206e05dfc0c23453d2a6e9a934f7566acaca2319f2c5f139", destructured_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", inlined_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", dce_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", bytecode = "c8d4abba332861ba511e2f210502137e5aeeef23c159740de5649958515e3910", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/max_fail.out b/tests/expectations/compiler/integers/i64/max_fail.out index 21b3272ce7..54c533e8df 100644 --- a/tests/expectations/compiler/integers/i64/max_fail.out +++ b/tests/expectations/compiler/integers/i64/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 9223372036854775808 is not a valid `i64`\n --> compiler-test:5:22\n |\n 5 | let a: i64 = 9223372036854775808i64;\n | ^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 9223372036854775808 is not a valid `i64` + --> compiler-test:5:22 + | + 5 | let a: i64 = 9223372036854775808i64; + | ^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index 09bce85474..ca47db6dd6 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa - type_checked_symbol_table: 6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63 - unrolled_symbol_table: 6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63 - initial_ast: d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825 - unrolled_ast: d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825 - ssa_ast: 7681c5103eb78223807bdb6c45943ceb0ccfecfd40aef3999482dcf3eb01fe7f - flattened_ast: 31b1828049b3e32978090825bee7086a83a1a4d0d9ed68abda0dfd319531ea1e - destructured_ast: 5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094 - inlined_ast: 5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094 - dce_ast: 5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094 - bytecode: ba879d9c018e4334cff11992ba1b8a0bcb0901d6efdb29a6daac15ce9bb32e2c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa", type_checked_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", unrolled_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", initial_ast = "d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825", unrolled_ast = "d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825", ssa_ast = "7681c5103eb78223807bdb6c45943ceb0ccfecfd40aef3999482dcf3eb01fe7f", flattened_ast = "31b1828049b3e32978090825bee7086a83a1a4d0d9ed68abda0dfd319531ea1e", destructured_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", inlined_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", dce_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", bytecode = "ba879d9c018e4334cff11992ba1b8a0bcb0901d6efdb29a6daac15ce9bb32e2c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index fead7deeb2..b56d771aa3 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f - type_checked_symbol_table: 7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c - unrolled_symbol_table: 7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c - initial_ast: 58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10 - unrolled_ast: 58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10 - ssa_ast: 5f946d7675287a9ff35fbe8f685d6d48a0432a9bea0103fa853444cae572e5ec - flattened_ast: 525e77adcc18de29e3d82d0a63fbb92b257cc5429d85e88911ac6aa5867bcc7a - destructured_ast: 7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836 - inlined_ast: 7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836 - dce_ast: 7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836 - bytecode: 8060d7771b9a815e84dd576354e32cd26c7bf342fb513fe3b589de4c094701b4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f", type_checked_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", unrolled_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", initial_ast = "58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10", unrolled_ast = "58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10", ssa_ast = "5f946d7675287a9ff35fbe8f685d6d48a0432a9bea0103fa853444cae572e5ec", flattened_ast = "525e77adcc18de29e3d82d0a63fbb92b257cc5429d85e88911ac6aa5867bcc7a", destructured_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", inlined_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", dce_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", bytecode = "8060d7771b9a815e84dd576354e32cd26c7bf342fb513fe3b589de4c094701b4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/mul.out b/tests/expectations/compiler/integers/i64/mul.out index 27bc0b3d59..ea4a7910ce 100644 --- a/tests/expectations/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/integers/i64/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: 6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97 - unrolled_ast: 6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97 - ssa_ast: 3e1950fcee0e6c4934579a80e523b29a67e0e726c2ba69ac69e8dd1dab345ffd - flattened_ast: c3f7c6b3931283857948799b4d11b9412953f344430577ee772b44478efdb129 - destructured_ast: fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086 - inlined_ast: fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086 - dce_ast: fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086 - bytecode: f4641ddee6184f6fc437aa0f4422f2ea01a26648f9c7bf5559a2471505ed8096 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97", unrolled_ast = "6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97", ssa_ast = "3e1950fcee0e6c4934579a80e523b29a67e0e726c2ba69ac69e8dd1dab345ffd", flattened_ast = "c3f7c6b3931283857948799b4d11b9412953f344430577ee772b44478efdb129", destructured_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", inlined_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", dce_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", bytecode = "f4641ddee6184f6fc437aa0f4422f2ea01a26648f9c7bf5559a2471505ed8096", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/ne.out b/tests/expectations/compiler/integers/i64/ne.out index e932104d35..c5fd45a094 100644 --- a/tests/expectations/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/integers/i64/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960 - type_checked_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - unrolled_symbol_table: c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8 - initial_ast: 2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f - unrolled_ast: 2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f - ssa_ast: 5f16cf626406f6ff9abaa2245ba2b770370679234ed2786182e995112c4c23c4 - flattened_ast: 4e61c5999f43222d9ec8103229bedfeb8d6cd5a959623d81f4c269d2065748f4 - destructured_ast: 83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76 - inlined_ast: 83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76 - dce_ast: 83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76 - bytecode: 56e6953042e8cf528010b3706c59f9240a38c0e4537f2bcedb790d17e0595327 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f", unrolled_ast = "2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f", ssa_ast = "5f16cf626406f6ff9abaa2245ba2b770370679234ed2786182e995112c4c23c4", flattened_ast = "4e61c5999f43222d9ec8103229bedfeb8d6cd5a959623d81f4c269d2065748f4", destructured_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", inlined_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", dce_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", bytecode = "56e6953042e8cf528010b3706c59f9240a38c0e4537f2bcedb790d17e0595327", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index d1f7344405..ca75001dfd 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f - type_checked_symbol_table: 7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634 - unrolled_symbol_table: 7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634 - initial_ast: fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc - unrolled_ast: fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc - ssa_ast: 30cbd0b7adc74624ed3575774698fefa154a0a6063f2711e7258c49d96e4139e - flattened_ast: e304f3805774bfc301269a8d7b014c8401624b7e7ddd9bc52249ab0393636584 - destructured_ast: cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4 - inlined_ast: cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4 - dce_ast: cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4 - bytecode: 4a3cad0d173991e84e84d40f5868e63fccab04b6561f1de4afef8976a90dbf17 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634", unrolled_symbol_table = "7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634", initial_ast = "fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc", unrolled_ast = "fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc", ssa_ast = "30cbd0b7adc74624ed3575774698fefa154a0a6063f2711e7258c49d96e4139e", flattened_ast = "e304f3805774bfc301269a8d7b014c8401624b7e7ddd9bc52249ab0393636584", destructured_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", inlined_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", dce_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", bytecode = "4a3cad0d173991e84e84d40f5868e63fccab04b6561f1de4afef8976a90dbf17", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index 1174b9e693..ca7103bec1 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f - type_checked_symbol_table: 7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c - unrolled_symbol_table: 7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c - initial_ast: 8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e - unrolled_ast: 8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e - ssa_ast: c8545b4e80ca47f5976d7a4acaa03be01fb97f4d9e84631a7db75375dd6fa879 - flattened_ast: 26394442d3ffb80b4b6e170055507d93e917de93bfb59a40179eba27dbd24ad0 - destructured_ast: ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0 - inlined_ast: ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0 - dce_ast: ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0 - bytecode: eb8fb8c25730005f5c6c14d190313c0bee2ae389d6295686dd1867663fc93f67 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f", type_checked_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", unrolled_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", initial_ast = "8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e", unrolled_ast = "8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e", ssa_ast = "c8545b4e80ca47f5976d7a4acaa03be01fb97f4d9e84631a7db75375dd6fa879", flattened_ast = "26394442d3ffb80b4b6e170055507d93e917de93bfb59a40179eba27dbd24ad0", destructured_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", inlined_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", dce_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", bytecode = "eb8fb8c25730005f5c6c14d190313c0bee2ae389d6295686dd1867663fc93f67", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/integers/i64/negate_zero.out index f505cfbf33..8dbe9b04c2 100644 --- a/tests/expectations/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/integers/i64/negate_zero.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf - unrolled_symbol_table: 960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf - initial_ast: 10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f - unrolled_ast: 10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f - ssa_ast: cbe6537ddbe8235a12f84d861861ee6d0efa5927bf130d42bf512fff86720eb2 - flattened_ast: cd6bf77f16a955338dc3f584ed4b7f00412f95c230a79b40d7aa18916b6506d7 - destructured_ast: d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433 - inlined_ast: d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433 - dce_ast: d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433 - bytecode: dbe5b65eae7786eb721e8e7bf810718e8482635802c2e5d5da2996d8c0c3f7f4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf", unrolled_symbol_table = "960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf", initial_ast = "10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f", unrolled_ast = "10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f", ssa_ast = "cbe6537ddbe8235a12f84d861861ee6d0efa5927bf130d42bf512fff86720eb2", flattened_ast = "cd6bf77f16a955338dc3f584ed4b7f00412f95c230a79b40d7aa18916b6506d7", destructured_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", inlined_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", dce_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", bytecode = "dbe5b65eae7786eb721e8e7bf810718e8482635802c2e5d5da2996d8c0c3f7f4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/no_space_between_literal.out b/tests/expectations/compiler/integers/i64/no_space_between_literal.out index a7f554d4a1..504129b850 100644 --- a/tests/expectations/compiler/integers/i64/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/i64/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 i64;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 i64; + | ^"""] diff --git a/tests/expectations/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/integers/i64/operator_methods.out index 2789283439..589a4eb5a1 100644 --- a/tests/expectations/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/integers/i64/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f - type_checked_symbol_table: 474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f - unrolled_symbol_table: 474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f - initial_ast: 23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2 - unrolled_ast: 23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2 - ssa_ast: 2d49a1dd99f320172906064647c2fc633c1e053f53eced88fbcf1c9c6d8a6a89 - flattened_ast: 12fca38bf8f084ab5ae2f5139e231d0971fab0f1128377fefec5807bcd10b05f - destructured_ast: e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a - inlined_ast: e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a - dce_ast: 954d0a8dab70b4ffccc417505525f405c5598ac27466ba8bd4bd95f4943179db - bytecode: 94719443d1e9713563afa7861751ae6fac8380851db816055ed46c207a613efc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f", unrolled_symbol_table = "474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f", initial_ast = "23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2", unrolled_ast = "23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2", ssa_ast = "2d49a1dd99f320172906064647c2fc633c1e053f53eced88fbcf1c9c6d8a6a89", flattened_ast = "12fca38bf8f084ab5ae2f5139e231d0971fab0f1128377fefec5807bcd10b05f", destructured_ast = "e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a", inlined_ast = "e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a", dce_ast = "954d0a8dab70b4ffccc417505525f405c5598ac27466ba8bd4bd95f4943179db", bytecode = "94719443d1e9713563afa7861751ae6fac8380851db816055ed46c207a613efc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/or.out b/tests/expectations/compiler/integers/i64/or.out index ed7e1d1abd..8b8bcd8e33 100644 --- a/tests/expectations/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/integers/i64/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: 41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f - unrolled_ast: 41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f - ssa_ast: 4c83888cfdaf8503cd0ed400951039acbdd77e3fcf973be578b7f05cbfd8945c - flattened_ast: 397e8e4299d1e459ccea9ac0f70d2899141099dffbd0cbca819c4313e3c42a8e - destructured_ast: 6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3 - inlined_ast: 6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3 - dce_ast: 6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3 - bytecode: 4bdb71dbcb23bcb6519ef3ddab06e79a70b155f8be87cc5d2b9d95221affd686 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f", unrolled_ast = "41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f", ssa_ast = "4c83888cfdaf8503cd0ed400951039acbdd77e3fcf973be578b7f05cbfd8945c", flattened_ast = "397e8e4299d1e459ccea9ac0f70d2899141099dffbd0cbca819c4313e3c42a8e", destructured_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", inlined_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", dce_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", bytecode = "4bdb71dbcb23bcb6519ef3ddab06e79a70b155f8be87cc5d2b9d95221affd686", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/pow.out b/tests/expectations/compiler/integers/i64/pow.out index 8489c6b10f..0595e30c74 100644 --- a/tests/expectations/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/integers/i64/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: 784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711 - unrolled_ast: 784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711 - ssa_ast: 880022437100caf15d2134319d59eca6c340beffbd2092db811d37cffd999d29 - flattened_ast: ad672fc7908c24e4bb351539371b65e060e86112256a7368ed425fd40555b72c - destructured_ast: 0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643 - inlined_ast: 0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643 - dce_ast: 0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643 - bytecode: ff1ba1259f2f4a90553920fc5a9391125c9d5fbc583e2a648b80dc409b62d5fc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711", unrolled_ast = "784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711", ssa_ast = "880022437100caf15d2134319d59eca6c340beffbd2092db811d37cffd999d29", flattened_ast = "ad672fc7908c24e4bb351539371b65e060e86112256a7368ed425fd40555b72c", destructured_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", inlined_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", dce_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", bytecode = "ff1ba1259f2f4a90553920fc5a9391125c9d5fbc583e2a648b80dc409b62d5fc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/rem.out b/tests/expectations/compiler/integers/i64/rem.out index e2130dc165..3ed74b5990 100644 --- a/tests/expectations/compiler/integers/i64/rem.out +++ b/tests/expectations/compiler/integers/i64/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: 2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065 - unrolled_ast: 2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065 - ssa_ast: 785bb8b7a5d9f8184b9a9e72f3b6715018b75ae80f5a09a1d038b07173d1f2eb - flattened_ast: 82a14fb1fef2eada124f7ef5aa480c23cdcfc94518eb00605ec0a9d10d8a7ce4 - destructured_ast: e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3 - inlined_ast: e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3 - dce_ast: e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3 - bytecode: 89effef213f290d8097c5e2289a9010d4379e63954959a7eeca9a25e4e5f50b8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065", unrolled_ast = "2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065", ssa_ast = "785bb8b7a5d9f8184b9a9e72f3b6715018b75ae80f5a09a1d038b07173d1f2eb", flattened_ast = "82a14fb1fef2eada124f7ef5aa480c23cdcfc94518eb00605ec0a9d10d8a7ce4", destructured_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", inlined_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", dce_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", bytecode = "89effef213f290d8097c5e2289a9010d4379e63954959a7eeca9a25e4e5f50b8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/shl.out b/tests/expectations/compiler/integers/i64/shl.out index 714317e7bd..cd8bddc4d3 100644 --- a/tests/expectations/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/integers/i64/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280 - unrolled_ast: ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280 - ssa_ast: e4ebd9f25aed80b2d217c1f0708208e9cd8a0578e01c0fce04c66b1dbbc329e3 - flattened_ast: 6fb7b3ac9af66dfcc73ed177a8b9a2065e172103bdafae046cb0d588b26e9eb6 - destructured_ast: 0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59 - inlined_ast: 0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59 - dce_ast: 0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59 - bytecode: 44b4f1e4aff3e8f3343854e8efc5146404333da549cc6e04bca927e7e1484487 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280", unrolled_ast = "ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280", ssa_ast = "e4ebd9f25aed80b2d217c1f0708208e9cd8a0578e01c0fce04c66b1dbbc329e3", flattened_ast = "6fb7b3ac9af66dfcc73ed177a8b9a2065e172103bdafae046cb0d588b26e9eb6", destructured_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", inlined_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", dce_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", bytecode = "44b4f1e4aff3e8f3343854e8efc5146404333da549cc6e04bca927e7e1484487", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/shr.out b/tests/expectations/compiler/integers/i64/shr.out index 0948b4cdb4..2077ff4b7f 100644 --- a/tests/expectations/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/integers/i64/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: 05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c - unrolled_ast: 05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c - ssa_ast: 7f180f5ff66df1a2c45db1e48496c2ead1ecd6dc2a2f1194eaa7e812e1c171d9 - flattened_ast: 731f19d2d45194412a05595dd3cd9febe235a8ee4b16def919e92910b82c787b - destructured_ast: 1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092 - inlined_ast: 1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092 - dce_ast: 1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092 - bytecode: 2768046fc5a9e4812b3b19a67908baca08c0e3d5141323dabb57cff84e659d62 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c", unrolled_ast = "05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c", ssa_ast = "7f180f5ff66df1a2c45db1e48496c2ead1ecd6dc2a2f1194eaa7e812e1c171d9", flattened_ast = "731f19d2d45194412a05595dd3cd9febe235a8ee4b16def919e92910b82c787b", destructured_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", inlined_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", dce_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", bytecode = "2768046fc5a9e4812b3b19a67908baca08c0e3d5141323dabb57cff84e659d62", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/sub.out b/tests/expectations/compiler/integers/i64/sub.out index 08d79d4701..ae1208cf71 100644 --- a/tests/expectations/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/integers/i64/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83 - type_checked_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - unrolled_symbol_table: 23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658 - initial_ast: 62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33 - unrolled_ast: 62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33 - ssa_ast: 5a4d113f22deda4de39ae41cbb166a827713a97205a4f51edff749351ccf6c38 - flattened_ast: 6d70115e9ce84d40da5e7c61833a1f465b38d2f2caf111a37bcf5bc7e047cd06 - destructured_ast: 71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4 - inlined_ast: 71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4 - dce_ast: 71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4 - bytecode: 3394c4bead78f2ab177206a71d03d27cc9e584d5eb7aa587e7a9101911c1e76d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33", unrolled_ast = "62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33", ssa_ast = "5a4d113f22deda4de39ae41cbb166a827713a97205a4f51edff749351ccf6c38", flattened_ast = "6d70115e9ce84d40da5e7c61833a1f465b38d2f2caf111a37bcf5bc7e047cd06", destructured_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", inlined_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", dce_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", bytecode = "3394c4bead78f2ab177206a71d03d27cc9e584d5eb7aa587e7a9101911c1e76d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/ternary.out b/tests/expectations/compiler/integers/i64/ternary.out index e1fb5f35f1..3116323045 100644 --- a/tests/expectations/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/integers/i64/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 584515fa03ae6fc9acb4dea21bd8ce5ea93b9b9cee728a750da4006094ec3fca - type_checked_symbol_table: cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442 - unrolled_symbol_table: cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442 - initial_ast: ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923 - unrolled_ast: ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923 - ssa_ast: fda31e3159f64c736e377ad7ff9d1b2087da28ed2581a828c2947535ae1c5b1c - flattened_ast: 44135e6f03431601d258a755145673aee4f7b368e4d93b9eb84a253f5957eb39 - destructured_ast: a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150 - inlined_ast: a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150 - dce_ast: a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150 - bytecode: 4a10ca6f583fa9516bfbdad6094fdaadefd4d6069c0f87f13cc0e3fc1d36029e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "584515fa03ae6fc9acb4dea21bd8ce5ea93b9b9cee728a750da4006094ec3fca", type_checked_symbol_table = "cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442", unrolled_symbol_table = "cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442", initial_ast = "ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923", unrolled_ast = "ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923", ssa_ast = "fda31e3159f64c736e377ad7ff9d1b2087da28ed2581a828c2947535ae1c5b1c", flattened_ast = "44135e6f03431601d258a755145673aee4f7b368e4d93b9eb84a253f5957eb39", destructured_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", inlined_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", dce_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", bytecode = "4a10ca6f583fa9516bfbdad6094fdaadefd4d6069c0f87f13cc0e3fc1d36029e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/xor.out b/tests/expectations/compiler/integers/i64/xor.out index 34535a63ad..f998989c73 100644 --- a/tests/expectations/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/integers/i64/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 10e758b3ebd50ada2efbeff5bee317b26c77e5654cbd8486181b4531e96d157e - type_checked_symbol_table: 044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68 - unrolled_symbol_table: 044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68 - initial_ast: 926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39 - unrolled_ast: 926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39 - ssa_ast: 8063c5f66ec1aefb70ded54c596b9e0212505b37cd95dca69bd3f95e01bafe03 - flattened_ast: 8ac8657ca047fe26e28c1a9a9a2250bd810a3a93a1429543cb08ba0899eccc0f - destructured_ast: 9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586 - inlined_ast: 9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586 - dce_ast: 9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586 - bytecode: 202aa93c8b415346f4cc8b49533c89cf2004fb273e78581f033c75ea57dad512 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "10e758b3ebd50ada2efbeff5bee317b26c77e5654cbd8486181b4531e96d157e", type_checked_symbol_table = "044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68", unrolled_symbol_table = "044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68", initial_ast = "926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39", unrolled_ast = "926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39", ssa_ast = "8063c5f66ec1aefb70ded54c596b9e0212505b37cd95dca69bd3f95e01bafe03", flattened_ast = "8ac8657ca047fe26e28c1a9a9a2250bd810a3a93a1429543cb08ba0899eccc0f", destructured_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", inlined_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", dce_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", bytecode = "202aa93c8b415346f4cc8b49533c89cf2004fb273e78581f033c75ea57dad512", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/add.out b/tests/expectations/compiler/integers/i8/add.out index fe5c23678b..683f08af84 100644 --- a/tests/expectations/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/integers/i8/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: 6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a - unrolled_ast: 6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a - ssa_ast: df8026602cbb445165612ab879fde2336f6fee02d512f1d0c77c5529fced4aba - flattened_ast: 22e54eb89e368862bf939f78cd6b2053d5742ce92c3a4d1a51bad06a28611014 - destructured_ast: b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8 - inlined_ast: b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8 - dce_ast: b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8 - bytecode: b55a8d40426fb145352765c99ed1875c872f2a6a0aeaa46f5734c543b5cc17a0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a", unrolled_ast = "6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a", ssa_ast = "df8026602cbb445165612ab879fde2336f6fee02d512f1d0c77c5529fced4aba", flattened_ast = "22e54eb89e368862bf939f78cd6b2053d5742ce92c3a4d1a51bad06a28611014", destructured_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", inlined_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", dce_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", bytecode = "b55a8d40426fb145352765c99ed1875c872f2a6a0aeaa46f5734c543b5cc17a0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/and.out b/tests/expectations/compiler/integers/i8/and.out index b67eb52d1d..2a5bf4ab9d 100644 --- a/tests/expectations/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/integers/i8/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6 - unrolled_ast: cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6 - ssa_ast: 37cc955e96b4cf037ff94ff63a25e4921d366a4ed7e275dfec8ca3ae51e8adae - flattened_ast: f2f09410b66cac815a24b2503700a952769f52d1a5b289334050a6085d5eb894 - destructured_ast: 3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491 - inlined_ast: 3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491 - dce_ast: 3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491 - bytecode: 6696abc2bfb9eeab6ab4255dad93e1c66316b93bf19136e37fdefb22a09b50c9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6", unrolled_ast = "cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6", ssa_ast = "37cc955e96b4cf037ff94ff63a25e4921d366a4ed7e275dfec8ca3ae51e8adae", flattened_ast = "f2f09410b66cac815a24b2503700a952769f52d1a5b289334050a6085d5eb894", destructured_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", inlined_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", dce_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", bytecode = "6696abc2bfb9eeab6ab4255dad93e1c66316b93bf19136e37fdefb22a09b50c9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/integers/i8/console_assert.out index 7828e9bcc0..1e607ae81d 100644 --- a/tests/expectations/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/integers/i8/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55 - type_checked_symbol_table: 72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0 - unrolled_symbol_table: 72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0 - initial_ast: 2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3 - unrolled_ast: 2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3 - ssa_ast: 3040aafd7382a5cef83c471d33124d3356edd44930401a4627f7ef69082a1ac9 - flattened_ast: 8f9b19e351342a2156d45e1cd5c29b44a8f1f4a17c2b8121bbc6e82059ed7bfc - destructured_ast: ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528 - inlined_ast: ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528 - dce_ast: ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528 - bytecode: abe50f2f70110c2d0e6728636967d2e3ef06c1bdad64c39cf82f7402a924f769 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0", unrolled_symbol_table = "72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0", initial_ast = "2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3", unrolled_ast = "2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3", ssa_ast = "3040aafd7382a5cef83c471d33124d3356edd44930401a4627f7ef69082a1ac9", flattened_ast = "8f9b19e351342a2156d45e1cd5c29b44a8f1f4a17c2b8121bbc6e82059ed7bfc", destructured_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", inlined_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", dce_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", bytecode = "abe50f2f70110c2d0e6728636967d2e3ef06c1bdad64c39cf82f7402a924f769", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/div.out b/tests/expectations/compiler/integers/i8/div.out index 8113b851c8..e9f4c29056 100644 --- a/tests/expectations/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/integers/i8/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a - unrolled_ast: e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a - ssa_ast: 546b56ed336b74c595fbaad228f684b5cba9104e727d807cd2f07552a0804c68 - flattened_ast: 10de4abc15f893686734c8692a9151e812b3ad582de2db55873ec80228f2176b - destructured_ast: 91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a - inlined_ast: 91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a - dce_ast: 91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a - bytecode: a748bd3dea41e7274e04929fa60b4e6e1a93c07f229afe99bf12c5fc29162f68 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a", unrolled_ast = "e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a", ssa_ast = "546b56ed336b74c595fbaad228f684b5cba9104e727d807cd2f07552a0804c68", flattened_ast = "10de4abc15f893686734c8692a9151e812b3ad582de2db55873ec80228f2176b", destructured_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", inlined_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", dce_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", bytecode = "a748bd3dea41e7274e04929fa60b4e6e1a93c07f229afe99bf12c5fc29162f68", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/eq.out b/tests/expectations/compiler/integers/i8/eq.out index 445ff61339..b22e07c100 100644 --- a/tests/expectations/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/integers/i8/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63 - type_checked_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - unrolled_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - initial_ast: 5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421 - unrolled_ast: 5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421 - ssa_ast: 88df51a824efa41f3441f5a60884b555a4c65061a734585194e0b0d98df439dd - flattened_ast: 41c2c364fc98b8cad593fb1811e54c4ad8e969dbbdf17f298e2155e468c559a9 - destructured_ast: a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0 - inlined_ast: a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0 - dce_ast: a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0 - bytecode: a78d778b5d4c7ab76e80a1c944c5060214f0e474a0892dca998044ec07f736f9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421", unrolled_ast = "5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421", ssa_ast = "88df51a824efa41f3441f5a60884b555a4c65061a734585194e0b0d98df439dd", flattened_ast = "41c2c364fc98b8cad593fb1811e54c4ad8e969dbbdf17f298e2155e468c559a9", destructured_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", inlined_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", dce_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", bytecode = "a78d778b5d4c7ab76e80a1c944c5060214f0e474a0892dca998044ec07f736f9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/ge.out b/tests/expectations/compiler/integers/i8/ge.out index aa6155d63b..4d9eb07d5f 100644 --- a/tests/expectations/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/integers/i8/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63 - type_checked_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - unrolled_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - initial_ast: e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26 - unrolled_ast: e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26 - ssa_ast: 1c8b633c0ecffe5af9d1a1c2a72fa523a77a235b8068b680c54087995863b3af - flattened_ast: 117322d3c36ccb88f418847a5cc7e94bc7a4ca5141cf9936149061177639d79f - destructured_ast: 2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e - inlined_ast: 2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e - dce_ast: 2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e - bytecode: 94572b27b48d4abfd620aa9e9b2826915ffa548e81e7163562a598777c174b9d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26", unrolled_ast = "e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26", ssa_ast = "1c8b633c0ecffe5af9d1a1c2a72fa523a77a235b8068b680c54087995863b3af", flattened_ast = "117322d3c36ccb88f418847a5cc7e94bc7a4ca5141cf9936149061177639d79f", destructured_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", inlined_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", dce_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", bytecode = "94572b27b48d4abfd620aa9e9b2826915ffa548e81e7163562a598777c174b9d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/gt.out b/tests/expectations/compiler/integers/i8/gt.out index 95e07b50b9..6b77c6a97b 100644 --- a/tests/expectations/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/integers/i8/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63 - type_checked_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - unrolled_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - initial_ast: b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e - unrolled_ast: b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e - ssa_ast: 786646fd5c008b87a6735cf6354be975079727307d7e9ef0a1f6d411ae86dd01 - flattened_ast: 7424c5c9aeeb419ed1c2a6eeffcafd70bbe44856d0a379e66d09ca2f3772d058 - destructured_ast: 895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d - inlined_ast: 895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d - dce_ast: 895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d - bytecode: 12088489a333361c2ba46423958eb72cf877d9db1e0acc0520b13b02a6d0467e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e", unrolled_ast = "b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e", ssa_ast = "786646fd5c008b87a6735cf6354be975079727307d7e9ef0a1f6d411ae86dd01", flattened_ast = "7424c5c9aeeb419ed1c2a6eeffcafd70bbe44856d0a379e66d09ca2f3772d058", destructured_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", inlined_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", dce_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", bytecode = "12088489a333361c2ba46423958eb72cf877d9db1e0acc0520b13b02a6d0467e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/hex_and_bin.out b/tests/expectations/compiler/integers/i8/hex_and_bin.out index cf89ec77b3..40fc0e0a9a 100644 --- a/tests/expectations/compiler/integers/i8/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i8/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 353cdbed822b512ef65bfb0724f108688f363f7e2a7c8ea3719bd71c4975aa48 - type_checked_symbol_table: dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597 - unrolled_symbol_table: dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597 - initial_ast: 5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd - unrolled_ast: 5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd - ssa_ast: 3ab6fca47f539d5a00a8b4228c98a4d1dcbc2a568ba673d26d619cf1746607aa - flattened_ast: dbc980ee51c6a3b45d97a4b732f7c8b4c28655b83955417b2160fd3f8875c2c9 - destructured_ast: 10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3 - inlined_ast: 10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3 - dce_ast: 10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3 - bytecode: 576d91d751607b6f8045f511d39072799e174dd899e9962b1dadc94843836620 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "353cdbed822b512ef65bfb0724f108688f363f7e2a7c8ea3719bd71c4975aa48", type_checked_symbol_table = "dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597", unrolled_symbol_table = "dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597", initial_ast = "5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd", unrolled_ast = "5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd", ssa_ast = "3ab6fca47f539d5a00a8b4228c98a4d1dcbc2a568ba673d26d619cf1746607aa", flattened_ast = "dbc980ee51c6a3b45d97a4b732f7c8b4c28655b83955417b2160fd3f8875c2c9", destructured_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", inlined_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", dce_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", bytecode = "576d91d751607b6f8045f511d39072799e174dd899e9962b1dadc94843836620", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/le.out b/tests/expectations/compiler/integers/i8/le.out index 0c860b939c..acf534e93c 100644 --- a/tests/expectations/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/integers/i8/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63 - type_checked_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - unrolled_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - initial_ast: 0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e - unrolled_ast: 0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e - ssa_ast: 78fe8e9dd365b2f9f9cf4dd64b020a9a45179054f9a8d6af65b6d1ca887b269f - flattened_ast: 23a6679cd4c5944af49076bea9614344a60d0fae3ec70e4025be62a61f1de4ff - destructured_ast: 6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac - inlined_ast: 6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac - dce_ast: 6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac - bytecode: 13ee1135be90a2ac630bba0dddd170b24bdf375295c4d3e21ddb511d388f9c31 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e", unrolled_ast = "0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e", ssa_ast = "78fe8e9dd365b2f9f9cf4dd64b020a9a45179054f9a8d6af65b6d1ca887b269f", flattened_ast = "23a6679cd4c5944af49076bea9614344a60d0fae3ec70e4025be62a61f1de4ff", destructured_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", inlined_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", dce_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", bytecode = "13ee1135be90a2ac630bba0dddd170b24bdf375295c4d3e21ddb511d388f9c31", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/lt.out b/tests/expectations/compiler/integers/i8/lt.out index f87d1fa4cd..bc42293a0f 100644 --- a/tests/expectations/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/integers/i8/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63 - type_checked_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - unrolled_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - initial_ast: 1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c - unrolled_ast: 1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c - ssa_ast: cc78951f929dbe123f88df4269f4049cf49419496328805b7f3cccacbeebd406 - flattened_ast: 863a0585973d5e6536cb97dd3b11e8662b11318e148115ab9483eb088ee11cda - destructured_ast: df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134 - inlined_ast: df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134 - dce_ast: df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134 - bytecode: 603e5cdb76df60951144b9bf25a52c5707dd4286906cae46fccc43f3b87292e2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c", unrolled_ast = "1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c", ssa_ast = "cc78951f929dbe123f88df4269f4049cf49419496328805b7f3cccacbeebd406", flattened_ast = "863a0585973d5e6536cb97dd3b11e8662b11318e148115ab9483eb088ee11cda", destructured_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", inlined_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", dce_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", bytecode = "603e5cdb76df60951144b9bf25a52c5707dd4286906cae46fccc43f3b87292e2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/max.out b/tests/expectations/compiler/integers/i8/max.out index 45625f3354..3e44676afa 100644 --- a/tests/expectations/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/integers/i8/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6 - type_checked_symbol_table: 75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf - unrolled_symbol_table: 75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf - initial_ast: 563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4 - unrolled_ast: 563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4 - ssa_ast: 3ff75da0b8ee9c02c92cf0cb031ffac194eb35eedbb54f3cbff51812e646f491 - flattened_ast: d2afdef5a4fb9501c6d7ec053c1c778630fc01b6c80d1c07fa9b5274e00d5f70 - destructured_ast: e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca - inlined_ast: e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca - dce_ast: e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca - bytecode: 3c067ad506fc41e4e9e7db063d5364cb4b48df235e552f3cae7d5de2cbb781e0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6", type_checked_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", unrolled_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", initial_ast = "563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4", unrolled_ast = "563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4", ssa_ast = "3ff75da0b8ee9c02c92cf0cb031ffac194eb35eedbb54f3cbff51812e646f491", flattened_ast = "d2afdef5a4fb9501c6d7ec053c1c778630fc01b6c80d1c07fa9b5274e00d5f70", destructured_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", inlined_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", dce_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", bytecode = "3c067ad506fc41e4e9e7db063d5364cb4b48df235e552f3cae7d5de2cbb781e0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/max_fail.out b/tests/expectations/compiler/integers/i8/max_fail.out index c484603789..95716bfdf6 100644 --- a/tests/expectations/compiler/integers/i8/max_fail.out +++ b/tests/expectations/compiler/integers/i8/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 128 is not a valid `i8`\n --> compiler-test:5:21\n |\n 5 | let a: i8 = 128i8;\n | ^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 128 is not a valid `i8` + --> compiler-test:5:21 + | + 5 | let a: i8 = 128i8; + | ^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index 4f2a68a86f..01bdfb20b4 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6 - type_checked_symbol_table: 75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf - unrolled_symbol_table: 75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf - initial_ast: 76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c - unrolled_ast: 76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c - ssa_ast: 0eaf70d9182c1dbbb9bb32ad8c8e8dc0b26cfe517c062031443d305fd87b3d19 - flattened_ast: 4c0f9e4df2f63f3ce1780031a900b77647269a66e25518fb35ba8a51116b9506 - destructured_ast: 8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7 - inlined_ast: 8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7 - dce_ast: 8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7 - bytecode: 55a111c89ca19d386df2b23007d709d5c8787909e9e1160c29499b3f7a01dcf5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6", type_checked_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", unrolled_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", initial_ast = "76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c", unrolled_ast = "76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c", ssa_ast = "0eaf70d9182c1dbbb9bb32ad8c8e8dc0b26cfe517c062031443d305fd87b3d19", flattened_ast = "4c0f9e4df2f63f3ce1780031a900b77647269a66e25518fb35ba8a51116b9506", destructured_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", inlined_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", dce_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", bytecode = "55a111c89ca19d386df2b23007d709d5c8787909e9e1160c29499b3f7a01dcf5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index ba433c4d1f..22fbed16ce 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2 - type_checked_symbol_table: f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195 - unrolled_symbol_table: f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195 - initial_ast: a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f - unrolled_ast: a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f - ssa_ast: b9ead55cf4489b7204556612449ef5c720e38caa15132273a38e19d5f753920f - flattened_ast: f3ba6b843d5fb71c44ce4a13f1159e41ae420493f93e2b4d71eed92d4106717d - destructured_ast: 95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd - inlined_ast: 95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd - dce_ast: 95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd - bytecode: 2181efe703d35367134a1f8a3601cc57254af6fff5313d65f4b442e1bb24ca38 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2", type_checked_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", unrolled_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", initial_ast = "a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f", unrolled_ast = "a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f", ssa_ast = "b9ead55cf4489b7204556612449ef5c720e38caa15132273a38e19d5f753920f", flattened_ast = "f3ba6b843d5fb71c44ce4a13f1159e41ae420493f93e2b4d71eed92d4106717d", destructured_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", inlined_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", dce_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", bytecode = "2181efe703d35367134a1f8a3601cc57254af6fff5313d65f4b442e1bb24ca38", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/mul.out b/tests/expectations/compiler/integers/i8/mul.out index 33c1e261b6..23d32a29c8 100644 --- a/tests/expectations/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/integers/i8/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: 56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d - unrolled_ast: 56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d - ssa_ast: 6987b36066f53fcba20109d287e6ca22d127015764e893684e013e5af8df1c76 - flattened_ast: 437026d837a6f7b5c9985f1689f7061f0c10b828f8d43429b63cd00bdffc2e43 - destructured_ast: d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec - inlined_ast: d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec - dce_ast: d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec - bytecode: 4d7f4174af8a36e85cdb61b3aea8ff9d5d2fff98c50e002f82e4e37cec9beab8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d", unrolled_ast = "56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d", ssa_ast = "6987b36066f53fcba20109d287e6ca22d127015764e893684e013e5af8df1c76", flattened_ast = "437026d837a6f7b5c9985f1689f7061f0c10b828f8d43429b63cd00bdffc2e43", destructured_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", inlined_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", dce_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", bytecode = "4d7f4174af8a36e85cdb61b3aea8ff9d5d2fff98c50e002f82e4e37cec9beab8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/ne.out b/tests/expectations/compiler/integers/i8/ne.out index e19aa608e6..043f16c3e1 100644 --- a/tests/expectations/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/integers/i8/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63 - type_checked_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - unrolled_symbol_table: 42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df - initial_ast: 3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb - unrolled_ast: 3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb - ssa_ast: e700f12a79171f2bcb8793956bca320380fc683e00dea81efcb4beda60179268 - flattened_ast: 4d7b441aeba9fe22835ff5af503e598f11ab68ad1075b943ac100f5cba4bd56c - destructured_ast: 86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824 - inlined_ast: 86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824 - dce_ast: 86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824 - bytecode: d7dd8a73bf281baa5edbf7c488b9752d703a092ec1840c0e35d830a7c6f9c007 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb", unrolled_ast = "3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb", ssa_ast = "e700f12a79171f2bcb8793956bca320380fc683e00dea81efcb4beda60179268", flattened_ast = "4d7b441aeba9fe22835ff5af503e598f11ab68ad1075b943ac100f5cba4bd56c", destructured_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", inlined_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", dce_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", bytecode = "d7dd8a73bf281baa5edbf7c488b9752d703a092ec1840c0e35d830a7c6f9c007", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index 9e9fdd5093..9f7ee0a9a1 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55 - type_checked_symbol_table: 62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396 - unrolled_symbol_table: 62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396 - initial_ast: a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3 - unrolled_ast: a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3 - ssa_ast: b5be28daddc15f1c0e60b97f004ff809074f5b6943501984f3a0a577e5b6fa83 - flattened_ast: 58f2aa6a514785791e5d7e33afe38db9ecb042bed562056e036f2f3bd35ed2bf - destructured_ast: f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb - inlined_ast: f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb - dce_ast: f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb - bytecode: 68da5691d330a6bcaa3f223f7a2140e1c01993fe61750a646efe6241bccb88c9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396", unrolled_symbol_table = "62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396", initial_ast = "a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3", unrolled_ast = "a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3", ssa_ast = "b5be28daddc15f1c0e60b97f004ff809074f5b6943501984f3a0a577e5b6fa83", flattened_ast = "58f2aa6a514785791e5d7e33afe38db9ecb042bed562056e036f2f3bd35ed2bf", destructured_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", inlined_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", dce_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", bytecode = "68da5691d330a6bcaa3f223f7a2140e1c01993fe61750a646efe6241bccb88c9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index 49f66f2752..e5a7571e27 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2 - type_checked_symbol_table: f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195 - unrolled_symbol_table: f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195 - initial_ast: 00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a - unrolled_ast: 00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a - ssa_ast: 288c9453a9eb1eee2c680b542b14313feb14ec4dd7cf361972f2a692e3b24f6b - flattened_ast: 6b69d8700688b186665b013ec5d7cfa501a128109e656b69b3ca5b1cabf0d491 - destructured_ast: 33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9 - inlined_ast: 33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9 - dce_ast: 33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9 - bytecode: a4ebf23c558ad51c1a52d068bb7ac0b76d19edf6545cb32d068ab3206f87bef4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2", type_checked_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", unrolled_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", initial_ast = "00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a", unrolled_ast = "00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a", ssa_ast = "288c9453a9eb1eee2c680b542b14313feb14ec4dd7cf361972f2a692e3b24f6b", flattened_ast = "6b69d8700688b186665b013ec5d7cfa501a128109e656b69b3ca5b1cabf0d491", destructured_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", inlined_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", dce_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", bytecode = "a4ebf23c558ad51c1a52d068bb7ac0b76d19edf6545cb32d068ab3206f87bef4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/integers/i8/negate_zero.out index 3caa728a0a..8ee633914d 100644 --- a/tests/expectations/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/integers/i8/negate_zero.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e - unrolled_symbol_table: 08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e - initial_ast: 619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30 - unrolled_ast: 619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30 - ssa_ast: 16d4ca4ec665aae3f760a6bee5e4006dffda86663d629d26f3d3cdba3cad278e - flattened_ast: 3f9c99370ee72bc75321f99c963cb84bcd7adcaa37d416dffad45771c020f948 - destructured_ast: 0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1 - inlined_ast: 0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1 - dce_ast: 0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1 - bytecode: d93c33f2a15e75c32e9a604904fecc39f063d4a2a3463240b68a401105a55053 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e", unrolled_symbol_table = "08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e", initial_ast = "619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30", unrolled_ast = "619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30", ssa_ast = "16d4ca4ec665aae3f760a6bee5e4006dffda86663d629d26f3d3cdba3cad278e", flattened_ast = "3f9c99370ee72bc75321f99c963cb84bcd7adcaa37d416dffad45771c020f948", destructured_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", inlined_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", dce_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", bytecode = "d93c33f2a15e75c32e9a604904fecc39f063d4a2a3463240b68a401105a55053", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/no_space_between_literal.out b/tests/expectations/compiler/integers/i8/no_space_between_literal.out index 67cfd1457c..7e0cbc3fdc 100644 --- a/tests/expectations/compiler/integers/i8/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/i8/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 i8;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 i8; + | ^"""] diff --git a/tests/expectations/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/integers/i8/operator_methods.out index bacf8c467e..a187758104 100644 --- a/tests/expectations/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/integers/i8/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55 - type_checked_symbol_table: 72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018 - unrolled_symbol_table: 72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018 - initial_ast: 40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390 - unrolled_ast: 40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390 - ssa_ast: 501e9b241e2fffeccf8ca30ce6f9a376b8e44963bd0c6bbf658487bf37dc305e - flattened_ast: 0b29c696a2066c5e0c8a5c7d997308831316e0ebf392f546c83238c3257f5999 - destructured_ast: b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681 - inlined_ast: b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681 - dce_ast: ff0ea7839ec47f3d48d7c506cb94a84c723edf417faa9d4a3ed4042f5cf91319 - bytecode: faddd6204de19b830842ea34e1f218276b8e8914ecd7fdbfd4143b0f08d305c1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018", unrolled_symbol_table = "72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018", initial_ast = "40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390", unrolled_ast = "40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390", ssa_ast = "501e9b241e2fffeccf8ca30ce6f9a376b8e44963bd0c6bbf658487bf37dc305e", flattened_ast = "0b29c696a2066c5e0c8a5c7d997308831316e0ebf392f546c83238c3257f5999", destructured_ast = "b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681", inlined_ast = "b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681", dce_ast = "ff0ea7839ec47f3d48d7c506cb94a84c723edf417faa9d4a3ed4042f5cf91319", bytecode = "faddd6204de19b830842ea34e1f218276b8e8914ecd7fdbfd4143b0f08d305c1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/or.out b/tests/expectations/compiler/integers/i8/or.out index 426dbd6ffe..2eb31d8129 100644 --- a/tests/expectations/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/integers/i8/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: 28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f - unrolled_ast: 28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f - ssa_ast: 8924faa4c6649e328ca68e6c24c6a2d0eb6e83bbdcc01a95889e2fa950a06bc9 - flattened_ast: 42b538284a04f9e3dda825f4f1b82efc76be9dbdc056d6298ba387d921707b59 - destructured_ast: ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09 - inlined_ast: ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09 - dce_ast: ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09 - bytecode: 4ea2659376ff2503f5dbf9e6bda9c9f13fb84dec3182bb626646806f874e00eb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f", unrolled_ast = "28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f", ssa_ast = "8924faa4c6649e328ca68e6c24c6a2d0eb6e83bbdcc01a95889e2fa950a06bc9", flattened_ast = "42b538284a04f9e3dda825f4f1b82efc76be9dbdc056d6298ba387d921707b59", destructured_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", inlined_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", dce_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", bytecode = "4ea2659376ff2503f5dbf9e6bda9c9f13fb84dec3182bb626646806f874e00eb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/pow.out b/tests/expectations/compiler/integers/i8/pow.out index 64fa1fc53e..49610037db 100644 --- a/tests/expectations/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/integers/i8/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: 3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3 - unrolled_ast: 3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3 - ssa_ast: 0cb09af29a30b87d9e67f875a36774c7765284c78ca4b7ba7c1b185b0498a09f - flattened_ast: 3249c8482d4341537f945d5deb9c4c634f547a674698d9324e5dd463b247e800 - destructured_ast: be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627 - inlined_ast: be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627 - dce_ast: be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627 - bytecode: edd5ec13303284be804f592351207aa0ac4c7c6e0c0b7f9a6377f8b75e0d377e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3", unrolled_ast = "3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3", ssa_ast = "0cb09af29a30b87d9e67f875a36774c7765284c78ca4b7ba7c1b185b0498a09f", flattened_ast = "3249c8482d4341537f945d5deb9c4c634f547a674698d9324e5dd463b247e800", destructured_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", inlined_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", dce_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", bytecode = "edd5ec13303284be804f592351207aa0ac4c7c6e0c0b7f9a6377f8b75e0d377e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/rem.out b/tests/expectations/compiler/integers/i8/rem.out index d45e9b5a74..14f2abb8f2 100644 --- a/tests/expectations/compiler/integers/i8/rem.out +++ b/tests/expectations/compiler/integers/i8/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: 790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2 - unrolled_ast: 790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2 - ssa_ast: dd475da4f4a9868997deecfff1f33e84b7b506daf53082f1ddeb1bd75f0a0292 - flattened_ast: 89cf57a9df4ab5915df5b09abd02b753e8913789774c086a6ab5b75e98b15bf7 - destructured_ast: 3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97 - inlined_ast: 3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97 - dce_ast: 3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97 - bytecode: 34eda0edb2d4048d2b3e2ea19e929f063903b4ca94d90f8a0e1525a0bb2d0134 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2", unrolled_ast = "790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2", ssa_ast = "dd475da4f4a9868997deecfff1f33e84b7b506daf53082f1ddeb1bd75f0a0292", flattened_ast = "89cf57a9df4ab5915df5b09abd02b753e8913789774c086a6ab5b75e98b15bf7", destructured_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", inlined_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", dce_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", bytecode = "34eda0edb2d4048d2b3e2ea19e929f063903b4ca94d90f8a0e1525a0bb2d0134", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/shl.out b/tests/expectations/compiler/integers/i8/shl.out index 367dcfd426..8de03697f9 100644 --- a/tests/expectations/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/integers/i8/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: 8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef - unrolled_ast: 8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef - ssa_ast: 21ac6159d8833d72c0d63f28b69ccee7f79a8582a2848421556bced3d7469840 - flattened_ast: e8f1bc558ef6d8a9aa3f80c4d987d68d8bbddbf2c5f568ad1bf1b50064ddea60 - destructured_ast: 9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc - inlined_ast: 9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc - dce_ast: 9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc - bytecode: 307c17323af8fd5de808a828e634ce97419a0ba67815102016fab6c883b7e052 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef", unrolled_ast = "8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef", ssa_ast = "21ac6159d8833d72c0d63f28b69ccee7f79a8582a2848421556bced3d7469840", flattened_ast = "e8f1bc558ef6d8a9aa3f80c4d987d68d8bbddbf2c5f568ad1bf1b50064ddea60", destructured_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", inlined_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", dce_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", bytecode = "307c17323af8fd5de808a828e634ce97419a0ba67815102016fab6c883b7e052", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/shr.out b/tests/expectations/compiler/integers/i8/shr.out index f977006045..ea3b7942e1 100644 --- a/tests/expectations/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/integers/i8/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f - unrolled_ast: e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f - ssa_ast: 6b6996026d9181a251b760b1722e354dfe40e7971e755e5adb55dbdda7886275 - flattened_ast: 28980dc5e410e1168b08e6cd221d5fdf9c569d0fc1dac5bb1433fab76155862f - destructured_ast: af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd - inlined_ast: af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd - dce_ast: af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd - bytecode: e0110365aec2e78cbf8f7accb85b8c7e36d2c606cdd6a4cafd02a2b4dc7dfe38 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f", unrolled_ast = "e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f", ssa_ast = "6b6996026d9181a251b760b1722e354dfe40e7971e755e5adb55dbdda7886275", flattened_ast = "28980dc5e410e1168b08e6cd221d5fdf9c569d0fc1dac5bb1433fab76155862f", destructured_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", inlined_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", dce_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", bytecode = "e0110365aec2e78cbf8f7accb85b8c7e36d2c606cdd6a4cafd02a2b4dc7dfe38", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/sub.out b/tests/expectations/compiler/integers/i8/sub.out index f9e48635a9..6c83f4bfb4 100644 --- a/tests/expectations/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/integers/i8/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa - type_checked_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - unrolled_symbol_table: cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674 - initial_ast: 7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9 - unrolled_ast: 7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9 - ssa_ast: 6a6a6e42c99d148a2752ad5c6f99f49b84e419423e890151c3123b3fcef0d934 - flattened_ast: ad984f66575dfb99ca5859ac1eff1ab0dcb3bd619e01bb8a231a81d5c16ab566 - destructured_ast: 18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6 - inlined_ast: 18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6 - dce_ast: 18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6 - bytecode: 6638d0f711e011432b8371bf648e0903f22612d062139a650ebe4d75783a8393 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9", unrolled_ast = "7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9", ssa_ast = "6a6a6e42c99d148a2752ad5c6f99f49b84e419423e890151c3123b3fcef0d934", flattened_ast = "ad984f66575dfb99ca5859ac1eff1ab0dcb3bd619e01bb8a231a81d5c16ab566", destructured_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", inlined_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", dce_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", bytecode = "6638d0f711e011432b8371bf648e0903f22612d062139a650ebe4d75783a8393", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/ternary.out b/tests/expectations/compiler/integers/i8/ternary.out index 994fdd3dea..9812230639 100644 --- a/tests/expectations/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/integers/i8/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 634b2768785c05c66dcda182dfd1c64b4b3861966cad3e6e666f7b1cf40fe35a - type_checked_symbol_table: 0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47 - unrolled_symbol_table: 0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47 - initial_ast: 60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7 - unrolled_ast: 60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7 - ssa_ast: 94c44fed7fd02dac3273323118e03cf914016612d833bd095e134c34c26d1dd1 - flattened_ast: 059479635a590362fd8bdef355165b9996190c2ad13bb986befe8302fd392bb8 - destructured_ast: d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b - inlined_ast: d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b - dce_ast: d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b - bytecode: 61eac30d1e0b3a4fa0357855b11e228b012203b9cd2f814c0faa660a2be5996d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "634b2768785c05c66dcda182dfd1c64b4b3861966cad3e6e666f7b1cf40fe35a", type_checked_symbol_table = "0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47", unrolled_symbol_table = "0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47", initial_ast = "60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7", unrolled_ast = "60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7", ssa_ast = "94c44fed7fd02dac3273323118e03cf914016612d833bd095e134c34c26d1dd1", flattened_ast = "059479635a590362fd8bdef355165b9996190c2ad13bb986befe8302fd392bb8", destructured_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", inlined_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", dce_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", bytecode = "61eac30d1e0b3a4fa0357855b11e228b012203b9cd2f814c0faa660a2be5996d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/xor.out b/tests/expectations/compiler/integers/i8/xor.out index 7963f19523..13ef21f864 100644 --- a/tests/expectations/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/integers/i8/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1b7f3cd480494050dfb820aebc0231f7a7d435dde4781101be2ae532c52834bb - type_checked_symbol_table: 31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01 - unrolled_symbol_table: 31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01 - initial_ast: 32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf - unrolled_ast: 32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf - ssa_ast: 35524d9ad7684059c47302c97fd78c259352211e37fa3a1d1938a83bbbb6581f - flattened_ast: fc677cb4bee4ec7b6d9e7de234c3ed93dbc26ccf4e7430bcc748fe8cf8def92d - destructured_ast: f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79 - inlined_ast: f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79 - dce_ast: f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79 - bytecode: 219e0ef5cb7c0ac1ecb9541920637d11e5f48c5e52adab2060e6ed389647eee4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1b7f3cd480494050dfb820aebc0231f7a7d435dde4781101be2ae532c52834bb", type_checked_symbol_table = "31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01", unrolled_symbol_table = "31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01", initial_ast = "32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf", unrolled_ast = "32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf", ssa_ast = "35524d9ad7684059c47302c97fd78c259352211e37fa3a1d1938a83bbbb6581f", flattened_ast = "fc677cb4bee4ec7b6d9e7de234c3ed93dbc26ccf4e7430bcc748fe8cf8def92d", destructured_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", inlined_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", dce_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", bytecode = "219e0ef5cb7c0ac1ecb9541920637d11e5f48c5e52adab2060e6ed389647eee4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/add.out b/tests/expectations/compiler/integers/u128/add.out index fc7a9c81df..499f51fb58 100644 --- a/tests/expectations/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/integers/u128/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: 06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b - unrolled_ast: 06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b - ssa_ast: 7e4b2bbad73a438a6305ca4ab8e15f3c3dc2dbc166a47787d03ca8155e8aad62 - flattened_ast: e243f82d11e96c47e83665996c8a2b926319539da6f8aaf36aa46ed0f6455cea - destructured_ast: ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048 - inlined_ast: ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048 - dce_ast: ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048 - bytecode: 2d327c3f6b7f23cc5f8e292ef00cf94df2fa9afad2bc8fe26ca28dc6f338d2cc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b", unrolled_ast = "06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b", ssa_ast = "7e4b2bbad73a438a6305ca4ab8e15f3c3dc2dbc166a47787d03ca8155e8aad62", flattened_ast = "e243f82d11e96c47e83665996c8a2b926319539da6f8aaf36aa46ed0f6455cea", destructured_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", inlined_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", dce_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", bytecode = "2d327c3f6b7f23cc5f8e292ef00cf94df2fa9afad2bc8fe26ca28dc6f338d2cc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/and.out b/tests/expectations/compiler/integers/u128/and.out index 66b7937668..c3a98d8b7f 100644 --- a/tests/expectations/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/integers/u128/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: 76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6 - unrolled_ast: 76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6 - ssa_ast: 2f04220dc17aee851dff4e2c77457e0f1289a10aa4d5b9d6b84799b7d2df260c - flattened_ast: e279be02a678e9216ebf873682243c11d3fc6780afed29739d24e541f701cacb - destructured_ast: 72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99 - inlined_ast: 72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99 - dce_ast: 72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99 - bytecode: 5400590002c3acc5121a18ff585e8ca17b695e7486ea09a61cb2520dfd09f413 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6", unrolled_ast = "76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6", ssa_ast = "2f04220dc17aee851dff4e2c77457e0f1289a10aa4d5b9d6b84799b7d2df260c", flattened_ast = "e279be02a678e9216ebf873682243c11d3fc6780afed29739d24e541f701cacb", destructured_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", inlined_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", dce_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", bytecode = "5400590002c3acc5121a18ff585e8ca17b695e7486ea09a61cb2520dfd09f413", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/integers/u128/console_assert.out index b51efcbaa6..6725579ff0 100644 --- a/tests/expectations/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/integers/u128/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148 - type_checked_symbol_table: ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462 - unrolled_symbol_table: ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462 - initial_ast: bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804 - unrolled_ast: bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804 - ssa_ast: 3d8f320b88d69cb6f2a31b69bda73268904c596145c3701da3a5c71f85e02c16 - flattened_ast: 3219b24e66c04e5c9a997e7644639b347be8257ec0d7e6e48bef007953f4998c - destructured_ast: 4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72 - inlined_ast: 4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72 - dce_ast: 4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72 - bytecode: 0d83f401cd41e95e3c0df3dc876c4f162207f2073c8e550beca92e21ef07a3b9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148", type_checked_symbol_table = "ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462", unrolled_symbol_table = "ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462", initial_ast = "bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804", unrolled_ast = "bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804", ssa_ast = "3d8f320b88d69cb6f2a31b69bda73268904c596145c3701da3a5c71f85e02c16", flattened_ast = "3219b24e66c04e5c9a997e7644639b347be8257ec0d7e6e48bef007953f4998c", destructured_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", inlined_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", dce_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", bytecode = "0d83f401cd41e95e3c0df3dc876c4f162207f2073c8e550beca92e21ef07a3b9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/div.out b/tests/expectations/compiler/integers/u128/div.out index 3e86fa94af..dc5d33d005 100644 --- a/tests/expectations/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/integers/u128/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: 8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a - unrolled_ast: 8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a - ssa_ast: 2c432790f8363178978892bf206c7846c8ecaecbf0edace64ad639cab4c38548 - flattened_ast: f01e02dc073af7c06aaf46c7cf5005d888f7227beece09717b5fe5f98bd4e874 - destructured_ast: 7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce - inlined_ast: 7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce - dce_ast: 7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce - bytecode: 1ca018f3c002538884233e7f1e7dee0584a346f54675e78fb69af2c90d7d32e8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a", unrolled_ast = "8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a", ssa_ast = "2c432790f8363178978892bf206c7846c8ecaecbf0edace64ad639cab4c38548", flattened_ast = "f01e02dc073af7c06aaf46c7cf5005d888f7227beece09717b5fe5f98bd4e874", destructured_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", inlined_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", dce_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", bytecode = "1ca018f3c002538884233e7f1e7dee0584a346f54675e78fb69af2c90d7d32e8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/eq.out b/tests/expectations/compiler/integers/u128/eq.out index 4e458ee906..278922c69e 100644 --- a/tests/expectations/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/integers/u128/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941 - type_checked_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - unrolled_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - initial_ast: b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af - unrolled_ast: b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af - ssa_ast: 2a467a2a311e913409f5f797fab2111a3ea57e4f846e6c264c15b1d228ec52a3 - flattened_ast: 56322624915988eb2dc8456fe647e99fe4a668595a9ec60bfff51e08c1ac52b8 - destructured_ast: 1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f - inlined_ast: 1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f - dce_ast: 1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f - bytecode: 38011d05593d9cf5baa1fca933e8155d3154ad934a4b0ae9d67111b324875f86 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af", unrolled_ast = "b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af", ssa_ast = "2a467a2a311e913409f5f797fab2111a3ea57e4f846e6c264c15b1d228ec52a3", flattened_ast = "56322624915988eb2dc8456fe647e99fe4a668595a9ec60bfff51e08c1ac52b8", destructured_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", inlined_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", dce_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", bytecode = "38011d05593d9cf5baa1fca933e8155d3154ad934a4b0ae9d67111b324875f86", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/ge.out b/tests/expectations/compiler/integers/u128/ge.out index 8fae1b9f81..4ba779a29a 100644 --- a/tests/expectations/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/integers/u128/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941 - type_checked_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - unrolled_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - initial_ast: d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b - unrolled_ast: d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b - ssa_ast: 2d0729a4690fdb7e9b64142e0187fcab7468b78633f852cbd9352031a0480f06 - flattened_ast: 0383174f697506450621724d3906e697b73c378e6520c70031192ff81cb29ee5 - destructured_ast: afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201 - inlined_ast: afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201 - dce_ast: afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201 - bytecode: 92057edeaefa3fca292e9539868a1d2004a4ff6161d837428e1acff9ae8e0298 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b", unrolled_ast = "d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b", ssa_ast = "2d0729a4690fdb7e9b64142e0187fcab7468b78633f852cbd9352031a0480f06", flattened_ast = "0383174f697506450621724d3906e697b73c378e6520c70031192ff81cb29ee5", destructured_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", inlined_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", dce_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", bytecode = "92057edeaefa3fca292e9539868a1d2004a4ff6161d837428e1acff9ae8e0298", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/gt.out b/tests/expectations/compiler/integers/u128/gt.out index afc48a4446..23954db8e7 100644 --- a/tests/expectations/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/integers/u128/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941 - type_checked_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - unrolled_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - initial_ast: 7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9 - unrolled_ast: 7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9 - ssa_ast: fa8e6842c09bb2e8d4cbf9fd56b2154ee9b6ed8cd750f74ea84776bb5863565e - flattened_ast: f69f52100df30c4a88f2a8b0c93e0f2054d3cb93752b71d1758ecba94814056b - destructured_ast: cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c - inlined_ast: cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c - dce_ast: cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c - bytecode: 14a4cbf43177cac769cf5e4befa2689f01a6755871f5fd288664ffff22e498c5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9", unrolled_ast = "7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9", ssa_ast = "fa8e6842c09bb2e8d4cbf9fd56b2154ee9b6ed8cd750f74ea84776bb5863565e", flattened_ast = "f69f52100df30c4a88f2a8b0c93e0f2054d3cb93752b71d1758ecba94814056b", destructured_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", inlined_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", dce_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", bytecode = "14a4cbf43177cac769cf5e4befa2689f01a6755871f5fd288664ffff22e498c5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/hex_and_bin.out b/tests/expectations/compiler/integers/u128/hex_and_bin.out index 2958e0acf3..7d594cd7d9 100644 --- a/tests/expectations/compiler/integers/u128/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u128/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d900dfe2093ee00a1f8dbfe32766f6714c19e7aa625af411c14f3e1e4ace62d5 - type_checked_symbol_table: 7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604 - unrolled_symbol_table: 7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604 - initial_ast: ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279 - unrolled_ast: ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279 - ssa_ast: 72472d8b6907245f07f890263095ffcac1e321306511a59ceb34dd8139c28265 - flattened_ast: 2c68ce2e5dc1d0a10cb5d89602ca4f51a6d300b42e8fe23eb08163b7d1f3eaca - destructured_ast: 04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283 - inlined_ast: 04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283 - dce_ast: 04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283 - bytecode: 82dd565867bf6030a6f9522fb0cd8e746d4c9ab5cd126fee6bf24b3f3ee210c6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d900dfe2093ee00a1f8dbfe32766f6714c19e7aa625af411c14f3e1e4ace62d5", type_checked_symbol_table = "7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604", unrolled_symbol_table = "7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604", initial_ast = "ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279", unrolled_ast = "ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279", ssa_ast = "72472d8b6907245f07f890263095ffcac1e321306511a59ceb34dd8139c28265", flattened_ast = "2c68ce2e5dc1d0a10cb5d89602ca4f51a6d300b42e8fe23eb08163b7d1f3eaca", destructured_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", inlined_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", dce_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", bytecode = "82dd565867bf6030a6f9522fb0cd8e746d4c9ab5cd126fee6bf24b3f3ee210c6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/hex_min_fail.out b/tests/expectations/compiler/integers/u128/hex_min_fail.out index 9c9fe9aaa9..1cc7049a78 100644 --- a/tests/expectations/compiler/integers/u128/hex_min_fail.out +++ b/tests/expectations/compiler/integers/u128/hex_min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -0x1 is not a valid `u128`\n --> compiler-test:5:23\n |\n 5 | let a: u128 = -0x1u128;\n | ^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -0x1 is not a valid `u128` + --> compiler-test:5:23 + | + 5 | let a: u128 = -0x1u128; + | ^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u128/le.out b/tests/expectations/compiler/integers/u128/le.out index b4bb4e1666..ee3037de2b 100644 --- a/tests/expectations/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/integers/u128/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941 - type_checked_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - unrolled_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - initial_ast: 4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde - unrolled_ast: 4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde - ssa_ast: b806245da8ff0e71f7ef7649150774b86f688322b317503bea36fe03903bac2a - flattened_ast: 13c9473632dba6262c5e25fec7815c8d3a270c23879a58f11068eac64630b169 - destructured_ast: cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b - inlined_ast: cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b - dce_ast: cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b - bytecode: 6a2f064cee58782422db7fc88c4395f7e18281c9bf22e8b7546a054712482d8e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde", unrolled_ast = "4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde", ssa_ast = "b806245da8ff0e71f7ef7649150774b86f688322b317503bea36fe03903bac2a", flattened_ast = "13c9473632dba6262c5e25fec7815c8d3a270c23879a58f11068eac64630b169", destructured_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", inlined_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", dce_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", bytecode = "6a2f064cee58782422db7fc88c4395f7e18281c9bf22e8b7546a054712482d8e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/lt.out b/tests/expectations/compiler/integers/u128/lt.out index 3ea4365521..45745e4f43 100644 --- a/tests/expectations/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/integers/u128/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941 - type_checked_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - unrolled_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - initial_ast: 647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1 - unrolled_ast: 647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1 - ssa_ast: dd63d833c5895da15d47cece7a98896795fe4e5652f324e753d113b338ee1d0b - flattened_ast: f13d8e3203656805d6bc6e53bda2aa8b43540abd15b3d103edef3e74544be3ca - destructured_ast: a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc - inlined_ast: a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc - dce_ast: a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc - bytecode: 459e412ddd219e315cc1ef6bf05f9b2490bae8dc003dcefc25f5976b8ff053f4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1", unrolled_ast = "647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1", ssa_ast = "dd63d833c5895da15d47cece7a98896795fe4e5652f324e753d113b338ee1d0b", flattened_ast = "f13d8e3203656805d6bc6e53bda2aa8b43540abd15b3d103edef3e74544be3ca", destructured_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", inlined_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", dce_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", bytecode = "459e412ddd219e315cc1ef6bf05f9b2490bae8dc003dcefc25f5976b8ff053f4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/max.out b/tests/expectations/compiler/integers/u128/max.out index 9de63f81af..2288160ae4 100644 --- a/tests/expectations/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/integers/u128/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60 - unrolled_symbol_table: 8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60 - initial_ast: e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830 - unrolled_ast: e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830 - ssa_ast: 426edfe68afb815cabc357144ab421e9b7f55ef1ef5d1307140502869ec4f4c0 - flattened_ast: 44f20236bd23921f8c66ba6888c92e3683694cbb3d06a00fc0c6e33bd689b138 - destructured_ast: ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531 - inlined_ast: ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531 - dce_ast: 8256a3090025d0b9e157d76f10653922a0f1d9ecd8e39c06be43808cccd96fc7 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", unrolled_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", initial_ast = "e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830", unrolled_ast = "e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830", ssa_ast = "426edfe68afb815cabc357144ab421e9b7f55ef1ef5d1307140502869ec4f4c0", flattened_ast = "44f20236bd23921f8c66ba6888c92e3683694cbb3d06a00fc0c6e33bd689b138", destructured_ast = "ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531", inlined_ast = "ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531", dce_ast = "8256a3090025d0b9e157d76f10653922a0f1d9ecd8e39c06be43808cccd96fc7", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/max_fail.out b/tests/expectations/compiler/integers/u128/max_fail.out index 86f49b6beb..18164ff29b 100644 --- a/tests/expectations/compiler/integers/u128/max_fail.out +++ b/tests/expectations/compiler/integers/u128/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 340282366920938463463374607431768211456 is not a valid `u128`\n --> compiler-test:5:23\n |\n 5 | let a: u128 = 340282366920938463463374607431768211456u128;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 340282366920938463463374607431768211456 is not a valid `u128` + --> compiler-test:5:23 + | + 5 | let a: u128 = 340282366920938463463374607431768211456u128; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u128/min.out b/tests/expectations/compiler/integers/u128/min.out index fc73ce5533..a0e2f9fd27 100644 --- a/tests/expectations/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/integers/u128/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60 - unrolled_symbol_table: 8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60 - initial_ast: 49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb - unrolled_ast: 49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb - ssa_ast: 1a9e828593de17bee6251aed37b0cec3b16b5740ace9291eac80a0a4a185fd71 - flattened_ast: c5dbc6b4e56e62594b5db3453b76d8fbfebc2a164949402c0a15e2eb166a48e0 - destructured_ast: a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b - inlined_ast: a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b - dce_ast: d017ac28810feab75f374e47c34167c980b961ae15e9eacf6c6d0c6c947bfe0e - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", unrolled_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", initial_ast = "49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb", unrolled_ast = "49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb", ssa_ast = "1a9e828593de17bee6251aed37b0cec3b16b5740ace9291eac80a0a4a185fd71", flattened_ast = "c5dbc6b4e56e62594b5db3453b76d8fbfebc2a164949402c0a15e2eb166a48e0", destructured_ast = "a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b", inlined_ast = "a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b", dce_ast = "d017ac28810feab75f374e47c34167c980b961ae15e9eacf6c6d0c6c947bfe0e", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/min_fail.out b/tests/expectations/compiler/integers/u128/min_fail.out index a707ebb59b..ae9bc631a2 100644 --- a/tests/expectations/compiler/integers/u128/min_fail.out +++ b/tests/expectations/compiler/integers/u128/min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -1 is not a valid `u128`\n --> compiler-test:5:23\n |\n 5 | let a: u128 = -1u128;\n | ^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -1 is not a valid `u128` + --> compiler-test:5:23 + | + 5 | let a: u128 = -1u128; + | ^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u128/mul.out b/tests/expectations/compiler/integers/u128/mul.out index 9ca57f2a4a..0612589b29 100644 --- a/tests/expectations/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/integers/u128/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: 19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b - unrolled_ast: 19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b - ssa_ast: fa2c7ed0ad2556d8d050e452bc6c8460b1e0126f12cac370e274b883421f0b9b - flattened_ast: 4bd80ef1c4d970155e1678a072a944c188e75acab767d3330941678d05e7c846 - destructured_ast: 3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd - inlined_ast: 3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd - dce_ast: 3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd - bytecode: 67857a350a412ed022768ab4aaa6387e63e548b7dc0b552dcb061b719abc90bb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b", unrolled_ast = "19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b", ssa_ast = "fa2c7ed0ad2556d8d050e452bc6c8460b1e0126f12cac370e274b883421f0b9b", flattened_ast = "4bd80ef1c4d970155e1678a072a944c188e75acab767d3330941678d05e7c846", destructured_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", inlined_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", dce_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", bytecode = "67857a350a412ed022768ab4aaa6387e63e548b7dc0b552dcb061b719abc90bb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/ne.out b/tests/expectations/compiler/integers/u128/ne.out index 8cdf33d17c..4083816a56 100644 --- a/tests/expectations/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/integers/u128/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941 - type_checked_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - unrolled_symbol_table: 84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3 - initial_ast: 3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a - unrolled_ast: 3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a - ssa_ast: a29630e8fc2268045a178ba42e7bd8acdbeaf860cc8a70bf641ee3a291c3ceaf - flattened_ast: c2d6d250cca33f329cb3c7f8f42a0f0bd5e8fccbb9f603795e9b9a9419e1b8b0 - destructured_ast: 1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e - inlined_ast: 1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e - dce_ast: 1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e - bytecode: 63457f4ddad404af243d9707a6e9e6f6f878cb639895a110bca73b804395bd14 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a", unrolled_ast = "3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a", ssa_ast = "a29630e8fc2268045a178ba42e7bd8acdbeaf860cc8a70bf641ee3a291c3ceaf", flattened_ast = "c2d6d250cca33f329cb3c7f8f42a0f0bd5e8fccbb9f603795e9b9a9419e1b8b0", destructured_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", inlined_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", dce_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", bytecode = "63457f4ddad404af243d9707a6e9e6f6f878cb639895a110bca73b804395bd14", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/no_space_between_literal.out b/tests/expectations/compiler/integers/u128/no_space_between_literal.out index 4f78192b8d..a7ad7591b4 100644 --- a/tests/expectations/compiler/integers/u128/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/u128/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 u128;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 u128; + | ^"""] diff --git a/tests/expectations/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/integers/u128/operator_methods.out index 9b4c122513..b6f01bebe9 100644 --- a/tests/expectations/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/integers/u128/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148 - type_checked_symbol_table: cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41 - unrolled_symbol_table: cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41 - initial_ast: 77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce - unrolled_ast: 77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce - ssa_ast: 992a6b632ea1739f1832b79d9e5bc6392dc1f882f4ce3d71291c6e7ecd905850 - flattened_ast: 04be780806cc770e3e24b4a7810a0c8b12089419810ffbbb94c30a0dd44ab5cb - destructured_ast: 9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293 - inlined_ast: 9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293 - dce_ast: 9bdd245f1fa0d7a016cb5089065693e56101899e978fcd485f8b02a935326b84 - bytecode: a669206687d494820bada50c8468f052183b69cd778ff0ce870a370ac8ea7bf4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148", type_checked_symbol_table = "cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41", unrolled_symbol_table = "cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41", initial_ast = "77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce", unrolled_ast = "77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce", ssa_ast = "992a6b632ea1739f1832b79d9e5bc6392dc1f882f4ce3d71291c6e7ecd905850", flattened_ast = "04be780806cc770e3e24b4a7810a0c8b12089419810ffbbb94c30a0dd44ab5cb", destructured_ast = "9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293", inlined_ast = "9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293", dce_ast = "9bdd245f1fa0d7a016cb5089065693e56101899e978fcd485f8b02a935326b84", bytecode = "a669206687d494820bada50c8468f052183b69cd778ff0ce870a370ac8ea7bf4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/or.out b/tests/expectations/compiler/integers/u128/or.out index 170dbdf4ca..9a5a1f67e1 100644 --- a/tests/expectations/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/integers/u128/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738 - unrolled_ast: da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738 - ssa_ast: d08948c78c9205b0838ce2ecb26f5e995f7a2f3dff99baa4409cfd9b52c8be37 - flattened_ast: acf8f2ec26e420c388586e6fb883a88e90cb3144be8cc5d48dea171e0b63b8b0 - destructured_ast: 39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a - inlined_ast: 39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a - dce_ast: 39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a - bytecode: 004cb45ea888f207ca8e42a4f7acf3687aa3294a975462c89541c2d0f53dcdf3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738", unrolled_ast = "da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738", ssa_ast = "d08948c78c9205b0838ce2ecb26f5e995f7a2f3dff99baa4409cfd9b52c8be37", flattened_ast = "acf8f2ec26e420c388586e6fb883a88e90cb3144be8cc5d48dea171e0b63b8b0", destructured_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", inlined_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", dce_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", bytecode = "004cb45ea888f207ca8e42a4f7acf3687aa3294a975462c89541c2d0f53dcdf3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/pow.out b/tests/expectations/compiler/integers/u128/pow.out index bca66682bd..f523d9b855 100644 --- a/tests/expectations/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/integers/u128/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: 98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd - unrolled_ast: 98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd - ssa_ast: 19d4101f85bbad70478c394d5fc17a4e6ab40d99520fbc5e1ac08c129c87280d - flattened_ast: f009f0accb10699e76cd020283f8dfa4960af79ab6068e54e4489da00af92dfb - destructured_ast: 68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c - inlined_ast: 68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c - dce_ast: 68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c - bytecode: f88e8b16ebc2a407989f9f316ad6a9edfec6f134c7a0d9b25cea571df8161900 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd", unrolled_ast = "98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd", ssa_ast = "19d4101f85bbad70478c394d5fc17a4e6ab40d99520fbc5e1ac08c129c87280d", flattened_ast = "f009f0accb10699e76cd020283f8dfa4960af79ab6068e54e4489da00af92dfb", destructured_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", inlined_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", dce_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", bytecode = "f88e8b16ebc2a407989f9f316ad6a9edfec6f134c7a0d9b25cea571df8161900", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/rem.out b/tests/expectations/compiler/integers/u128/rem.out index 32497322e5..0403cd6119 100644 --- a/tests/expectations/compiler/integers/u128/rem.out +++ b/tests/expectations/compiler/integers/u128/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699 - unrolled_ast: bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699 - ssa_ast: 0c985ccdb7b52ce4e2a03dc8c3f44813f12fdb4836bb617dd34d77734aa8cef4 - flattened_ast: 2ea6da65f60ab0fbe61f800de101869ce72ad28f3f3ec910830ef4d4dff0cb14 - destructured_ast: 8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2 - inlined_ast: 8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2 - dce_ast: 8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2 - bytecode: 77cd05d1f311504fae6e47a74e98a964f1dd411e6fd447b33b57a2d475bb5aed - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699", unrolled_ast = "bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699", ssa_ast = "0c985ccdb7b52ce4e2a03dc8c3f44813f12fdb4836bb617dd34d77734aa8cef4", flattened_ast = "2ea6da65f60ab0fbe61f800de101869ce72ad28f3f3ec910830ef4d4dff0cb14", destructured_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", inlined_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", dce_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", bytecode = "77cd05d1f311504fae6e47a74e98a964f1dd411e6fd447b33b57a2d475bb5aed", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/shl.out b/tests/expectations/compiler/integers/u128/shl.out index c56af65867..302a5ff479 100644 --- a/tests/expectations/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/integers/u128/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: 89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28 - unrolled_ast: 89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28 - ssa_ast: 81812ed745f244eac184b84ad97ed27d312818dba9f72b88506b116cd9d34a11 - flattened_ast: 71cec70a1930135402aa8e181b5c73cf5eeb42d8c8a8bd91b272b4f92219c324 - destructured_ast: 3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa - inlined_ast: 3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa - dce_ast: 3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa - bytecode: f9f90b58b9fc961c6ee4909ef338c77962403add4feee851959038263971eba9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28", unrolled_ast = "89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28", ssa_ast = "81812ed745f244eac184b84ad97ed27d312818dba9f72b88506b116cd9d34a11", flattened_ast = "71cec70a1930135402aa8e181b5c73cf5eeb42d8c8a8bd91b272b4f92219c324", destructured_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", inlined_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", dce_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", bytecode = "f9f90b58b9fc961c6ee4909ef338c77962403add4feee851959038263971eba9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/shr.out b/tests/expectations/compiler/integers/u128/shr.out index c837ba5ae1..dd421a2c26 100644 --- a/tests/expectations/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/integers/u128/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: 75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4 - unrolled_ast: 75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4 - ssa_ast: 50c806bee4b10b119ac71a7743e73dc1ed479f54f1af532c236fd50b54bde847 - flattened_ast: d68b1862cfcbbd96cbe64fc8a9ec3fe87abd430d617a73d7352061a73c08e3c0 - destructured_ast: 3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4 - inlined_ast: 3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4 - dce_ast: 3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4 - bytecode: c3f89cd7a94e013dfafa5e7deaa5bf758e78a9bee96b9324d8b2314d67ea6a27 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4", unrolled_ast = "75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4", ssa_ast = "50c806bee4b10b119ac71a7743e73dc1ed479f54f1af532c236fd50b54bde847", flattened_ast = "d68b1862cfcbbd96cbe64fc8a9ec3fe87abd430d617a73d7352061a73c08e3c0", destructured_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", inlined_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", dce_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", bytecode = "c3f89cd7a94e013dfafa5e7deaa5bf758e78a9bee96b9324d8b2314d67ea6a27", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/sub.out b/tests/expectations/compiler/integers/u128/sub.out index 3a0db37a54..6272d2e378 100644 --- a/tests/expectations/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/integers/u128/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa - type_checked_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - unrolled_symbol_table: 69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855 - initial_ast: e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84 - unrolled_ast: e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84 - ssa_ast: 43e124b65f7bbad5d4e669126c64e23893a84d01f7c9d3019bba685249bf12ed - flattened_ast: 819a41c083cbb32a83b5513b558694b7b4a6985988e941df2bc8b81b9323eb3b - destructured_ast: f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698 - inlined_ast: f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698 - dce_ast: f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698 - bytecode: 92ed5e41e02f9f2ee5862aad62d54a2a0f2e1a2fc2edde87f1c6ee1fa84de67c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84", unrolled_ast = "e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84", ssa_ast = "43e124b65f7bbad5d4e669126c64e23893a84d01f7c9d3019bba685249bf12ed", flattened_ast = "819a41c083cbb32a83b5513b558694b7b4a6985988e941df2bc8b81b9323eb3b", destructured_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", inlined_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", dce_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", bytecode = "92ed5e41e02f9f2ee5862aad62d54a2a0f2e1a2fc2edde87f1c6ee1fa84de67c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/ternary.out b/tests/expectations/compiler/integers/u128/ternary.out index caac8725d9..a2279df9f2 100644 --- a/tests/expectations/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/integers/u128/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9a4c432fa060a629bac49377ad3eb0ddb836080e6a821e70985d426702529fd0 - type_checked_symbol_table: b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e - unrolled_symbol_table: b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e - initial_ast: 297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0 - unrolled_ast: 297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0 - ssa_ast: 681fe12057eda00bfe0e5490e208571545aa221b389af469b98b9b18fbb82dcc - flattened_ast: d1b2be1d274bc2aa0bd0ab387d024bac6bb9be9f8f9c81e344bc48126a728a07 - destructured_ast: 92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf - inlined_ast: 92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf - dce_ast: 92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf - bytecode: d360bfc2331d64cee6cebe783b9ac261efe5c6e8aaa334be38a9c56ab40261b2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9a4c432fa060a629bac49377ad3eb0ddb836080e6a821e70985d426702529fd0", type_checked_symbol_table = "b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e", unrolled_symbol_table = "b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e", initial_ast = "297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0", unrolled_ast = "297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0", ssa_ast = "681fe12057eda00bfe0e5490e208571545aa221b389af469b98b9b18fbb82dcc", flattened_ast = "d1b2be1d274bc2aa0bd0ab387d024bac6bb9be9f8f9c81e344bc48126a728a07", destructured_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", inlined_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", dce_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", bytecode = "d360bfc2331d64cee6cebe783b9ac261efe5c6e8aaa334be38a9c56ab40261b2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/xor.out b/tests/expectations/compiler/integers/u128/xor.out index f5aacdc732..7259baf5e9 100644 --- a/tests/expectations/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/integers/u128/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 2359c19a39885558fd4f9784dce78637f4dca5cc38539559e5c3bfdf41e78773 - type_checked_symbol_table: c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e - unrolled_symbol_table: c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e - initial_ast: af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358 - unrolled_ast: af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358 - ssa_ast: 413999f32e5fc5f11adfc8814d77749c893ebf3337a654abc3689688da4ba074 - flattened_ast: 7fc614bf09f57d9f447f0ed1cc681a0a4fe84c7f5f4c8fa24457098a78e6c01f - destructured_ast: 6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318 - inlined_ast: 6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318 - dce_ast: 6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318 - bytecode: 63a04f95623ff9dfbe22b389e7b7b6127999e1340aa1ed3e2eb59228d92d9aab - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "2359c19a39885558fd4f9784dce78637f4dca5cc38539559e5c3bfdf41e78773", type_checked_symbol_table = "c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e", unrolled_symbol_table = "c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e", initial_ast = "af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358", unrolled_ast = "af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358", ssa_ast = "413999f32e5fc5f11adfc8814d77749c893ebf3337a654abc3689688da4ba074", flattened_ast = "7fc614bf09f57d9f447f0ed1cc681a0a4fe84c7f5f4c8fa24457098a78e6c01f", destructured_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", inlined_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", dce_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", bytecode = "63a04f95623ff9dfbe22b389e7b7b6127999e1340aa1ed3e2eb59228d92d9aab", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/add.out b/tests/expectations/compiler/integers/u16/add.out index e096a70290..73d4cebab3 100644 --- a/tests/expectations/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/integers/u16/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: 388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf - unrolled_ast: 388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf - ssa_ast: 3218c7648d345778039e406d3bef059d9b1d5c3c84c58b4dbecceb7d24cacf1c - flattened_ast: 2d2f8d0495c63418f94a58ea03cede3f9041dcee1bfcbe51b882a520be4212ec - destructured_ast: 2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88 - inlined_ast: 2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88 - dce_ast: 2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88 - bytecode: 2252ca765c9f4d167815c556dedf80fd261ecb82c22da486f1c019b62ca9b59c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf", unrolled_ast = "388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf", ssa_ast = "3218c7648d345778039e406d3bef059d9b1d5c3c84c58b4dbecceb7d24cacf1c", flattened_ast = "2d2f8d0495c63418f94a58ea03cede3f9041dcee1bfcbe51b882a520be4212ec", destructured_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", inlined_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", dce_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", bytecode = "2252ca765c9f4d167815c556dedf80fd261ecb82c22da486f1c019b62ca9b59c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/and.out b/tests/expectations/compiler/integers/u16/and.out index 63d1cf31a1..d57c4481c6 100644 --- a/tests/expectations/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/integers/u16/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059 - unrolled_ast: d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059 - ssa_ast: 6d0ebbea535eba8896194651ce65c1d6ae1558cf04540dbaf57e3e860b944ee3 - flattened_ast: d20bf0f1aca0778e057a768ee09ee6f406f0d5159b894a3c38f727515faf38ef - destructured_ast: e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601 - inlined_ast: e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601 - dce_ast: e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601 - bytecode: 6160eab9fab5c6648122e91366d143924e69bdc272bc606f68be14f22f88cd1a - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059", unrolled_ast = "d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059", ssa_ast = "6d0ebbea535eba8896194651ce65c1d6ae1558cf04540dbaf57e3e860b944ee3", flattened_ast = "d20bf0f1aca0778e057a768ee09ee6f406f0d5159b894a3c38f727515faf38ef", destructured_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", inlined_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", dce_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", bytecode = "6160eab9fab5c6648122e91366d143924e69bdc272bc606f68be14f22f88cd1a", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/integers/u16/console_assert.out index 3a22b1fca6..aabf5e24a8 100644 --- a/tests/expectations/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/integers/u16/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 97760c0ab9cc2a63264659dc870f9b0ba8782c438a6df83c03b43af3cec36698 - type_checked_symbol_table: 0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1 - unrolled_symbol_table: 0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1 - initial_ast: 7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8 - unrolled_ast: 7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8 - ssa_ast: fdc2884ab511557a02270c7da6af68cb729fa072c1cd084f1c9a23b58f744501 - flattened_ast: abaf090a870b221f6b3026a493e758d0c564ea233ae7fa5d963bdf037bf96928 - destructured_ast: c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42 - inlined_ast: c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42 - dce_ast: c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42 - bytecode: 986d6843806fcd3a479d777dcc4373b94817a5d3b9fb4cc1a6c3da752a69c925 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "97760c0ab9cc2a63264659dc870f9b0ba8782c438a6df83c03b43af3cec36698", type_checked_symbol_table = "0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1", unrolled_symbol_table = "0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1", initial_ast = "7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8", unrolled_ast = "7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8", ssa_ast = "fdc2884ab511557a02270c7da6af68cb729fa072c1cd084f1c9a23b58f744501", flattened_ast = "abaf090a870b221f6b3026a493e758d0c564ea233ae7fa5d963bdf037bf96928", destructured_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", inlined_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", dce_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", bytecode = "986d6843806fcd3a479d777dcc4373b94817a5d3b9fb4cc1a6c3da752a69c925", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/div.out b/tests/expectations/compiler/integers/u16/div.out index 9b384e92e0..7dfd3a2a15 100644 --- a/tests/expectations/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/integers/u16/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967 - unrolled_ast: ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967 - ssa_ast: a67178cf8881c9c808d684fee85c8e3de30c07e1418258ea2dec20089a58b786 - flattened_ast: 149fb678292e8aa63f457fb3d4d508f82e2a2d10b17ad75466f98900942d2267 - destructured_ast: d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857 - inlined_ast: d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857 - dce_ast: d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857 - bytecode: 99ba89ed030480c15697c6ba3b9dce82fa489d24dbba6d2edbc4934fc8baeb6c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967", unrolled_ast = "ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967", ssa_ast = "a67178cf8881c9c808d684fee85c8e3de30c07e1418258ea2dec20089a58b786", flattened_ast = "149fb678292e8aa63f457fb3d4d508f82e2a2d10b17ad75466f98900942d2267", destructured_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", inlined_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", dce_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", bytecode = "99ba89ed030480c15697c6ba3b9dce82fa489d24dbba6d2edbc4934fc8baeb6c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/eq.out b/tests/expectations/compiler/integers/u16/eq.out index 312a38b6d5..0665cb916c 100644 --- a/tests/expectations/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/integers/u16/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7 - type_checked_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - unrolled_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - initial_ast: 811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a - unrolled_ast: 811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a - ssa_ast: 3936593611308ee4d0b957c08d313fe4b6b352b5050537dc45dbf1e20408d2c5 - flattened_ast: b1eb529391344c8178857d8f80234fc7a26345d55958472235ccd4b56c85016d - destructured_ast: 5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876 - inlined_ast: 5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876 - dce_ast: 5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876 - bytecode: f125a6c62a71bd66b09211e1febbdfaa6491b9255270bbe3ac27ef505f4c46e0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a", unrolled_ast = "811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a", ssa_ast = "3936593611308ee4d0b957c08d313fe4b6b352b5050537dc45dbf1e20408d2c5", flattened_ast = "b1eb529391344c8178857d8f80234fc7a26345d55958472235ccd4b56c85016d", destructured_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", inlined_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", dce_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", bytecode = "f125a6c62a71bd66b09211e1febbdfaa6491b9255270bbe3ac27ef505f4c46e0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/ge.out b/tests/expectations/compiler/integers/u16/ge.out index 2d13044305..d1a143c324 100644 --- a/tests/expectations/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/integers/u16/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7 - type_checked_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - unrolled_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - initial_ast: 5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37 - unrolled_ast: 5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37 - ssa_ast: cdaff2b59b1fdb711597890c2a08b120b543b1a3acf59d3dd315b5b216491ef7 - flattened_ast: 7aa6733977b41cb11141c789a24553f3ca3d419b89e6b76c008a0d0b9ee01cbc - destructured_ast: 457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798 - inlined_ast: 457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798 - dce_ast: 457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798 - bytecode: ee2f4384477fac864957953a97c53275060e4c4ba793a180d6007af25b50b8df - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37", unrolled_ast = "5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37", ssa_ast = "cdaff2b59b1fdb711597890c2a08b120b543b1a3acf59d3dd315b5b216491ef7", flattened_ast = "7aa6733977b41cb11141c789a24553f3ca3d419b89e6b76c008a0d0b9ee01cbc", destructured_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", inlined_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", dce_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", bytecode = "ee2f4384477fac864957953a97c53275060e4c4ba793a180d6007af25b50b8df", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/gt.out b/tests/expectations/compiler/integers/u16/gt.out index 001dc0ed0b..33fdc31d59 100644 --- a/tests/expectations/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/integers/u16/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7 - type_checked_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - unrolled_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - initial_ast: d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf - unrolled_ast: d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf - ssa_ast: e3a35855d97183b6def7a2a5c98997e7b8df1260b82b8ddbcd6464f905c8ee44 - flattened_ast: 5145df27c5379158d87b86343a86d6b1948a7ab7adc412eadf5e2fe83064642e - destructured_ast: dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465 - inlined_ast: dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465 - dce_ast: dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465 - bytecode: f7ff09e980c11a6a98c8178e5cecbe8cbf83e40f25f5feec526358c95262fe96 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf", unrolled_ast = "d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf", ssa_ast = "e3a35855d97183b6def7a2a5c98997e7b8df1260b82b8ddbcd6464f905c8ee44", flattened_ast = "5145df27c5379158d87b86343a86d6b1948a7ab7adc412eadf5e2fe83064642e", destructured_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", inlined_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", dce_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", bytecode = "f7ff09e980c11a6a98c8178e5cecbe8cbf83e40f25f5feec526358c95262fe96", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/hex_and_bin.out b/tests/expectations/compiler/integers/u16/hex_and_bin.out index 25f0c37a74..48488f7dde 100644 --- a/tests/expectations/compiler/integers/u16/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u16/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e66c651dae82c04c0d085c91046c1385ebfdb9862762b20c86c170ba0909b41b - type_checked_symbol_table: ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e - unrolled_symbol_table: ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e - initial_ast: 7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde - unrolled_ast: 7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde - ssa_ast: 69a107ab0b4fdb2c063779f6a6aeefc062d06ce111089110dff519a776d78903 - flattened_ast: 4ae366c08d8e3eafd5e3117891cb2d611ab0666b99bb82b6edf6598456b7aeae - destructured_ast: eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8 - inlined_ast: eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8 - dce_ast: eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8 - bytecode: 70bd417fce96bc2f7710daf8b3e4958c156a5077d6d2d5c8233fd6e3568a9e99 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e66c651dae82c04c0d085c91046c1385ebfdb9862762b20c86c170ba0909b41b", type_checked_symbol_table = "ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e", unrolled_symbol_table = "ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e", initial_ast = "7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde", unrolled_ast = "7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde", ssa_ast = "69a107ab0b4fdb2c063779f6a6aeefc062d06ce111089110dff519a776d78903", flattened_ast = "4ae366c08d8e3eafd5e3117891cb2d611ab0666b99bb82b6edf6598456b7aeae", destructured_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", inlined_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", dce_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", bytecode = "70bd417fce96bc2f7710daf8b3e4958c156a5077d6d2d5c8233fd6e3568a9e99", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/hex_min_fail.out b/tests/expectations/compiler/integers/u16/hex_min_fail.out index a659a6c9af..7c0fcd8bc7 100644 --- a/tests/expectations/compiler/integers/u16/hex_min_fail.out +++ b/tests/expectations/compiler/integers/u16/hex_min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -0x1 is not a valid `u16`\n --> compiler-test:5:22\n |\n 5 | let a: u16 = -0x1u16;\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -0x1 is not a valid `u16` + --> compiler-test:5:22 + | + 5 | let a: u16 = -0x1u16; + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u16/le.out b/tests/expectations/compiler/integers/u16/le.out index edf2faa091..4d12667f0a 100644 --- a/tests/expectations/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/integers/u16/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7 - type_checked_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - unrolled_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - initial_ast: 6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1 - unrolled_ast: 6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1 - ssa_ast: 2af7e16760f60263c09c3fcca0eb8a9d258a3feafcfe183080a98b654e87ddc6 - flattened_ast: 9a8f993016f55a6c09c8ea5fb6368eb187bb3b4753a36bb7569228a59a3e1da1 - destructured_ast: 2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533 - inlined_ast: 2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533 - dce_ast: 2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533 - bytecode: 1a4dc861ca94e33a883b8326dcf9a21345fdd65b1d00dcaab408cbe8bf2e7c23 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1", unrolled_ast = "6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1", ssa_ast = "2af7e16760f60263c09c3fcca0eb8a9d258a3feafcfe183080a98b654e87ddc6", flattened_ast = "9a8f993016f55a6c09c8ea5fb6368eb187bb3b4753a36bb7569228a59a3e1da1", destructured_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", inlined_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", dce_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", bytecode = "1a4dc861ca94e33a883b8326dcf9a21345fdd65b1d00dcaab408cbe8bf2e7c23", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/lt.out b/tests/expectations/compiler/integers/u16/lt.out index d66b6a7f57..40fdd2e5a2 100644 --- a/tests/expectations/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/integers/u16/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7 - type_checked_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - unrolled_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - initial_ast: f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6 - unrolled_ast: f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6 - ssa_ast: ac4f1c2daa17244a86750b57a21690903263df9badaae512be343cb87be53663 - flattened_ast: 7302bdf3b2990efdc2b3238b0c7c8bf1fa4a3f9db33b53da8e126a5194947ee0 - destructured_ast: 3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909 - inlined_ast: 3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909 - dce_ast: 3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909 - bytecode: 3b2dd5b9dfa587ed0f67449bbc6a9a0b90edb7c9ffbee5e36f1c40512e09bb1d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6", unrolled_ast = "f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6", ssa_ast = "ac4f1c2daa17244a86750b57a21690903263df9badaae512be343cb87be53663", flattened_ast = "7302bdf3b2990efdc2b3238b0c7c8bf1fa4a3f9db33b53da8e126a5194947ee0", destructured_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", inlined_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", dce_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", bytecode = "3b2dd5b9dfa587ed0f67449bbc6a9a0b90edb7c9ffbee5e36f1c40512e09bb1d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/max.out b/tests/expectations/compiler/integers/u16/max.out index 75a9bfa713..2fbbee986c 100644 --- a/tests/expectations/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/integers/u16/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283 - unrolled_symbol_table: 13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283 - initial_ast: c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476 - unrolled_ast: c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476 - ssa_ast: f8b086ba4aedf0ed5830d266d4012c96736880e43eae3d91121fca46ad02b597 - flattened_ast: b0fb82658aec8bf97d66e462288498fe9e94206df94000ba219c82e41979740a - destructured_ast: 1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc - inlined_ast: 1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc - dce_ast: 0601c7ed0fb6045fbafa8146d604adf3ea3ba1a717897856a12c59f8a3e3a073 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", unrolled_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", initial_ast = "c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476", unrolled_ast = "c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476", ssa_ast = "f8b086ba4aedf0ed5830d266d4012c96736880e43eae3d91121fca46ad02b597", flattened_ast = "b0fb82658aec8bf97d66e462288498fe9e94206df94000ba219c82e41979740a", destructured_ast = "1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc", inlined_ast = "1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc", dce_ast = "0601c7ed0fb6045fbafa8146d604adf3ea3ba1a717897856a12c59f8a3e3a073", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/max_fail.out b/tests/expectations/compiler/integers/u16/max_fail.out index 4a4548939f..235a247848 100644 --- a/tests/expectations/compiler/integers/u16/max_fail.out +++ b/tests/expectations/compiler/integers/u16/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 65536 is not a valid `u16`\n --> compiler-test:5:22\n |\n 5 | let a: u16 = 65536u16;\n | ^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 65536 is not a valid `u16` + --> compiler-test:5:22 + | + 5 | let a: u16 = 65536u16; + | ^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u16/min.out b/tests/expectations/compiler/integers/u16/min.out index 3b731c4a84..d9430d9f32 100644 --- a/tests/expectations/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/integers/u16/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283 - unrolled_symbol_table: 13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283 - initial_ast: 5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6 - unrolled_ast: 5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6 - ssa_ast: 93838c8f36354270335fad1f3e3f9589080ef63e0589464ebb08cf58bc243159 - flattened_ast: 445f3e06c3980be9df5d088336167f33f71c986d411da4112f76a550cb6fe498 - destructured_ast: 092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a - inlined_ast: 092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a - dce_ast: 0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", unrolled_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", initial_ast = "5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6", unrolled_ast = "5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6", ssa_ast = "93838c8f36354270335fad1f3e3f9589080ef63e0589464ebb08cf58bc243159", flattened_ast = "445f3e06c3980be9df5d088336167f33f71c986d411da4112f76a550cb6fe498", destructured_ast = "092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a", inlined_ast = "092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/min_fail.out b/tests/expectations/compiler/integers/u16/min_fail.out index 0aae51e972..54132e7942 100644 --- a/tests/expectations/compiler/integers/u16/min_fail.out +++ b/tests/expectations/compiler/integers/u16/min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -1 is not a valid `u16`\n --> compiler-test:5:22\n |\n 5 | let a: u16 = -1u16;\n | ^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -1 is not a valid `u16` + --> compiler-test:5:22 + | + 5 | let a: u16 = -1u16; + | ^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u16/mul.out b/tests/expectations/compiler/integers/u16/mul.out index c368ce15fb..9eec63ab98 100644 --- a/tests/expectations/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/integers/u16/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: 8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0 - unrolled_ast: 8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0 - ssa_ast: 57f3aae981d6aafbcf8e6cb5b68aee9e15f1d159150ac3fb6e40bbac9d599833 - flattened_ast: 0545a3f6370118ea0743f6e0542cced046ce5bf141fcdaa5062f86dff43f245b - destructured_ast: 726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0 - inlined_ast: 726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0 - dce_ast: 726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0 - bytecode: 5495593b6e8c8b396503f1f61e5f3b620d1ccc173721316cfb1f30b268486ed5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0", unrolled_ast = "8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0", ssa_ast = "57f3aae981d6aafbcf8e6cb5b68aee9e15f1d159150ac3fb6e40bbac9d599833", flattened_ast = "0545a3f6370118ea0743f6e0542cced046ce5bf141fcdaa5062f86dff43f245b", destructured_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", inlined_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", dce_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", bytecode = "5495593b6e8c8b396503f1f61e5f3b620d1ccc173721316cfb1f30b268486ed5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/ne.out b/tests/expectations/compiler/integers/u16/ne.out index 0e3803a143..45b9714f62 100644 --- a/tests/expectations/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/integers/u16/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7 - type_checked_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - unrolled_symbol_table: cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749 - initial_ast: 86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19 - unrolled_ast: 86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19 - ssa_ast: af61f34815f0c0740b9a6f418cd83921843d3969fd37457abef92813fd56b62b - flattened_ast: 6b52cfb692c3504fbb0b4fe389e2e3def7f530dcec0265e6c66661dab87b1284 - destructured_ast: 1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356 - inlined_ast: 1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356 - dce_ast: 1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356 - bytecode: 02468182490bfd77f1aae9ed8c5a4b1cd2a3373c2bdc998f6567f5c900fefe33 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19", unrolled_ast = "86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19", ssa_ast = "af61f34815f0c0740b9a6f418cd83921843d3969fd37457abef92813fd56b62b", flattened_ast = "6b52cfb692c3504fbb0b4fe389e2e3def7f530dcec0265e6c66661dab87b1284", destructured_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", inlined_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", dce_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", bytecode = "02468182490bfd77f1aae9ed8c5a4b1cd2a3373c2bdc998f6567f5c900fefe33", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/no_space_between_literal.out b/tests/expectations/compiler/integers/u16/no_space_between_literal.out index 6f489ff176..7b132b124a 100644 --- a/tests/expectations/compiler/integers/u16/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/u16/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 u16;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 u16; + | ^"""] diff --git a/tests/expectations/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/integers/u16/operator_methods.out index 3748ee34c3..fd017cfa62 100644 --- a/tests/expectations/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/integers/u16/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7b7bc9bdbe3ec877643464e39f48759fcde838285e3717f6eb6ca40ba2354e6a - type_checked_symbol_table: 6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59 - unrolled_symbol_table: 6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59 - initial_ast: 5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886 - unrolled_ast: 5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886 - ssa_ast: 1495cff87b57115a3c78ef3be1a584e6af4670d727d4b6d300220a9f38a643a1 - flattened_ast: 603426fb0fd37a71132d18b432718610c74eb172419a3fc81bc72bbcb8cc758e - destructured_ast: 9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4 - inlined_ast: 9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4 - dce_ast: b3801510ba00f29bbd0f02c720caf9b4b254de82537df578e89cc809be0dea0a - bytecode: 842bf9cb4647adc6c67cecc1c36ec85f5a659d9245571869e10e93bb303ff343 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7b7bc9bdbe3ec877643464e39f48759fcde838285e3717f6eb6ca40ba2354e6a", type_checked_symbol_table = "6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59", unrolled_symbol_table = "6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59", initial_ast = "5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886", unrolled_ast = "5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886", ssa_ast = "1495cff87b57115a3c78ef3be1a584e6af4670d727d4b6d300220a9f38a643a1", flattened_ast = "603426fb0fd37a71132d18b432718610c74eb172419a3fc81bc72bbcb8cc758e", destructured_ast = "9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4", inlined_ast = "9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4", dce_ast = "b3801510ba00f29bbd0f02c720caf9b4b254de82537df578e89cc809be0dea0a", bytecode = "842bf9cb4647adc6c67cecc1c36ec85f5a659d9245571869e10e93bb303ff343", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/or.out b/tests/expectations/compiler/integers/u16/or.out index fadce1e250..3d7b5bb753 100644 --- a/tests/expectations/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/integers/u16/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb - unrolled_ast: adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb - ssa_ast: 7ab9328a68f52edcc5c06e57888441266025836bf19d4c92828d5c62386f80d4 - flattened_ast: 504f76f1abefe3233ac3f7475ebcc0fc96d3c797b4eaf2eb62c9c41a2376bf6b - destructured_ast: b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62 - inlined_ast: b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62 - dce_ast: b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62 - bytecode: 50061292bb5678c2bbb3062570d3f8d5233316e274c6504aa6b012816e2f511e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb", unrolled_ast = "adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb", ssa_ast = "7ab9328a68f52edcc5c06e57888441266025836bf19d4c92828d5c62386f80d4", flattened_ast = "504f76f1abefe3233ac3f7475ebcc0fc96d3c797b4eaf2eb62c9c41a2376bf6b", destructured_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", inlined_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", dce_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", bytecode = "50061292bb5678c2bbb3062570d3f8d5233316e274c6504aa6b012816e2f511e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/pow.out b/tests/expectations/compiler/integers/u16/pow.out index 29a80aaa20..0f14c5a869 100644 --- a/tests/expectations/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/integers/u16/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57 - unrolled_ast: ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57 - ssa_ast: bd1d6b38ac2b28e54e44b2f36bd44e4cb03c3547438a96b3b61f79df03d8e2c5 - flattened_ast: 8d2243a65879302241156303ef11cbd92156ab10ba5799b11fa8354ee62ac37e - destructured_ast: aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0 - inlined_ast: aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0 - dce_ast: aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0 - bytecode: 57544c7875d33d64e359c3e64ab2115a3d431c3ecba318223e0237fbbbdfcde0 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57", unrolled_ast = "ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57", ssa_ast = "bd1d6b38ac2b28e54e44b2f36bd44e4cb03c3547438a96b3b61f79df03d8e2c5", flattened_ast = "8d2243a65879302241156303ef11cbd92156ab10ba5799b11fa8354ee62ac37e", destructured_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", inlined_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", dce_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", bytecode = "57544c7875d33d64e359c3e64ab2115a3d431c3ecba318223e0237fbbbdfcde0", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/rem.out b/tests/expectations/compiler/integers/u16/rem.out index 7eaed7e952..80bffd1d88 100644 --- a/tests/expectations/compiler/integers/u16/rem.out +++ b/tests/expectations/compiler/integers/u16/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: 8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1 - unrolled_ast: 8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1 - ssa_ast: a96ed3f85b7c2c2023c3a7d06467824e7cbff35ea881b1e612e7674c4b55e6f1 - flattened_ast: 3944681d508c330d0bfd6ecae7675fa2da0b7b686e266491a8f089c44cd7be58 - destructured_ast: 929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf - inlined_ast: 929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf - dce_ast: 929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf - bytecode: 312a00be59034a01944b77f36b32275e4d54b11d5b098a7e19c7bb4906e6ca6f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1", unrolled_ast = "8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1", ssa_ast = "a96ed3f85b7c2c2023c3a7d06467824e7cbff35ea881b1e612e7674c4b55e6f1", flattened_ast = "3944681d508c330d0bfd6ecae7675fa2da0b7b686e266491a8f089c44cd7be58", destructured_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", inlined_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", dce_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", bytecode = "312a00be59034a01944b77f36b32275e4d54b11d5b098a7e19c7bb4906e6ca6f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/shl.out b/tests/expectations/compiler/integers/u16/shl.out index fa46994e19..8d469c2526 100644 --- a/tests/expectations/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/integers/u16/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b - unrolled_ast: c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b - ssa_ast: 2d272a0007862b6852447ede282aff6aff28af52ed6aca9699139a3e42a027ed - flattened_ast: c5e22f3d78bbeda14f4a606683879303dd1bb45281b294a8d431b492910a7d86 - destructured_ast: 97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74 - inlined_ast: 97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74 - dce_ast: 97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74 - bytecode: 5ebe5527cde826ed570752b1e9ffd16a4805c5071c3adbd4099ebad9174d5f11 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b", unrolled_ast = "c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b", ssa_ast = "2d272a0007862b6852447ede282aff6aff28af52ed6aca9699139a3e42a027ed", flattened_ast = "c5e22f3d78bbeda14f4a606683879303dd1bb45281b294a8d431b492910a7d86", destructured_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", inlined_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", dce_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", bytecode = "5ebe5527cde826ed570752b1e9ffd16a4805c5071c3adbd4099ebad9174d5f11", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/shr.out b/tests/expectations/compiler/integers/u16/shr.out index 63401247e3..c61b0c9361 100644 --- a/tests/expectations/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/integers/u16/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: 47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff - unrolled_ast: 47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff - ssa_ast: b2648969c4d3b8df396ad53f894423a9ac9be955e08cb1c2ffe7888ff43567da - flattened_ast: 94eb539e2624c8faa1ddf6e95d107de5099b332e1c92b4a9b90449fcc9c4e661 - destructured_ast: dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1 - inlined_ast: dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1 - dce_ast: dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1 - bytecode: 27908eccc0ae25f792ff3b23f7b243cec3dc74e4167e62f5db0d2ac9c8d91d2c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff", unrolled_ast = "47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff", ssa_ast = "b2648969c4d3b8df396ad53f894423a9ac9be955e08cb1c2ffe7888ff43567da", flattened_ast = "94eb539e2624c8faa1ddf6e95d107de5099b332e1c92b4a9b90449fcc9c4e661", destructured_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", inlined_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", dce_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", bytecode = "27908eccc0ae25f792ff3b23f7b243cec3dc74e4167e62f5db0d2ac9c8d91d2c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/sub.out b/tests/expectations/compiler/integers/u16/sub.out index 02e123ff78..42207d7509 100644 --- a/tests/expectations/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/integers/u16/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048 - type_checked_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - unrolled_symbol_table: c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8 - initial_ast: 5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43 - unrolled_ast: 5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43 - ssa_ast: 7c3515f48c8ddfb7b0648cdd3ba3af7b87e18096b2d637fb6209612e2e60e74b - flattened_ast: 5ec9e4cede3d3440d7e923e5d0698ebb2f58caac84f727bd448f02b79ff792cb - destructured_ast: cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87 - inlined_ast: cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87 - dce_ast: cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87 - bytecode: d6c71656a8b803092075816e82fbc5c044f3700139c5ca079a1a8f2be846d573 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43", unrolled_ast = "5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43", ssa_ast = "7c3515f48c8ddfb7b0648cdd3ba3af7b87e18096b2d637fb6209612e2e60e74b", flattened_ast = "5ec9e4cede3d3440d7e923e5d0698ebb2f58caac84f727bd448f02b79ff792cb", destructured_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", inlined_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", dce_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", bytecode = "d6c71656a8b803092075816e82fbc5c044f3700139c5ca079a1a8f2be846d573", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/ternary.out b/tests/expectations/compiler/integers/u16/ternary.out index 206d97c443..3b4bc3250c 100644 --- a/tests/expectations/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/integers/u16/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7f5ebf3e7eef8eae4a42fb3970309cc60492f6074e87077ca40e4622480b7a4c - type_checked_symbol_table: a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845 - unrolled_symbol_table: a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845 - initial_ast: 28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0 - unrolled_ast: 28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0 - ssa_ast: 484cb46ec9a6032baaaf2621308d4aef64a761196fbe3996f4a122e606f70fbe - flattened_ast: 7e54465f7997799e2c7573da8ef14a4e99640e779d48b23e409a884c8b9b2c3a - destructured_ast: 20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e - inlined_ast: 20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e - dce_ast: 20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e - bytecode: 113603fb207a83e65ee275be10ad122173cea7a90327c07028eab9fffe449016 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7f5ebf3e7eef8eae4a42fb3970309cc60492f6074e87077ca40e4622480b7a4c", type_checked_symbol_table = "a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845", unrolled_symbol_table = "a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845", initial_ast = "28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0", unrolled_ast = "28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0", ssa_ast = "484cb46ec9a6032baaaf2621308d4aef64a761196fbe3996f4a122e606f70fbe", flattened_ast = "7e54465f7997799e2c7573da8ef14a4e99640e779d48b23e409a884c8b9b2c3a", destructured_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", inlined_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", dce_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", bytecode = "113603fb207a83e65ee275be10ad122173cea7a90327c07028eab9fffe449016", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/xor.out b/tests/expectations/compiler/integers/u16/xor.out index 424b0314f6..9b1492552c 100644 --- a/tests/expectations/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/integers/u16/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9b8e9f327a839748e96489c1bd9efa4f4a7a0740ab6a99783bb909647270e6b9 - type_checked_symbol_table: 31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f - unrolled_symbol_table: 31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f - initial_ast: 6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9 - unrolled_ast: 6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9 - ssa_ast: 9abb1cacc675f86131001135f7544d44560613dc6bd18b31086680c625c61a02 - flattened_ast: 853dfa1f93ca403bcd6762faf7b2b81ba579f7d448c68be066ef5453c632fa9e - destructured_ast: 91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5 - inlined_ast: 91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5 - dce_ast: 91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5 - bytecode: eb928c87aa9dab9c5fd3d063c6f3bd9400ca1fb12eea712baf4406852dc1f439 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9b8e9f327a839748e96489c1bd9efa4f4a7a0740ab6a99783bb909647270e6b9", type_checked_symbol_table = "31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f", unrolled_symbol_table = "31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f", initial_ast = "6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9", unrolled_ast = "6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9", ssa_ast = "9abb1cacc675f86131001135f7544d44560613dc6bd18b31086680c625c61a02", flattened_ast = "853dfa1f93ca403bcd6762faf7b2b81ba579f7d448c68be066ef5453c632fa9e", destructured_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", inlined_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", dce_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", bytecode = "eb928c87aa9dab9c5fd3d063c6f3bd9400ca1fb12eea712baf4406852dc1f439", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/add.out b/tests/expectations/compiler/integers/u32/add.out index 73e5b0728d..abe73139bc 100644 --- a/tests/expectations/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/integers/u32/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: 57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b - unrolled_ast: 57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b - ssa_ast: 11942fab2544873e0f34b2d8bb04363815984aa56ec02c283666cb4f6f548b4c - flattened_ast: 8e09453af8acf7adb78877f23346249bde1b5a360e9aef4ea37c16f282e1f502 - destructured_ast: 1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45 - inlined_ast: 1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45 - dce_ast: 1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45 - bytecode: 6a79f884436b0bdadcee0ff3dd76a5e3fb16cd5d733f2091cbb17cc680c8b185 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b", unrolled_ast = "57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b", ssa_ast = "11942fab2544873e0f34b2d8bb04363815984aa56ec02c283666cb4f6f548b4c", flattened_ast = "8e09453af8acf7adb78877f23346249bde1b5a360e9aef4ea37c16f282e1f502", destructured_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", inlined_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", dce_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", bytecode = "6a79f884436b0bdadcee0ff3dd76a5e3fb16cd5d733f2091cbb17cc680c8b185", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/and.out b/tests/expectations/compiler/integers/u32/and.out index 2bf09e1a44..12cb8e3ef9 100644 --- a/tests/expectations/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/integers/u32/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: 1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea - unrolled_ast: 1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea - ssa_ast: 15556181dd8cf4be8f741712d549b1125eaf3f94ba0d39d92aa225d2fceae885 - flattened_ast: 8df4369c4582d0c12c76e7e8efed8e64dd7439cad96c51171b9b9f4e6d3f01ff - destructured_ast: 3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621 - inlined_ast: 3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621 - dce_ast: 3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621 - bytecode: 8cf2c9baf4dd960c2135a86ac62576bcb4d04c2ba826ff413bdce7f05d230516 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea", unrolled_ast = "1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea", ssa_ast = "15556181dd8cf4be8f741712d549b1125eaf3f94ba0d39d92aa225d2fceae885", flattened_ast = "8df4369c4582d0c12c76e7e8efed8e64dd7439cad96c51171b9b9f4e6d3f01ff", destructured_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", inlined_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", dce_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", bytecode = "8cf2c9baf4dd960c2135a86ac62576bcb4d04c2ba826ff413bdce7f05d230516", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/integers/u32/console_assert.out index fcda0a3023..a9ec6ca74e 100644 --- a/tests/expectations/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/integers/u32/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 55845c0ef65dc069d8a9f40f24d894b762d395bc99c75557a05fd7489bd2fa50 - type_checked_symbol_table: 2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971 - unrolled_symbol_table: 2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971 - initial_ast: 2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f - unrolled_ast: 2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f - ssa_ast: f80b5bf28ce2c725b63088fac28efc60e7f1bf3896e38dd2a5c0bd9c6570c8e5 - flattened_ast: db732de82d289f3f78297a8a17b08fe167cc826a1a5fe64df9734578fa6e86d4 - destructured_ast: a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55 - inlined_ast: a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55 - dce_ast: a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55 - bytecode: c05a2b573d0bcf072a9b4cda004f6e3c44b73fba4238919546eb3703cb05c258 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "55845c0ef65dc069d8a9f40f24d894b762d395bc99c75557a05fd7489bd2fa50", type_checked_symbol_table = "2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971", unrolled_symbol_table = "2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971", initial_ast = "2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f", unrolled_ast = "2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f", ssa_ast = "f80b5bf28ce2c725b63088fac28efc60e7f1bf3896e38dd2a5c0bd9c6570c8e5", flattened_ast = "db732de82d289f3f78297a8a17b08fe167cc826a1a5fe64df9734578fa6e86d4", destructured_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", inlined_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", dce_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", bytecode = "c05a2b573d0bcf072a9b4cda004f6e3c44b73fba4238919546eb3703cb05c258", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/div.out b/tests/expectations/compiler/integers/u32/div.out index 120f82da53..20c1996313 100644 --- a/tests/expectations/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/integers/u32/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: 65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770 - unrolled_ast: 65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770 - ssa_ast: 0305f133a3d385bb7a0774ef8f44c7b5c9af689867edb48b71ca47e5d9183586 - flattened_ast: 63ff783ca61e7da81364b19836be624887de9bb526685d8e54975424d6ee4b60 - destructured_ast: 874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a - inlined_ast: 874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a - dce_ast: 874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a - bytecode: 544b47ba167ef02d93729c64e3bb7f76cd94229385874a8c68b48cdf9f7cf767 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770", unrolled_ast = "65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770", ssa_ast = "0305f133a3d385bb7a0774ef8f44c7b5c9af689867edb48b71ca47e5d9183586", flattened_ast = "63ff783ca61e7da81364b19836be624887de9bb526685d8e54975424d6ee4b60", destructured_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", inlined_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", dce_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", bytecode = "544b47ba167ef02d93729c64e3bb7f76cd94229385874a8c68b48cdf9f7cf767", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/eq.out b/tests/expectations/compiler/integers/u32/eq.out index 126ba14f73..cf73d38bdf 100644 --- a/tests/expectations/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/integers/u32/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318 - type_checked_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - unrolled_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - initial_ast: 757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d - unrolled_ast: 757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d - ssa_ast: 22a522f3bad92cc3bf0b2ea6922cefe4af3ba82d073e657fafdd2dd19097dd93 - flattened_ast: a2056364ce253ffc2e8470f8f473122e075b0a266b213490d90edf0395fcafab - destructured_ast: 325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c - inlined_ast: 325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c - dce_ast: 325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c - bytecode: eb74a56b4c761a3050ee4ca8c5ac6f4085675f0ba71514b9c10cc49044251472 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d", unrolled_ast = "757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d", ssa_ast = "22a522f3bad92cc3bf0b2ea6922cefe4af3ba82d073e657fafdd2dd19097dd93", flattened_ast = "a2056364ce253ffc2e8470f8f473122e075b0a266b213490d90edf0395fcafab", destructured_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", inlined_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", dce_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", bytecode = "eb74a56b4c761a3050ee4ca8c5ac6f4085675f0ba71514b9c10cc49044251472", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/ge.out b/tests/expectations/compiler/integers/u32/ge.out index e052a7caef..e5e0452d75 100644 --- a/tests/expectations/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/integers/u32/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318 - type_checked_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - unrolled_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - initial_ast: 2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e - unrolled_ast: 2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e - ssa_ast: 405a599f57eb583abce5ff48a45c696bc98052555666b8003b72a8d29e5227e9 - flattened_ast: e9091c4f08a7f15a65c21f7bbccf1444fefedb6cee6837d829758f07fb22e92e - destructured_ast: 6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f - inlined_ast: 6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f - dce_ast: 6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f - bytecode: d5c6740e9f4b930180fb52ddc268e35b87ed215c56fe529e98ee015dbfa08b3e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e", unrolled_ast = "2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e", ssa_ast = "405a599f57eb583abce5ff48a45c696bc98052555666b8003b72a8d29e5227e9", flattened_ast = "e9091c4f08a7f15a65c21f7bbccf1444fefedb6cee6837d829758f07fb22e92e", destructured_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", inlined_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", dce_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", bytecode = "d5c6740e9f4b930180fb52ddc268e35b87ed215c56fe529e98ee015dbfa08b3e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/gt.out b/tests/expectations/compiler/integers/u32/gt.out index f510d7dd3b..9b137dcfbf 100644 --- a/tests/expectations/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/integers/u32/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318 - type_checked_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - unrolled_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - initial_ast: 4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8 - unrolled_ast: 4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8 - ssa_ast: 517afb9630c07841a62d8ed67e5468a14cacd3e7e3b870b933adc06a5be01526 - flattened_ast: c04f5ab6c4e4e21ce81e16e8afd119b8d6a53cb5ad12fd181eb0858f1273323d - destructured_ast: cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93 - inlined_ast: cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93 - dce_ast: cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93 - bytecode: 5b1536cb2d2f274904ed23cabc28dad63d0e22a9bd4d1a5615b88b2c3ea6d7eb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8", unrolled_ast = "4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8", ssa_ast = "517afb9630c07841a62d8ed67e5468a14cacd3e7e3b870b933adc06a5be01526", flattened_ast = "c04f5ab6c4e4e21ce81e16e8afd119b8d6a53cb5ad12fd181eb0858f1273323d", destructured_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", inlined_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", dce_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", bytecode = "5b1536cb2d2f274904ed23cabc28dad63d0e22a9bd4d1a5615b88b2c3ea6d7eb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/hex_and_bin.out b/tests/expectations/compiler/integers/u32/hex_and_bin.out index 8a4ca3d9bf..773a4707e0 100644 --- a/tests/expectations/compiler/integers/u32/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u32/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b5ffc1d0175c735db006ca60f9c68f4d39f6250208d706b8743a84992708c498 - type_checked_symbol_table: c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349 - unrolled_symbol_table: c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349 - initial_ast: 929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7 - unrolled_ast: 929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7 - ssa_ast: b8fba4c0407685295c943ec9eb8bb790f55bcb80628f46fc2c4f4696c489a38e - flattened_ast: 5fd3ab9e1bd40d89944d32a44396fa2e44d43f257f4ca7f28e1cb44a48cb6a27 - destructured_ast: 9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0 - inlined_ast: 9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0 - dce_ast: 9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0 - bytecode: 6191880555ec488d9e1969788741440fd2204b0ae341a8bb6cfa6b89bc73778f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b5ffc1d0175c735db006ca60f9c68f4d39f6250208d706b8743a84992708c498", type_checked_symbol_table = "c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349", unrolled_symbol_table = "c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349", initial_ast = "929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7", unrolled_ast = "929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7", ssa_ast = "b8fba4c0407685295c943ec9eb8bb790f55bcb80628f46fc2c4f4696c489a38e", flattened_ast = "5fd3ab9e1bd40d89944d32a44396fa2e44d43f257f4ca7f28e1cb44a48cb6a27", destructured_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", inlined_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", dce_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", bytecode = "6191880555ec488d9e1969788741440fd2204b0ae341a8bb6cfa6b89bc73778f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/hex_min_fail.out b/tests/expectations/compiler/integers/u32/hex_min_fail.out index 7fe894f76a..d92cfc105f 100644 --- a/tests/expectations/compiler/integers/u32/hex_min_fail.out +++ b/tests/expectations/compiler/integers/u32/hex_min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -0x1 is not a valid `u32`\n --> compiler-test:5:22\n |\n 5 | let a: u32 = -0x1u32;\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -0x1 is not a valid `u32` + --> compiler-test:5:22 + | + 5 | let a: u32 = -0x1u32; + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u32/le.out b/tests/expectations/compiler/integers/u32/le.out index e8dedd242e..c7ac426fdf 100644 --- a/tests/expectations/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/integers/u32/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318 - type_checked_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - unrolled_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - initial_ast: 4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40 - unrolled_ast: 4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40 - ssa_ast: da1e84815cc2fde7496a5584fb3f3d37f0c0e98cf3e62a5e7e7b8259bba6a0cf - flattened_ast: 78fbdbca11f1b409967002019c7dd07464acb6a4c07b32efeba3c1c6b1bb2198 - destructured_ast: f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a - inlined_ast: f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a - dce_ast: f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a - bytecode: 76d3ed305f669697432c49a48165440a287bc91eb95c2110f936235259d824ed - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40", unrolled_ast = "4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40", ssa_ast = "da1e84815cc2fde7496a5584fb3f3d37f0c0e98cf3e62a5e7e7b8259bba6a0cf", flattened_ast = "78fbdbca11f1b409967002019c7dd07464acb6a4c07b32efeba3c1c6b1bb2198", destructured_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", inlined_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", dce_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", bytecode = "76d3ed305f669697432c49a48165440a287bc91eb95c2110f936235259d824ed", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/lt.out b/tests/expectations/compiler/integers/u32/lt.out index 9dadb6d9cf..4f761f8842 100644 --- a/tests/expectations/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/integers/u32/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318 - type_checked_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - unrolled_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - initial_ast: de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4 - unrolled_ast: de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4 - ssa_ast: 553a0396f19338b96c3ff4004238efcf657238199c119c18719e70c5c239dc55 - flattened_ast: d41ac5df37ca398dfb606eca311346d0708b96262ca3be76130246b5ece1a6ff - destructured_ast: 62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c - inlined_ast: 62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c - dce_ast: 62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c - bytecode: 4aac77fed46b036a9aaced7512320c824d26a5a025292fdb91c422b4ef3fadfd - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4", unrolled_ast = "de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4", ssa_ast = "553a0396f19338b96c3ff4004238efcf657238199c119c18719e70c5c239dc55", flattened_ast = "d41ac5df37ca398dfb606eca311346d0708b96262ca3be76130246b5ece1a6ff", destructured_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", inlined_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", dce_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", bytecode = "4aac77fed46b036a9aaced7512320c824d26a5a025292fdb91c422b4ef3fadfd", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/max.out b/tests/expectations/compiler/integers/u32/max.out index 8b8fc323d5..5f277a7e5d 100644 --- a/tests/expectations/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/integers/u32/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65 - unrolled_symbol_table: d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65 - initial_ast: fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea - unrolled_ast: fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea - ssa_ast: ff5e522e283e34d34f399f004f3a82e9fd2f29f796e690bdb3907a550f6cf073 - flattened_ast: 0b2c302f8340e3fdce47862de5023d111c748696ee8450ad0601f912fb955f8d - destructured_ast: 76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c - inlined_ast: 76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c - dce_ast: 3d98be7e7ee653c6e91d6b340f39b1010349a6f797e707bc2fe66aad7b438bbe - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", unrolled_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", initial_ast = "fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea", unrolled_ast = "fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea", ssa_ast = "ff5e522e283e34d34f399f004f3a82e9fd2f29f796e690bdb3907a550f6cf073", flattened_ast = "0b2c302f8340e3fdce47862de5023d111c748696ee8450ad0601f912fb955f8d", destructured_ast = "76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c", inlined_ast = "76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c", dce_ast = "3d98be7e7ee653c6e91d6b340f39b1010349a6f797e707bc2fe66aad7b438bbe", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/max_fail.out b/tests/expectations/compiler/integers/u32/max_fail.out index c737c0105a..dbc4a7c08f 100644 --- a/tests/expectations/compiler/integers/u32/max_fail.out +++ b/tests/expectations/compiler/integers/u32/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 4294967296 is not a valid `u32`\n --> compiler-test:5:22\n |\n 5 | let a: u32 = 4294967296u32;\n | ^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 4294967296 is not a valid `u32` + --> compiler-test:5:22 + | + 5 | let a: u32 = 4294967296u32; + | ^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u32/min.out b/tests/expectations/compiler/integers/u32/min.out index 1438710a2c..588385aca6 100644 --- a/tests/expectations/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/integers/u32/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65 - unrolled_symbol_table: d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65 - initial_ast: 6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48 - unrolled_ast: 6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48 - ssa_ast: 38bbc64ed3d28a123be48a452f547adeed9e193247fd658d5144d8b8791bdc3a - flattened_ast: c2fd6fa6deff021cbdf5e40501fe1dfdecd07e68ea3c46d7a0243a4bcbb2f7f0 - destructured_ast: fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb - inlined_ast: fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb - dce_ast: 0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", unrolled_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", initial_ast = "6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48", unrolled_ast = "6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48", ssa_ast = "38bbc64ed3d28a123be48a452f547adeed9e193247fd658d5144d8b8791bdc3a", flattened_ast = "c2fd6fa6deff021cbdf5e40501fe1dfdecd07e68ea3c46d7a0243a4bcbb2f7f0", destructured_ast = "fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb", inlined_ast = "fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/min_fail.out b/tests/expectations/compiler/integers/u32/min_fail.out index 60092a6a97..f0447b1c40 100644 --- a/tests/expectations/compiler/integers/u32/min_fail.out +++ b/tests/expectations/compiler/integers/u32/min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -1 is not a valid `u32`\n --> compiler-test:5:22\n |\n 5 | let a: u32 = -1u32;\n | ^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -1 is not a valid `u32` + --> compiler-test:5:22 + | + 5 | let a: u32 = -1u32; + | ^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u32/mul.out b/tests/expectations/compiler/integers/u32/mul.out index e6cebccf5d..fbcaa5248c 100644 --- a/tests/expectations/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/integers/u32/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5 - unrolled_ast: d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5 - ssa_ast: bad5760770f45525322b8ce04eda7df6f33ba12423334b62620b8f400dcd138e - flattened_ast: 80e697ab4db32420d586a386bfc8ddadfd0183e6e990afd5936a02fb929fa179 - destructured_ast: 29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3 - inlined_ast: 29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3 - dce_ast: 29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3 - bytecode: 1dfb6b0bc60a60fdf5e7049346815ffb6fc80d045cb8282510fa518f3337e089 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5", unrolled_ast = "d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5", ssa_ast = "bad5760770f45525322b8ce04eda7df6f33ba12423334b62620b8f400dcd138e", flattened_ast = "80e697ab4db32420d586a386bfc8ddadfd0183e6e990afd5936a02fb929fa179", destructured_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", inlined_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", dce_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", bytecode = "1dfb6b0bc60a60fdf5e7049346815ffb6fc80d045cb8282510fa518f3337e089", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/ne.out b/tests/expectations/compiler/integers/u32/ne.out index f2fa9169bf..9bc4f4d14c 100644 --- a/tests/expectations/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/integers/u32/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318 - type_checked_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - unrolled_symbol_table: e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043 - initial_ast: 9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd - unrolled_ast: 9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd - ssa_ast: 2db7122734466bc70b9bc3925993ac7b67661a0ded81a3a8c89003b43c25df4f - flattened_ast: 385e90d9f222c99612c23d4c0d02c0457d544f29450cbb0a2cd5616403799d7a - destructured_ast: 4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4 - inlined_ast: 4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4 - dce_ast: 4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4 - bytecode: 0fe1011e038cf47ffdbb7e95c4ac2326b985aeeffca177329c145c144fc46639 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd", unrolled_ast = "9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd", ssa_ast = "2db7122734466bc70b9bc3925993ac7b67661a0ded81a3a8c89003b43c25df4f", flattened_ast = "385e90d9f222c99612c23d4c0d02c0457d544f29450cbb0a2cd5616403799d7a", destructured_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", inlined_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", dce_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", bytecode = "0fe1011e038cf47ffdbb7e95c4ac2326b985aeeffca177329c145c144fc46639", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/no_space_between_literal.out b/tests/expectations/compiler/integers/u32/no_space_between_literal.out index 190acedb13..060466342e 100644 --- a/tests/expectations/compiler/integers/u32/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/u32/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 u32;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 u32; + | ^"""] diff --git a/tests/expectations/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/integers/u32/operator_methods.out index 758c42bf8d..0242b3e0c4 100644 --- a/tests/expectations/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/integers/u32/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: a53ed4e572085258db9c847375e1efadbfb8dcd09f572b6a595ce829fb6c8393 - type_checked_symbol_table: c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c - unrolled_symbol_table: c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c - initial_ast: c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e - unrolled_ast: c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e - ssa_ast: e68899920e902274739b3bddf68ec0ca4c2e5eeae26c57e02922ebb780d54d01 - flattened_ast: c56304eb92d605d5c3fae12c51381139b716d09c5056ee1456ba8508d970f50a - destructured_ast: a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb - inlined_ast: a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb - dce_ast: b4ee01bc61d874b7c3ad1eb636f417f3af2514232399ba7878010ee847731607 - bytecode: aec6ee0fcfa292c5e3a4b9165408e9627b7c73b520302dc986293cc36fea4383 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "a53ed4e572085258db9c847375e1efadbfb8dcd09f572b6a595ce829fb6c8393", type_checked_symbol_table = "c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c", unrolled_symbol_table = "c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c", initial_ast = "c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e", unrolled_ast = "c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e", ssa_ast = "e68899920e902274739b3bddf68ec0ca4c2e5eeae26c57e02922ebb780d54d01", flattened_ast = "c56304eb92d605d5c3fae12c51381139b716d09c5056ee1456ba8508d970f50a", destructured_ast = "a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb", inlined_ast = "a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb", dce_ast = "b4ee01bc61d874b7c3ad1eb636f417f3af2514232399ba7878010ee847731607", bytecode = "aec6ee0fcfa292c5e3a4b9165408e9627b7c73b520302dc986293cc36fea4383", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/or.out b/tests/expectations/compiler/integers/u32/or.out index 9420a4f823..9ac385de62 100644 --- a/tests/expectations/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/integers/u32/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: 38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c - unrolled_ast: 38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c - ssa_ast: 792ddcb0cde1dd91e389a91012b01d272a30f870e21eeb3523770bb247166b53 - flattened_ast: 6512815a953a461db627549033af14734fc4faa37473793926c49975d692dc4b - destructured_ast: 94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d - inlined_ast: 94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d - dce_ast: 94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d - bytecode: 53c22439941468b3986c9021bd4d3436c1e3ce8aa1ac79e04de9a0d08b16b3eb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c", unrolled_ast = "38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c", ssa_ast = "792ddcb0cde1dd91e389a91012b01d272a30f870e21eeb3523770bb247166b53", flattened_ast = "6512815a953a461db627549033af14734fc4faa37473793926c49975d692dc4b", destructured_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", inlined_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", dce_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", bytecode = "53c22439941468b3986c9021bd4d3436c1e3ce8aa1ac79e04de9a0d08b16b3eb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/pow.out b/tests/expectations/compiler/integers/u32/pow.out index 258b827e2f..f86ac95758 100644 --- a/tests/expectations/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/integers/u32/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: 80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02 - unrolled_ast: 80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02 - ssa_ast: 328cafbb688c4d0e211a6c62784bd4a44c0d3739627e5181d5697fc6f0f8e9d8 - flattened_ast: 31f8a9d1026ced9c51f5357c4c36e1d5fbca3618e18b8be176b3745356b20cb0 - destructured_ast: b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a - inlined_ast: b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a - dce_ast: b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a - bytecode: ea3230d133de200302ce0c5577ef8daca458af44512b67f567dfdeaeb60ef62d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02", unrolled_ast = "80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02", ssa_ast = "328cafbb688c4d0e211a6c62784bd4a44c0d3739627e5181d5697fc6f0f8e9d8", flattened_ast = "31f8a9d1026ced9c51f5357c4c36e1d5fbca3618e18b8be176b3745356b20cb0", destructured_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", inlined_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", dce_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", bytecode = "ea3230d133de200302ce0c5577ef8daca458af44512b67f567dfdeaeb60ef62d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/rem.out b/tests/expectations/compiler/integers/u32/rem.out index f16f19c037..6debece2f1 100644 --- a/tests/expectations/compiler/integers/u32/rem.out +++ b/tests/expectations/compiler/integers/u32/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: 659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378 - unrolled_ast: 659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378 - ssa_ast: 12ed4cdf9c33a2959c712359469d64dae7aa2c66032c15138b8dde9f31dc5dbb - flattened_ast: 0aef2fbd03994a0dbdbb067e167e246a6c03d27ea54908357cfcaf2badf94946 - destructured_ast: 2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0 - inlined_ast: 2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0 - dce_ast: 2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0 - bytecode: 654c6c9d87b686ee8ac83d2561ae0db42eaed0e933d018514d99d2eee2dc350c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378", unrolled_ast = "659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378", ssa_ast = "12ed4cdf9c33a2959c712359469d64dae7aa2c66032c15138b8dde9f31dc5dbb", flattened_ast = "0aef2fbd03994a0dbdbb067e167e246a6c03d27ea54908357cfcaf2badf94946", destructured_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", inlined_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", dce_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", bytecode = "654c6c9d87b686ee8ac83d2561ae0db42eaed0e933d018514d99d2eee2dc350c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/shl.out b/tests/expectations/compiler/integers/u32/shl.out index 3b182346eb..13e22fc70c 100644 --- a/tests/expectations/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/integers/u32/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda - unrolled_ast: ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda - ssa_ast: ef6f4fc4e5fef34fb02b89ea536e47322c1efc72d2bfd1fdcf00f8a8e90611a4 - flattened_ast: c22acc053ad5d9dddbe28cbbfc50b74f780f8eff4e41e6768ee2cf0ebc10fc01 - destructured_ast: 46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188 - inlined_ast: 46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188 - dce_ast: 46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188 - bytecode: d00fc78598c5002f3dd2576928bd1fb6121f078f9fc5b2b7394ff8338192172d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda", unrolled_ast = "ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda", ssa_ast = "ef6f4fc4e5fef34fb02b89ea536e47322c1efc72d2bfd1fdcf00f8a8e90611a4", flattened_ast = "c22acc053ad5d9dddbe28cbbfc50b74f780f8eff4e41e6768ee2cf0ebc10fc01", destructured_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", inlined_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", dce_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", bytecode = "d00fc78598c5002f3dd2576928bd1fb6121f078f9fc5b2b7394ff8338192172d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/shr.out b/tests/expectations/compiler/integers/u32/shr.out index 4fd24d0a0b..0ba8498363 100644 --- a/tests/expectations/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/integers/u32/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9 - unrolled_ast: ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9 - ssa_ast: 9b52d468737492814aabccab16e4f1ff5ab2cd929199b6981c4383d624e777b8 - flattened_ast: e221682f0993495dbbee07772723e2fc10db01715129eb55b3997702f869267c - destructured_ast: e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e - inlined_ast: e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e - dce_ast: e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e - bytecode: 80a1a42b727652cf9808ca4800943f424edc0f0b8e43781b9a6686e3ef7801e1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9", unrolled_ast = "ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9", ssa_ast = "9b52d468737492814aabccab16e4f1ff5ab2cd929199b6981c4383d624e777b8", flattened_ast = "e221682f0993495dbbee07772723e2fc10db01715129eb55b3997702f869267c", destructured_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", inlined_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", dce_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", bytecode = "80a1a42b727652cf9808ca4800943f424edc0f0b8e43781b9a6686e3ef7801e1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/sub.out b/tests/expectations/compiler/integers/u32/sub.out index 6dc0e70ea2..53934c7350 100644 --- a/tests/expectations/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/integers/u32/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc - type_checked_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - unrolled_symbol_table: a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431 - initial_ast: d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e - unrolled_ast: d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e - ssa_ast: 463b0daf7da0322b25289c970baca18e106a747077f06a486e462b8ad1c8514c - flattened_ast: 11bd8dec97de01c2127c233ccfe6db5f68b4b7a96b08c736a85477c264901f36 - destructured_ast: 577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363 - inlined_ast: 577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363 - dce_ast: 577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363 - bytecode: 979ef93cea21ee04681e95a25458674a5c7bbc15e717b104e6dc1b16d5a7111b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e", unrolled_ast = "d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e", ssa_ast = "463b0daf7da0322b25289c970baca18e106a747077f06a486e462b8ad1c8514c", flattened_ast = "11bd8dec97de01c2127c233ccfe6db5f68b4b7a96b08c736a85477c264901f36", destructured_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", inlined_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", dce_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", bytecode = "979ef93cea21ee04681e95a25458674a5c7bbc15e717b104e6dc1b16d5a7111b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/ternary.out b/tests/expectations/compiler/integers/u32/ternary.out index 0e374c59b9..465672a9b1 100644 --- a/tests/expectations/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/integers/u32/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1050ad3bf1bca4a6ce06bc7e544cc50ef0a6b2eeb71a6e44d8c83e8f4c010d2a - type_checked_symbol_table: 507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8 - unrolled_symbol_table: 507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8 - initial_ast: d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be - unrolled_ast: d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be - ssa_ast: 258439d87bcfa1e56e9c3b7df54208aa3b48cce08fcc9348fcf11678ea55b5fe - flattened_ast: e1512349d7894c4eb9a77e2656c003c94174079f936b89be14201e49b174e628 - destructured_ast: 5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d - inlined_ast: 5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d - dce_ast: 5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d - bytecode: 0ecd93e68a7f1e72535d2f014714c6b6dbf91f2b0a18df56913798be12ec1515 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1050ad3bf1bca4a6ce06bc7e544cc50ef0a6b2eeb71a6e44d8c83e8f4c010d2a", type_checked_symbol_table = "507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8", unrolled_symbol_table = "507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8", initial_ast = "d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be", unrolled_ast = "d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be", ssa_ast = "258439d87bcfa1e56e9c3b7df54208aa3b48cce08fcc9348fcf11678ea55b5fe", flattened_ast = "e1512349d7894c4eb9a77e2656c003c94174079f936b89be14201e49b174e628", destructured_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", inlined_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", dce_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", bytecode = "0ecd93e68a7f1e72535d2f014714c6b6dbf91f2b0a18df56913798be12ec1515", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/xor.out b/tests/expectations/compiler/integers/u32/xor.out index be44c79bca..40e7bd0fe7 100644 --- a/tests/expectations/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/integers/u32/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0f4179147825dc70330669a71fa28152481f149d0d7bffc4036eaa3d09a35a2c - type_checked_symbol_table: 8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4 - unrolled_symbol_table: 8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4 - initial_ast: a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f - unrolled_ast: a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f - ssa_ast: 4f55b4314a7aa7644ff2b163bd885faaacb102011742da062584984abcdc2fe0 - flattened_ast: 8924e5894fc66728ccebb7cf359edf3e098797e36435271c019572a3aecdbe88 - destructured_ast: 338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5 - inlined_ast: 338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5 - dce_ast: 338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5 - bytecode: f870b2c0a3ffc0935a53b790fbd562a4e160982136e597762e14d3a11f7572c7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0f4179147825dc70330669a71fa28152481f149d0d7bffc4036eaa3d09a35a2c", type_checked_symbol_table = "8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4", unrolled_symbol_table = "8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4", initial_ast = "a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f", unrolled_ast = "a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f", ssa_ast = "4f55b4314a7aa7644ff2b163bd885faaacb102011742da062584984abcdc2fe0", flattened_ast = "8924e5894fc66728ccebb7cf359edf3e098797e36435271c019572a3aecdbe88", destructured_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", inlined_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", dce_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", bytecode = "f870b2c0a3ffc0935a53b790fbd562a4e160982136e597762e14d3a11f7572c7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/add.out b/tests/expectations/compiler/integers/u64/add.out index e07a53415f..87ea093c5c 100644 --- a/tests/expectations/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/integers/u64/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5 - unrolled_ast: f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5 - ssa_ast: c7beb4be2a772f7cd0baa3b7baa9ea3b88b02f6a0cb245f92a44640beecd70ef - flattened_ast: dccd7a0390db85ba820de12905c41f25b3282d929a1450822d8285caf58e06bc - destructured_ast: b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7 - inlined_ast: b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7 - dce_ast: b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7 - bytecode: 3be0f7452f3ef5033f9f4c29362b7f16ca7d059569909b356d23fe3dbd898486 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5", unrolled_ast = "f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5", ssa_ast = "c7beb4be2a772f7cd0baa3b7baa9ea3b88b02f6a0cb245f92a44640beecd70ef", flattened_ast = "dccd7a0390db85ba820de12905c41f25b3282d929a1450822d8285caf58e06bc", destructured_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", inlined_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", dce_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", bytecode = "3be0f7452f3ef5033f9f4c29362b7f16ca7d059569909b356d23fe3dbd898486", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/and.out b/tests/expectations/compiler/integers/u64/and.out index 4a04fad4aa..663029e764 100644 --- a/tests/expectations/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/integers/u64/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: 20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da - unrolled_ast: 20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da - ssa_ast: aeac8c83aa469a97b88000b446ef1e0a4d3ccd75ee9318133e1da1a9521f8209 - flattened_ast: 9625f2245c3e36f4887aef1638e7721187e995b8e25159f8cf3d842e8c24226b - destructured_ast: ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41 - inlined_ast: ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41 - dce_ast: ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41 - bytecode: af4239d923d8c22f7bbdfdf8643c85648b25ba62b82819217a6c50924208d529 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da", unrolled_ast = "20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da", ssa_ast = "aeac8c83aa469a97b88000b446ef1e0a4d3ccd75ee9318133e1da1a9521f8209", flattened_ast = "9625f2245c3e36f4887aef1638e7721187e995b8e25159f8cf3d842e8c24226b", destructured_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", inlined_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", dce_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", bytecode = "af4239d923d8c22f7bbdfdf8643c85648b25ba62b82819217a6c50924208d529", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/integers/u64/console_assert.out index 26fcc39731..bba6972053 100644 --- a/tests/expectations/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/integers/u64/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494 - type_checked_symbol_table: 1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d - unrolled_symbol_table: 1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d - initial_ast: 5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0 - unrolled_ast: 5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0 - ssa_ast: afc575a8ded7b3ebf29ed5367a5705d503642c97295c55b5eb831ba919ab3f64 - flattened_ast: 9f132b3d9eb6e98365af0c896abed87218f3f182121f50ce1c21b3d865eed940 - destructured_ast: 476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f - inlined_ast: 476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f - dce_ast: 476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f - bytecode: 0ee1282c31147bd35917b56ca5e0b6ed9ae7178f4a8e0681cb788bfe2803d2e5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494", type_checked_symbol_table = "1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d", unrolled_symbol_table = "1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d", initial_ast = "5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0", unrolled_ast = "5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0", ssa_ast = "afc575a8ded7b3ebf29ed5367a5705d503642c97295c55b5eb831ba919ab3f64", flattened_ast = "9f132b3d9eb6e98365af0c896abed87218f3f182121f50ce1c21b3d865eed940", destructured_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", inlined_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", dce_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", bytecode = "0ee1282c31147bd35917b56ca5e0b6ed9ae7178f4a8e0681cb788bfe2803d2e5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/div.out b/tests/expectations/compiler/integers/u64/div.out index cbfb371689..91b8275e73 100644 --- a/tests/expectations/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/integers/u64/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: 740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2 - unrolled_ast: 740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2 - ssa_ast: 33b04442830d71e681095f851ddc52f5d8649c727e47e592bb1be1fe5d7d376f - flattened_ast: f083ac1e2079924ee4e49c041290ee47670ec443cb66e77f43d9ac76ade66ebd - destructured_ast: bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d - inlined_ast: bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d - dce_ast: bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d - bytecode: 2a4e7edc50312cff13755a1480eadc016a474629e3655a4d8b878a85001b75c3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2", unrolled_ast = "740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2", ssa_ast = "33b04442830d71e681095f851ddc52f5d8649c727e47e592bb1be1fe5d7d376f", flattened_ast = "f083ac1e2079924ee4e49c041290ee47670ec443cb66e77f43d9ac76ade66ebd", destructured_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", inlined_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", dce_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", bytecode = "2a4e7edc50312cff13755a1480eadc016a474629e3655a4d8b878a85001b75c3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/eq.out b/tests/expectations/compiler/integers/u64/eq.out index 7edbe61595..60f08c801e 100644 --- a/tests/expectations/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/integers/u64/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7 - type_checked_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - unrolled_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - initial_ast: dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a - unrolled_ast: dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a - ssa_ast: 87e3c4c1acc6a7af6fb85f7508cc1103ae2ed0658c20e06afbf335f8300507fe - flattened_ast: 7f45fe3e4a99ee149dbc4a01e4cceb56bbf8e826acacecd1d6b413607ca5ad2d - destructured_ast: 62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45 - inlined_ast: 62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45 - dce_ast: 62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45 - bytecode: c3b043c14b4d869eddba1a5c38b463704b8fdc7a7b6dbfb8b54dbc4ba66e706f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a", unrolled_ast = "dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a", ssa_ast = "87e3c4c1acc6a7af6fb85f7508cc1103ae2ed0658c20e06afbf335f8300507fe", flattened_ast = "7f45fe3e4a99ee149dbc4a01e4cceb56bbf8e826acacecd1d6b413607ca5ad2d", destructured_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", inlined_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", dce_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", bytecode = "c3b043c14b4d869eddba1a5c38b463704b8fdc7a7b6dbfb8b54dbc4ba66e706f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/ge.out b/tests/expectations/compiler/integers/u64/ge.out index f22f3b2315..c289cb9fda 100644 --- a/tests/expectations/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/integers/u64/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7 - type_checked_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - unrolled_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - initial_ast: e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721 - unrolled_ast: e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721 - ssa_ast: efeb51245d96533fdbe5be634af4fc2043e33304997bd45a7e7fe56277e2c069 - flattened_ast: 098f0c91f85d256cd1a726e185b3fbc9833bdfc07c5b8391b5d0ed784d807543 - destructured_ast: ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167 - inlined_ast: ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167 - dce_ast: ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167 - bytecode: b2e3005d49e16c6431a7731d180ba407dbf3c26564e1015a3e803681959a6e7c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721", unrolled_ast = "e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721", ssa_ast = "efeb51245d96533fdbe5be634af4fc2043e33304997bd45a7e7fe56277e2c069", flattened_ast = "098f0c91f85d256cd1a726e185b3fbc9833bdfc07c5b8391b5d0ed784d807543", destructured_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", inlined_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", dce_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", bytecode = "b2e3005d49e16c6431a7731d180ba407dbf3c26564e1015a3e803681959a6e7c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/gt.out b/tests/expectations/compiler/integers/u64/gt.out index 8e6d436856..a30889bc31 100644 --- a/tests/expectations/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/integers/u64/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7 - type_checked_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - unrolled_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - initial_ast: 8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee - unrolled_ast: 8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee - ssa_ast: 067f4c96209dac008749bb0cc4dcee6fa21bfd29d48632adccc0a2275cb1de0b - flattened_ast: 5cd4d7c64a6e61d634b1411cc165a803338eaf57cdad65bef53d49b44d2fe67d - destructured_ast: 01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f - inlined_ast: 01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f - dce_ast: 01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f - bytecode: 1e385f77b2a0d6c95fc6747906e33664cce2d0a97477de15da923d515c2747b7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee", unrolled_ast = "8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee", ssa_ast = "067f4c96209dac008749bb0cc4dcee6fa21bfd29d48632adccc0a2275cb1de0b", flattened_ast = "5cd4d7c64a6e61d634b1411cc165a803338eaf57cdad65bef53d49b44d2fe67d", destructured_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", inlined_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", dce_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", bytecode = "1e385f77b2a0d6c95fc6747906e33664cce2d0a97477de15da923d515c2747b7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/hex_and_bin.out b/tests/expectations/compiler/integers/u64/hex_and_bin.out index 77164a2f87..0c78e72018 100644 --- a/tests/expectations/compiler/integers/u64/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u64/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 66703eae3479604c1a104dc3c3af1a26534eeffe6335c531fe469d81de678319 - type_checked_symbol_table: f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3 - unrolled_symbol_table: f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3 - initial_ast: 3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595 - unrolled_ast: 3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595 - ssa_ast: 3d1f1c8bc39d267e379c50872cc3bcc33e560779b169afc0613378ac48a76f81 - flattened_ast: 56ef2daacc74311d0d41443e80dd169f2e0298f5f32face6727494e1eb365216 - destructured_ast: af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6 - inlined_ast: af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6 - dce_ast: af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6 - bytecode: a08b4b1bd7545be176cf1810786db503dbd0ac4cbb76bba3a625daefa762e8ce - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "66703eae3479604c1a104dc3c3af1a26534eeffe6335c531fe469d81de678319", type_checked_symbol_table = "f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3", unrolled_symbol_table = "f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3", initial_ast = "3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595", unrolled_ast = "3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595", ssa_ast = "3d1f1c8bc39d267e379c50872cc3bcc33e560779b169afc0613378ac48a76f81", flattened_ast = "56ef2daacc74311d0d41443e80dd169f2e0298f5f32face6727494e1eb365216", destructured_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", inlined_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", dce_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", bytecode = "a08b4b1bd7545be176cf1810786db503dbd0ac4cbb76bba3a625daefa762e8ce", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/hex_min_fail.out b/tests/expectations/compiler/integers/u64/hex_min_fail.out index 2d017a99d8..5b66e93562 100644 --- a/tests/expectations/compiler/integers/u64/hex_min_fail.out +++ b/tests/expectations/compiler/integers/u64/hex_min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -0x1 is not a valid `u64`\n --> compiler-test:5:22\n |\n 5 | let a: u64 = -0x1u64;\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -0x1 is not a valid `u64` + --> compiler-test:5:22 + | + 5 | let a: u64 = -0x1u64; + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u64/le.out b/tests/expectations/compiler/integers/u64/le.out index 120090a900..697f6082f6 100644 --- a/tests/expectations/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/integers/u64/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7 - type_checked_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - unrolled_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - initial_ast: c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a - unrolled_ast: c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a - ssa_ast: b08c32c631655ec5466fd76ec3136a5ace7f41e2f1d1e5c9de27d11bb9328d70 - flattened_ast: 76f534ff4047d50739405d442c7589f4a9548be0c5a5d835035a4827d77a9577 - destructured_ast: 85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5 - inlined_ast: 85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5 - dce_ast: 85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5 - bytecode: 8236ef7329613c24727637bdb29f45feb3ad59e82ed99249b8f5098b82922859 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a", unrolled_ast = "c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a", ssa_ast = "b08c32c631655ec5466fd76ec3136a5ace7f41e2f1d1e5c9de27d11bb9328d70", flattened_ast = "76f534ff4047d50739405d442c7589f4a9548be0c5a5d835035a4827d77a9577", destructured_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", inlined_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", dce_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", bytecode = "8236ef7329613c24727637bdb29f45feb3ad59e82ed99249b8f5098b82922859", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/lt.out b/tests/expectations/compiler/integers/u64/lt.out index 3a40780d5a..dbc10ac07b 100644 --- a/tests/expectations/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/integers/u64/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7 - type_checked_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - unrolled_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - initial_ast: e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3 - unrolled_ast: e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3 - ssa_ast: acb63bdb8b87fcb769b85637b378736501c6d1cac813d9847028edfd48597e5b - flattened_ast: 55b3541dccd06890419617b762c61120c45ea4fb6a9349be69bf2458ced092b9 - destructured_ast: 60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496 - inlined_ast: 60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496 - dce_ast: 60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496 - bytecode: b436a196b7beab8b7a51791cc458801a2cd9498aeced74c07b81a7f1cc77e183 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3", unrolled_ast = "e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3", ssa_ast = "acb63bdb8b87fcb769b85637b378736501c6d1cac813d9847028edfd48597e5b", flattened_ast = "55b3541dccd06890419617b762c61120c45ea4fb6a9349be69bf2458ced092b9", destructured_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", inlined_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", dce_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", bytecode = "b436a196b7beab8b7a51791cc458801a2cd9498aeced74c07b81a7f1cc77e183", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/max.out b/tests/expectations/compiler/integers/u64/max.out index 5c8da7b6d7..143ae49edf 100644 --- a/tests/expectations/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/integers/u64/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e - unrolled_symbol_table: 47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e - initial_ast: 956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592 - unrolled_ast: 956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592 - ssa_ast: f36f9c462f2a1d2320879740b3d63eb5aea3e51371fa3531a1dfa560d18c9509 - flattened_ast: 62e6a5732976a694b36b54674c5df40be9c342a57978cc747dd30572985d1f7b - destructured_ast: 24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da - inlined_ast: 24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da - dce_ast: bd1b89b6865ff3f3c4fca13a17988ae9435547ebd36785f0fe6e1b793e6e81ef - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", unrolled_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", initial_ast = "956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592", unrolled_ast = "956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592", ssa_ast = "f36f9c462f2a1d2320879740b3d63eb5aea3e51371fa3531a1dfa560d18c9509", flattened_ast = "62e6a5732976a694b36b54674c5df40be9c342a57978cc747dd30572985d1f7b", destructured_ast = "24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da", inlined_ast = "24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da", dce_ast = "bd1b89b6865ff3f3c4fca13a17988ae9435547ebd36785f0fe6e1b793e6e81ef", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/max_fail.out b/tests/expectations/compiler/integers/u64/max_fail.out index 8dd4d931ec..1f88d1f878 100644 --- a/tests/expectations/compiler/integers/u64/max_fail.out +++ b/tests/expectations/compiler/integers/u64/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 18446744073709551616 is not a valid `u64`\n --> compiler-test:5:22\n |\n 5 | let a: u64 = 18446744073709551616u64;\n | ^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 18446744073709551616 is not a valid `u64` + --> compiler-test:5:22 + | + 5 | let a: u64 = 18446744073709551616u64; + | ^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u64/min.out b/tests/expectations/compiler/integers/u64/min.out index 387d76292e..fcd09e242d 100644 --- a/tests/expectations/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/integers/u64/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: 47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e - unrolled_symbol_table: 47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e - initial_ast: a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc - unrolled_ast: a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc - ssa_ast: 55b66a2773f898ed351344ce78aaf2ecc952ea8785bb7c517a4c754726efcacf - flattened_ast: fd82660040db020b9022947daf2e43cfd8e6b5173b15c822d8fc0a06d1a2440b - destructured_ast: 622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09 - inlined_ast: 622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09 - dce_ast: 0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", unrolled_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", initial_ast = "a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc", unrolled_ast = "a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc", ssa_ast = "55b66a2773f898ed351344ce78aaf2ecc952ea8785bb7c517a4c754726efcacf", flattened_ast = "fd82660040db020b9022947daf2e43cfd8e6b5173b15c822d8fc0a06d1a2440b", destructured_ast = "622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09", inlined_ast = "622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/min_fail.out b/tests/expectations/compiler/integers/u64/min_fail.out index fb95e00e45..65d3920d4c 100644 --- a/tests/expectations/compiler/integers/u64/min_fail.out +++ b/tests/expectations/compiler/integers/u64/min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -1 is not a valid `u64`\n --> compiler-test:5:22\n |\n 5 | let a: u64 = -1u64;\n | ^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -1 is not a valid `u64` + --> compiler-test:5:22 + | + 5 | let a: u64 = -1u64; + | ^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u64/mul.out b/tests/expectations/compiler/integers/u64/mul.out index c3db5d810c..810062cc10 100644 --- a/tests/expectations/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/integers/u64/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7 - unrolled_ast: d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7 - ssa_ast: 5d1abfb1f06876b476ec7a25335bb21cb85d4e52e13295b379f25373f28a7bb1 - flattened_ast: 031b82e778118a0bb460635c492c816b6829734c846079cf1c443923fb72cde7 - destructured_ast: 56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015 - inlined_ast: 56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015 - dce_ast: 56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015 - bytecode: 78f1462dd03f403c4a6d09ee9fe96c4a38f860069190d718a34416b68b9b5643 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7", unrolled_ast = "d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7", ssa_ast = "5d1abfb1f06876b476ec7a25335bb21cb85d4e52e13295b379f25373f28a7bb1", flattened_ast = "031b82e778118a0bb460635c492c816b6829734c846079cf1c443923fb72cde7", destructured_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", inlined_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", dce_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", bytecode = "78f1462dd03f403c4a6d09ee9fe96c4a38f860069190d718a34416b68b9b5643", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/ne.out b/tests/expectations/compiler/integers/u64/ne.out index 75a72b7f59..8884d8b3de 100644 --- a/tests/expectations/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/integers/u64/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7 - type_checked_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - unrolled_symbol_table: 64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384 - initial_ast: c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9 - unrolled_ast: c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9 - ssa_ast: 6ba2bcc27aaec94fbacfce0f00799f6a1c8e792ff2fb145953a942d0bc323a35 - flattened_ast: 1aa11c36fbfcf526e0c0d83ec21135c507828be4ad32abfc02cba4672bdf3b7b - destructured_ast: add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a - inlined_ast: add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a - dce_ast: add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a - bytecode: a7b99df5f7c17bca61aa58a32b7dd8b1b4281302d545b2a88b8c162d1c52dbaa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9", unrolled_ast = "c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9", ssa_ast = "6ba2bcc27aaec94fbacfce0f00799f6a1c8e792ff2fb145953a942d0bc323a35", flattened_ast = "1aa11c36fbfcf526e0c0d83ec21135c507828be4ad32abfc02cba4672bdf3b7b", destructured_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", inlined_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", dce_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", bytecode = "a7b99df5f7c17bca61aa58a32b7dd8b1b4281302d545b2a88b8c162d1c52dbaa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/no_space_between_literal.out b/tests/expectations/compiler/integers/u64/no_space_between_literal.out index ff6c90aa64..78a33ffcd1 100644 --- a/tests/expectations/compiler/integers/u64/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/u64/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 u64;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 u64; + | ^"""] diff --git a/tests/expectations/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/integers/u64/operator_methods.out index 35e8da6a1a..0202168e18 100644 --- a/tests/expectations/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/integers/u64/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494 - type_checked_symbol_table: 16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716 - unrolled_symbol_table: 16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716 - initial_ast: 1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395 - unrolled_ast: 1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395 - ssa_ast: 5d774969b080819cb23ce4796c73ec5a7d214875a10b3699f37428863756cc25 - flattened_ast: 4915277b235ae90c19075c267d7025f243f2f6476336c9ac84489cf3bd18e2c3 - destructured_ast: 9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be - inlined_ast: 9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be - dce_ast: a2c430c2dcd78b836f04d79a982090cd4ffe815738a7ce1ebe3ec0a5cb7e88a3 - bytecode: e5ef9b94c6b2173341804d3fd3d6ca89bcdebc38ed22f7444bb4e140d86f5f00 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494", type_checked_symbol_table = "16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716", unrolled_symbol_table = "16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716", initial_ast = "1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395", unrolled_ast = "1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395", ssa_ast = "5d774969b080819cb23ce4796c73ec5a7d214875a10b3699f37428863756cc25", flattened_ast = "4915277b235ae90c19075c267d7025f243f2f6476336c9ac84489cf3bd18e2c3", destructured_ast = "9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be", inlined_ast = "9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be", dce_ast = "a2c430c2dcd78b836f04d79a982090cd4ffe815738a7ce1ebe3ec0a5cb7e88a3", bytecode = "e5ef9b94c6b2173341804d3fd3d6ca89bcdebc38ed22f7444bb4e140d86f5f00", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/or.out b/tests/expectations/compiler/integers/u64/or.out index 477d12ab21..91ab6bd78c 100644 --- a/tests/expectations/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/integers/u64/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d - unrolled_ast: e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d - ssa_ast: d43ecbee520bbc954201b7586c9b1af00fbc6be6494b50141f333d87c6002361 - flattened_ast: ecd6d169bb3013ea659ca6fca5c93a991f3d361008b1075d611c12c868b6f58a - destructured_ast: ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779 - inlined_ast: ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779 - dce_ast: ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779 - bytecode: 13cd83b19f077edfeb58e50adbd76dac67742cef9747f50f4bc4bdb3ec3dc38e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d", unrolled_ast = "e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d", ssa_ast = "d43ecbee520bbc954201b7586c9b1af00fbc6be6494b50141f333d87c6002361", flattened_ast = "ecd6d169bb3013ea659ca6fca5c93a991f3d361008b1075d611c12c868b6f58a", destructured_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", inlined_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", dce_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", bytecode = "13cd83b19f077edfeb58e50adbd76dac67742cef9747f50f4bc4bdb3ec3dc38e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/pow.out b/tests/expectations/compiler/integers/u64/pow.out index ffeb159aef..08372cac39 100644 --- a/tests/expectations/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/integers/u64/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe - unrolled_ast: c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe - ssa_ast: 5a3040d98fd249dc56b3de2828138879c76a037e7437a743ab7b86cfea7df084 - flattened_ast: 0dbf464b23ffe7411adecc1b2586d735cc6ac9da63d6a465330c5273ca0a9ab6 - destructured_ast: cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9 - inlined_ast: cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9 - dce_ast: cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9 - bytecode: d1aaa5f10bdbc9f2ea3144d83472c27d7f6d6ae31fa26196f320db6d7a9b0403 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe", unrolled_ast = "c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe", ssa_ast = "5a3040d98fd249dc56b3de2828138879c76a037e7437a743ab7b86cfea7df084", flattened_ast = "0dbf464b23ffe7411adecc1b2586d735cc6ac9da63d6a465330c5273ca0a9ab6", destructured_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", inlined_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", dce_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", bytecode = "d1aaa5f10bdbc9f2ea3144d83472c27d7f6d6ae31fa26196f320db6d7a9b0403", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/rem.out b/tests/expectations/compiler/integers/u64/rem.out index 2e35ff94d4..6dc0fcc4ee 100644 --- a/tests/expectations/compiler/integers/u64/rem.out +++ b/tests/expectations/compiler/integers/u64/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: 1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6 - unrolled_ast: 1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6 - ssa_ast: da64a6818ac99c8f49202cf18d90551596c95d0bd29b8576c6edcd3587220e0d - flattened_ast: e0456e0d7b4a21960712b144691a28714728ff64ef19d0c24df84b9f182e1d6f - destructured_ast: da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b - inlined_ast: da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b - dce_ast: da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b - bytecode: a9ad512e3741c4b6ee79435b76680783f4e9de0ae6720f3945fe03a8a4fd4d0d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6", unrolled_ast = "1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6", ssa_ast = "da64a6818ac99c8f49202cf18d90551596c95d0bd29b8576c6edcd3587220e0d", flattened_ast = "e0456e0d7b4a21960712b144691a28714728ff64ef19d0c24df84b9f182e1d6f", destructured_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", inlined_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", dce_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", bytecode = "a9ad512e3741c4b6ee79435b76680783f4e9de0ae6720f3945fe03a8a4fd4d0d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/shl.out b/tests/expectations/compiler/integers/u64/shl.out index 38741c4e09..ac18835309 100644 --- a/tests/expectations/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/integers/u64/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999 - unrolled_ast: c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999 - ssa_ast: 71454fed4fa45517151318c18a8c5ad5850e435490178114bf88375fea35bc31 - flattened_ast: 01c6c0a056c2f0af29cc5b5514e2e578e7fce060184f51c13e597e5dcb12cfe3 - destructured_ast: d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a - inlined_ast: d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a - dce_ast: d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a - bytecode: d36e49eaf108a44b1c40155c909914f866e5ce509034c1ae630d22a37c702cba - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999", unrolled_ast = "c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999", ssa_ast = "71454fed4fa45517151318c18a8c5ad5850e435490178114bf88375fea35bc31", flattened_ast = "01c6c0a056c2f0af29cc5b5514e2e578e7fce060184f51c13e597e5dcb12cfe3", destructured_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", inlined_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", dce_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", bytecode = "d36e49eaf108a44b1c40155c909914f866e5ce509034c1ae630d22a37c702cba", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/shr.out b/tests/expectations/compiler/integers/u64/shr.out index 473b9a8b79..7bb17bbdda 100644 --- a/tests/expectations/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/integers/u64/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: 6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9 - unrolled_ast: 6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9 - ssa_ast: cc4eb56c0d774b307222ed683227293cc60152ece904459de557dabcadf5b2bc - flattened_ast: 8119ff883bd63a4b5f7dca4517a34e9991e0e6100772418fce877cabcc3e135a - destructured_ast: a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a - inlined_ast: a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a - dce_ast: a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a - bytecode: 58d1ec6467fbeb13930300da8864ec299ab548393dd572f1ccd4878a599873e2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9", unrolled_ast = "6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9", ssa_ast = "cc4eb56c0d774b307222ed683227293cc60152ece904459de557dabcadf5b2bc", flattened_ast = "8119ff883bd63a4b5f7dca4517a34e9991e0e6100772418fce877cabcc3e135a", destructured_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", inlined_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", dce_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", bytecode = "58d1ec6467fbeb13930300da8864ec299ab548393dd572f1ccd4878a599873e2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/sub.out b/tests/expectations/compiler/integers/u64/sub.out index 50972d792b..a4d53d8ab3 100644 --- a/tests/expectations/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/integers/u64/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537 - type_checked_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - unrolled_symbol_table: 578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9 - initial_ast: b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba - unrolled_ast: b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba - ssa_ast: f107cc7f828eeff9e367dc11309e071515b81a8c73179e566570b9bdb9eecb71 - flattened_ast: 4385eaa0ec21b5d03b26907fa1d1873e57f34ac324d8a03741d292d3333c99df - destructured_ast: 1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce - inlined_ast: 1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce - dce_ast: 1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce - bytecode: fe0eb66afc2af38ebf4fd30fa4eb0af15eda6be5302fb2a7470485b4536d06e4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba", unrolled_ast = "b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba", ssa_ast = "f107cc7f828eeff9e367dc11309e071515b81a8c73179e566570b9bdb9eecb71", flattened_ast = "4385eaa0ec21b5d03b26907fa1d1873e57f34ac324d8a03741d292d3333c99df", destructured_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", inlined_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", dce_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", bytecode = "fe0eb66afc2af38ebf4fd30fa4eb0af15eda6be5302fb2a7470485b4536d06e4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/ternary.out b/tests/expectations/compiler/integers/u64/ternary.out index e41e120cd9..fd5440eae7 100644 --- a/tests/expectations/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/integers/u64/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: af5bb70010470d5714417095d2df855d9f9550a3f518dfd1b76ba620a5768bf5 - type_checked_symbol_table: 5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc - unrolled_symbol_table: 5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc - initial_ast: f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff - unrolled_ast: f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff - ssa_ast: 5a0ed7c8d8363664d85f5133143d0b0e9b9af850c40bddaec9264591d52551a9 - flattened_ast: de73974d13be25bcbedea21425b238e0c1c3deb33937d04d448c1ac6db761349 - destructured_ast: 6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74 - inlined_ast: 6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74 - dce_ast: 6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74 - bytecode: 4e191316243b5f6fff5d47a3177f3ec59d72ce76b7f3d6d3aa0da615f67a4087 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "af5bb70010470d5714417095d2df855d9f9550a3f518dfd1b76ba620a5768bf5", type_checked_symbol_table = "5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc", unrolled_symbol_table = "5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc", initial_ast = "f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff", unrolled_ast = "f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff", ssa_ast = "5a0ed7c8d8363664d85f5133143d0b0e9b9af850c40bddaec9264591d52551a9", flattened_ast = "de73974d13be25bcbedea21425b238e0c1c3deb33937d04d448c1ac6db761349", destructured_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", inlined_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", dce_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", bytecode = "4e191316243b5f6fff5d47a3177f3ec59d72ce76b7f3d6d3aa0da615f67a4087", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/xor.out b/tests/expectations/compiler/integers/u64/xor.out index ab555420db..6d7fe4db77 100644 --- a/tests/expectations/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/integers/u64/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 669a9cf397a17bfcad5aea2b451b5ef5d131de5475e85baf0e2dac9148374af0 - type_checked_symbol_table: 223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8 - unrolled_symbol_table: 223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8 - initial_ast: 5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d - unrolled_ast: 5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d - ssa_ast: fd362a3a680eb691b892415a280cdaea38fd0224ce2a06ea5602aaf7e2fbaa84 - flattened_ast: ff979b5af09ffcc8cbd714599f1a6f62de56557be06335326347bb2cb5501a47 - destructured_ast: e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092 - inlined_ast: e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092 - dce_ast: e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092 - bytecode: cf0a59e484f688e214a001360e2b18445ca6764fbd6c05f133ff317504b3fb3c - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "669a9cf397a17bfcad5aea2b451b5ef5d131de5475e85baf0e2dac9148374af0", type_checked_symbol_table = "223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8", unrolled_symbol_table = "223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8", initial_ast = "5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d", unrolled_ast = "5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d", ssa_ast = "fd362a3a680eb691b892415a280cdaea38fd0224ce2a06ea5602aaf7e2fbaa84", flattened_ast = "ff979b5af09ffcc8cbd714599f1a6f62de56557be06335326347bb2cb5501a47", destructured_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", inlined_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", dce_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", bytecode = "cf0a59e484f688e214a001360e2b18445ca6764fbd6c05f133ff317504b3fb3c", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/add.out b/tests/expectations/compiler/integers/u8/add.out index f092cb2ba7..074c091272 100644 --- a/tests/expectations/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/integers/u8/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b - unrolled_ast: efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b - ssa_ast: 5a22ca477d0589200efceae9b7f306a6aca6f4c43cf60e22dad998d201f599d2 - flattened_ast: e8f39ffb636b1c063bc8442b4629d7ab9edbe5aa82772e5bed7e1d900d363f89 - destructured_ast: 26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a - inlined_ast: 26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a - dce_ast: 26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a - bytecode: 6761db493c28a4d597f857d8d63da1678bb9f4408795168fe82a841acf77f89e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b", unrolled_ast = "efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b", ssa_ast = "5a22ca477d0589200efceae9b7f306a6aca6f4c43cf60e22dad998d201f599d2", flattened_ast = "e8f39ffb636b1c063bc8442b4629d7ab9edbe5aa82772e5bed7e1d900d363f89", destructured_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", inlined_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", dce_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", bytecode = "6761db493c28a4d597f857d8d63da1678bb9f4408795168fe82a841acf77f89e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/and.out b/tests/expectations/compiler/integers/u8/and.out index 8a381aa93c..58ac0da438 100644 --- a/tests/expectations/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/integers/u8/and.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7 - unrolled_ast: e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7 - ssa_ast: 9ad8195284adde626ee3db78e039f3824ce9424c573df26c0ec68520cb7bb78e - flattened_ast: f45ba11eedd7083a3d1c3ab1eb1acb3b3a173f2aee6b204a1f43ba3a5dac64be - destructured_ast: 682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd - inlined_ast: 682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd - dce_ast: 682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd - bytecode: 31f37fed73b997c95b00e68369546c32ee9baeac9bc4c08113248156f68f7365 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7", unrolled_ast = "e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7", ssa_ast = "9ad8195284adde626ee3db78e039f3824ce9424c573df26c0ec68520cb7bb78e", flattened_ast = "f45ba11eedd7083a3d1c3ab1eb1acb3b3a173f2aee6b204a1f43ba3a5dac64be", destructured_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", inlined_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", dce_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", bytecode = "31f37fed73b997c95b00e68369546c32ee9baeac9bc4c08113248156f68f7365", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/integers/u8/console_assert.out index 9427d71757..149e897eff 100644 --- a/tests/expectations/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/integers/u8/console_assert.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08 - type_checked_symbol_table: 3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9 - unrolled_symbol_table: 3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9 - initial_ast: 47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e - unrolled_ast: 47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e - ssa_ast: 640a98b36b4c5ea20c36088b42ad7e4a93c32ba99e0112dec4ecf53eeda8ec43 - flattened_ast: f31dbae930ab5c189ac8ca8aa76b0cbb44e1f556bd31c8f2dfd5bbba2aadd8b7 - destructured_ast: 69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef - inlined_ast: 69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef - dce_ast: 69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef - bytecode: 4c7bc1ae9e77f79475afa9f5201eefc0fe85291af17b3d746bd69336e42101a1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08", type_checked_symbol_table = "3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9", unrolled_symbol_table = "3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9", initial_ast = "47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e", unrolled_ast = "47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e", ssa_ast = "640a98b36b4c5ea20c36088b42ad7e4a93c32ba99e0112dec4ecf53eeda8ec43", flattened_ast = "f31dbae930ab5c189ac8ca8aa76b0cbb44e1f556bd31c8f2dfd5bbba2aadd8b7", destructured_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", inlined_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", dce_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", bytecode = "4c7bc1ae9e77f79475afa9f5201eefc0fe85291af17b3d746bd69336e42101a1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/div.out b/tests/expectations/compiler/integers/u8/div.out index 8ab0931493..e53a40fc73 100644 --- a/tests/expectations/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/integers/u8/div.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: 4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9 - unrolled_ast: 4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9 - ssa_ast: 2f3105be9a43e7f69e7ff541cad703fc208d6bd4ca2362f67836fd8b80bc7e54 - flattened_ast: 318a16183e22c65e6c2bb06ca80d0edc59d68b276c845eec1fa79e9ea8904138 - destructured_ast: 6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59 - inlined_ast: 6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59 - dce_ast: 6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59 - bytecode: 632b53e1874bb592e38caef626784ecc81f0b250a76ed6ece1d92b0e3e07f0f3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9", unrolled_ast = "4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9", ssa_ast = "2f3105be9a43e7f69e7ff541cad703fc208d6bd4ca2362f67836fd8b80bc7e54", flattened_ast = "318a16183e22c65e6c2bb06ca80d0edc59d68b276c845eec1fa79e9ea8904138", destructured_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", inlined_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", dce_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", bytecode = "632b53e1874bb592e38caef626784ecc81f0b250a76ed6ece1d92b0e3e07f0f3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/eq.out b/tests/expectations/compiler/integers/u8/eq.out index a4541f59a4..7dcfc54c29 100644 --- a/tests/expectations/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/integers/u8/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68 - type_checked_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - unrolled_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - initial_ast: efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9 - unrolled_ast: efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9 - ssa_ast: 7286508bf6566b68641d1be373ca823770588080d09b31653e732ce39f4b7a6d - flattened_ast: f1d4d4124964d5fa2b4c302fff4de8e8208e8c451e69ed501556cbbd6042939c - destructured_ast: c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b - inlined_ast: c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b - dce_ast: c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b - bytecode: a8fabd0b697054bb6de3971dbb93d8a9fb228135f08372b2ae641bb32d670d62 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9", unrolled_ast = "efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9", ssa_ast = "7286508bf6566b68641d1be373ca823770588080d09b31653e732ce39f4b7a6d", flattened_ast = "f1d4d4124964d5fa2b4c302fff4de8e8208e8c451e69ed501556cbbd6042939c", destructured_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", inlined_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", dce_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", bytecode = "a8fabd0b697054bb6de3971dbb93d8a9fb228135f08372b2ae641bb32d670d62", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/ge.out b/tests/expectations/compiler/integers/u8/ge.out index 2e92d9e5dc..7af1331ac5 100644 --- a/tests/expectations/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/integers/u8/ge.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68 - type_checked_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - unrolled_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - initial_ast: 0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593 - unrolled_ast: 0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593 - ssa_ast: bb375590f4ffe518b374a9684faf0a7ae3860fbbca5ddbd33d0aff01f23cc270 - flattened_ast: 4bb471d022fa068e0f1e92cabc2a14a92fad07967afeea684f75a5dcfceaeaba - destructured_ast: 750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106 - inlined_ast: 750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106 - dce_ast: 750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106 - bytecode: f6c47583029e6e00d1d236422c0365a273e4da8dad6dabfb1fe6d1081dc03311 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593", unrolled_ast = "0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593", ssa_ast = "bb375590f4ffe518b374a9684faf0a7ae3860fbbca5ddbd33d0aff01f23cc270", flattened_ast = "4bb471d022fa068e0f1e92cabc2a14a92fad07967afeea684f75a5dcfceaeaba", destructured_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", inlined_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", dce_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", bytecode = "f6c47583029e6e00d1d236422c0365a273e4da8dad6dabfb1fe6d1081dc03311", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/gt.out b/tests/expectations/compiler/integers/u8/gt.out index 73fa26f8b7..5cdaf8fe80 100644 --- a/tests/expectations/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/integers/u8/gt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68 - type_checked_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - unrolled_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - initial_ast: fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60 - unrolled_ast: fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60 - ssa_ast: 172c125113dd9fc2cc2d24e2d42b7796e4ad752190df6b235907c4c1c590d26a - flattened_ast: a8aed6d7d6ebd92844e024f33600d95320c22166f0275b0c9e181d0a6ea11758 - destructured_ast: bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe - inlined_ast: bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe - dce_ast: bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe - bytecode: 33459897e4a71fffb71fcfaead0d591ef888473dd61c5c1b83465aa7f99c7f69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60", unrolled_ast = "fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60", ssa_ast = "172c125113dd9fc2cc2d24e2d42b7796e4ad752190df6b235907c4c1c590d26a", flattened_ast = "a8aed6d7d6ebd92844e024f33600d95320c22166f0275b0c9e181d0a6ea11758", destructured_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", inlined_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", dce_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", bytecode = "33459897e4a71fffb71fcfaead0d591ef888473dd61c5c1b83465aa7f99c7f69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/hex_and_bin.out b/tests/expectations/compiler/integers/u8/hex_and_bin.out index a79259cf73..afde2e13de 100644 --- a/tests/expectations/compiler/integers/u8/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u8/hex_and_bin.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1cdb916e552080097fc5fac0315c0c26ad6f8e64298d5f2c5dec31e3195406ce - type_checked_symbol_table: e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec - unrolled_symbol_table: e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec - initial_ast: b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06 - unrolled_ast: b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06 - ssa_ast: c15ee60086ba634ffb14afce5bc0378bf33a198ca56ebadf0a9380d7ee895795 - flattened_ast: a2136e43cf3e1235a40387555ace7ca559b7923a5b809260ccd255ee7f8e33d2 - destructured_ast: d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f - inlined_ast: d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f - dce_ast: d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f - bytecode: 4087f327f8f99a0514961355a1a8514c5983a95570949196a5280d316be23918 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1cdb916e552080097fc5fac0315c0c26ad6f8e64298d5f2c5dec31e3195406ce", type_checked_symbol_table = "e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec", unrolled_symbol_table = "e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec", initial_ast = "b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06", unrolled_ast = "b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06", ssa_ast = "c15ee60086ba634ffb14afce5bc0378bf33a198ca56ebadf0a9380d7ee895795", flattened_ast = "a2136e43cf3e1235a40387555ace7ca559b7923a5b809260ccd255ee7f8e33d2", destructured_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", inlined_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", dce_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", bytecode = "4087f327f8f99a0514961355a1a8514c5983a95570949196a5280d316be23918", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/hex_min_fail.out b/tests/expectations/compiler/integers/u8/hex_min_fail.out index 8ea3d1d0dc..92f64fc5be 100644 --- a/tests/expectations/compiler/integers/u8/hex_min_fail.out +++ b/tests/expectations/compiler/integers/u8/hex_min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -0x1 is not a valid `u8`\n --> compiler-test:5:21\n |\n 5 | let a: u8 = -0x1u8;\n | ^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -0x1 is not a valid `u8` + --> compiler-test:5:21 + | + 5 | let a: u8 = -0x1u8; + | ^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u8/le.out b/tests/expectations/compiler/integers/u8/le.out index ed42f5c17d..bd3b7e6ef4 100644 --- a/tests/expectations/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/integers/u8/le.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68 - type_checked_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - unrolled_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - initial_ast: 40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f - unrolled_ast: 40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f - ssa_ast: bc8eb1e49a60a35068ca83212e377b9f036d21e33be2afb400c985c5d725e29a - flattened_ast: 308db0e049dabca214fd07a84b47b12513b5e0f4ecd709bb0f489a4c21beb6bc - destructured_ast: 8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49 - inlined_ast: 8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49 - dce_ast: 8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49 - bytecode: 4e59b997e48f430720d435483ba0e45c45df4be732f87661f59f7f6b87331c30 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f", unrolled_ast = "40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f", ssa_ast = "bc8eb1e49a60a35068ca83212e377b9f036d21e33be2afb400c985c5d725e29a", flattened_ast = "308db0e049dabca214fd07a84b47b12513b5e0f4ecd709bb0f489a4c21beb6bc", destructured_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", inlined_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", dce_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", bytecode = "4e59b997e48f430720d435483ba0e45c45df4be732f87661f59f7f6b87331c30", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/lt.out b/tests/expectations/compiler/integers/u8/lt.out index e8fea076b7..719f3f702f 100644 --- a/tests/expectations/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/integers/u8/lt.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68 - type_checked_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - unrolled_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - initial_ast: de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf - unrolled_ast: de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf - ssa_ast: 0643a094ef54eb43c0f81b2662953dc25080c26c3dc7e0a0673a398c2a0956d7 - flattened_ast: 309de39adb3e4f3a44fb80f5b78ebf52ee323138ad3ade323b6fbd2268e2fddd - destructured_ast: 19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd - inlined_ast: 19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd - dce_ast: 19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd - bytecode: a785c0d8cfd6988cde7a87a968cf8aa87ac982a4c4aef53474348c4e0525d714 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf", unrolled_ast = "de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf", ssa_ast = "0643a094ef54eb43c0f81b2662953dc25080c26c3dc7e0a0673a398c2a0956d7", flattened_ast = "309de39adb3e4f3a44fb80f5b78ebf52ee323138ad3ade323b6fbd2268e2fddd", destructured_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", inlined_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", dce_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", bytecode = "a785c0d8cfd6988cde7a87a968cf8aa87ac982a4c4aef53474348c4e0525d714", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/max.out b/tests/expectations/compiler/integers/u8/max.out index d550baee1f..d080e21320 100644 --- a/tests/expectations/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/integers/u8/max.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2 - unrolled_symbol_table: ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2 - initial_ast: c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1 - unrolled_ast: c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1 - ssa_ast: 36f8c6c4f5ed46d53f7eedc714911c750325d675bb9829c0bb5dd15452b7e4a4 - flattened_ast: 653e3db30ecb3b12429d834b689381bc0a12ac396efc0db0fac5f89ceef3a1a6 - destructured_ast: f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee - inlined_ast: f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee - dce_ast: 0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", unrolled_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", initial_ast = "c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1", unrolled_ast = "c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1", ssa_ast = "36f8c6c4f5ed46d53f7eedc714911c750325d675bb9829c0bb5dd15452b7e4a4", flattened_ast = "653e3db30ecb3b12429d834b689381bc0a12ac396efc0db0fac5f89ceef3a1a6", destructured_ast = "f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee", inlined_ast = "f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/max_fail.out b/tests/expectations/compiler/integers/u8/max_fail.out index 2d0ad875c3..d595a89959 100644 --- a/tests/expectations/compiler/integers/u8/max_fail.out +++ b/tests/expectations/compiler/integers/u8/max_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 256 is not a valid `u8`\n --> compiler-test:5:21\n |\n 5 | let a: u8 = 256u8;\n | ^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 256 is not a valid `u8` + --> compiler-test:5:21 + | + 5 | let a: u8 = 256u8; + | ^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u8/min.out b/tests/expectations/compiler/integers/u8/min.out index c6ef9f26a5..610c2ce7ba 100644 --- a/tests/expectations/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/integers/u8/min.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3 - type_checked_symbol_table: ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2 - unrolled_symbol_table: ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2 - initial_ast: a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65 - unrolled_ast: a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65 - ssa_ast: d54853e18230d2740892c0083a97cc565308e1171e3500c89483b7ccd62a3c7e - flattened_ast: da76c303feaf9ad401296149667476a341fa65903303afd30f5716865705f66f - destructured_ast: 294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7 - inlined_ast: 294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7 - dce_ast: 0bc8cae6ca98dfaf17462949c63c9f345e408eb984fdffceb4d0dab8b42fd3a4 - bytecode: 651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", unrolled_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", initial_ast = "a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65", unrolled_ast = "a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65", ssa_ast = "d54853e18230d2740892c0083a97cc565308e1171e3500c89483b7ccd62a3c7e", flattened_ast = "da76c303feaf9ad401296149667476a341fa65903303afd30f5716865705f66f", destructured_ast = "294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7", inlined_ast = "294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7", dce_ast = "0bc8cae6ca98dfaf17462949c63c9f345e408eb984fdffceb4d0dab8b42fd3a4", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/min_fail.out b/tests/expectations/compiler/integers/u8/min_fail.out index c9287af369..eed953b08c 100644 --- a/tests/expectations/compiler/integers/u8/min_fail.out +++ b/tests/expectations/compiler/integers/u8/min_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:5:21\n |\n 5 | let a: u8 = -1u8;\n | ^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:5:21 + | + 5 | let a: u8 = -1u8; + | ^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/integers/u8/mul.out b/tests/expectations/compiler/integers/u8/mul.out index fa52d8359b..7374e69742 100644 --- a/tests/expectations/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/integers/u8/mul.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f - unrolled_ast: ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f - ssa_ast: 4da2f93656d5412136e06f5e3ed8a983de027b440b5c9e5a1ee863d433b80ec8 - flattened_ast: eca9c08535955193f1c019bf8a25e6bf86a97bc80905f7c14cf40cbc81f42721 - destructured_ast: f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502 - inlined_ast: f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502 - dce_ast: f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502 - bytecode: 937e45d26a72a2f9c73609facb8351023ac2bd00390e289501ad3729b65adbb4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f", unrolled_ast = "ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f", ssa_ast = "4da2f93656d5412136e06f5e3ed8a983de027b440b5c9e5a1ee863d433b80ec8", flattened_ast = "eca9c08535955193f1c019bf8a25e6bf86a97bc80905f7c14cf40cbc81f42721", destructured_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", inlined_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", dce_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", bytecode = "937e45d26a72a2f9c73609facb8351023ac2bd00390e289501ad3729b65adbb4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/ne.out b/tests/expectations/compiler/integers/u8/ne.out index 2b92b7b753..385e54d117 100644 --- a/tests/expectations/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/integers/u8/ne.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68 - type_checked_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - unrolled_symbol_table: a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9 - initial_ast: 525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556 - unrolled_ast: 525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556 - ssa_ast: 2c2e46313fd92c5d16efe070c79bc95ea949995fffc2cead3770dd23b45f3819 - flattened_ast: 24321e650b55978a239f9bb25607ef6c1355a6e62158f142577041df17dc64da - destructured_ast: 9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022 - inlined_ast: 9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022 - dce_ast: 9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022 - bytecode: 675110e460b707b82a70a488ae58b8d118d946909f825c9afd6121254e676c03 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556", unrolled_ast = "525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556", ssa_ast = "2c2e46313fd92c5d16efe070c79bc95ea949995fffc2cead3770dd23b45f3819", flattened_ast = "24321e650b55978a239f9bb25607ef6c1355a6e62158f142577041df17dc64da", destructured_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", inlined_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", dce_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", bytecode = "675110e460b707b82a70a488ae58b8d118d946909f825c9afd6121254e676c03", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/no_space_between_literal.out b/tests/expectations/compiler/integers/u8/no_space_between_literal.out index 15b8e63fe2..b42932a502 100644 --- a/tests/expectations/compiler/integers/u8/no_space_between_literal.out +++ b/tests/expectations/compiler/integers/u8/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:15\n |\n 5 | let i = 1 u8;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:15 + | + 5 | let i = 1 u8; + | ^"""] diff --git a/tests/expectations/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/integers/u8/operator_methods.out index ef3593f2e1..1fd83bb9ce 100644 --- a/tests/expectations/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/integers/u8/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08 - type_checked_symbol_table: 949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542 - unrolled_symbol_table: 949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542 - initial_ast: e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e - unrolled_ast: e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e - ssa_ast: d713cc8f14e36e0134521ffd687dfd398af38643efb5c7205bad1974a20605f5 - flattened_ast: 93eabab2793b715e24f4d1f83e5adaadeb1ed0eaf6f43f0425d5f96f21a11eea - destructured_ast: 477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636 - inlined_ast: 477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636 - dce_ast: 2a0caf9aaf58b071308418fc46f96b1393f7646ca329bc6676e860357699ce3b - bytecode: 525aa7ee628bc18ddc77b4d2c0f21cc66858ecbdd517233862c7ba491158c69f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08", type_checked_symbol_table = "949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542", unrolled_symbol_table = "949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542", initial_ast = "e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e", unrolled_ast = "e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e", ssa_ast = "d713cc8f14e36e0134521ffd687dfd398af38643efb5c7205bad1974a20605f5", flattened_ast = "93eabab2793b715e24f4d1f83e5adaadeb1ed0eaf6f43f0425d5f96f21a11eea", destructured_ast = "477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636", inlined_ast = "477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636", dce_ast = "2a0caf9aaf58b071308418fc46f96b1393f7646ca329bc6676e860357699ce3b", bytecode = "525aa7ee628bc18ddc77b4d2c0f21cc66858ecbdd517233862c7ba491158c69f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/or.out b/tests/expectations/compiler/integers/u8/or.out index 6d2b076ab4..2165008773 100644 --- a/tests/expectations/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/integers/u8/or.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: 1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a - unrolled_ast: 1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a - ssa_ast: adb1a67facd1eb1741d2f626bdca3da90e2e2ed221fc1b635bb7ab69cb4e023b - flattened_ast: 926cb2a9223bb8a17394382106ee92296a60bd306b9fe920bae41ed1bc4cd075 - destructured_ast: 68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7 - inlined_ast: 68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7 - dce_ast: 68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7 - bytecode: dc659eaf16fad4225b86c68e2986ec498a85bfa9f34ad54a538119692169d54d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a", unrolled_ast = "1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a", ssa_ast = "adb1a67facd1eb1741d2f626bdca3da90e2e2ed221fc1b635bb7ab69cb4e023b", flattened_ast = "926cb2a9223bb8a17394382106ee92296a60bd306b9fe920bae41ed1bc4cd075", destructured_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", inlined_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", dce_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", bytecode = "dc659eaf16fad4225b86c68e2986ec498a85bfa9f34ad54a538119692169d54d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/pow.out b/tests/expectations/compiler/integers/u8/pow.out index 1023b1c911..5fe8b761e0 100644 --- a/tests/expectations/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/integers/u8/pow.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c - unrolled_ast: f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c - ssa_ast: d10b4e91b0812ee3dc4ee539b3df719daabf4ed787cd44b88035a478d8d975e2 - flattened_ast: 3dcc11151452fca7564b8302f27e9aec0e7345e3a90a54f2d137dd82369368ba - destructured_ast: 62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d - inlined_ast: 62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d - dce_ast: 62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d - bytecode: 6f39595f71ec6b6a1a2c622b9c18785cb99323fe027c8cd95d4f49a20b875f39 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c", unrolled_ast = "f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c", ssa_ast = "d10b4e91b0812ee3dc4ee539b3df719daabf4ed787cd44b88035a478d8d975e2", flattened_ast = "3dcc11151452fca7564b8302f27e9aec0e7345e3a90a54f2d137dd82369368ba", destructured_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", inlined_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", dce_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", bytecode = "6f39595f71ec6b6a1a2c622b9c18785cb99323fe027c8cd95d4f49a20b875f39", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/rem.out b/tests/expectations/compiler/integers/u8/rem.out index 3b74700aab..64b7bdfa99 100644 --- a/tests/expectations/compiler/integers/u8/rem.out +++ b/tests/expectations/compiler/integers/u8/rem.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789 - unrolled_ast: d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789 - ssa_ast: a86b4de1b11faae94992887f1354892875a970a0f516dfd52a81fcb2d025dc30 - flattened_ast: d21f0e6859f7df648546a64f092fa55ea8de0bd34c384c94482c9505113805bc - destructured_ast: 010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a - inlined_ast: 010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a - dce_ast: 010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a - bytecode: eb0766ef7942b5b5f50c4778d1d82479583761acb0d4e903ca3b4998e9036ce8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789", unrolled_ast = "d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789", ssa_ast = "a86b4de1b11faae94992887f1354892875a970a0f516dfd52a81fcb2d025dc30", flattened_ast = "d21f0e6859f7df648546a64f092fa55ea8de0bd34c384c94482c9505113805bc", destructured_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", inlined_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", dce_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", bytecode = "eb0766ef7942b5b5f50c4778d1d82479583761acb0d4e903ca3b4998e9036ce8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/shl.out b/tests/expectations/compiler/integers/u8/shl.out index 1381b60ee9..a29cc1dce9 100644 --- a/tests/expectations/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/integers/u8/shl.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: 70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff - unrolled_ast: 70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff - ssa_ast: 420c47b231cabf5a72d44876e586b3664e25117d0c0fff2193ea742aad8bf7e3 - flattened_ast: e2769117b43b0657848f5d87255237bd08416a906ba4cc70732c88a763348944 - destructured_ast: c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d - inlined_ast: c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d - dce_ast: c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d - bytecode: c080998e39be58c165d147352fed55e49828e93d487976c27e4e6e160736f4f6 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff", unrolled_ast = "70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff", ssa_ast = "420c47b231cabf5a72d44876e586b3664e25117d0c0fff2193ea742aad8bf7e3", flattened_ast = "e2769117b43b0657848f5d87255237bd08416a906ba4cc70732c88a763348944", destructured_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", inlined_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", dce_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", bytecode = "c080998e39be58c165d147352fed55e49828e93d487976c27e4e6e160736f4f6", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/shr.out b/tests/expectations/compiler/integers/u8/shr.out index ee32099a00..c2a017be31 100644 --- a/tests/expectations/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/integers/u8/shr.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: 5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688 - unrolled_ast: 5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688 - ssa_ast: d445dfdd82c5b59b35cef5fab2dce4c866de20ba6842d3a0ff80d8976401af3e - flattened_ast: 3d044accb3b67b38bbeb2c309efdbe30409fe00253d05f1b5746ab4d7a1d184e - destructured_ast: 2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430 - inlined_ast: 2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430 - dce_ast: 2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430 - bytecode: 115a3954fe97b0bf052859b3e2060732a5988a738e33e38fa9fc6124009a3df1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688", unrolled_ast = "5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688", ssa_ast = "d445dfdd82c5b59b35cef5fab2dce4c866de20ba6842d3a0ff80d8976401af3e", flattened_ast = "3d044accb3b67b38bbeb2c309efdbe30409fe00253d05f1b5746ab4d7a1d184e", destructured_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", inlined_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", dce_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", bytecode = "115a3954fe97b0bf052859b3e2060732a5988a738e33e38fa9fc6124009a3df1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/sub.out b/tests/expectations/compiler/integers/u8/sub.out index 4757cad3fe..0958753390 100644 --- a/tests/expectations/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/integers/u8/sub.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039 - type_checked_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - unrolled_symbol_table: a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3 - initial_ast: 824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc - unrolled_ast: 824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc - ssa_ast: d573d5af3b5bb1081b8c8406574b2f752f3526d483cefa6bfc2bd5b1513fe782 - flattened_ast: fbf957bd45a50337d49b9f70e2637587d3b1eea5681d94e948f9c6edef0bf8cc - destructured_ast: 2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83 - inlined_ast: 2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83 - dce_ast: 2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83 - bytecode: 000488241130473cec7bf53df1dc0bdab4ae452ab173fe563a9b9311c73f35fe - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc", unrolled_ast = "824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc", ssa_ast = "d573d5af3b5bb1081b8c8406574b2f752f3526d483cefa6bfc2bd5b1513fe782", flattened_ast = "fbf957bd45a50337d49b9f70e2637587d3b1eea5681d94e948f9c6edef0bf8cc", destructured_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", inlined_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", dce_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", bytecode = "000488241130473cec7bf53df1dc0bdab4ae452ab173fe563a9b9311c73f35fe", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/ternary.out b/tests/expectations/compiler/integers/u8/ternary.out index 19b502f360..64dfb49517 100644 --- a/tests/expectations/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/integers/u8/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 67e1ac58bc6d8ce06e8ec25c0e8d9a7e221c41a0415e4d5f9309d4f33c0091f9 - type_checked_symbol_table: 11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1 - unrolled_symbol_table: 11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1 - initial_ast: 9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4 - unrolled_ast: 9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4 - ssa_ast: ad89269d5ffddeee6dbd3b063c49943c4af977199276d6309421c7412a01ab9e - flattened_ast: 2010515a7bc92204dc4454a17ffd5cb98aa60a32631855fa6bf4cdaae049678a - destructured_ast: f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836 - inlined_ast: f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836 - dce_ast: f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836 - bytecode: 070a1a31af23c4436a8adf74befb9bae19c60a73da4ca1b8c295213c0505b1cb - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "67e1ac58bc6d8ce06e8ec25c0e8d9a7e221c41a0415e4d5f9309d4f33c0091f9", type_checked_symbol_table = "11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1", unrolled_symbol_table = "11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1", initial_ast = "9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4", unrolled_ast = "9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4", ssa_ast = "ad89269d5ffddeee6dbd3b063c49943c4af977199276d6309421c7412a01ab9e", flattened_ast = "2010515a7bc92204dc4454a17ffd5cb98aa60a32631855fa6bf4cdaae049678a", destructured_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", inlined_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", dce_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", bytecode = "070a1a31af23c4436a8adf74befb9bae19c60a73da4ca1b8c295213c0505b1cb", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/xor.out b/tests/expectations/compiler/integers/u8/xor.out index 4244e2c6eb..f6447f7d3d 100644 --- a/tests/expectations/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/integers/u8/xor.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9a7335728c9c2916ffec02c5773295c85587186351586b312a2f1fa6e9362477 - type_checked_symbol_table: 2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96 - unrolled_symbol_table: 2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96 - initial_ast: 048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc - unrolled_ast: 048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc - ssa_ast: 96d4ac73b5fcbbd215ce960babbd01cc756b6eccf290f48ae34ba54c2d9e3906 - flattened_ast: d93817a88d0ced580beafd9da4398606d565905977bcb4eea14aa43f87e8dc68 - destructured_ast: 0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77 - inlined_ast: 0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77 - dce_ast: 0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77 - bytecode: a4c6a3559c050f7e666b347ea9cedd29ef60140d4bee54d145160726d4c31880 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9a7335728c9c2916ffec02c5773295c85587186351586b312a2f1fa6e9362477", type_checked_symbol_table = "2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96", unrolled_symbol_table = "2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96", initial_ast = "048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc", unrolled_ast = "048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc", ssa_ast = "96d4ac73b5fcbbd215ce960babbd01cc756b6eccf290f48ae34ba54c2d9e3906", flattened_ast = "d93817a88d0ced580beafd9da4398606d565905977bcb4eea14aa43f87e8dc68", destructured_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", inlined_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", dce_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", bytecode = "a4c6a3559c050f7e666b347ea9cedd29ef60140d4bee54d145160726d4c31880", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/mappings/external_read_with_local_fail.out b/tests/expectations/compiler/mappings/external_read_with_local_fail.out index 2d521bedaf..b40e055960 100644 --- a/tests/expectations/compiler/mappings/external_read_with_local_fail.out +++ b/tests/expectations/compiler/mappings/external_read_with_local_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `users`\n --> compiler-test:11:35\n |\n 11 | let a:bool = Mapping::get(relay.aleo/users, addr);\n | ^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `users` + --> compiler-test:11:35 + | + 11 | let a:bool = Mapping::get(relay.aleo/users, addr); + | ^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/mappings/global_shadow_mapping_fail.out b/tests/expectations/compiler/mappings/global_shadow_mapping_fail.out index 196ed2a177..ed56363929 100644 --- a/tests/expectations/compiler/mappings/global_shadow_mapping_fail.out +++ b/tests/expectations/compiler/mappings/global_shadow_mapping_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372009]: variable `one` shadowed by\n --> compiler-test:6:5\n |\n 6 | mapping one: field => field;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372009]: variable `one` shadowed by + --> compiler-test:6:5 + | + 6 | mapping one: field => field; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/mappings/locator_expression_fail.out b/tests/expectations/compiler/mappings/locator_expression_fail.out index b17da798b3..bb82bdb8a0 100644 --- a/tests/expectations/compiler/mappings/locator_expression_fail.out +++ b/tests/expectations/compiler/mappings/locator_expression_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `users`\n --> compiler-test:7:22\n |\n 7 | let a: u32 = relay.aleo/users;\n | ^^^^^^^^^^^^^^^^\nError [ETYC0372005]: Unknown variable `users`\n --> compiler-test:11:35\n |\n 11 | let a:bool = Mapping::get(relay.aleo/users, addr);\n | ^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `users` + --> compiler-test:7:22 + | + 7 | let a: u32 = relay.aleo/users; + | ^^^^^^^^^^^^^^^^ +Error [ETYC0372005]: Unknown variable `users` + --> compiler-test:11:35 + | + 11 | let a:bool = Mapping::get(relay.aleo/users, addr); + | ^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/mappings/max_mappings.out b/tests/expectations/compiler/mappings/max_mappings.out index 2308ccbb6d..c07439a80b 100644 --- a/tests/expectations/compiler/mappings/max_mappings.out +++ b/tests/expectations/compiler/mappings/max_mappings.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 31996f72ace053dcaa3beb2ec60de78fcade8e4047cf92897dfd244f210987f7 - type_checked_symbol_table: 64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0 - unrolled_symbol_table: 64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0 - initial_ast: dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b - unrolled_ast: dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b - ssa_ast: 01a69ccd470b48c3d60c9928922b5c2ed2f0fe0405ab3d0ce95ea64d80155027 - flattened_ast: ec2b075dc39d494b448c04fd5bbd19e8a7503cfea823da12ee33464d8e67d0a1 - destructured_ast: 28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c - inlined_ast: 28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c - dce_ast: 28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c - bytecode: 510d9a029bd4900c2278ae7b0d1a7a595b0bd6bae6e362e7bf3ca900ef8bdc8d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "31996f72ace053dcaa3beb2ec60de78fcade8e4047cf92897dfd244f210987f7", type_checked_symbol_table = "64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0", unrolled_symbol_table = "64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0", initial_ast = "dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b", unrolled_ast = "dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b", ssa_ast = "01a69ccd470b48c3d60c9928922b5c2ed2f0fe0405ab3d0ce95ea64d80155027", flattened_ast = "ec2b075dc39d494b448c04fd5bbd19e8a7503cfea823da12ee33464d8e67d0a1", destructured_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", inlined_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", dce_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", bytecode = "510d9a029bd4900c2278ae7b0d1a7a595b0bd6bae6e362e7bf3ca900ef8bdc8d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/mappings/no_import_external_read_fail.out b/tests/expectations/compiler/mappings/no_import_external_read_fail.out index 7d9eb36e53..af2976a46c 100644 --- a/tests/expectations/compiler/mappings/no_import_external_read_fail.out +++ b/tests/expectations/compiler/mappings/no_import_external_read_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `users`\n --> compiler-test:8:35\n |\n 8 | let a:bool = Mapping::get(registry.aleo/users, addr);\n | ^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `users` + --> compiler-test:8:35 + | + 8 | let a:bool = Mapping::get(registry.aleo/users, addr); + | ^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/mappings/read_external_mapping.out b/tests/expectations/compiler/mappings/read_external_mapping.out index e27542bc63..7f2479a64a 100644 --- a/tests/expectations/compiler/mappings/read_external_mapping.out +++ b/tests/expectations/compiler/mappings/read_external_mapping.out @@ -1,31 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: bb82e4231a0fb50294a05c94943d9fcdb45f636c32365684d2d329b895b55955 - type_checked_symbol_table: ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c - unrolled_symbol_table: ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c - initial_ast: f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf - unrolled_ast: f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf - ssa_ast: 16bbfc985f7b340af00f48be7c87cce9fa9deec2517f8e1e51d0a9b90a54fd52 - flattened_ast: 327b3263d448da3866ca22b11e845307bea00b77a5854b3c498b3dab8ce31fd2 - destructured_ast: 7b13016d5303ea0ba1a9808c08ae7ffa7bd9433cc1c92bd981407291fca91e5d - inlined_ast: c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd - dce_ast: c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd - bytecode: 112afa595f98c7a5f0143c80c5f809c04e64da735f5965e21fca7d147470705b - errors: "" - warnings: "" - - initial_symbol_table: 23d4f67793776c110bfd4cc47d98dedde4495edb453c82f6b06718a8cdbc7f6d - type_checked_symbol_table: f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd - unrolled_symbol_table: f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd - initial_ast: 9cc519cc416b2f54ecf753c541196b337f359d42616e4f38b8d9a5a86746de41 - unrolled_ast: 4f5beff4969ba9db8b429435d2a6a6133eed2e8718564073fefa76ed4db76381 - ssa_ast: 012d0c07475a7e03d3898338aa2a91b56d77032978437b17c9337a5001ae5249 - flattened_ast: e391d1d2c6731ec8961afe91d8fa94fb9edb091b892ddecfa48ce3f5a6febe8e - destructured_ast: 26f202a3d6a24f0af49542d0f2c29c635314073b2d52ede163d3ab5e5bcc86fa - inlined_ast: 72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798 - dce_ast: 72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798 - bytecode: 885815a86613c757d67c00e8c0c4e1530c543364841f05788564c486eaf24bb2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "bb82e4231a0fb50294a05c94943d9fcdb45f636c32365684d2d329b895b55955", type_checked_symbol_table = "ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c", unrolled_symbol_table = "ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c", initial_ast = "f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf", unrolled_ast = "f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf", ssa_ast = "16bbfc985f7b340af00f48be7c87cce9fa9deec2517f8e1e51d0a9b90a54fd52", flattened_ast = "327b3263d448da3866ca22b11e845307bea00b77a5854b3c498b3dab8ce31fd2", destructured_ast = "7b13016d5303ea0ba1a9808c08ae7ffa7bd9433cc1c92bd981407291fca91e5d", inlined_ast = "c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd", dce_ast = "c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd", bytecode = "112afa595f98c7a5f0143c80c5f809c04e64da735f5965e21fca7d147470705b", errors = "", warnings = "" }, + { initial_symbol_table = "23d4f67793776c110bfd4cc47d98dedde4495edb453c82f6b06718a8cdbc7f6d", type_checked_symbol_table = "f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd", unrolled_symbol_table = "f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd", initial_ast = "9cc519cc416b2f54ecf753c541196b337f359d42616e4f38b8d9a5a86746de41", unrolled_ast = "4f5beff4969ba9db8b429435d2a6a6133eed2e8718564073fefa76ed4db76381", ssa_ast = "012d0c07475a7e03d3898338aa2a91b56d77032978437b17c9337a5001ae5249", flattened_ast = "e391d1d2c6731ec8961afe91d8fa94fb9edb091b892ddecfa48ce3f5a6febe8e", destructured_ast = "26f202a3d6a24f0af49542d0f2c29c635314073b2d52ede163d3ab5e5bcc86fa", inlined_ast = "72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798", dce_ast = "72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798", bytecode = "885815a86613c757d67c00e8c0c4e1530c543364841f05788564c486eaf24bb2", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/mappings/shadowed_mapping_fail.out b/tests/expectations/compiler/mappings/shadowed_mapping_fail.out index 196ed2a177..ed56363929 100644 --- a/tests/expectations/compiler/mappings/shadowed_mapping_fail.out +++ b/tests/expectations/compiler/mappings/shadowed_mapping_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372009]: variable `one` shadowed by\n --> compiler-test:6:5\n |\n 6 | mapping one: field => field;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372009]: variable `one` shadowed by + --> compiler-test:6:5 + | + 6 | mapping one: field => field; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/mappings/too_many_mappings_fail.out b/tests/expectations/compiler/mappings/too_many_mappings_fail.out index b3b032ec25..57714ca6af 100644 --- a/tests/expectations/compiler/mappings/too_many_mappings_fail.out +++ b/tests/expectations/compiler/mappings/too_many_mappings_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372062]: The number of mappings exceeds the maximum. snarkVM allows up to 31 mappings within a single program.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372062]: The number of mappings exceeds the maximum. snarkVM allows up to 31 mappings within a single program. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/mappings/unknown_external_mapping_fail.out b/tests/expectations/compiler/mappings/unknown_external_mapping_fail.out index 0a7ab30a73..1e93da9c9b 100644 --- a/tests/expectations/compiler/mappings/unknown_external_mapping_fail.out +++ b/tests/expectations/compiler/mappings/unknown_external_mapping_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `foo`\n --> compiler-test:9:35\n |\n 9 | let a:bool = Mapping::get(registry.aleo/foo, addr);\n | ^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `foo` + --> compiler-test:9:35 + | + 9 | let a:bool = Mapping::get(registry.aleo/foo, addr); + | ^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/balance_wrong_ty.out b/tests/expectations/compiler/records/balance_wrong_ty.out index a95b4d58cb..72add953cf 100644 --- a/tests/expectations/compiler/records/balance_wrong_ty.out +++ b/tests/expectations/compiler/records/balance_wrong_ty.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 1584cbfd87b06264331bf8fce8e6d9fa9652a14e0ef376e1f86f5024b6e52ce6 - type_checked_symbol_table: b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498 - unrolled_symbol_table: b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498 - initial_ast: 50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4 - unrolled_ast: 50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4 - ssa_ast: 3888bd37ecff2f44e6c9a58733776106c605b73bee5d0b4a1bab339e6a65b3be - flattened_ast: aaf0ea0bdf90947799366087c8e413a5f30a858beba355ea950a184aea190044 - destructured_ast: e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb - inlined_ast: e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb - dce_ast: e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb - bytecode: 7eb19e77781b95b995631c60dee18f7726d8dafe1cd7987c084700bb4f94349e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "1584cbfd87b06264331bf8fce8e6d9fa9652a14e0ef376e1f86f5024b6e52ce6", type_checked_symbol_table = "b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498", unrolled_symbol_table = "b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498", initial_ast = "50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4", unrolled_ast = "50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4", ssa_ast = "3888bd37ecff2f44e6c9a58733776106c605b73bee5d0b4a1bab339e6a65b3be", flattened_ast = "aaf0ea0bdf90947799366087c8e413a5f30a858beba355ea950a184aea190044", destructured_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", inlined_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", dce_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", bytecode = "7eb19e77781b95b995631c60dee18f7726d8dafe1cd7987c084700bb4f94349e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/declaration.out b/tests/expectations/compiler/records/declaration.out index 24b76d4c40..9982c46cbb 100644 --- a/tests/expectations/compiler/records/declaration.out +++ b/tests/expectations/compiler/records/declaration.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7fa525bbbccab774e3f15cadb4b08ef0f3b58e40d1c02cd0e5242d35d19a3493 - type_checked_symbol_table: 9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790 - unrolled_symbol_table: 9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790 - initial_ast: 219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8 - unrolled_ast: 219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8 - ssa_ast: 6ffb555f57267fd4ab803ed30fba27516b4aab0098a58a5a4da55ddbf7cc004c - flattened_ast: 8293489de0f0b563e1ed848260a741f20dee0b8caca7849d84de6c8d1aa1b5e3 - destructured_ast: b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc - inlined_ast: b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc - dce_ast: b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc - bytecode: 7eb19e77781b95b995631c60dee18f7726d8dafe1cd7987c084700bb4f94349e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7fa525bbbccab774e3f15cadb4b08ef0f3b58e40d1c02cd0e5242d35d19a3493", type_checked_symbol_table = "9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790", unrolled_symbol_table = "9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790", initial_ast = "219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8", unrolled_ast = "219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8", ssa_ast = "6ffb555f57267fd4ab803ed30fba27516b4aab0098a58a5a4da55ddbf7cc004c", flattened_ast = "8293489de0f0b563e1ed848260a741f20dee0b8caca7849d84de6c8d1aa1b5e3", destructured_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", inlined_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", dce_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", bytecode = "7eb19e77781b95b995631c60dee18f7726d8dafe1cd7987c084700bb4f94349e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/duplicate_circuit_name_fail.out b/tests/expectations/compiler/records/duplicate_circuit_name_fail.out index 04fd50cf5e..2813782684 100644 --- a/tests/expectations/compiler/records/duplicate_circuit_name_fail.out +++ b/tests/expectations/compiler/records/duplicate_circuit_name_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/duplicate_var_fail.out b/tests/expectations/compiler/records/duplicate_var_fail.out index 5cd2dd4b74..a47c978341 100644 --- a/tests/expectations/compiler/records/duplicate_var_fail.out +++ b/tests/expectations/compiler/records/duplicate_var_fail.out @@ -1,5 +1,23 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372016]: Record Token defined with more than one variable with the same name.\n --> compiler-test:4:5\n |\n 4 | record Token {\n 5 | // The token owner.\n 6 | owner: address,\n 7 | // The token owner.\n 8 | owner: address, // Cannot define two record variables with the same name.\n 9 | // The token amount.\n 10 | amount: u64,\n 11 | }\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372016]: Record Token defined with more than one variable with the same name. + --> compiler-test:4:5 + | + 4 | record Token { + 5 | // The token owner. + 6 | owner: address, + 7 | // The token owner. + 8 | owner: address, // Cannot define two record variables with the same name. + 9 | // The token amount. + 10 | amount: u64, + 11 | } + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/external_nested_record.out b/tests/expectations/compiler/records/external_nested_record.out index f30d1a8b32..6d2fa1a275 100644 --- a/tests/expectations/compiler/records/external_nested_record.out +++ b/tests/expectations/compiler/records/external_nested_record.out @@ -1,44 +1,7 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b59a64e702cf908299e322a302bbff0b310c263353e4e2d40ac9c2cf55014e35 - type_checked_symbol_table: 0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23 - unrolled_symbol_table: 0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23 - initial_ast: 0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179 - unrolled_ast: 0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179 - ssa_ast: 0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179 - flattened_ast: b8253c762a2456d82dd47c27018cac6d44083a9eaafafcd60e1b83f8b0d16aa1 - destructured_ast: 900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1 - inlined_ast: 900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1 - dce_ast: 900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1 - bytecode: 40ad5099cd6e309d5adbba30460c340377d555868e7a90c087c440f195339d16 - errors: "" - warnings: "" - - initial_symbol_table: b5a798a81b37a96d61bce196fbe0f86bd73d66869e638eb56f53b47016add539 - type_checked_symbol_table: 7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018 - unrolled_symbol_table: 7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018 - initial_ast: 3035438b326eef0eacc00dbe4829c09021b73a037709aa7c2a22860e5dd9a26a - unrolled_ast: b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9 - ssa_ast: b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9 - flattened_ast: 2311a42d662fc48ae0063d65e32035c349f709e2f7428b50f388ec6d2a3dbcaa - destructured_ast: f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e - inlined_ast: f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e - dce_ast: f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e - bytecode: 083986d9c9e5b956838b3c35367b3a7c4dbf4eb5ab13e44de0d129e320089abe - errors: "" - warnings: "" - - initial_symbol_table: 5b2736f499ffabe8a999fe80a7c8fa5eae6cf56b7b0ef4fe211a1cea4631061e - type_checked_symbol_table: b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd - unrolled_symbol_table: b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd - initial_ast: a3ac974e10d37be232ec426fe64976ac2e2701d160d8777f4c92e177cf8e3140 - unrolled_ast: e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262 - ssa_ast: e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262 - flattened_ast: 992fc3e592c2877917c17d95cda4c49941da939bbc09a8fcd2356f09fcc64dec - destructured_ast: 2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c - inlined_ast: 2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c - dce_ast: 2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c - bytecode: 1643ea06597a6d4bdffb84b9802843e24ac3772d64604b69e46cead51127b653 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "b59a64e702cf908299e322a302bbff0b310c263353e4e2d40ac9c2cf55014e35", type_checked_symbol_table = "0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23", unrolled_symbol_table = "0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23", initial_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", unrolled_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", ssa_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", flattened_ast = "b8253c762a2456d82dd47c27018cac6d44083a9eaafafcd60e1b83f8b0d16aa1", destructured_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", inlined_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", dce_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", bytecode = "40ad5099cd6e309d5adbba30460c340377d555868e7a90c087c440f195339d16", errors = "", warnings = "" }, + { initial_symbol_table = "b5a798a81b37a96d61bce196fbe0f86bd73d66869e638eb56f53b47016add539", type_checked_symbol_table = "7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018", unrolled_symbol_table = "7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018", initial_ast = "3035438b326eef0eacc00dbe4829c09021b73a037709aa7c2a22860e5dd9a26a", unrolled_ast = "b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9", ssa_ast = "b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9", flattened_ast = "2311a42d662fc48ae0063d65e32035c349f709e2f7428b50f388ec6d2a3dbcaa", destructured_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", inlined_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", dce_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", bytecode = "083986d9c9e5b956838b3c35367b3a7c4dbf4eb5ab13e44de0d129e320089abe", errors = "", warnings = "" }, + { initial_symbol_table = "5b2736f499ffabe8a999fe80a7c8fa5eae6cf56b7b0ef4fe211a1cea4631061e", type_checked_symbol_table = "b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd", unrolled_symbol_table = "b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd", initial_ast = "a3ac974e10d37be232ec426fe64976ac2e2701d160d8777f4c92e177cf8e3140", unrolled_ast = "e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262", ssa_ast = "e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262", flattened_ast = "992fc3e592c2877917c17d95cda4c49941da939bbc09a8fcd2356f09fcc64dec", destructured_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", inlined_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", dce_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", bytecode = "1643ea06597a6d4bdffb84b9802843e24ac3772d64604b69e46cead51127b653", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/records/gates_is_allowed.out b/tests/expectations/compiler/records/gates_is_allowed.out index ca636f14fd..8a2575268e 100644 --- a/tests/expectations/compiler/records/gates_is_allowed.out +++ b/tests/expectations/compiler/records/gates_is_allowed.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 7b7370a95949739bbb1b6fa3139ba90670c42d68eac051eaabfe4aa759775481 - type_checked_symbol_table: c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9 - unrolled_symbol_table: c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9 - initial_ast: 655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe - unrolled_ast: 655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe - ssa_ast: 5e28e91d5318baefa8d55e6817659de0c72416b7fdb8ef77df5e4e3a5703b8d1 - flattened_ast: 03ae9b01404a08345cc315de9d11190899294a8b7970fffa9296a0d2f6e5e11f - destructured_ast: 056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96 - inlined_ast: 056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96 - dce_ast: 056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96 - bytecode: cdfda5c02b9b486f79d17a9edef9df16a4fa359ae21e048bbf6c5a22bdf9b38e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "7b7370a95949739bbb1b6fa3139ba90670c42d68eac051eaabfe4aa759775481", type_checked_symbol_table = "c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9", unrolled_symbol_table = "c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9", initial_ast = "655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe", unrolled_ast = "655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe", ssa_ast = "5e28e91d5318baefa8d55e6817659de0c72416b7fdb8ef77df5e4e3a5703b8d1", flattened_ast = "03ae9b01404a08345cc315de9d11190899294a8b7970fffa9296a0d2f6e5e11f", destructured_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", inlined_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", dce_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", bytecode = "cdfda5c02b9b486f79d17a9edef9df16a4fa359ae21e048bbf6c5a22bdf9b38e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/global_shadow_records_fail.out b/tests/expectations/compiler/records/global_shadow_records_fail.out index e0e15ab9dd..e7601a95df 100644 --- a/tests/expectations/compiler/records/global_shadow_records_fail.out +++ b/tests/expectations/compiler/records/global_shadow_records_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372008]: record `Token` shadowed by\n --> compiler-test:8:5\n |\n 8 | record Token {\n 9 | owner: address,\n 10 | amount: u64,\n 11 | arg1: u64,\n 12 | arg2: u64,\n 13 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372008]: record `Token` shadowed by + --> compiler-test:8:5 + | + 8 | record Token { + 9 | owner: address, + 10 | amount: u64, + 11 | arg1: u64, + 12 | arg2: u64, + 13 | } + | ^ +"""] diff --git a/tests/expectations/compiler/records/init_expression.out b/tests/expectations/compiler/records/init_expression.out index e6d6fbf1c7..e397b4049d 100644 --- a/tests/expectations/compiler/records/init_expression.out +++ b/tests/expectations/compiler/records/init_expression.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3fd1cc6a2ce3920f6a8669981cc229d991818bc1baa451da4f15c15182445a80 - type_checked_symbol_table: ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159 - unrolled_symbol_table: ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159 - initial_ast: 8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365 - unrolled_ast: 8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365 - ssa_ast: 8b9a5676e89823fa5d8b88ddad56f8fe2f518910cec99abc3ceb026cc0692d27 - flattened_ast: da220e2edfb44d1e871b010cfe2663e40e06e3c71c472710f781dd2c585e2184 - destructured_ast: 9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36 - inlined_ast: 9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36 - dce_ast: 69b116454ce349eb479f08eebd42729a9284642d664c83ac65cfa86f2e1309c2 - bytecode: f243717a23b7bcbf2e4656d741a9e43b8a60184892683964efb628e22e36e7f1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "3fd1cc6a2ce3920f6a8669981cc229d991818bc1baa451da4f15c15182445a80", type_checked_symbol_table = "ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159", unrolled_symbol_table = "ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159", initial_ast = "8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365", unrolled_ast = "8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365", ssa_ast = "8b9a5676e89823fa5d8b88ddad56f8fe2f518910cec99abc3ceb026cc0692d27", flattened_ast = "da220e2edfb44d1e871b010cfe2663e40e06e3c71c472710f781dd2c585e2184", destructured_ast = "9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36", inlined_ast = "9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36", dce_ast = "69b116454ce349eb479f08eebd42729a9284642d664c83ac65cfa86f2e1309c2", bytecode = "f243717a23b7bcbf2e4656d741a9e43b8a60184892683964efb628e22e36e7f1", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/records/init_expression_shorthand.out index 1581302468..40d09fef9b 100644 --- a/tests/expectations/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/records/init_expression_shorthand.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 002e762d77a8521f1679eab9904bf7357422d0fa74a5ac1b3652a90ad588c0bb - type_checked_symbol_table: 833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605 - unrolled_symbol_table: 833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605 - initial_ast: 3917e2251c71ec95bbb6cf5731dcf43126aafa4115a3b2a7767c1a0b1aa70eb6 - unrolled_ast: 923de60415b7eb88a8ba42c16c831e73fb586d1c46599f85aafc8d69b6920033 - ssa_ast: 3fda30235b60f942f2ce28e0b32749e04924c5b226e78a2184cdaa3b36b3a2ee - flattened_ast: b4a27bb564c16bac85dbafbc00a4c4c47350b04d2b0fef002efd7b8ecc1def36 - destructured_ast: 58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9 - inlined_ast: 58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9 - dce_ast: a9f2a052ca981a5a23ce47ba13c410311e10d5fc87f2648ba62f850a8a2d5c6e - bytecode: 0df6e3d77f2b3503e1b948582ccf17e40ef1cc0ba784bfb0ee91dd6388003630 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "002e762d77a8521f1679eab9904bf7357422d0fa74a5ac1b3652a90ad588c0bb", type_checked_symbol_table = "833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605", unrolled_symbol_table = "833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605", initial_ast = "3917e2251c71ec95bbb6cf5731dcf43126aafa4115a3b2a7767c1a0b1aa70eb6", unrolled_ast = "923de60415b7eb88a8ba42c16c831e73fb586d1c46599f85aafc8d69b6920033", ssa_ast = "3fda30235b60f942f2ce28e0b32749e04924c5b226e78a2184cdaa3b36b3a2ee", flattened_ast = "b4a27bb564c16bac85dbafbc00a4c4c47350b04d2b0fef002efd7b8ecc1def36", destructured_ast = "58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9", inlined_ast = "58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9", dce_ast = "a9f2a052ca981a5a23ce47ba13c410311e10d5fc87f2648ba62f850a8a2d5c6e", bytecode = "0df6e3d77f2b3503e1b948582ccf17e40ef1cc0ba784bfb0ee91dd6388003630", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/init_expression_type_fail.out b/tests/expectations/compiler/records/init_expression_type_fail.out index 111876052c..35997f01e3 100644 --- a/tests/expectations/compiler/records/init_expression_type_fail.out +++ b/tests/expectations/compiler/records/init_expression_type_fail.out @@ -1,5 +1,36 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:11:44\n |\n 11 | function mint(r0: address, r1: u64) -> Token {\n | ^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:11:44\n |\n 11 | function mint(r0: address, r1: u64) -> Token {\n | ^^^^^\nError [ETYC0372003]: Expected type `address` but type `u64` was found\n --> compiler-test:13:20\n |\n 13 | owner: r1, // This variable should be type address.\n | ^^\nError [ETYC0372003]: Expected type `u64` but type `address` was found\n --> compiler-test:14:21\n |\n 14 | amount: r0, // This variable should be type u64.\n | ^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:20:24\n |\n 20 | let t: Token = mint(x, c);\n | ^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:11:44 + | + 11 | function mint(r0: address, r1: u64) -> Token { + | ^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:11:44 + | + 11 | function mint(r0: address, r1: u64) -> Token { + | ^^^^^ +Error [ETYC0372003]: Expected type `address` but type `u64` was found + --> compiler-test:13:20 + | + 13 | owner: r1, // This variable should be type address. + | ^^ +Error [ETYC0372003]: Expected type `u64` but type `address` was found + --> compiler-test:14:21 + | + 14 | amount: r0, // This variable should be type u64. + | ^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:20:24 + | + 20 | let t: Token = mint(x, c); + | ^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/init_expression_var_fail.out b/tests/expectations/compiler/records/init_expression_var_fail.out index a4199a5af8..bb61b1e1bf 100644 --- a/tests/expectations/compiler/records/init_expression_var_fail.out +++ b/tests/expectations/compiler/records/init_expression_var_fail.out @@ -1,5 +1,34 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:11:44\n |\n 11 | function mint(r0: address, r1: u64) -> Token {\n | ^^^^^\nError [ETYC0372057]: Only `transition` functions can have a record as input or output.\n --> compiler-test:11:44\n |\n 11 | function mint(r0: address, r1: u64) -> Token {\n | ^^^^^\nError [ETYC0372013]: Struct initialization expression for `Token` is missing member `owner`.\n --> compiler-test:12:16\n |\n 12 | return Token {\n 13 | sender: r0, // This variable should be named `owner`.\n 14 | amount: r1,\n 15 | };\n | ^^^^^^\nError [ETYC0372042]: Only `inline` can be called from a `function` or `inline`.\n --> compiler-test:20:24\n |\n 20 | let t: Token = mint(x, c);\n | ^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:11:44 + | + 11 | function mint(r0: address, r1: u64) -> Token { + | ^^^^^ +Error [ETYC0372057]: Only `transition` functions can have a record as input or output. + --> compiler-test:11:44 + | + 11 | function mint(r0: address, r1: u64) -> Token { + | ^^^^^ +Error [ETYC0372013]: Struct initialization expression for `Token` is missing member `owner`. + --> compiler-test:12:16 + | + 12 | return Token { + 13 | sender: r0, // This variable should be named `owner`. + 14 | amount: r1, + 15 | }; + | ^^^^^^ +Error [ETYC0372042]: Only `inline` can be called from a `function` or `inline`. + --> compiler-test:20:24 + | + 20 | let t: Token = mint(x, c); + | ^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/nested_record.out b/tests/expectations/compiler/records/nested_record.out index 9fdbc70358..2e19aef873 100644 --- a/tests/expectations/compiler/records/nested_record.out +++ b/tests/expectations/compiler/records/nested_record.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5b8c5b2a0876c74dc30026b2f2b559851bed7fd78570aca2d73ff6bf6f6b978f - type_checked_symbol_table: 494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905 - unrolled_symbol_table: 494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905 - initial_ast: ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1 - unrolled_ast: ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1 - ssa_ast: a3ef314961cd5905bfba1087318a02acf3ba098a373fc0a6fd8fdf3f5b1ebd14 - flattened_ast: 4fc89fc15a0c119400a045fd7a2809a811f82634e71c624729154e17956367f8 - destructured_ast: 00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c - inlined_ast: 00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c - dce_ast: e25a6bd09d054c3f041c70e6c4013b1269fdba734e6e78f35c3b69dd8c4ce2d0 - bytecode: 9477487eb30939ab953ae2b069d924cc89d50b2b1062bfad64dcb7c79d817b6f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5b8c5b2a0876c74dc30026b2f2b559851bed7fd78570aca2d73ff6bf6f6b978f", type_checked_symbol_table = "494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905", unrolled_symbol_table = "494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905", initial_ast = "ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1", unrolled_ast = "ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1", ssa_ast = "a3ef314961cd5905bfba1087318a02acf3ba098a373fc0a6fd8fdf3f5b1ebd14", flattened_ast = "4fc89fc15a0c119400a045fd7a2809a811f82634e71c624729154e17956367f8", destructured_ast = "00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c", inlined_ast = "00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c", dce_ast = "e25a6bd09d054c3f041c70e6c4013b1269fdba734e6e78f35c3b69dd8c4ce2d0", bytecode = "9477487eb30939ab953ae2b069d924cc89d50b2b1062bfad64dcb7c79d817b6f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/nested_record_1_fail.out b/tests/expectations/compiler/records/nested_record_1_fail.out index 53a33dbf96..8661f4a65a 100644 --- a/tests/expectations/compiler/records/nested_record_1_fail.out +++ b/tests/expectations/compiler/records/nested_record_1_fail.out @@ -1,5 +1,18 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:11:9\n |\n 11 | foo: Foo,\n | ^^^\n |\n = Remove the record `Foo` from `Token`.\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372030]: A struct or record cannot contain another record. + --> compiler-test:11:9 + | + 11 | foo: Foo, + | ^^^ + | + = Remove the record `Foo` from `Token`. +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/nested_record_2_fail.out b/tests/expectations/compiler/records/nested_record_2_fail.out index 50d550d6eb..31a1b1ed0a 100644 --- a/tests/expectations/compiler/records/nested_record_2_fail.out +++ b/tests/expectations/compiler/records/nested_record_2_fail.out @@ -1,5 +1,30 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372050]: A record cannot contain a tuple.\n --> compiler-test:7:9\n |\n 7 | foo: (Foo, Foo),\n | ^^^\nError [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:7:9\n |\n 7 | foo: (Foo, Foo),\n | ^^^\n |\n = Remove the record `Foo` from `Token2`.\nError [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:7:9\n |\n 7 | foo: (Foo, Foo),\n | ^^^\n |\n = Remove the record `Foo` from `Token2`.\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372050]: A record cannot contain a tuple. + --> compiler-test:7:9 + | + 7 | foo: (Foo, Foo), + | ^^^ +Error [ETYC0372030]: A struct or record cannot contain another record. + --> compiler-test:7:9 + | + 7 | foo: (Foo, Foo), + | ^^^ + | + = Remove the record `Foo` from `Token2`. +Error [ETYC0372030]: A struct or record cannot contain another record. + --> compiler-test:7:9 + | + 7 | foo: (Foo, Foo), + | ^^^ + | + = Remove the record `Foo` from `Token2`. +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/nested_record_3_fail.out b/tests/expectations/compiler/records/nested_record_3_fail.out index 42973e0d79..5b5a12b754 100644 --- a/tests/expectations/compiler/records/nested_record_3_fail.out +++ b/tests/expectations/compiler/records/nested_record_3_fail.out @@ -1,5 +1,18 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:11:9\n |\n 11 | bar: Foo,\n | ^^^\n |\n = Remove the record `Foo` from `Bar`.\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372030]: A struct or record cannot contain another record. + --> compiler-test:11:9 + | + 11 | bar: Foo, + | ^^^ + | + = Remove the record `Foo` from `Bar`. +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/nested_record_4_fail.out b/tests/expectations/compiler/records/nested_record_4_fail.out index 878db0f959..295e509eb8 100644 --- a/tests/expectations/compiler/records/nested_record_4_fail.out +++ b/tests/expectations/compiler/records/nested_record_4_fail.out @@ -1,5 +1,35 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372050]: A record cannot contain a tuple.\n --> compiler-test:6:9\n |\n 6 | bar: (Bar, Bar),\n | ^^^\nError [ETYC0372050]: A struct cannot contain a tuple.\n --> compiler-test:10:9\n |\n 10 | bar: (Token, Token),\n | ^^^\nError [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:10:9\n |\n 10 | bar: (Token, Token),\n | ^^^\n |\n = Remove the record `Token` from `Bar`.\nError [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:10:9\n |\n 10 | bar: (Token, Token),\n | ^^^\n |\n = Remove the record `Token` from `Bar`.\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372050]: A record cannot contain a tuple. + --> compiler-test:6:9 + | + 6 | bar: (Bar, Bar), + | ^^^ +Error [ETYC0372050]: A struct cannot contain a tuple. + --> compiler-test:10:9 + | + 10 | bar: (Token, Token), + | ^^^ +Error [ETYC0372030]: A struct or record cannot contain another record. + --> compiler-test:10:9 + | + 10 | bar: (Token, Token), + | ^^^ + | + = Remove the record `Token` from `Bar`. +Error [ETYC0372030]: A struct or record cannot contain another record. + --> compiler-test:10:9 + | + 10 | bar: (Token, Token), + | ^^^ + | + = Remove the record `Token` from `Bar`. +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/nested_record_as_function_io.out b/tests/expectations/compiler/records/nested_record_as_function_io.out index 5dfd986885..dd12d5b6b7 100644 --- a/tests/expectations/compiler/records/nested_record_as_function_io.out +++ b/tests/expectations/compiler/records/nested_record_as_function_io.out @@ -1,44 +1,7 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c953e3bff6aadcc83960d916ee9cfed52a14318806f8aa98df5f2852d37cbc6e - type_checked_symbol_table: e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06 - unrolled_symbol_table: e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06 - initial_ast: c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3 - unrolled_ast: c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3 - ssa_ast: d0127391d923a2c9fbcd0f01cb20c3337801426a595a644ec840d2dec8d71aa6 - flattened_ast: 99981748c19be5ec946d6786bb8c61056a2c0c89006cc256784ff55aad16d092 - destructured_ast: a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5 - inlined_ast: a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5 - dce_ast: a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5 - bytecode: 0b3e8f36b3896428089aaa9b617346162bfa8391b2b1cc75d42dbac006e43935 - errors: "" - warnings: "" - - initial_symbol_table: a521ec4402a5871487e54490c745901d6a87a44931d3f34dfb10ff1d7057d170 - type_checked_symbol_table: 5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96 - unrolled_symbol_table: 5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96 - initial_ast: 60b69111a28cdb34c2cb3cf3a7531a8ad49f128e543bdde432224cf04c654624 - unrolled_ast: 60ffc72796bcb5f714be3f720b9f27666a8de0488b46f3fba693aeb5e63d6828 - ssa_ast: ef3e9d3142c9bb9a7879c68fbc56bc6d13b524e7e9d90f73b4a2605c09419535 - flattened_ast: e2fd31f33193492ef8a3027869618a26c8e257b12e7a42221c01adcbc186eea8 - destructured_ast: 397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a - inlined_ast: 397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a - dce_ast: 397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a - bytecode: d8e307618b82982b119cbe3021c598824ea758eee84ca2c4faf121d4bc8c16c0 - errors: "" - warnings: "" - - initial_symbol_table: 057e2f94b94bfff1d548946bcd59edf8e675e0c92fea1517597bcc32d993b762 - type_checked_symbol_table: a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4 - unrolled_symbol_table: a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4 - initial_ast: c74d819aafa9edb960e8408ceb1b3ee2b5de2c9ae343590f32911b497446d65b - unrolled_ast: 2feeb1f565012e518714d6713df15fd2f921b7ec414c6dc2abf0fd727a1d0e8c - ssa_ast: 54c51b42c1b2d911ebe11e697831fd994cf9da2f49ab4f77473fedf8b9931835 - flattened_ast: 321c82b52e3cd2b1b2057e85b65ff3d9bfd70b163d065cecf57a98159fa95c6c - destructured_ast: 29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97 - inlined_ast: 29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97 - dce_ast: 29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97 - bytecode: a70f46e3334bc265915ca2076c31338cddeff63574362603c7ab0bf065494128 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "c953e3bff6aadcc83960d916ee9cfed52a14318806f8aa98df5f2852d37cbc6e", type_checked_symbol_table = "e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06", unrolled_symbol_table = "e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06", initial_ast = "c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3", unrolled_ast = "c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3", ssa_ast = "d0127391d923a2c9fbcd0f01cb20c3337801426a595a644ec840d2dec8d71aa6", flattened_ast = "99981748c19be5ec946d6786bb8c61056a2c0c89006cc256784ff55aad16d092", destructured_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", inlined_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", dce_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", bytecode = "0b3e8f36b3896428089aaa9b617346162bfa8391b2b1cc75d42dbac006e43935", errors = "", warnings = "" }, + { initial_symbol_table = "a521ec4402a5871487e54490c745901d6a87a44931d3f34dfb10ff1d7057d170", type_checked_symbol_table = "5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96", unrolled_symbol_table = "5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96", initial_ast = "60b69111a28cdb34c2cb3cf3a7531a8ad49f128e543bdde432224cf04c654624", unrolled_ast = "60ffc72796bcb5f714be3f720b9f27666a8de0488b46f3fba693aeb5e63d6828", ssa_ast = "ef3e9d3142c9bb9a7879c68fbc56bc6d13b524e7e9d90f73b4a2605c09419535", flattened_ast = "e2fd31f33193492ef8a3027869618a26c8e257b12e7a42221c01adcbc186eea8", destructured_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", inlined_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", dce_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", bytecode = "d8e307618b82982b119cbe3021c598824ea758eee84ca2c4faf121d4bc8c16c0", errors = "", warnings = "" }, + { initial_symbol_table = "057e2f94b94bfff1d548946bcd59edf8e675e0c92fea1517597bcc32d993b762", type_checked_symbol_table = "a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4", unrolled_symbol_table = "a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4", initial_ast = "c74d819aafa9edb960e8408ceb1b3ee2b5de2c9ae343590f32911b497446d65b", unrolled_ast = "2feeb1f565012e518714d6713df15fd2f921b7ec414c6dc2abf0fd727a1d0e8c", ssa_ast = "54c51b42c1b2d911ebe11e697831fd994cf9da2f49ab4f77473fedf8b9931835", flattened_ast = "321c82b52e3cd2b1b2057e85b65ff3d9bfd70b163d065cecf57a98159fa95c6c", destructured_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", inlined_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", dce_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", bytecode = "a70f46e3334bc265915ca2076c31338cddeff63574362603c7ab0bf065494128", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/records/no_owner_fail.out b/tests/expectations/compiler/records/no_owner_fail.out index 30bebe93fd..b203e338b0 100644 --- a/tests/expectations/compiler/records/no_owner_fail.out +++ b/tests/expectations/compiler/records/no_owner_fail.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372019]: The `record` type requires the variable `owner: address`.\n --> compiler-test:5:5\n |\n 5 | record Token {\n 6 | // The token amount.\n 7 | amount: u64,\n 8 | }\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372019]: The `record` type requires the variable `owner: address`. + --> compiler-test:5:5 + | + 5 | record Token { + 6 | // The token amount. + 7 | amount: u64, + 8 | } + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/owner_wrong_ty.out b/tests/expectations/compiler/records/owner_wrong_ty.out index 00cb2c9c68..1b00a8fc5c 100644 --- a/tests/expectations/compiler/records/owner_wrong_ty.out +++ b/tests/expectations/compiler/records/owner_wrong_ty.out @@ -1,5 +1,18 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372020]: The field `owner` in a `record` must have type `address`.\n --> compiler-test:5:5\n |\n 5 | record Token {\n 6 | owner: bool,\n 7 | }\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372020]: The field `owner` in a `record` must have type `address`. + --> compiler-test:5:5 + | + 5 | record Token { + 6 | owner: bool, + 7 | } + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/records/record_declaration_out_of_order.out b/tests/expectations/compiler/records/record_declaration_out_of_order.out index 3913e1cccd..b2d041f3e4 100644 --- a/tests/expectations/compiler/records/record_declaration_out_of_order.out +++ b/tests/expectations/compiler/records/record_declaration_out_of_order.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3f9924dd0dd047baffbbd264bff45deeeb9c7f0e5b85cec1f09d368ccf2da34d - type_checked_symbol_table: b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2 - unrolled_symbol_table: b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2 - initial_ast: 0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6 - unrolled_ast: 0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6 - ssa_ast: 53c908cf360f5469c561d84a7fc021d985a9cf5e9ed8dc050b0d3937339f14ab - flattened_ast: bfff4d02525394ef7e29496626789c64dbf4f8b92810fbc79ba38faef114ae69 - destructured_ast: d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68 - inlined_ast: d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68 - dce_ast: d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68 - bytecode: 9c274bbe580ab8d20c474474f15f2ed4f0913a91d3e9938197cbe29b6f1e273e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "3f9924dd0dd047baffbbd264bff45deeeb9c7f0e5b85cec1f09d368ccf2da34d", type_checked_symbol_table = "b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2", unrolled_symbol_table = "b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2", initial_ast = "0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6", unrolled_ast = "0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6", ssa_ast = "53c908cf360f5469c561d84a7fc021d985a9cf5e9ed8dc050b0d3937339f14ab", flattened_ast = "bfff4d02525394ef7e29496626789c64dbf4f8b92810fbc79ba38faef114ae69", destructured_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", inlined_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", dce_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", bytecode = "9c274bbe580ab8d20c474474f15f2ed4f0913a91d3e9938197cbe29b6f1e273e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/record_init_out_of_order.out b/tests/expectations/compiler/records/record_init_out_of_order.out index ae8484c8da..fb9ddfad27 100644 --- a/tests/expectations/compiler/records/record_init_out_of_order.out +++ b/tests/expectations/compiler/records/record_init_out_of_order.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6feca07193b306037d0a93baef8f35b166890e11fb15af517d5f5c424c0840ca - type_checked_symbol_table: e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d - unrolled_symbol_table: e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d - initial_ast: 0f4e4004f2763ca95cc6d9ea35a30157f8b6f8453126065697cbe334e34144f3 - unrolled_ast: 0e01d06487035888e2f16e325cf5d40f8999eed94ff22d0ca6f8da1f7154e461 - ssa_ast: 09da4292294f513073a69a66e3a8478973affe50ea7d426e6161a3a9afe8af62 - flattened_ast: fb24e616b49908385cbe1fd252847b8c0e92147cc206bc11f9fb1f29e5721e1e - destructured_ast: 237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454 - inlined_ast: 237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454 - dce_ast: 237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454 - bytecode: 8c8992021f4a3ff29c9d5b1ddb3a34e14878b9cd822ac6e470018a4e268b2769 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6feca07193b306037d0a93baef8f35b166890e11fb15af517d5f5c424c0840ca", type_checked_symbol_table = "e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d", unrolled_symbol_table = "e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d", initial_ast = "0f4e4004f2763ca95cc6d9ea35a30157f8b6f8453126065697cbe334e34144f3", unrolled_ast = "0e01d06487035888e2f16e325cf5d40f8999eed94ff22d0ca6f8da1f7154e461", ssa_ast = "09da4292294f513073a69a66e3a8478973affe50ea7d426e6161a3a9afe8af62", flattened_ast = "fb24e616b49908385cbe1fd252847b8c0e92147cc206bc11f9fb1f29e5721e1e", destructured_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", inlined_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", dce_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", bytecode = "8c8992021f4a3ff29c9d5b1ddb3a34e14878b9cd822ac6e470018a4e268b2769", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/record_with_visibility.out b/tests/expectations/compiler/records/record_with_visibility.out index 582299e200..2121aa6ba7 100644 --- a/tests/expectations/compiler/records/record_with_visibility.out +++ b/tests/expectations/compiler/records/record_with_visibility.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4399efef323bcfeaa73dd0b4a290600d5d85e36cf99c5d6ffb4fcb3ea59353a3 - type_checked_symbol_table: 20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c - unrolled_symbol_table: 20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c - initial_ast: 02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458 - unrolled_ast: 02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458 - ssa_ast: 98f1a58e417e30e98196535b5ab67f80a47c00e2fa3ac8136fb6918d7d13ecd6 - flattened_ast: 1473c921dc87393d1bec2cd3469f66c642909f87032fbfb4fdec7db088a07df3 - destructured_ast: cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350 - inlined_ast: cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350 - dce_ast: cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350 - bytecode: d93b3c0884c41a79a8f5c116f07a8f6c8f5107c9b46c72ce6f0b84aa64eefb0f - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4399efef323bcfeaa73dd0b4a290600d5d85e36cf99c5d6ffb4fcb3ea59353a3", type_checked_symbol_table = "20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c", unrolled_symbol_table = "20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c", initial_ast = "02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458", unrolled_ast = "02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458", ssa_ast = "98f1a58e417e30e98196535b5ab67f80a47c00e2fa3ac8136fb6918d7d13ecd6", flattened_ast = "1473c921dc87393d1bec2cd3469f66c642909f87032fbfb4fdec7db088a07df3", destructured_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", inlined_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", dce_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", bytecode = "d93b3c0884c41a79a8f5c116f07a8f6c8f5107c9b46c72ce6f0b84aa64eefb0f", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/return_record_instead_of_unit_fail.out b/tests/expectations/compiler/records/return_record_instead_of_unit_fail.out index 1ae17e2493..9c2bc3560b 100644 --- a/tests/expectations/compiler/records/return_record_instead_of_unit_fail.out +++ b/tests/expectations/compiler/records/return_record_instead_of_unit_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `()` but type `test_credits` was found\n --> compiler-test:10:16\n |\n 10 | return test_credits {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `()` but type `test_credits` was found + --> compiler-test:10:16 + | + 10 | return test_credits { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/return/ifelse_chain.out b/tests/expectations/compiler/return/ifelse_chain.out index 1ff097148f..2ddec9d9de 100644 --- a/tests/expectations/compiler/return/ifelse_chain.out +++ b/tests/expectations/compiler/return/ifelse_chain.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 204fa2d504700c7fa4ff175fd95dca964cb3c7fde4cc23b7972f840ca497ce15 - type_checked_symbol_table: 56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36 - unrolled_symbol_table: 56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36 - initial_ast: 6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d - unrolled_ast: 6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d - ssa_ast: 2fb78fa3dc48ebb722b5e868aeae878da7e6eba06843316f0ebd1451adda1d7c - flattened_ast: e50d2d001ea761618e59dc13b8b2f3834615637bfad5f740db2e2ad35d4f6679 - destructured_ast: d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87 - inlined_ast: d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87 - dce_ast: d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87 - bytecode: 1902fe1d777e9d4f106c0daa1f947807fd49e952960f10101e78e47ddf8d5f48 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "204fa2d504700c7fa4ff175fd95dca964cb3c7fde4cc23b7972f840ca497ce15", type_checked_symbol_table = "56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36", unrolled_symbol_table = "56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36", initial_ast = "6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d", unrolled_ast = "6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d", ssa_ast = "2fb78fa3dc48ebb722b5e868aeae878da7e6eba06843316f0ebd1451adda1d7c", flattened_ast = "e50d2d001ea761618e59dc13b8b2f3834615637bfad5f740db2e2ad35d4f6679", destructured_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", inlined_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", dce_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", bytecode = "1902fe1d777e9d4f106c0daa1f947807fd49e952960f10101e78e47ddf8d5f48", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/add.out b/tests/expectations/compiler/scalar/add.out index 0ced8fb660..c368276379 100644 --- a/tests/expectations/compiler/scalar/add.out +++ b/tests/expectations/compiler/scalar/add.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56 - type_checked_symbol_table: 577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731 - unrolled_symbol_table: 577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731 - initial_ast: a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419 - unrolled_ast: a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419 - ssa_ast: 464c6602c9026fa17e9661a5da82aa214f644bdf2a3153255c844897b649a19d - flattened_ast: a6dd54f6913bb6eac591a2b84098c93995fc187c322bfa5d061a307c6e52973c - destructured_ast: 3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4 - inlined_ast: 3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4 - dce_ast: 3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4 - bytecode: bfac2c829066d9dc43d56bc1d4e4f592f42e576220f3e3cfd57b060b7bb17222 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56", type_checked_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", unrolled_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", initial_ast = "a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419", unrolled_ast = "a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419", ssa_ast = "464c6602c9026fa17e9661a5da82aa214f644bdf2a3153255c844897b649a19d", flattened_ast = "a6dd54f6913bb6eac591a2b84098c93995fc187c322bfa5d061a307c6e52973c", destructured_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", inlined_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", dce_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", bytecode = "bfac2c829066d9dc43d56bc1d4e4f592f42e576220f3e3cfd57b060b7bb17222", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/cmp.out b/tests/expectations/compiler/scalar/cmp.out index faee906048..a41a72a92b 100644 --- a/tests/expectations/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/scalar/cmp.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280 - type_checked_symbol_table: 9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5 - unrolled_symbol_table: 9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5 - initial_ast: 153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405 - unrolled_ast: 153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405 - ssa_ast: de9438205d63cdba290b0f240ea4e848f49abd7224c136062f721bcc75c1c8ad - flattened_ast: 9318b44dfc53fe955b4e9f0e25698efc3f534516a5de08a1b97fd5b3e22bb735 - destructured_ast: a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc - inlined_ast: a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc - dce_ast: 66d83acfd9a06322425e09b5691545749d12e7a6f4fc48ce9537834736947338 - bytecode: 09f008c4bdc1d4ba78adbf989c031779310385b96fa346f7979a810c7d7cb118 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5", unrolled_symbol_table = "9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5", initial_ast = "153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405", unrolled_ast = "153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405", ssa_ast = "de9438205d63cdba290b0f240ea4e848f49abd7224c136062f721bcc75c1c8ad", flattened_ast = "9318b44dfc53fe955b4e9f0e25698efc3f534516a5de08a1b97fd5b3e22bb735", destructured_ast = "a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc", inlined_ast = "a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc", dce_ast = "66d83acfd9a06322425e09b5691545749d12e7a6f4fc48ce9537834736947338", bytecode = "09f008c4bdc1d4ba78adbf989c031779310385b96fa346f7979a810c7d7cb118", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/div_fail.out b/tests/expectations/compiler/scalar/div_fail.out index 6433003983..5dfacd4812 100644 --- a/tests/expectations/compiler/scalar/div_fail.out +++ b/tests/expectations/compiler/scalar/div_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372007]: Expected one type from `field, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128`, but got `scalar`\n --> compiler-test:5:16\n |\n 5 | return a / b; // division not supported for scalar types.\n | ^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372007]: Expected one type from `field, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128`, but got `scalar` + --> compiler-test:5:16 + | + 5 | return a / b; // division not supported for scalar types. + | ^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/scalar/eq.out b/tests/expectations/compiler/scalar/eq.out index 7fe8b15f92..d8247d33eb 100644 --- a/tests/expectations/compiler/scalar/eq.out +++ b/tests/expectations/compiler/scalar/eq.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280 - type_checked_symbol_table: ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce - unrolled_symbol_table: ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce - initial_ast: 6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22 - unrolled_ast: 6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22 - ssa_ast: ec82de18700c282153e16509520b7fc9d60c14e08744ee2b25a16cc9d0bd9545 - flattened_ast: b54bafa0dd1e48a6b7f4a014af2f0d951bc3601d861295a8b0cc363a3db156f5 - destructured_ast: b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf - inlined_ast: b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf - dce_ast: b95286c15cec8801180520063c1e7bba5f8391cd1c5a2241314363042379dd8f - bytecode: 5c71b9ef5f7774188b6b5be9f6ed558b26059dc5d008d590e2f6860076bcd893 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce", unrolled_symbol_table = "ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce", initial_ast = "6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22", unrolled_ast = "6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22", ssa_ast = "ec82de18700c282153e16509520b7fc9d60c14e08744ee2b25a16cc9d0bd9545", flattened_ast = "b54bafa0dd1e48a6b7f4a014af2f0d951bc3601d861295a8b0cc363a3db156f5", destructured_ast = "b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf", inlined_ast = "b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf", dce_ast = "b95286c15cec8801180520063c1e7bba5f8391cd1c5a2241314363042379dd8f", bytecode = "5c71b9ef5f7774188b6b5be9f6ed558b26059dc5d008d590e2f6860076bcd893", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/no_space_between_literal.out b/tests/expectations/compiler/scalar/no_space_between_literal.out index bb9aea3944..f79534a206 100644 --- a/tests/expectations/compiler/scalar/no_space_between_literal.out +++ b/tests/expectations/compiler/scalar/no_space_between_literal.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:5:13\n |\n 5 | let f = 1 scalar;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:5:13 + | + 5 | let f = 1 scalar; + | ^"""] diff --git a/tests/expectations/compiler/scalar/operator_methods.out b/tests/expectations/compiler/scalar/operator_methods.out index 330b50a2b1..c0e6d5c86f 100644 --- a/tests/expectations/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/scalar/operator_methods.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280 - type_checked_symbol_table: 2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac - unrolled_symbol_table: 2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac - initial_ast: 6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626 - unrolled_ast: 6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626 - ssa_ast: 96bb1e3367291c0a89ecc3287b968771acee9a6a9201875c5d0978e0208ed5e3 - flattened_ast: e5b9db13a4cddc67fef7f8cace9007beb67d725f0c6ffcb4c876d9130b6ec36d - destructured_ast: a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b - inlined_ast: a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b - dce_ast: 6e3ad020081d385389124d92866003b7d1337f68ac02abf10611c3b9c4e9b101 - bytecode: 36a164c1507612060ab556cee9d668118147a8f6bedb09e8eea30c9ce800f907 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac", unrolled_symbol_table = "2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac", initial_ast = "6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626", unrolled_ast = "6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626", ssa_ast = "96bb1e3367291c0a89ecc3287b968771acee9a6a9201875c5d0978e0208ed5e3", flattened_ast = "e5b9db13a4cddc67fef7f8cace9007beb67d725f0c6ffcb4c876d9130b6ec36d", destructured_ast = "a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b", inlined_ast = "a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b", dce_ast = "6e3ad020081d385389124d92866003b7d1337f68ac02abf10611c3b9c4e9b101", bytecode = "36a164c1507612060ab556cee9d668118147a8f6bedb09e8eea30c9ce800f907", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/scalar.out b/tests/expectations/compiler/scalar/scalar.out index 9ac1899794..6801cfb5ef 100644 --- a/tests/expectations/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/scalar/scalar.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 473d6a9c94ce262fae794be27e7aef3a427119fda8608eb0aebb196ac1f78c54 - type_checked_symbol_table: 2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11 - unrolled_symbol_table: 2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11 - initial_ast: 54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02 - unrolled_ast: 54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02 - ssa_ast: 7ea4178f85831e1c416e8bbfd418a3283139ddba456e4360276f2e3f3f0bd3fb - flattened_ast: 79dc2e03456aefcd846315cc29aa9b945f7a0fd9982f4b77a4648dc3078b0158 - destructured_ast: 363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066 - inlined_ast: 363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066 - dce_ast: 363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066 - bytecode: 2ef042858531dce1d8583ebee5f799243cabbf2327d245957c535a35c146aef9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "473d6a9c94ce262fae794be27e7aef3a427119fda8608eb0aebb196ac1f78c54", type_checked_symbol_table = "2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11", unrolled_symbol_table = "2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11", initial_ast = "54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02", unrolled_ast = "54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02", ssa_ast = "7ea4178f85831e1c416e8bbfd418a3283139ddba456e4360276f2e3f3f0bd3fb", flattened_ast = "79dc2e03456aefcd846315cc29aa9b945f7a0fd9982f4b77a4648dc3078b0158", destructured_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", inlined_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", dce_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", bytecode = "2ef042858531dce1d8583ebee5f799243cabbf2327d245957c535a35c146aef9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/square_root_fail.out b/tests/expectations/compiler/scalar/square_root_fail.out index e4823d7f8e..88efaf977e 100644 --- a/tests/expectations/compiler/scalar/square_root_fail.out +++ b/tests/expectations/compiler/scalar/square_root_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372007]: Expected one type from `field`, but got `scalar`\n --> compiler-test:5:16\n |\n 5 | return a.square_root(); // square root not supported for scalar types.\n | ^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372007]: Expected one type from `field`, but got `scalar` + --> compiler-test:5:16 + | + 5 | return a.square_root(); // square root not supported for scalar types. + | ^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/scalar/ternary.out b/tests/expectations/compiler/scalar/ternary.out index b442edb16a..2e03b1ad30 100644 --- a/tests/expectations/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/scalar/ternary.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56 - type_checked_symbol_table: 577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731 - unrolled_symbol_table: 577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731 - initial_ast: 2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386 - unrolled_ast: 2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386 - ssa_ast: 62a8070c73b9fc85238dfbacbdf238885d9d916ea1a8beff437ae92987edf9e6 - flattened_ast: 93a8127ad98bafd98a590dd5aeaa30dc09995496234ae6a9af65979e2c850d4e - destructured_ast: d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d - inlined_ast: d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d - dce_ast: d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d - bytecode: 23e6cb091f2093299d0ea6100cce0c3af523c81111da120d423976348681eda9 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56", type_checked_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", unrolled_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", initial_ast = "2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386", unrolled_ast = "2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386", ssa_ast = "62a8070c73b9fc85238dfbacbdf238885d9d916ea1a8beff437ae92987edf9e6", flattened_ast = "93a8127ad98bafd98a590dd5aeaa30dc09995496234ae6a9af65979e2c850d4e", destructured_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", inlined_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", dce_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", bytecode = "23e6cb091f2093299d0ea6100cce0c3af523c81111da120d423976348681eda9", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/signature/signature.out b/tests/expectations/compiler/signature/signature.out index b28c747c7e..163d2b8d8f 100644 --- a/tests/expectations/compiler/signature/signature.out +++ b/tests/expectations/compiler/signature/signature.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 70a3be0d7dcfa274581f374e661b48f26ed51cb4532c9566e0de9d76eb8c1cb9 - type_checked_symbol_table: 0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260 - unrolled_symbol_table: 0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260 - initial_ast: eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039 - unrolled_ast: eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039 - ssa_ast: 1d8578ea33d84f2462b0d59ed44801a07f335a64596b919926e921943324f821 - flattened_ast: e557a38874f1309f1096546ebfb13100af7770ca3c43bdf1d6b473e7ea0d803b - destructured_ast: 5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d - inlined_ast: 5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d - dce_ast: 2949f1e4a4122944d8290090c64803da4b01a906ae80f638bfc1ec476c532c9b - bytecode: 9a042a6076c83bb376f10443261e56704956030b03df62da5d5f4742ac10c74d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "70a3be0d7dcfa274581f374e661b48f26ed51cb4532c9566e0de9d76eb8c1cb9", type_checked_symbol_table = "0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260", unrolled_symbol_table = "0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260", initial_ast = "eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039", unrolled_ast = "eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039", ssa_ast = "1d8578ea33d84f2462b0d59ed44801a07f335a64596b919926e921943324f821", flattened_ast = "e557a38874f1309f1096546ebfb13100af7770ca3c43bdf1d6b473e7ea0d803b", destructured_ast = "5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d", inlined_ast = "5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d", dce_ast = "2949f1e4a4122944d8290090c64803da4b01a906ae80f638bfc1ec476c532c9b", bytecode = "9a042a6076c83bb376f10443261e56704956030b03df62da5d5f4742ac10c74d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/signature/signature_with_wrong_types_fail.out b/tests/expectations/compiler/signature/signature_with_wrong_types_fail.out index cb241422f1..9afa684db7 100644 --- a/tests/expectations/compiler/signature/signature_with_wrong_types_fail.out +++ b/tests/expectations/compiler/signature/signature_with_wrong_types_fail.out @@ -1,5 +1,34 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372007]: Expected one type from `signature`, but got `address`\n --> compiler-test:11:45\n |\n 11 | let first: bool = signature::verify(a, s, v);\n | ^\nError [ETYC0372007]: Expected one type from `address`, but got `signature`\n --> compiler-test:11:48\n |\n 11 | let first: bool = signature::verify(a, s, v);\n | ^\nError [ETYC0372007]: Expected one type from `address`, but got `u8`\n --> compiler-test:12:37\n |\n 12 | let second: bool = s.verify(1u8, v);\n | ^^^\nError [ETYC0372007]: Expected one type from `signature`, but got `address`\n --> compiler-test:17:45\n |\n 17 | let first: bool = signature::verify(a, v, s);\n | ^\nError [ETYC0372007]: Expected one type from `address`, but got `foo`\n --> compiler-test:17:48\n |\n 17 | let first: bool = signature::verify(a, v, s);\n | ^\nError [ETYC0372007]: Expected one type from `address`, but got `foo`\n --> compiler-test:18:37\n |\n 18 | let second: bool = s.verify(v, a);\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372007]: Expected one type from `signature`, but got `address` + --> compiler-test:11:45 + | + 11 | let first: bool = signature::verify(a, s, v); + | ^ +Error [ETYC0372007]: Expected one type from `address`, but got `signature` + --> compiler-test:11:48 + | + 11 | let first: bool = signature::verify(a, s, v); + | ^ +Error [ETYC0372007]: Expected one type from `address`, but got `u8` + --> compiler-test:12:37 + | + 12 | let second: bool = s.verify(1u8, v); + | ^^^ +Error [ETYC0372007]: Expected one type from `signature`, but got `address` + --> compiler-test:17:45 + | + 17 | let first: bool = signature::verify(a, v, s); + | ^ +Error [ETYC0372007]: Expected one type from `address`, but got `foo` + --> compiler-test:17:48 + | + 17 | let first: bool = signature::verify(a, v, s); + | ^ +Error [ETYC0372007]: Expected one type from `address`, but got `foo` + --> compiler-test:18:37 + | + 18 | let second: bool = s.verify(v, a); + | ^ +"""] diff --git a/tests/expectations/compiler/statements/all_loops_fail.out b/tests/expectations/compiler/statements/all_loops_fail.out index 7d9757173f..5b8ce892d8 100644 --- a/tests/expectations/compiler/statements/all_loops_fail.out +++ b/tests/expectations/compiler/statements/all_loops_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> compiler-test:16:30\n |\n 16 | for a: u32 in 10u32..=0u32 {\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> compiler-test:16:30 + | + 16 | for a: u32 in 10u32..=0u32 { + | ^"""] diff --git a/tests/expectations/compiler/statements/assign.out b/tests/expectations/compiler/statements/assign.out index 8ef33c3ea2..3c7576409e 100644 --- a/tests/expectations/compiler/statements/assign.out +++ b/tests/expectations/compiler/statements/assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c5296c3c050ba748e66ec721f6a058fd4fdb612afbe9e41054cd482b67e6e6f9 - type_checked_symbol_table: d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da - unrolled_symbol_table: d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da - initial_ast: 6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788 - unrolled_ast: 6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788 - ssa_ast: fe7e915193461f768fdf91bf468873c767d5f6b6964a2f36fc5b47018aca2472 - flattened_ast: 8a821b2ed86abdf4344ec3e58b1f13cfa8d42cd2fbcd692b60b975ff968df287 - destructured_ast: c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862 - inlined_ast: c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862 - dce_ast: f06f4f184c5dad19a346fdcf168240765bda3758ace5f0b80451c60adf544374 - bytecode: 5487f807b82f67172b386aaf992fed06bcb134d1749202c409a300633a37a9bf - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "c5296c3c050ba748e66ec721f6a058fd4fdb612afbe9e41054cd482b67e6e6f9", type_checked_symbol_table = "d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da", unrolled_symbol_table = "d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da", initial_ast = "6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788", unrolled_ast = "6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788", ssa_ast = "fe7e915193461f768fdf91bf468873c767d5f6b6964a2f36fc5b47018aca2472", flattened_ast = "8a821b2ed86abdf4344ec3e58b1f13cfa8d42cd2fbcd692b60b975ff968df287", destructured_ast = "c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862", inlined_ast = "c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862", dce_ast = "f06f4f184c5dad19a346fdcf168240765bda3758ace5f0b80451c60adf544374", bytecode = "5487f807b82f67172b386aaf992fed06bcb134d1749202c409a300633a37a9bf", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/assign_fail.out b/tests/expectations/compiler/statements/assign_fail.out index 0a4be33ebc..319cdf1f50 100644 --- a/tests/expectations/compiler/statements/assign_fail.out +++ b/tests/expectations/compiler/statements/assign_fail.out @@ -1,5 +1,5 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `🦀`.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370016]: Could not lex the following content: `🦀`. +"""] diff --git a/tests/expectations/compiler/statements/assign_ternary.out b/tests/expectations/compiler/statements/assign_ternary.out index 338526c37d..1beb8aec8b 100644 --- a/tests/expectations/compiler/statements/assign_ternary.out +++ b/tests/expectations/compiler/statements/assign_ternary.out @@ -1,5 +1,21 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `bool` but type `u32` was found\n --> compiler-test:5:30\n |\n 5 | let x: bool = true ? x: true;\n | ^\nError [EAST0372009]: variable `x` shadowed by\n --> compiler-test:5:13\n |\n 5 | let x: bool = true ? x: true;\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `bool` but type `u32` was found + --> compiler-test:5:30 + | + 5 | let x: bool = true ? x: true; + | ^ +Error [EAST0372009]: variable `x` shadowed by + --> compiler-test:5:13 + | + 5 | let x: bool = true ? x: true; + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/block.out b/tests/expectations/compiler/statements/block.out index c25f0981d3..bacb45b090 100644 --- a/tests/expectations/compiler/statements/block.out +++ b/tests/expectations/compiler/statements/block.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be - type_checked_symbol_table: a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6 - unrolled_symbol_table: a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6 - initial_ast: 2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d - unrolled_ast: 2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d - ssa_ast: ae4b1451d5a14f4b988437ce8a0c5a0c23080a5d6711350fbe768b667f699639 - flattened_ast: cd83d20fc3ca8cbed971b4bc4eec01122ececcad666ff3574cf6f3bcdd71d77e - destructured_ast: a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327 - inlined_ast: a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327 - dce_ast: a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327 - bytecode: 9f2bbabd0f858db6e5f4e529fdd5e246023994bf27bbabe6dc1aa6bbf8bf5cfd - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6", unrolled_symbol_table = "a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6", initial_ast = "2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d", unrolled_ast = "2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d", ssa_ast = "ae4b1451d5a14f4b988437ce8a0c5a0c23080a5d6711350fbe768b667f699639", flattened_ast = "cd83d20fc3ca8cbed971b4bc4eec01122ececcad666ff3574cf6f3bcdd71d77e", destructured_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", inlined_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", dce_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", bytecode = "9f2bbabd0f858db6e5f4e529fdd5e246023994bf27bbabe6dc1aa6bbf8bf5cfd", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/chain.out b/tests/expectations/compiler/statements/chain.out index f94155d062..1c851f362d 100644 --- a/tests/expectations/compiler/statements/chain.out +++ b/tests/expectations/compiler/statements/chain.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d - type_checked_symbol_table: 1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc - unrolled_symbol_table: 1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc - initial_ast: 8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc - unrolled_ast: 8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc - ssa_ast: 2d738c04e5ae989b25373b5d96877981a85862653298922e8feffde828808c07 - flattened_ast: 1efcab145973980eabc68bb0ec6624b8b5d42bba4c38771f88b7a2cee35cdef3 - destructured_ast: b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04 - inlined_ast: b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04 - dce_ast: b43faebb2985c920347a8d103943a3d3fd53dae5ce6a62647c9067c7d009132f - bytecode: f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc", unrolled_symbol_table = "1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc", initial_ast = "8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc", unrolled_ast = "8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc", ssa_ast = "2d738c04e5ae989b25373b5d96877981a85862653298922e8feffde828808c07", flattened_ast = "1efcab145973980eabc68bb0ec6624b8b5d42bba4c38771f88b7a2cee35cdef3", destructured_ast = "b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04", inlined_ast = "b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04", dce_ast = "b43faebb2985c920347a8d103943a3d3fd53dae5ce6a62647c9067c7d009132f", bytecode = "f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/compare_diff_types_fail.out b/tests/expectations/compiler/statements/compare_diff_types_fail.out index 34cadc9dff..e2f8403416 100644 --- a/tests/expectations/compiler/statements/compare_diff_types_fail.out +++ b/tests/expectations/compiler/statements/compare_diff_types_fail.out @@ -1,5 +1,51 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `u8` but type `i8` was found\n --> compiler-test:5:23\n |\n 5 | let b: bool = a == 1u8;\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `u8` but type `i8` was found\n --> compiler-test:6:23\n |\n 6 | let c: bool = a != 1u8;\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `u8` but type `i8` was found\n --> compiler-test:7:23\n |\n 7 | let d: bool = a > 1u8;\n | ^^^^^^^\nError [ETYC0372003]: Expected type `u8` but type `i8` was found\n --> compiler-test:8:23\n |\n 8 | let e: bool = a < 1u8;\n | ^^^^^^^\nError [ETYC0372003]: Expected type `u8` but type `i8` was found\n --> compiler-test:9:23\n |\n 9 | let f: bool = a >= 1u8;\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `u8` but type `i8` was found\n --> compiler-test:10:23\n |\n 10 | let g: bool = a <= 1u8;\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `i8` but type `u8` was found\n --> compiler-test:11:26\n |\n 11 | let h: u32 = a * 1u8;\n | ^^^\nError [ETYC0372003]: Expected type `i8` but type `u32` was found\n --> compiler-test:11:22\n |\n 11 | let h: u32 = a * 1u8;\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `u8` but type `i8` was found + --> compiler-test:5:23 + | + 5 | let b: bool = a == 1u8; + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `u8` but type `i8` was found + --> compiler-test:6:23 + | + 6 | let c: bool = a != 1u8; + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `u8` but type `i8` was found + --> compiler-test:7:23 + | + 7 | let d: bool = a > 1u8; + | ^^^^^^^ +Error [ETYC0372003]: Expected type `u8` but type `i8` was found + --> compiler-test:8:23 + | + 8 | let e: bool = a < 1u8; + | ^^^^^^^ +Error [ETYC0372003]: Expected type `u8` but type `i8` was found + --> compiler-test:9:23 + | + 9 | let f: bool = a >= 1u8; + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `u8` but type `i8` was found + --> compiler-test:10:23 + | + 10 | let g: bool = a <= 1u8; + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `i8` but type `u8` was found + --> compiler-test:11:26 + | + 11 | let h: u32 = a * 1u8; + | ^^^ +Error [ETYC0372003]: Expected type `i8` but type `u32` was found + --> compiler-test:11:22 + | + 11 | let h: u32 = a * 1u8; + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/compare_invalid_negates_fail.out b/tests/expectations/compiler/statements/compare_invalid_negates_fail.out index 4028922785..6cf2387c7c 100644 --- a/tests/expectations/compiler/statements/compare_invalid_negates_fail.out +++ b/tests/expectations/compiler/statements/compare_invalid_negates_fail.out @@ -1,5 +1,81 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:5:24\n |\n 5 | let b: bool = -a == -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:5:29\n |\n 5 | let b: bool = -a == -1u8;\n | ^^^^\nError [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:6:24\n |\n 6 | let c: bool = -a > -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:6:28\n |\n 6 | let c: bool = -a > -1u8;\n | ^^^^\nError [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:7:24\n |\n 7 | let d: bool = -a < -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:7:28\n |\n 7 | let d: bool = -a < -1u8;\n | ^^^^\nError [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:8:24\n |\n 8 | let e: bool = -a >= -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:8:29\n |\n 8 | let e: bool = -a >= -1u8;\n | ^^^^\nError [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:9:24\n |\n 9 | let f: bool = -a <= -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:9:29\n |\n 9 | let f: bool = -a <= -1u8;\n | ^^^^\nError [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:10:22\n |\n 10 | let g: u8 = -a * -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:10:26\n |\n 10 | let g: u8 = -a * -1u8;\n | ^^^^\nError [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:11:22\n |\n 11 | let h: u8 = -a ** -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:11:27\n |\n 11 | let h: u8 = -a ** -1u8;\n | ^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8` + --> compiler-test:5:24 + | + 5 | let b: bool = -a == -1u8; + | ^ +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:5:29 + | + 5 | let b: bool = -a == -1u8; + | ^^^^ +Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8` + --> compiler-test:6:24 + | + 6 | let c: bool = -a > -1u8; + | ^ +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:6:28 + | + 6 | let c: bool = -a > -1u8; + | ^^^^ +Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8` + --> compiler-test:7:24 + | + 7 | let d: bool = -a < -1u8; + | ^ +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:7:28 + | + 7 | let d: bool = -a < -1u8; + | ^^^^ +Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8` + --> compiler-test:8:24 + | + 8 | let e: bool = -a >= -1u8; + | ^ +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:8:29 + | + 8 | let e: bool = -a >= -1u8; + | ^^^^ +Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8` + --> compiler-test:9:24 + | + 9 | let f: bool = -a <= -1u8; + | ^ +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:9:29 + | + 9 | let f: bool = -a <= -1u8; + | ^^^^ +Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8` + --> compiler-test:10:22 + | + 10 | let g: u8 = -a * -1u8; + | ^ +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:10:26 + | + 10 | let g: u8 = -a * -1u8; + | ^^^^ +Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8` + --> compiler-test:11:22 + | + 11 | let h: u8 = -a ** -1u8; + | ^ +Error [ETYC0372008]: The value -1 is not a valid `u8` + --> compiler-test:11:27 + | + 11 | let h: u8 = -a ** -1u8; + | ^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/duplicate_variable.out b/tests/expectations/compiler/statements/duplicate_variable.out index 1a8f53e257..9c278a749c 100644 --- a/tests/expectations/compiler/statements/duplicate_variable.out +++ b/tests/expectations/compiler/statements/duplicate_variable.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372009]: variable `x` shadowed by\n --> compiler-test:6:12\n |\n 6 | \tlet x: bool = true;\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372009]: variable `x` shadowed by + --> compiler-test:6:12 + | + 6 | \tlet x: bool = true; + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/expr_statement.out b/tests/expectations/compiler/statements/expr_statement.out index 614a101f91..a651345585 100644 --- a/tests/expectations/compiler/statements/expr_statement.out +++ b/tests/expectations/compiler/statements/expr_statement.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 230456a912e68c6bf7bc61830676d9977f6aee13e2ae69546b077d939c547002 - type_checked_symbol_table: 72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1 - unrolled_symbol_table: 72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1 - initial_ast: eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2 - unrolled_ast: eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2 - ssa_ast: 98648a4077c879caa3646f9610036e6843e9940a61af40705985ddc8da2325df - flattened_ast: db92a5e180f9ae7502df883de11b44aea7c08e8fee517d1cfa7bdda51777fbbf - destructured_ast: bedc21928bb999a9644ee94c09ff6b44ae4cc46296b31b2a3e67d448ed272fec - inlined_ast: fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05 - dce_ast: fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05 - bytecode: 401bb4388cffbc9e0df078a93024b669f7de284cfe97f564143486a27cb070ab - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "230456a912e68c6bf7bc61830676d9977f6aee13e2ae69546b077d939c547002", type_checked_symbol_table = "72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1", unrolled_symbol_table = "72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1", initial_ast = "eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2", unrolled_ast = "eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2", ssa_ast = "98648a4077c879caa3646f9610036e6843e9940a61af40705985ddc8da2325df", flattened_ast = "db92a5e180f9ae7502df883de11b44aea7c08e8fee517d1cfa7bdda51777fbbf", destructured_ast = "bedc21928bb999a9644ee94c09ff6b44ae4cc46296b31b2a3e67d448ed272fec", inlined_ast = "fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05", dce_ast = "fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05", bytecode = "401bb4388cffbc9e0df078a93024b669f7de284cfe97f564143486a27cb070ab", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/expr_statement_fail.out b/tests/expectations/compiler/statements/expr_statement_fail.out index 6dcb37af3e..7a5aac14fe 100644 --- a/tests/expectations/compiler/statements/expr_statement_fail.out +++ b/tests/expectations/compiler/statements/expr_statement_fail.out @@ -1,5 +1,46 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:10:9\n |\n 10 | a + b;\n | ^^^^^^\nError [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:11:9\n |\n 11 | flag ? a : b;\n | ^^^^^^^^^^^^^\nError [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:12:9\n |\n 12 | foo.a;\n | ^^^^^^\nError [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:13:9\n |\n 13 | Foo {\n 14 | a: a,\n 15 | };\n | ^^\nError [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:16:9\n |\n 16 | a;\n | ^^\nError [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:17:9\n |\n 17 | 1u8;\n | ^^^^\nError [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:18:9\n |\n 18 | -i8;\n | ^^^^\nError [ETYC0372053]: An expression statement must be a function call.\n --> compiler-test:19:9\n |\n 19 | ();\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:10:9 + | + 10 | a + b; + | ^^^^^^ +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:11:9 + | + 11 | flag ? a : b; + | ^^^^^^^^^^^^^ +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:12:9 + | + 12 | foo.a; + | ^^^^^^ +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:13:9 + | + 13 | Foo { + 14 | a: a, + 15 | }; + | ^^ +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:16:9 + | + 16 | a; + | ^^ +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:17:9 + | + 17 | 1u8; + | ^^^^ +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:18:9 + | + 18 | -i8; + | ^^^^ +Error [ETYC0372053]: An expression statement must be a function call. + --> compiler-test:19:9 + | + 19 | (); + | ^^^ +"""] diff --git a/tests/expectations/compiler/statements/iteration_basic.out b/tests/expectations/compiler/statements/iteration_basic.out index 2a2ebb50f9..0dff275135 100644 --- a/tests/expectations/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/statements/iteration_basic.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d - type_checked_symbol_table: 9c755ac6de6948601c6b5adfb40ab6ca04078e174f138e8ad27592c4f01a275d - unrolled_symbol_table: 85a0ed39469e64279b86e43dc54f422e7680521404a58414453c511604cea265 - initial_ast: c853d211f0b9902b1978a581b79719747d48e271dc56f1a73237ff53581f6375 - unrolled_ast: b39f8f9a660f6f85e936c7305764806ce1fdee4097556428d9681453f792ea62 - ssa_ast: b40a70be25d97306588239f437b2ac56433322bea24c3e5f897b5f87c4853e4e - flattened_ast: b4ca778e94be2312fd745641784c84d39d3cd4994dec31d622bc1903d06bbe13 - destructured_ast: 49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce - inlined_ast: 49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce - dce_ast: 49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce - bytecode: 41bf59ecf2ab2485e223b6501897613108441d2d881640d2d235f79201615cd3 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "9c755ac6de6948601c6b5adfb40ab6ca04078e174f138e8ad27592c4f01a275d", unrolled_symbol_table = "85a0ed39469e64279b86e43dc54f422e7680521404a58414453c511604cea265", initial_ast = "c853d211f0b9902b1978a581b79719747d48e271dc56f1a73237ff53581f6375", unrolled_ast = "b39f8f9a660f6f85e936c7305764806ce1fdee4097556428d9681453f792ea62", ssa_ast = "b40a70be25d97306588239f437b2ac56433322bea24c3e5f897b5f87c4853e4e", flattened_ast = "b4ca778e94be2312fd745641784c84d39d3cd4994dec31d622bc1903d06bbe13", destructured_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", inlined_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", dce_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", bytecode = "41bf59ecf2ab2485e223b6501897613108441d2d881640d2d235f79201615cd3", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/iteration_bound_too_large_fail.out b/tests/expectations/compiler/statements/iteration_bound_too_large_fail.out index fda5ddd79e..a45c818152 100644 --- a/tests/expectations/compiler/statements/iteration_bound_too_large_fail.out +++ b/tests/expectations/compiler/statements/iteration_bound_too_large_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372008]: The value 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000 is not a valid `u64`\n --> compiler-test:7:28\n |\n 7 | for i:u64 in 0u64..1000000000000000000000000000000000000000000000000000000000000000000000000000000000000u64 {\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372008]: The value 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000 is not a valid `u64` + --> compiler-test:7:28 + | + 7 | for i:u64 in 0u64..1000000000000000000000000000000000000000000000000000000000000000000000000000000000000u64 { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/iteration_nested.out b/tests/expectations/compiler/statements/iteration_nested.out index 1821fed3ec..f92b3770dc 100644 --- a/tests/expectations/compiler/statements/iteration_nested.out +++ b/tests/expectations/compiler/statements/iteration_nested.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 693367bfa3262d97165d4f65744db680a42887af9466271e997ce5ecfb4e4ad8 - type_checked_symbol_table: 2df26b219d452e5c67834698c8ccd216f94185f885b10e5d2fb7d52cf364a8fe - unrolled_symbol_table: b89ab5cc076c8120d75083c1b01cab5c0bdb9c8a1527da28df2763b584375659 - initial_ast: 7c9468d2e25b8d770277e8ae01d776a99c2fe1b2b3cc5a26fa45924fbb255629 - unrolled_ast: a5f436cc41ecc729d5108f79abaa12a65d4036c3994541ae1cf475b734ccd3c5 - ssa_ast: f1c9aab6abecb5132f37e0a83ddebbe79eb90c10a8dd08be7b87aa310b0ba880 - flattened_ast: 4ec88aa2da726e5ea30fbd75c97e80f1aab21674e31bd06845123a8527f249df - destructured_ast: 7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a - inlined_ast: 7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a - dce_ast: 7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a - bytecode: e6fba28a70e1d844cc46f8e9dcf040658b9431f4fd49a4896dfc7ffb3ebfeb25 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "693367bfa3262d97165d4f65744db680a42887af9466271e997ce5ecfb4e4ad8", type_checked_symbol_table = "2df26b219d452e5c67834698c8ccd216f94185f885b10e5d2fb7d52cf364a8fe", unrolled_symbol_table = "b89ab5cc076c8120d75083c1b01cab5c0bdb9c8a1527da28df2763b584375659", initial_ast = "7c9468d2e25b8d770277e8ae01d776a99c2fe1b2b3cc5a26fa45924fbb255629", unrolled_ast = "a5f436cc41ecc729d5108f79abaa12a65d4036c3994541ae1cf475b734ccd3c5", ssa_ast = "f1c9aab6abecb5132f37e0a83ddebbe79eb90c10a8dd08be7b87aa310b0ba880", flattened_ast = "4ec88aa2da726e5ea30fbd75c97e80f1aab21674e31bd06845123a8527f249df", destructured_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", inlined_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", dce_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", bytecode = "e6fba28a70e1d844cc46f8e9dcf040658b9431f4fd49a4896dfc7ffb3ebfeb25", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/loop_decreasing_fail.out b/tests/expectations/compiler/statements/loop_decreasing_fail.out index b43ebd1a53..49be2d2bce 100644 --- a/tests/expectations/compiler/statements/loop_decreasing_fail.out +++ b/tests/expectations/compiler/statements/loop_decreasing_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ELUN0379000]: The loop range must be increasing.\n --> compiler-test:7:28\n |\n 7 | for i: i8 in 10i8..5i8 {\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ELUN0379000]: The loop range must be increasing. + --> compiler-test:7:28 + | + 7 | for i: i8 in 10i8..5i8 { + | ^^^ +"""] diff --git a/tests/expectations/compiler/statements/loop_non_literal_bound_fail.out b/tests/expectations/compiler/statements/loop_non_literal_bound_fail.out index fc78e281be..3e05c1fd55 100644 --- a/tests/expectations/compiler/statements/loop_non_literal_bound_fail.out +++ b/tests/expectations/compiler/statements/loop_non_literal_bound_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372071]: The loop bound must be a literal or a const\n --> compiler-test:11:28\n |\n 11 | for i:u64 in 0u64..amount {\n | ^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372071]: The loop bound must be a literal or a const + --> compiler-test:11:28 + | + 11 | for i:u64 in 0u64..amount { + | ^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/loop_returns_fail.out b/tests/expectations/compiler/statements/loop_returns_fail.out index bdf5155944..a9f0977009 100644 --- a/tests/expectations/compiler/statements/loop_returns_fail.out +++ b/tests/expectations/compiler/statements/loop_returns_fail.out @@ -1,5 +1,33 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372026]: Loop body contains a return statement or always returns.\n --> compiler-test:6:9\n |\n 6 | for i: u32 in 0u32..9u32 {\n 7 | return false;\n 8 | }\n | ^\n |\n = Remove the code in the loop body that always returns.\nError [ETYC0372026]: Loop body contains a return statement or always returns.\n --> compiler-test:10:9\n |\n 10 | for i: u32 in 0u32..9u32 {\n 11 | if (x == 0u32) {\n 12 | return false;\n 13 | } else {\n 14 | return true;\n 15 | }\n 16 | }\n | ^\n |\n = Remove the code in the loop body that always returns.\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372026]: Loop body contains a return statement or always returns. + --> compiler-test:6:9 + | + 6 | for i: u32 in 0u32..9u32 { + 7 | return false; + 8 | } + | ^ + | + = Remove the code in the loop body that always returns. +Error [ETYC0372026]: Loop body contains a return statement or always returns. + --> compiler-test:10:9 + | + 10 | for i: u32 in 0u32..9u32 { + 11 | if (x == 0u32) { + 12 | return false; + 13 | } else { + 14 | return true; + 15 | } + 16 | } + | ^ + | + = Remove the code in the loop body that always returns. +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/multiple_returns.out b/tests/expectations/compiler/statements/multiple_returns.out index da6d2276f3..d0b37d63ef 100644 --- a/tests/expectations/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/statements/multiple_returns.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d - type_checked_symbol_table: 547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938 - unrolled_symbol_table: 547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938 - initial_ast: bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e - unrolled_ast: bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e - ssa_ast: d9f3b16b2a063335a36b56798ffaf578d6f04fbe70003ec15a30783590c1dce4 - flattened_ast: 9ce05cb73e1f012bada5972095cc1c0602d96bd63a4fe58029f2c073a8eab51c - destructured_ast: 690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31 - inlined_ast: 690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31 - dce_ast: 4bbb3efdf7be6bd5d87995ed2787265dca604575a2b898a7a9cbe0b889bc235b - bytecode: e8fad70723ee17dc768faab9e2ee64ec338b6b1bd4ec1d9350791665c1abd697 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938", unrolled_symbol_table = "547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938", initial_ast = "bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e", unrolled_ast = "bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e", ssa_ast = "d9f3b16b2a063335a36b56798ffaf578d6f04fbe70003ec15a30783590c1dce4", flattened_ast = "9ce05cb73e1f012bada5972095cc1c0602d96bd63a4fe58029f2c073a8eab51c", destructured_ast = "690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31", inlined_ast = "690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31", dce_ast = "4bbb3efdf7be6bd5d87995ed2787265dca604575a2b898a7a9cbe0b889bc235b", bytecode = "e8fad70723ee17dc768faab9e2ee64ec338b6b1bd4ec1d9350791665c1abd697", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/multiple_returns_in_one_block_fail.out b/tests/expectations/compiler/statements/multiple_returns_in_one_block_fail.out index 9e0cba2ec1..30f17df9b4 100644 --- a/tests/expectations/compiler/statements/multiple_returns_in_one_block_fail.out +++ b/tests/expectations/compiler/statements/multiple_returns_in_one_block_fail.out @@ -1,5 +1,25 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372025]: Cannot reach the following statement.\n --> compiler-test:6:9\n |\n 6 | let double: u32 = x + x;\n | ^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Remove the unreachable code.\nError [ETYC0372025]: Cannot reach the following statement.\n --> compiler-test:7:9\n |\n 7 | return double;\n | ^^^^^^^^^^^^^^\n |\n = Remove the unreachable code.\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372025]: Cannot reach the following statement. + --> compiler-test:6:9 + | + 6 | let double: u32 = x + x; + | ^^^^^^^^^^^^^^^^^^^^^^^ + | + = Remove the unreachable code. +Error [ETYC0372025]: Cannot reach the following statement. + --> compiler-test:7:9 + | + 7 | return double; + | ^^^^^^^^^^^^^^ + | + = Remove the unreachable code. +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index 3774c8374b..a46bc421a3 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d - type_checked_symbol_table: a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8 - unrolled_symbol_table: a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8 - initial_ast: b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a - unrolled_ast: b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a - ssa_ast: 23fb955e50de14a4131b2db621a24d05ac52d5ac7af341e7dde5d24479203cda - flattened_ast: ebf21ee2f562b59de5164c9965fbb2e822bd5c8e847def54c41738d4df96a25e - destructured_ast: 9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb - inlined_ast: 9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb - dce_ast: 1bf4801943a35c63849ec343cf26a5888fa9852805514a499fc1162bbb51e31a - bytecode: 4f4c5c377fed78feede8ee754c9f838f449f8d00cf771b2bb65884e876f90b7e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8", unrolled_symbol_table = "a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8", initial_ast = "b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a", unrolled_ast = "b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a", ssa_ast = "23fb955e50de14a4131b2db621a24d05ac52d5ac7af341e7dde5d24479203cda", flattened_ast = "ebf21ee2f562b59de5164c9965fbb2e822bd5c8e847def54c41738d4df96a25e", destructured_ast = "9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb", inlined_ast = "9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb", dce_ast = "1bf4801943a35c63849ec343cf26a5888fa9852805514a499fc1162bbb51e31a", bytecode = "4f4c5c377fed78feede8ee754c9f838f449f8d00cf771b2bb65884e876f90b7e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/non_existant_var_exp_fail.out b/tests/expectations/compiler/statements/non_existant_var_exp_fail.out index 3bab4e33c5..a16de5b6f1 100644 --- a/tests/expectations/compiler/statements/non_existant_var_exp_fail.out +++ b/tests/expectations/compiler/statements/non_existant_var_exp_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `z`\n --> compiler-test:5:23\n |\n 5 | \tlet b: u8 = 1u8**z;\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `z` + --> compiler-test:5:23 + | + 5 | \tlet b: u8 = 1u8**z; + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/non_existant_vars_mul_fail.out b/tests/expectations/compiler/statements/non_existant_vars_mul_fail.out index b7f08c019f..303529f5d8 100644 --- a/tests/expectations/compiler/statements/non_existant_vars_mul_fail.out +++ b/tests/expectations/compiler/statements/non_existant_vars_mul_fail.out @@ -1,5 +1,31 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372005]: Unknown variable `x`\n --> compiler-test:5:18\n |\n 5 | \tlet b: u8 = x*z;\n | ^\nError [ETYC0372005]: Unknown variable `z`\n --> compiler-test:5:20\n |\n 5 | \tlet b: u8 = x*z;\n | ^\nError [ETYC0372004]: Could not determine the type of `x`\n --> compiler-test:5:18\n |\n 5 | \tlet b: u8 = x*z;\n | ^\nError [ETYC0372004]: Could not determine the type of `z`\n --> compiler-test:5:20\n |\n 5 | \tlet b: u8 = x*z;\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372005]: Unknown variable `x` + --> compiler-test:5:18 + | + 5 | \tlet b: u8 = x*z; + | ^ +Error [ETYC0372005]: Unknown variable `z` + --> compiler-test:5:20 + | + 5 | \tlet b: u8 = x*z; + | ^ +Error [ETYC0372004]: Could not determine the type of `x` + --> compiler-test:5:18 + | + 5 | \tlet b: u8 = x*z; + | ^ +Error [ETYC0372004]: Could not determine the type of `z` + --> compiler-test:5:20 + | + 5 | \tlet b: u8 = x*z; + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/operations/add_assign.out b/tests/expectations/compiler/statements/operations/add_assign.out index 63dfcde96c..b416e4d0a1 100644 --- a/tests/expectations/compiler/statements/operations/add_assign.out +++ b/tests/expectations/compiler/statements/operations/add_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: 786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503 - unrolled_ast: 786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503 - ssa_ast: 4db0697a00c7c000e48392d0be6e40eb3a5c27ac4f9c9442558961617cce6621 - flattened_ast: b5f30a511177f0ef462c7604003daca6cf89e4d4c402ab635e6fa35100c58b27 - destructured_ast: 018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee - inlined_ast: 018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee - dce_ast: 018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee - bytecode: f9bb06bbdb06665d260633e11e377d5b2a428e169220f31b9ad9cd8ac8c94f6d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503", unrolled_ast = "786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503", ssa_ast = "4db0697a00c7c000e48392d0be6e40eb3a5c27ac4f9c9442558961617cce6621", flattened_ast = "b5f30a511177f0ef462c7604003daca6cf89e4d4c402ab635e6fa35100c58b27", destructured_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", inlined_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", dce_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", bytecode = "f9bb06bbdb06665d260633e11e377d5b2a428e169220f31b9ad9cd8ac8c94f6d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/and_assign.out b/tests/expectations/compiler/statements/operations/and_assign.out index 48d5c11329..1229c403eb 100644 --- a/tests/expectations/compiler/statements/operations/and_assign.out +++ b/tests/expectations/compiler/statements/operations/and_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b - type_checked_symbol_table: f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79 - unrolled_symbol_table: f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79 - initial_ast: 2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71 - unrolled_ast: 2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71 - ssa_ast: e436693135f765ec1e2237a0c073ac52dea3781c6c62d8a4d55cca8a3bdbf080 - flattened_ast: f13e07a9dc3fd6be29c0a6a6a4a24b55ecc21969d0727ce2bbe79d09747cc0c0 - destructured_ast: d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5 - inlined_ast: d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5 - dce_ast: d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5 - bytecode: 7b9e392bda5b29d56ff94dc3eaefe68313d852336209db998714308d19ea6102 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b", type_checked_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", unrolled_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", initial_ast = "2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71", unrolled_ast = "2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71", ssa_ast = "e436693135f765ec1e2237a0c073ac52dea3781c6c62d8a4d55cca8a3bdbf080", flattened_ast = "f13e07a9dc3fd6be29c0a6a6a4a24b55ecc21969d0727ce2bbe79d09747cc0c0", destructured_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", inlined_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", dce_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", bytecode = "7b9e392bda5b29d56ff94dc3eaefe68313d852336209db998714308d19ea6102", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/bitand_assign.out b/tests/expectations/compiler/statements/operations/bitand_assign.out index 1d1bc1ff7a..39c54bf2db 100644 --- a/tests/expectations/compiler/statements/operations/bitand_assign.out +++ b/tests/expectations/compiler/statements/operations/bitand_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d - unrolled_ast: d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d - ssa_ast: d86b1082bb92ee18f8938afc0d8ff1f043c9aeba73ae8fbf6156ba0ba6b1b81f - flattened_ast: b65e7563e2529a622e062867c8102f92b56bf727f2f2ba0ffb6238b8d1523b6d - destructured_ast: 4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3 - inlined_ast: 4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3 - dce_ast: 4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3 - bytecode: 6dab0d771ad5e0b95b5ded8ffb214368621dc0ee9434113549f85abd0eb6c626 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d", unrolled_ast = "d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d", ssa_ast = "d86b1082bb92ee18f8938afc0d8ff1f043c9aeba73ae8fbf6156ba0ba6b1b81f", flattened_ast = "b65e7563e2529a622e062867c8102f92b56bf727f2f2ba0ffb6238b8d1523b6d", destructured_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", inlined_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", dce_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", bytecode = "6dab0d771ad5e0b95b5ded8ffb214368621dc0ee9434113549f85abd0eb6c626", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/bitor_assign.out b/tests/expectations/compiler/statements/operations/bitor_assign.out index 84446672f3..2d5647ebd7 100644 --- a/tests/expectations/compiler/statements/operations/bitor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitor_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363 - unrolled_ast: a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363 - ssa_ast: c1eeec4760577855cd026969f8feb7603bfcc02c0124651568b00319641c5578 - flattened_ast: 756bc884e81396ff00403f1ac3f97a5616faf6abace9e629a17ed2be63df9831 - destructured_ast: 2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c - inlined_ast: 2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c - dce_ast: 2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c - bytecode: f551499188e28449b06b9aa17ef8af4d1daedbf0ac75484b5e3f8e81836ffb63 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363", unrolled_ast = "a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363", ssa_ast = "c1eeec4760577855cd026969f8feb7603bfcc02c0124651568b00319641c5578", flattened_ast = "756bc884e81396ff00403f1ac3f97a5616faf6abace9e629a17ed2be63df9831", destructured_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", inlined_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", dce_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", bytecode = "f551499188e28449b06b9aa17ef8af4d1daedbf0ac75484b5e3f8e81836ffb63", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/bitxor_assign.out b/tests/expectations/compiler/statements/operations/bitxor_assign.out index be527021b1..61021f3428 100644 --- a/tests/expectations/compiler/statements/operations/bitxor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitxor_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: 3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1 - unrolled_ast: 3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1 - ssa_ast: 88a09c4436aff6e61ee4ff0de4098e8c591dd0ea80c23b7e75137c73d07d0b17 - flattened_ast: bb244e9de1cc4d76843dc12ff1c45fd8c8a965d93d8d5a9ff9dc34c9b3f57217 - destructured_ast: 116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f - inlined_ast: 116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f - dce_ast: 116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f - bytecode: cc7cc1d77829ab20a01838d82d9d75e2f4d9b5231667aeeb7517083740d299f5 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1", unrolled_ast = "3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1", ssa_ast = "88a09c4436aff6e61ee4ff0de4098e8c591dd0ea80c23b7e75137c73d07d0b17", flattened_ast = "bb244e9de1cc4d76843dc12ff1c45fd8c8a965d93d8d5a9ff9dc34c9b3f57217", destructured_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", inlined_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", dce_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", bytecode = "cc7cc1d77829ab20a01838d82d9d75e2f4d9b5231667aeeb7517083740d299f5", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/div_assign.out b/tests/expectations/compiler/statements/operations/div_assign.out index 79bf12bf48..68adb78436 100644 --- a/tests/expectations/compiler/statements/operations/div_assign.out +++ b/tests/expectations/compiler/statements/operations/div_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127 - unrolled_ast: c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127 - ssa_ast: 9f9c72a9f18ded47c4ebf08d0c3688e0c757c3cc9100615ad5ed859dc9027c1b - flattened_ast: e64fbb5256594cd26cc6ad46039449b980dcf8da7ab87a520172aa8925f32631 - destructured_ast: 2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a - inlined_ast: 2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a - dce_ast: 2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a - bytecode: 852a26ba7ae67c2f2cdf00814963c66786bd383cb645b9740b782cb07e747c41 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127", unrolled_ast = "c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127", ssa_ast = "9f9c72a9f18ded47c4ebf08d0c3688e0c757c3cc9100615ad5ed859dc9027c1b", flattened_ast = "e64fbb5256594cd26cc6ad46039449b980dcf8da7ab87a520172aa8925f32631", destructured_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", inlined_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", dce_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", bytecode = "852a26ba7ae67c2f2cdf00814963c66786bd383cb645b9740b782cb07e747c41", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/mul_assign.out b/tests/expectations/compiler/statements/operations/mul_assign.out index 7f2d6a3c8c..f938f66872 100644 --- a/tests/expectations/compiler/statements/operations/mul_assign.out +++ b/tests/expectations/compiler/statements/operations/mul_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: 402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf - unrolled_ast: 402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf - ssa_ast: ff0329347065a8368cda4a26df7dbd77aae78c909f1136a6f68ecee4b25d228e - flattened_ast: f9365e77ddc8f125482b359d2cfd1bfff2701c6d609fbc61a1f7de27cb15769c - destructured_ast: 172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8 - inlined_ast: 172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8 - dce_ast: 172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8 - bytecode: e458b602541d030c368e1e498d1dae92b0a26e9505a02ca3cd93858ca3bdb277 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf", unrolled_ast = "402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf", ssa_ast = "ff0329347065a8368cda4a26df7dbd77aae78c909f1136a6f68ecee4b25d228e", flattened_ast = "f9365e77ddc8f125482b359d2cfd1bfff2701c6d609fbc61a1f7de27cb15769c", destructured_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", inlined_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", dce_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", bytecode = "e458b602541d030c368e1e498d1dae92b0a26e9505a02ca3cd93858ca3bdb277", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/or_assign.out b/tests/expectations/compiler/statements/operations/or_assign.out index 824ef4f9b7..385c201406 100644 --- a/tests/expectations/compiler/statements/operations/or_assign.out +++ b/tests/expectations/compiler/statements/operations/or_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b - type_checked_symbol_table: f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79 - unrolled_symbol_table: f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79 - initial_ast: 1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9 - unrolled_ast: 1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9 - ssa_ast: a9c1798902cc14427219a2cd1a4b8d4e9b68470e7a167647d8696c996f34a324 - flattened_ast: 4e25f9060a8fd7d625110ad7a1211938dcc8d1b85682c4f68db89c45e36abe75 - destructured_ast: 150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332 - inlined_ast: 150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332 - dce_ast: 150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332 - bytecode: 6d6695b67fa8f1cff43f2d00c6ce7e118342fb3e0bd05008d952820bf0e6dca8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b", type_checked_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", unrolled_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", initial_ast = "1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9", unrolled_ast = "1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9", ssa_ast = "a9c1798902cc14427219a2cd1a4b8d4e9b68470e7a167647d8696c996f34a324", flattened_ast = "4e25f9060a8fd7d625110ad7a1211938dcc8d1b85682c4f68db89c45e36abe75", destructured_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", inlined_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", dce_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", bytecode = "6d6695b67fa8f1cff43f2d00c6ce7e118342fb3e0bd05008d952820bf0e6dca8", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/pow_assign.out b/tests/expectations/compiler/statements/operations/pow_assign.out index 2bcb13c12f..dc9093df83 100644 --- a/tests/expectations/compiler/statements/operations/pow_assign.out +++ b/tests/expectations/compiler/statements/operations/pow_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81 - type_checked_symbol_table: 88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64 - unrolled_symbol_table: 88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64 - initial_ast: b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303 - unrolled_ast: b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303 - ssa_ast: d26ac2545cc3d867d070e08d487b8d626a84bfa729d547cee06273938448c741 - flattened_ast: a5b0f9b902436bc0b7af473b8c01978493262f08af3ef7946026a0fb8ae4b7d1 - destructured_ast: ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842 - inlined_ast: ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842 - dce_ast: ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842 - bytecode: 69c6644fb42c55979ce03fb2d5d6712f6eee57bafc5853fd5866a04a44e4e534 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303", unrolled_ast = "b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303", ssa_ast = "d26ac2545cc3d867d070e08d487b8d626a84bfa729d547cee06273938448c741", flattened_ast = "a5b0f9b902436bc0b7af473b8c01978493262f08af3ef7946026a0fb8ae4b7d1", destructured_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", inlined_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", dce_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", bytecode = "69c6644fb42c55979ce03fb2d5d6712f6eee57bafc5853fd5866a04a44e4e534", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/rem_assign.out b/tests/expectations/compiler/statements/operations/rem_assign.out index 118149fc22..691de014b3 100644 --- a/tests/expectations/compiler/statements/operations/rem_assign.out +++ b/tests/expectations/compiler/statements/operations/rem_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: 5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76 - unrolled_ast: 5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76 - ssa_ast: 346262abc8997da5b214066bd4421159ef612c626b16fbe3aca7edf47c762dc0 - flattened_ast: 4d46b4f9ad1b72a598e976e82e5af654c9c7846e43ebf9a41a5ad186355308d7 - destructured_ast: 7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2 - inlined_ast: 7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2 - dce_ast: 7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2 - bytecode: f67d2ba495c6cbed24bf76003e4521182d8aaec5f8a3d42ab1929d56af65452b - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76", unrolled_ast = "5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76", ssa_ast = "346262abc8997da5b214066bd4421159ef612c626b16fbe3aca7edf47c762dc0", flattened_ast = "4d46b4f9ad1b72a598e976e82e5af654c9c7846e43ebf9a41a5ad186355308d7", destructured_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", inlined_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", dce_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", bytecode = "f67d2ba495c6cbed24bf76003e4521182d8aaec5f8a3d42ab1929d56af65452b", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/shl_assign.out b/tests/expectations/compiler/statements/operations/shl_assign.out index 12ab085b15..e1ca0b2feb 100644 --- a/tests/expectations/compiler/statements/operations/shl_assign.out +++ b/tests/expectations/compiler/statements/operations/shl_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81 - type_checked_symbol_table: 88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64 - unrolled_symbol_table: 88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64 - initial_ast: 9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4 - unrolled_ast: 9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4 - ssa_ast: f47344badbc0f56cf32fa8d5ec2766452f1bf1e529e906157e3faf6a852538e9 - flattened_ast: 53511fb990cf9ddab8c8331d50836d99f5ef3c42647e996e1e9fddb8559defe5 - destructured_ast: aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869 - inlined_ast: aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869 - dce_ast: aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869 - bytecode: c7e481877eba9b3d2f0f08797c30c5404e6da930c4fc82bf58a7bdeb46ba251e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4", unrolled_ast = "9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4", ssa_ast = "f47344badbc0f56cf32fa8d5ec2766452f1bf1e529e906157e3faf6a852538e9", flattened_ast = "53511fb990cf9ddab8c8331d50836d99f5ef3c42647e996e1e9fddb8559defe5", destructured_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", inlined_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", dce_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", bytecode = "c7e481877eba9b3d2f0f08797c30c5404e6da930c4fc82bf58a7bdeb46ba251e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/shr_assign.out b/tests/expectations/compiler/statements/operations/shr_assign.out index 6bfdfc3c18..c6f8f1ea69 100644 --- a/tests/expectations/compiler/statements/operations/shr_assign.out +++ b/tests/expectations/compiler/statements/operations/shr_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81 - type_checked_symbol_table: 88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64 - unrolled_symbol_table: 88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64 - initial_ast: cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100 - unrolled_ast: cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100 - ssa_ast: cc8aaa6ba45850e26a485c5a9941c66b756419c317d886b12a05b26a2ba326d4 - flattened_ast: e16a6b73d2090ce113026f3d7dc56967f317af5d76bfd35b2dc69176c4333651 - destructured_ast: 8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb - inlined_ast: 8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb - dce_ast: 8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb - bytecode: c9b6d8b47fbe5b72e82bc81b952ba14ed281fd0bde9182bf8c6d8e165fa84001 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100", unrolled_ast = "cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100", ssa_ast = "cc8aaa6ba45850e26a485c5a9941c66b756419c317d886b12a05b26a2ba326d4", flattened_ast = "e16a6b73d2090ce113026f3d7dc56967f317af5d76bfd35b2dc69176c4333651", destructured_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", inlined_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", dce_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", bytecode = "c9b6d8b47fbe5b72e82bc81b952ba14ed281fd0bde9182bf8c6d8e165fa84001", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/sub_assign.out b/tests/expectations/compiler/statements/operations/sub_assign.out index 46ef9302a8..93a6d5f2d1 100644 --- a/tests/expectations/compiler/statements/operations/sub_assign.out +++ b/tests/expectations/compiler/statements/operations/sub_assign.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55 - type_checked_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - unrolled_symbol_table: 67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02 - initial_ast: 63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc - unrolled_ast: 63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc - ssa_ast: 6feb4290304332a1c9d7151546e1ff522667fdaf050b2a5d2c5c08f84970577c - flattened_ast: 8ed20c081bce62eaeb22c95170a30846776366fcc7ade1943c9fce125538b340 - destructured_ast: 6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537 - inlined_ast: 6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537 - dce_ast: 6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537 - bytecode: e2d11ed53799ed66404c1913fe646293953de9e3b44fca9a3add80e04e9a34fc - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc", unrolled_ast = "63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc", ssa_ast = "6feb4290304332a1c9d7151546e1ff522667fdaf050b2a5d2c5c08f84970577c", flattened_ast = "8ed20c081bce62eaeb22c95170a30846776366fcc7ade1943c9fce125538b340", destructured_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", inlined_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", dce_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", bytecode = "e2d11ed53799ed66404c1913fe646293953de9e3b44fca9a3add80e04e9a34fc", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/statements_after_complete_conditional_return_fail.out b/tests/expectations/compiler/statements/statements_after_complete_conditional_return_fail.out index ca8f058c48..bfcbee86a1 100644 --- a/tests/expectations/compiler/statements/statements_after_complete_conditional_return_fail.out +++ b/tests/expectations/compiler/statements/statements_after_complete_conditional_return_fail.out @@ -1,5 +1,25 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372025]: Cannot reach the following statement.\n --> compiler-test:10:9\n |\n 10 | let double: u32 = x + x;\n | ^^^^^^^^^^^^^^^^^^^^^^^\n |\n = Remove the unreachable code.\nError [ETYC0372025]: Cannot reach the following statement.\n --> compiler-test:11:9\n |\n 11 | return double;\n | ^^^^^^^^^^^^^^\n |\n = Remove the unreachable code.\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372025]: Cannot reach the following statement. + --> compiler-test:10:9 + | + 10 | let double: u32 = x + x; + | ^^^^^^^^^^^^^^^^^^^^^^^ + | + = Remove the unreachable code. +Error [ETYC0372025]: Cannot reach the following statement. + --> compiler-test:11:9 + | + 11 | return double; + | ^^^^^^^^^^^^^^ + | + = Remove the unreachable code. +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out index bacad56148..2218ac104a 100644 --- a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ab8c94f05a269440d7a47836728bb70a448eccfda894c5121edb4db3fa0d069b - type_checked_symbol_table: 7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26 - unrolled_symbol_table: 7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26 - initial_ast: 9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962 - unrolled_ast: 9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962 - ssa_ast: ee8b01c25b736608a799d56f044ac621a3ad493d04c9cc2d9e6da0c556eebe31 - flattened_ast: b3994c5052f66bb60f6819dd3b1b0be78788dac8bfab05eb388c827840859965 - destructured_ast: 05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a - inlined_ast: 05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a - dce_ast: 05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a - bytecode: f8245e78b1dfaf2eeeb6aff9629ee561cdf6bf80f029c173fd32c6c002ad6e73 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ab8c94f05a269440d7a47836728bb70a448eccfda894c5121edb4db3fa0d069b", type_checked_symbol_table = "7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26", unrolled_symbol_table = "7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26", initial_ast = "9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962", unrolled_ast = "9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962", ssa_ast = "ee8b01c25b736608a799d56f044ac621a3ad493d04c9cc2d9e6da0c556eebe31", flattened_ast = "b3994c5052f66bb60f6819dd3b1b0be78788dac8bfab05eb388c827840859965", destructured_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", inlined_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", dce_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", bytecode = "f8245e78b1dfaf2eeeb6aff9629ee561cdf6bf80f029c173fd32c6c002ad6e73", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/typecheck_statements_fail.out b/tests/expectations/compiler/statements/typecheck_statements_fail.out index f52d2a59b7..a80d0d89f4 100644 --- a/tests/expectations/compiler/statements/typecheck_statements_fail.out +++ b/tests/expectations/compiler/statements/typecheck_statements_fail.out @@ -1,5 +1,129 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `i16` but type `i32` was found\n --> compiler-test:5:33\n |\n 5 | let c1 : u32 = 123i16 * 123i32;\n | ^^^^^^\nError [ETYC0372003]: Expected type `i16` but type `u32` was found\n --> compiler-test:5:24\n |\n 5 | let c1 : u32 = 123i16 * 123i32;\n | ^^^^^^^^^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:6:24\n |\n 6 | let c2 : u32 = \"123i32\" * 123i16 * \"sss\";\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `i16` but type `string` was found\n --> compiler-test:6:24\n |\n 6 | let c2 : u32 = \"123i32\" * 123i16 * \"sss\";\n | ^^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:6:44\n |\n 6 | let c2 : u32 = \"123i32\" * 123i16 * \"sss\";\n | ^^^^^\nError [ETYC0372003]: Expected type `i16` but type `string` was found\n --> compiler-test:6:44\n |\n 6 | let c2 : u32 = \"123i32\" * 123i16 * \"sss\";\n | ^^^^^\nError [ETYC0372003]: Expected type `i16` but type `u32` was found\n --> compiler-test:6:24\n |\n 6 | let c2 : u32 = \"123i32\" * 123i16 * \"sss\";\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:7:24\n |\n 7 | let c3 : u32 = \"123i32\" * \"sss\";\n | ^^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:7:35\n |\n 7 | let c3 : u32 = \"123i32\" * \"sss\";\n | ^^^^^\nError [ETYC0372003]: Expected type `field, group, integer, or scalar` but type `string` was found\n --> compiler-test:7:24\n |\n 7 | let c3 : u32 = \"123i32\" * \"sss\";\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `field, group, integer, or scalar` but type `string` was found\n --> compiler-test:7:35\n |\n 7 | let c3 : u32 = \"123i32\" * \"sss\";\n | ^^^^^\nError [ETYC0372003]: Expected type `i8` but type `i16` was found\n --> compiler-test:8:30\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^^\nError [ETYC0372003]: Expected type `i8` but type `i32` was found\n --> compiler-test:8:37\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^^\nError [ETYC0372003]: Expected type `i8` but type `i64` was found\n --> compiler-test:8:44\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^^\nError [ETYC0372003]: Expected type `i8` but type `u8` was found\n --> compiler-test:8:51\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^\nError [ETYC0372003]: Expected type `i8` but type `u16` was found\n --> compiler-test:8:57\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^^\nError [ETYC0372003]: Expected type `i8` but type `u32` was found\n --> compiler-test:8:64\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^^\nError [ETYC0372003]: Expected type `i8` but type `u64` was found\n --> compiler-test:8:71\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^^\nError [ETYC0372003]: Expected type `i8` but type `u32` was found\n --> compiler-test:8:24\n |\n 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64;\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:9:26\n |\n 9 | let c16: bool = (\"123i32\" & 123i16) == (\"sss\" / 1i8 - 1i8 + 22u32);\n | ^^^^^^^^\nError [ETYC0372003]: Expected type `i16` but type `string` was found\n --> compiler-test:9:26\n |\n 9 | let c16: bool = (\"123i32\" & 123i16) == (\"sss\" / 1i8 - 1i8 + 22u32);\n | ^^^^^^^^^^^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:9:49\n |\n 9 | let c16: bool = (\"123i32\" & 123i16) == (\"sss\" / 1i8 - 1i8 + 22u32);\n | ^^^^^\nError [ETYC0372003]: Expected type `i8` but type `string` was found\n --> compiler-test:9:49\n |\n 9 | let c16: bool = (\"123i32\" & 123i16) == (\"sss\" / 1i8 - 1i8 + 22u32);\n | ^^^^^^^^^^^\nError [ETYC0372003]: Expected type `i8` but type `string` was found\n --> compiler-test:9:49\n |\n 9 | let c16: bool = (\"123i32\" & 123i16) == (\"sss\" / 1i8 - 1i8 + 22u32);\n | ^^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `u32` but type `string` was found\n --> compiler-test:9:49\n |\n 9 | let c16: bool = (\"123i32\" & 123i16) == (\"sss\" / 1i8 - 1i8 + 22u32);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [''' +Error [ETYC0372003]: Expected type `i16` but type `i32` was found + --> compiler-test:5:33 + | + 5 | let c1 : u32 = 123i16 * 123i32; + | ^^^^^^ +Error [ETYC0372003]: Expected type `i16` but type `u32` was found + --> compiler-test:5:24 + | + 5 | let c1 : u32 = 123i16 * 123i32; + | ^^^^^^^^^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:6:24 + | + 6 | let c2 : u32 = "123i32" * 123i16 * "sss"; + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `i16` but type `string` was found + --> compiler-test:6:24 + | + 6 | let c2 : u32 = "123i32" * 123i16 * "sss"; + | ^^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:6:44 + | + 6 | let c2 : u32 = "123i32" * 123i16 * "sss"; + | ^^^^^ +Error [ETYC0372003]: Expected type `i16` but type `string` was found + --> compiler-test:6:44 + | + 6 | let c2 : u32 = "123i32" * 123i16 * "sss"; + | ^^^^^ +Error [ETYC0372003]: Expected type `i16` but type `u32` was found + --> compiler-test:6:24 + | + 6 | let c2 : u32 = "123i32" * 123i16 * "sss"; + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:7:24 + | + 7 | let c3 : u32 = "123i32" * "sss"; + | ^^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:7:35 + | + 7 | let c3 : u32 = "123i32" * "sss"; + | ^^^^^ +Error [ETYC0372003]: Expected type `field, group, integer, or scalar` but type `string` was found + --> compiler-test:7:24 + | + 7 | let c3 : u32 = "123i32" * "sss"; + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `field, group, integer, or scalar` but type `string` was found + --> compiler-test:7:35 + | + 7 | let c3 : u32 = "123i32" * "sss"; + | ^^^^^ +Error [ETYC0372003]: Expected type `i8` but type `i16` was found + --> compiler-test:8:30 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^^ +Error [ETYC0372003]: Expected type `i8` but type `i32` was found + --> compiler-test:8:37 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^^ +Error [ETYC0372003]: Expected type `i8` but type `i64` was found + --> compiler-test:8:44 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^^ +Error [ETYC0372003]: Expected type `i8` but type `u8` was found + --> compiler-test:8:51 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^ +Error [ETYC0372003]: Expected type `i8` but type `u16` was found + --> compiler-test:8:57 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^^ +Error [ETYC0372003]: Expected type `i8` but type `u32` was found + --> compiler-test:8:64 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^^ +Error [ETYC0372003]: Expected type `i8` but type `u64` was found + --> compiler-test:8:71 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^^ +Error [ETYC0372003]: Expected type `i8` but type `u32` was found + --> compiler-test:8:24 + | + 8 | let c4 : u32 = 1i8 * 2i16 * 3i32 * 4i64 * 5u8 * 6u16 * 7u32 * 9u64; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:9:26 + | + 9 | let c16: bool = ("123i32" & 123i16) == ("sss" / 1i8 - 1i8 + 22u32); + | ^^^^^^^^ +Error [ETYC0372003]: Expected type `i16` but type `string` was found + --> compiler-test:9:26 + | + 9 | let c16: bool = ("123i32" & 123i16) == ("sss" / 1i8 - 1i8 + 22u32); + | ^^^^^^^^^^^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:9:49 + | + 9 | let c16: bool = ("123i32" & 123i16) == ("sss" / 1i8 - 1i8 + 22u32); + | ^^^^^ +Error [ETYC0372003]: Expected type `i8` but type `string` was found + --> compiler-test:9:49 + | + 9 | let c16: bool = ("123i32" & 123i16) == ("sss" / 1i8 - 1i8 + 22u32); + | ^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `i8` but type `string` was found + --> compiler-test:9:49 + | + 9 | let c16: bool = ("123i32" & 123i16) == ("sss" / 1i8 - 1i8 + 22u32); + | ^^^^^^^^^^^^^^^^^ +Error [ETYC0372003]: Expected type `u32` but type `string` was found + --> compiler-test:9:49 + | + 9 | let c16: bool = ("123i32" & 123i16) == ("sss" / 1i8 - 1i8 + 22u32); + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +'''] diff --git a/tests/expectations/compiler/statements/underscore_for_loop.out b/tests/expectations/compiler/statements/underscore_for_loop.out index 8e2d4052cc..ecdf05aacc 100644 --- a/tests/expectations/compiler/statements/underscore_for_loop.out +++ b/tests/expectations/compiler/statements/underscore_for_loop.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be - type_checked_symbol_table: 5062ff54022ce573c87a47bc3435be475765352fe49d33a80117a7c99f9455f1 - unrolled_symbol_table: 767bcafca0e607359b4fbedc2993c6b450d69b3f44e41fb25674b17da2f4aea3 - initial_ast: 8edaf2a23a7e65051bf3e4ced5eece2f6de1339ca084d363c33b9c91930ae403 - unrolled_ast: 56aa8c7dc5296377393e122a6efbb6efc3ee7f034e6b27f6d1b5c91f5a0168c4 - ssa_ast: 41fcd8ba84c849134813ff374afdcbe8ef35ec7c83883a2f043196b64326b645 - flattened_ast: b97c7e66892e032d25802a5a915bd139efcc11fc476b996a3cb52d1b7d93b18e - destructured_ast: 8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74 - inlined_ast: 8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74 - dce_ast: 5f0575fcc735e68849c613d13d0af2f497a69f07ed5e0e560a4f9620fa550438 - bytecode: 61cc464cdc1104635ea399648d62a06b112dc3462634b3f992151c6e5572d6f7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "5062ff54022ce573c87a47bc3435be475765352fe49d33a80117a7c99f9455f1", unrolled_symbol_table = "767bcafca0e607359b4fbedc2993c6b450d69b3f44e41fb25674b17da2f4aea3", initial_ast = "8edaf2a23a7e65051bf3e4ced5eece2f6de1339ca084d363c33b9c91930ae403", unrolled_ast = "56aa8c7dc5296377393e122a6efbb6efc3ee7f034e6b27f6d1b5c91f5a0168c4", ssa_ast = "41fcd8ba84c849134813ff374afdcbe8ef35ec7c83883a2f043196b64326b645", flattened_ast = "b97c7e66892e032d25802a5a915bd139efcc11fc476b996a3cb52d1b7d93b18e", destructured_ast = "8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74", inlined_ast = "8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74", dce_ast = "5f0575fcc735e68849c613d13d0af2f497a69f07ed5e0e560a4f9620fa550438", bytecode = "61cc464cdc1104635ea399648d62a06b112dc3462634b3f992151c6e5572d6f7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/unknown_type_in_definition_fail.out b/tests/expectations/compiler/statements/unknown_type_in_definition_fail.out index b1f9367d33..33d0853344 100644 --- a/tests/expectations/compiler/statements/unknown_type_in_definition_fail.out +++ b/tests/expectations/compiler/statements/unknown_type_in_definition_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:5:6\n |\n 5 | \tlet b: Foo = 1u8;\n | ^^^^^^^^^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372003]: Expected type `Foo` but type `u8` was found\n --> compiler-test:5:19\n |\n 5 | \tlet b: Foo = 1u8;\n | ^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372017]: The type `Foo` is not found in the current scope. + --> compiler-test:5:6 + | + 5 | \tlet b: Foo = 1u8; + | ^^^^^^^^^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372003]: Expected type `Foo` but type `u8` was found + --> compiler-test:5:19 + | + 5 | \tlet b: Foo = 1u8; + | ^^^ +"""] diff --git a/tests/expectations/compiler/strings/string.out b/tests/expectations/compiler/strings/string.out index 3b3afbc7a8..3e0da2679a 100644 --- a/tests/expectations/compiler/strings/string.out +++ b/tests/expectations/compiler/strings/string.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:6:9\n |\n 6 | let str:string = \"a a a\";\n | ^^^^^^^^^^^^^^^^^^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:6:26\n |\n 6 | let str:string = \"a a a\";\n | ^^^^^^^\nError [ETYC0372045]: Strings are not yet supported.\n --> compiler-test:7:19\n |\n 7 | if(str == \"b b b\") {\n | ^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [''' +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:6:9 + | + 6 | let str:string = "a a a"; + | ^^^^^^^^^^^^^^^^^^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:6:26 + | + 6 | let str:string = "a a a"; + | ^^^^^^^ +Error [ETYC0372045]: Strings are not yet supported. + --> compiler-test:7:19 + | + 7 | if(str == "b b b") { + | ^^^^^^^^ +'''] diff --git a/tests/expectations/compiler/structs/cyclic_structs_four_fail.out b/tests/expectations/compiler/structs/cyclic_structs_four_fail.out index 1c8ca985c0..405c1bb978 100644 --- a/tests/expectations/compiler/structs/cyclic_structs_four_fail.out +++ b/tests/expectations/compiler/structs/cyclic_structs_four_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected ; -- found ','\n --> compiler-test:9:18\n |\n 9 | baz: [Baz, 2],\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected ; -- found ',' + --> compiler-test:9:18 + | + 9 | baz: [Baz, 2], + | ^"""] diff --git a/tests/expectations/compiler/structs/cyclic_structs_one_fail.out b/tests/expectations/compiler/structs/cyclic_structs_one_fail.out index 3821c43070..f50b27492a 100644 --- a/tests/expectations/compiler/structs/cyclic_structs_one_fail.out +++ b/tests/expectations/compiler/structs/cyclic_structs_one_fail.out @@ -1,5 +1,12 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372058]: Cyclic dependency between structs: `Foo` --> `Foo`\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372058]: Cyclic dependency between structs: `Foo` --> `Foo` +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/cyclic_structs_three_fail.out b/tests/expectations/compiler/structs/cyclic_structs_three_fail.out index 41c05c04eb..6ff28d1fbd 100644 --- a/tests/expectations/compiler/structs/cyclic_structs_three_fail.out +++ b/tests/expectations/compiler/structs/cyclic_structs_three_fail.out @@ -1,5 +1,12 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372058]: Cyclic dependency between structs: `One` --> `Two` --> `Three` --> `One`\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372058]: Cyclic dependency between structs: `One` --> `Two` --> `Three` --> `One` +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/cyclic_structs_two_fail.out b/tests/expectations/compiler/structs/cyclic_structs_two_fail.out index be5f9bcd19..8df857d0cc 100644 --- a/tests/expectations/compiler/structs/cyclic_structs_two_fail.out +++ b/tests/expectations/compiler/structs/cyclic_structs_two_fail.out @@ -1,5 +1,12 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372058]: Cyclic dependency between structs: `Bar` --> `Baz` --> `Bar`\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372058]: Cyclic dependency between structs: `Bar` --> `Baz` --> `Bar` +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/duplicate_struct_variable.out b/tests/expectations/compiler/structs/duplicate_struct_variable.out index 3d34d799cb..3f1df1bea2 100644 --- a/tests/expectations/compiler/structs/duplicate_struct_variable.out +++ b/tests/expectations/compiler/structs/duplicate_struct_variable.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372015]: Struct Bar defined with more than one member with the same name.\n --> compiler-test:4:5\n |\n 4 | struct Bar {\n 5 | x: u32,\n 6 | x: u32,\n 7 | }\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372015]: Struct Bar defined with more than one member with the same name. + --> compiler-test:4:5 + | + 4 | struct Bar { + 5 | x: u32, + 6 | x: u32, + 7 | } + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/empty_struct_fail.out b/tests/expectations/compiler/structs/empty_struct_fail.out index d9815695c9..fa1daa4f94 100644 --- a/tests/expectations/compiler/structs/empty_struct_fail.out +++ b/tests/expectations/compiler/structs/empty_struct_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372112]: A struct must have at least one member.\n --> compiler-test:4:5\n |\n 4 | struct Bar {}\n | ^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372112]: A struct must have at least one member. + --> compiler-test:4:5 + | + 4 | struct Bar {} + | ^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/external_record.out b/tests/expectations/compiler/structs/external_record.out index 90268ddc04..f021e4786a 100644 --- a/tests/expectations/compiler/structs/external_record.out +++ b/tests/expectations/compiler/structs/external_record.out @@ -1,44 +1,7 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 340c54b67bf4ed5c52a8c178e9cd7f7f8aa1d733cc157327b14cd9658b386ae6 - type_checked_symbol_table: d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5 - unrolled_symbol_table: d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5 - initial_ast: d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880 - unrolled_ast: d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880 - ssa_ast: 196758b126b3b83c899c1d7bfccc7caf76b275f5ea5797da6d7b62f9d46d13cb - flattened_ast: 51b1fc2019f67cf0624405a13151677297b6b87207d41bde6e45edd221163898 - destructured_ast: ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8 - inlined_ast: ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8 - dce_ast: ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8 - bytecode: 6341f6fcccbfa86b71e0eac445b9d0ee558c74ef896183ee82b456b9e7fb2270 - errors: "" - warnings: "" - - initial_symbol_table: 3e72c903f6f9ab2438076da7c329b8cd369c9c3307d14bff4963e8a8f6bb18e0 - type_checked_symbol_table: 27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7 - unrolled_symbol_table: 27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7 - initial_ast: bf17af18b2264841e5933766b4bd190c7139d59d121e1c2a1b7a0c37715f90b2 - unrolled_ast: c82dddfcac1fec8f63b8dfce008fd6cb000b7f603fd22611ae000adefcb4246c - ssa_ast: 97069a75c94ed52904c922470f78a75abcab70ec1a7f5966febe8cae605efb8e - flattened_ast: be815a3a27a747ffd6f1c6d87dccba6f90c6d90e3b78fd50112f77f5289fb5eb - destructured_ast: b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc - inlined_ast: b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc - dce_ast: b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc - bytecode: e902cc1e73a94c6024944460951f6207587ed939584c016908554b23280b94ec - errors: "" - warnings: "" - - initial_symbol_table: 78c72f7c5e19d1f0fbd6073ed85b5f7977f912d671e4c522bd27652647b19733 - type_checked_symbol_table: 6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb - unrolled_symbol_table: 6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb - initial_ast: 65349655f9b288bcb18caaa1d1216e7678f0e3919b740719d1a9f9660124f7ec - unrolled_ast: 6ad3178891c74b6042bddee324c5dce52addcf62565d3457154b907863926f9a - ssa_ast: 6af16bac66f4da284d7bb27542f90f77a4eb6ffcc7915aa1ea64953a899437e9 - flattened_ast: afb3257ab605fb3ba64f07f5400edce3206ea852d567f5e16962c9e6b0b3c47b - destructured_ast: 819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7 - inlined_ast: 819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7 - dce_ast: 819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7 - bytecode: b92b0c5017841d1c4ace13f7b040b9b7f84174bf74d49b8472f5f101f0d6caf8 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "340c54b67bf4ed5c52a8c178e9cd7f7f8aa1d733cc157327b14cd9658b386ae6", type_checked_symbol_table = "d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5", unrolled_symbol_table = "d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5", initial_ast = "d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880", unrolled_ast = "d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880", ssa_ast = "196758b126b3b83c899c1d7bfccc7caf76b275f5ea5797da6d7b62f9d46d13cb", flattened_ast = "51b1fc2019f67cf0624405a13151677297b6b87207d41bde6e45edd221163898", destructured_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", inlined_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", dce_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", bytecode = "6341f6fcccbfa86b71e0eac445b9d0ee558c74ef896183ee82b456b9e7fb2270", errors = "", warnings = "" }, + { initial_symbol_table = "3e72c903f6f9ab2438076da7c329b8cd369c9c3307d14bff4963e8a8f6bb18e0", type_checked_symbol_table = "27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7", unrolled_symbol_table = "27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7", initial_ast = "bf17af18b2264841e5933766b4bd190c7139d59d121e1c2a1b7a0c37715f90b2", unrolled_ast = "c82dddfcac1fec8f63b8dfce008fd6cb000b7f603fd22611ae000adefcb4246c", ssa_ast = "97069a75c94ed52904c922470f78a75abcab70ec1a7f5966febe8cae605efb8e", flattened_ast = "be815a3a27a747ffd6f1c6d87dccba6f90c6d90e3b78fd50112f77f5289fb5eb", destructured_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", inlined_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", dce_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", bytecode = "e902cc1e73a94c6024944460951f6207587ed939584c016908554b23280b94ec", errors = "", warnings = "" }, + { initial_symbol_table = "78c72f7c5e19d1f0fbd6073ed85b5f7977f912d671e4c522bd27652647b19733", type_checked_symbol_table = "6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb", unrolled_symbol_table = "6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb", initial_ast = "65349655f9b288bcb18caaa1d1216e7678f0e3919b740719d1a9f9660124f7ec", unrolled_ast = "6ad3178891c74b6042bddee324c5dce52addcf62565d3457154b907863926f9a", ssa_ast = "6af16bac66f4da284d7bb27542f90f77a4eb6ffcc7915aa1ea64953a899437e9", flattened_ast = "afb3257ab605fb3ba64f07f5400edce3206ea852d567f5e16962c9e6b0b3c47b", destructured_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", inlined_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", dce_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", bytecode = "b92b0c5017841d1c4ace13f7b040b9b7f84174bf74d49b8472f5f101f0d6caf8", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/structs/external_struct.out b/tests/expectations/compiler/structs/external_struct.out index 771534caef..89310c0a71 100644 --- a/tests/expectations/compiler/structs/external_struct.out +++ b/tests/expectations/compiler/structs/external_struct.out @@ -1,44 +1,7 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b9d02d1b85ab19ec91480212bbfe3b765bc663861026aa9dbb97b31ec1e4996b - type_checked_symbol_table: 135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c - unrolled_symbol_table: 135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c - initial_ast: 067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3 - unrolled_ast: 067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3 - ssa_ast: af24b1aeb7c1a05116ed5c1a718067de95c2365a0532e9d97bd1cf69912a70fa - flattened_ast: c3d8cff7286b7d1187046982da77a9527f2753d62e914407cb5d42b4242636fd - destructured_ast: 3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef - inlined_ast: 3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef - dce_ast: 3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef - bytecode: c562a0b23873460644ce0af83bd46d2a4010f5d667aafd72940cfa0dd3a1c893 - errors: "" - warnings: "" - - initial_symbol_table: f2ae8eee41238514bb792b1b782feab70aa865807bb489187726796a3d5198b7 - type_checked_symbol_table: f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351 - unrolled_symbol_table: f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351 - initial_ast: 90f2be69e327a67e772bab6e517a1efe90d6fbbdcda2ab69e73c48dd5ea413cd - unrolled_ast: 163290d0f28722f746b4d4541abe84c17a91c65a8c7d690b98b7f0af19994ad5 - ssa_ast: a112118a15f292e6c7f1c19cea3d817142e53f4eeb9519991d451d2544473fd7 - flattened_ast: 42734a56fa5e1bcd21832d5c83e314cbc249b5d8437ebbc072052a07fbb22070 - destructured_ast: 56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5 - inlined_ast: 56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5 - dce_ast: 26bd4e6f56705dd313f4fa58b964be29576620e0b6a2fc25d9ad55bd89a88413 - bytecode: 5a1ca0038e83880d6d2cd5413ca4e8ec01e2622d635d6d8b2cb64463cd5c4817 - errors: "" - warnings: "" - - initial_symbol_table: de21200cc8a95064b4a4b2d7a1f194d3b54595212e607ee49edd716cbf6dd17e - type_checked_symbol_table: 4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29 - unrolled_symbol_table: 4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29 - initial_ast: 0cc09a6fcaafb39da24c46d650f915c6352b593958d991f45b0ec61ef3bf01bb - unrolled_ast: 3f95452c2a8d57484c7814740d596de17d20bf04d812e7b106ca1eb1273be3cd - ssa_ast: 1b9583fe511e9f5705f2cd4d0566d697929b8c2480709f9c14378658e64a67f5 - flattened_ast: c4c6d893a4252bdd83ff40b1109057545c57474e4636188b22dd7f936a14e42c - destructured_ast: b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3 - inlined_ast: b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3 - dce_ast: b3ae1144d78b74320dde8741d8b779408a633b5a152efce15f6c9f38abe957ad - bytecode: 81e7b663dbb9d60c89b80b448c71ada9bdc7a93fac808bd8d1b6ca3ab053f914 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "b9d02d1b85ab19ec91480212bbfe3b765bc663861026aa9dbb97b31ec1e4996b", type_checked_symbol_table = "135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c", unrolled_symbol_table = "135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c", initial_ast = "067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3", unrolled_ast = "067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3", ssa_ast = "af24b1aeb7c1a05116ed5c1a718067de95c2365a0532e9d97bd1cf69912a70fa", flattened_ast = "c3d8cff7286b7d1187046982da77a9527f2753d62e914407cb5d42b4242636fd", destructured_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", inlined_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", dce_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", bytecode = "c562a0b23873460644ce0af83bd46d2a4010f5d667aafd72940cfa0dd3a1c893", errors = "", warnings = "" }, + { initial_symbol_table = "f2ae8eee41238514bb792b1b782feab70aa865807bb489187726796a3d5198b7", type_checked_symbol_table = "f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351", unrolled_symbol_table = "f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351", initial_ast = "90f2be69e327a67e772bab6e517a1efe90d6fbbdcda2ab69e73c48dd5ea413cd", unrolled_ast = "163290d0f28722f746b4d4541abe84c17a91c65a8c7d690b98b7f0af19994ad5", ssa_ast = "a112118a15f292e6c7f1c19cea3d817142e53f4eeb9519991d451d2544473fd7", flattened_ast = "42734a56fa5e1bcd21832d5c83e314cbc249b5d8437ebbc072052a07fbb22070", destructured_ast = "56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5", inlined_ast = "56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5", dce_ast = "26bd4e6f56705dd313f4fa58b964be29576620e0b6a2fc25d9ad55bd89a88413", bytecode = "5a1ca0038e83880d6d2cd5413ca4e8ec01e2622d635d6d8b2cb64463cd5c4817", errors = "", warnings = "" }, + { initial_symbol_table = "de21200cc8a95064b4a4b2d7a1f194d3b54595212e607ee49edd716cbf6dd17e", type_checked_symbol_table = "4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29", unrolled_symbol_table = "4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29", initial_ast = "0cc09a6fcaafb39da24c46d650f915c6352b593958d991f45b0ec61ef3bf01bb", unrolled_ast = "3f95452c2a8d57484c7814740d596de17d20bf04d812e7b106ca1eb1273be3cd", ssa_ast = "1b9583fe511e9f5705f2cd4d0566d697929b8c2480709f9c14378658e64a67f5", flattened_ast = "c4c6d893a4252bdd83ff40b1109057545c57474e4636188b22dd7f936a14e42c", destructured_ast = "b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3", inlined_ast = "b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3", dce_ast = "b3ae1144d78b74320dde8741d8b779408a633b5a152efce15f6c9f38abe957ad", bytecode = "81e7b663dbb9d60c89b80b448c71ada9bdc7a93fac808bd8d1b6ca3ab053f914", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/structs/external_struct_in_async_function.out b/tests/expectations/compiler/structs/external_struct_in_async_function.out index e9808d48e7..a8c541d0a4 100644 --- a/tests/expectations/compiler/structs/external_struct_in_async_function.out +++ b/tests/expectations/compiler/structs/external_struct_in_async_function.out @@ -1,31 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 52de8e39e7909bf371547bcd54ab3e76fd09cbd6544a5772d042c4d25c996e2c - type_checked_symbol_table: b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8 - unrolled_symbol_table: b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8 - initial_ast: b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6 - unrolled_ast: b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6 - ssa_ast: ba1b08fbe9a242a88e6c13d8be7691a1fb2e9bf45abd6c089ea0f4659ec38866 - flattened_ast: e8a54be927eb0d70f57e05142476382f2c3ef64b9d0a52a3e95b2bad0ba46764 - destructured_ast: 073fe0dab04571576a62611e9781356da18c58cbf08d910ab61d2179f249bc5d - inlined_ast: 7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a - dce_ast: 7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a - bytecode: 688608475dba90bb7f4b89d00988f9f4944d15a84f89f6b1b78e4c1ec1b342ca - errors: "" - warnings: "" - - initial_symbol_table: c9f26fb8c18222d0819c01087efc4aae88ea8944dec03710d94c38c24e0d077a - type_checked_symbol_table: ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae - unrolled_symbol_table: ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae - initial_ast: b1348090a951e00cbf76c62d734fa808bfceea5b4169aa6da15a08ff185cbc50 - unrolled_ast: f1c461c8b0f677d0954ff6d29ab29abb648b57c7c141ddaf116a28d837e2b546 - ssa_ast: 39e50a1b965cf6d4c19750d75edd4b1a8f8c02c04bbcb361f4fa70cebdc39574 - flattened_ast: a5a1c8def04670f3c5177946811bd27dcae5b045fce181e5e3307d9964686341 - destructured_ast: 97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf - inlined_ast: 97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf - dce_ast: 97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf - bytecode: 7881a6c09234d93975545436c75faf7d6a17d6d1c5723d8b29b214ca130eed23 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "52de8e39e7909bf371547bcd54ab3e76fd09cbd6544a5772d042c4d25c996e2c", type_checked_symbol_table = "b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8", unrolled_symbol_table = "b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8", initial_ast = "b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6", unrolled_ast = "b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6", ssa_ast = "ba1b08fbe9a242a88e6c13d8be7691a1fb2e9bf45abd6c089ea0f4659ec38866", flattened_ast = "e8a54be927eb0d70f57e05142476382f2c3ef64b9d0a52a3e95b2bad0ba46764", destructured_ast = "073fe0dab04571576a62611e9781356da18c58cbf08d910ab61d2179f249bc5d", inlined_ast = "7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a", dce_ast = "7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a", bytecode = "688608475dba90bb7f4b89d00988f9f4944d15a84f89f6b1b78e4c1ec1b342ca", errors = "", warnings = "" }, + { initial_symbol_table = "c9f26fb8c18222d0819c01087efc4aae88ea8944dec03710d94c38c24e0d077a", type_checked_symbol_table = "ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae", unrolled_symbol_table = "ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae", initial_ast = "b1348090a951e00cbf76c62d734fa808bfceea5b4169aa6da15a08ff185cbc50", unrolled_ast = "f1c461c8b0f677d0954ff6d29ab29abb648b57c7c141ddaf116a28d837e2b546", ssa_ast = "39e50a1b965cf6d4c19750d75edd4b1a8f8c02c04bbcb361f4fa70cebdc39574", flattened_ast = "a5a1c8def04670f3c5177946811bd27dcae5b045fce181e5e3307d9964686341", destructured_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", inlined_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", dce_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", bytecode = "7881a6c09234d93975545436c75faf7d6a17d6d1c5723d8b29b214ca130eed23", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/structs/global_shadow_struct_fail.out b/tests/expectations/compiler/structs/global_shadow_struct_fail.out index b99adca4a0..d7222a43e5 100644 --- a/tests/expectations/compiler/structs/global_shadow_struct_fail.out +++ b/tests/expectations/compiler/structs/global_shadow_struct_fail.out @@ -1,5 +1,13 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372007]: struct `s1` shadowed by\n --> compiler-test:9:5\n |\n 9 | struct s1 {\n 10 | f1: u32,\n 11 | f2: u32,\n 12 | f3: u32\n 13 | }\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372007]: struct `s1` shadowed by + --> compiler-test:9:5 + | + 9 | struct s1 { + 10 | f1: u32, + 11 | f2: u32, + 12 | f3: u32 + 13 | } + | ^ +"""] diff --git a/tests/expectations/compiler/structs/inline.out b/tests/expectations/compiler/structs/inline.out index 29eb03b8ae..2f81df5662 100644 --- a/tests/expectations/compiler/structs/inline.out +++ b/tests/expectations/compiler/structs/inline.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c26f65afb3f8c6a068dd98b49503e30e69d0ce68c50727723a78e0bd77ce7095 - type_checked_symbol_table: 3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba - unrolled_symbol_table: 3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba - initial_ast: 8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389 - unrolled_ast: 8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389 - ssa_ast: af27b467011e346f5e23d55919c971abbdee3d977fa6f66f1f2874edd69838c5 - flattened_ast: 97edd75c3be5d9423ec75cc43195724f29a4f391e275b21aa6005102364eca46 - destructured_ast: 6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf - inlined_ast: 6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf - dce_ast: 6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf - bytecode: ec61be65e2947187dd58fdd1cf6f98301443d81e225b3ba2a3971b38ed950b05 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "c26f65afb3f8c6a068dd98b49503e30e69d0ce68c50727723a78e0bd77ce7095", type_checked_symbol_table = "3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba", unrolled_symbol_table = "3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba", initial_ast = "8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389", unrolled_ast = "8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389", ssa_ast = "af27b467011e346f5e23d55919c971abbdee3d977fa6f66f1f2874edd69838c5", flattened_ast = "97edd75c3be5d9423ec75cc43195724f29a4f391e275b21aa6005102364eca46", destructured_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", inlined_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", dce_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", bytecode = "ec61be65e2947187dd58fdd1cf6f98301443d81e225b3ba2a3971b38ed950b05", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/inline_fail.out b/tests/expectations/compiler/structs/inline_fail.out index a8c0a42625..0b19c62cc5 100644 --- a/tests/expectations/compiler/structs/inline_fail.out +++ b/tests/expectations/compiler/structs/inline_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372013]: Struct initialization expression for `Foo` is missing member `x`.\n --> compiler-test:10:22\n |\n 10 | let a: Foo = Foo { y: 0u32 };\n | ^^^^^^^^^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372013]: Struct initialization expression for `Foo` is missing member `x`. + --> compiler-test:10:22 + | + 10 | let a: Foo = Foo { y: 0u32 }; + | ^^^^^^^^^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/inline_member_fail.out b/tests/expectations/compiler/structs/inline_member_fail.out index 33e42e8aff..f110995539 100644 --- a/tests/expectations/compiler/structs/inline_member_fail.out +++ b/tests/expectations/compiler/structs/inline_member_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370017]: Could not parse the implicit value: 1.\n --> compiler-test:9:21\n |\n 9 | let y: u8 = 1;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370017]: Could not parse the implicit value: 1. + --> compiler-test:9:21 + | + 9 | let y: u8 = 1; + | ^"""] diff --git a/tests/expectations/compiler/structs/inline_member_pass.out b/tests/expectations/compiler/structs/inline_member_pass.out index 840694c364..f6597322d1 100644 --- a/tests/expectations/compiler/structs/inline_member_pass.out +++ b/tests/expectations/compiler/structs/inline_member_pass.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'let'\n --> compiler-test:8:19\n |\n 8 | function main(let x: u8, y: bool) -> bool {\n | ^^^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'let' + --> compiler-test:8:19 + | + 8 | function main(let x: u8, y: bool) -> bool { + | ^^^"""] diff --git a/tests/expectations/compiler/structs/inline_undefined.out b/tests/expectations/compiler/structs/inline_undefined.out index de261a3f20..01bc568a46 100644 --- a/tests/expectations/compiler/structs/inline_undefined.out +++ b/tests/expectations/compiler/structs/inline_undefined.out @@ -1,5 +1,23 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:5:9\n |\n 5 | let a: Foo = Foo { };\n | ^^^^^^^^^^^^^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\nError [ETYC0372005]: Unknown struct `Foo`\n --> compiler-test:5:22\n |\n 5 | let a: Foo = Foo { };\n | ^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372017]: The type `Foo` is not found in the current scope. + --> compiler-test:5:9 + | + 5 | let a: Foo = Foo { }; + | ^^^^^^^^^^^^^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +Error [ETYC0372005]: Unknown struct `Foo` + --> compiler-test:5:22 + | + 5 | let a: Foo = Foo { }; + | ^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/member_variable.out b/tests/expectations/compiler/structs/member_variable.out index 4b01428139..86b6cb2a22 100644 --- a/tests/expectations/compiler/structs/member_variable.out +++ b/tests/expectations/compiler/structs/member_variable.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 96982aa1a232b95f3cce88dc995284e778631b168af89eb4f049f360cf5c2009 - type_checked_symbol_table: 5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6 - unrolled_symbol_table: 5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6 - initial_ast: 6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980 - unrolled_ast: 6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980 - ssa_ast: cf645e1be13a0e77fe51422b2577805ec94ef0d975301860f0a950ca291dbea4 - flattened_ast: 8845d50db3bfe49287e668ae154fa034204bfa55269013cc73733398e1022b1a - destructured_ast: a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff - inlined_ast: a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff - dce_ast: a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff - bytecode: 762d4097e94ed495b4a3996bae354d8c1b9396d0620e8f794ae4356829a6e89d - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "96982aa1a232b95f3cce88dc995284e778631b168af89eb4f049f360cf5c2009", type_checked_symbol_table = "5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6", unrolled_symbol_table = "5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6", initial_ast = "6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980", unrolled_ast = "6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980", ssa_ast = "cf645e1be13a0e77fe51422b2577805ec94ef0d975301860f0a950ca291dbea4", flattened_ast = "8845d50db3bfe49287e668ae154fa034204bfa55269013cc73733398e1022b1a", destructured_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", inlined_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", dce_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", bytecode = "762d4097e94ed495b4a3996bae354d8c1b9396d0620e8f794ae4356829a6e89d", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/member_variable_fail.out b/tests/expectations/compiler/structs/member_variable_fail.out index 96486096f7..9317ff52e3 100644 --- a/tests/expectations/compiler/structs/member_variable_fail.out +++ b/tests/expectations/compiler/structs/member_variable_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> compiler-test:10:17\n |\n 10 | let err = a.y;\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> compiler-test:10:17 + | + 10 | let err = a.y; + | ^"""] diff --git a/tests/expectations/compiler/structs/redefine_external_struct.out b/tests/expectations/compiler/structs/redefine_external_struct.out index c47af09251..4ae0ab204b 100644 --- a/tests/expectations/compiler/structs/redefine_external_struct.out +++ b/tests/expectations/compiler/structs/redefine_external_struct.out @@ -1,31 +1,6 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 74e53781a60f54132c609b3b03492c4250036c379e5204b93329a9f57d49fe91 - type_checked_symbol_table: 8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c - unrolled_symbol_table: 8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c - initial_ast: 74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf - unrolled_ast: 74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf - ssa_ast: 9d457405594c43b13f129dcd8b95302086654fa55355b387c83aabaaee1f2d6d - flattened_ast: 03e9facafccbbc398b682d08a79df26fdd778b91f2f4bed225ce5a5323e2171b - destructured_ast: 1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f - inlined_ast: 1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f - dce_ast: 1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f - bytecode: 313d955a664b50823386dc1f0d7141f5fc80174c965209376991ff0a5d0012f9 - errors: "" - warnings: "" - - initial_symbol_table: bb3a69180106d91616ac9d6778fe8aee0fbdaab72b1b079183ebd0fcf772e359 - type_checked_symbol_table: 92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb - unrolled_symbol_table: 92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb - initial_ast: 4406bc30d232c90c5069c388652b051dbb9e5378a20f38e69cf9f847ae83aee0 - unrolled_ast: 2f3e72af631b9e4cdd067c40959e112bb0a7d1a5076a6c44b818c322ab4229f7 - ssa_ast: fcc3c8e717138f0c75a3c7765b26af7e5d009d1d7afd239b782ef56f0b0f3763 - flattened_ast: 435f235eed4f63f31e391e6455014bd64de1320f147d156e4453414dca21752f - destructured_ast: cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481 - inlined_ast: cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481 - dce_ast: a40a9b93296c22a41a527727f8cf61dc11dbed23ac00c3577333a63d6d1393f8 - bytecode: 391aaceb8bee155d767833247676b44806a300637213cd0d4c2dcc23f93396c1 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "74e53781a60f54132c609b3b03492c4250036c379e5204b93329a9f57d49fe91", type_checked_symbol_table = "8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c", unrolled_symbol_table = "8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c", initial_ast = "74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf", unrolled_ast = "74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf", ssa_ast = "9d457405594c43b13f129dcd8b95302086654fa55355b387c83aabaaee1f2d6d", flattened_ast = "03e9facafccbbc398b682d08a79df26fdd778b91f2f4bed225ce5a5323e2171b", destructured_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", inlined_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", dce_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", bytecode = "313d955a664b50823386dc1f0d7141f5fc80174c965209376991ff0a5d0012f9", errors = "", warnings = "" }, + { initial_symbol_table = "bb3a69180106d91616ac9d6778fe8aee0fbdaab72b1b079183ebd0fcf772e359", type_checked_symbol_table = "92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb", unrolled_symbol_table = "92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb", initial_ast = "4406bc30d232c90c5069c388652b051dbb9e5378a20f38e69cf9f847ae83aee0", unrolled_ast = "2f3e72af631b9e4cdd067c40959e112bb0a7d1a5076a6c44b818c322ab4229f7", ssa_ast = "fcc3c8e717138f0c75a3c7765b26af7e5d009d1d7afd239b782ef56f0b0f3763", flattened_ast = "435f235eed4f63f31e391e6455014bd64de1320f147d156e4453414dca21752f", destructured_ast = "cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481", inlined_ast = "cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481", dce_ast = "a40a9b93296c22a41a527727f8cf61dc11dbed23ac00c3577333a63d6d1393f8", bytecode = "391aaceb8bee155d767833247676b44806a300637213cd0d4c2dcc23f93396c1", errors = "", warnings = "" }, +] }]] diff --git a/tests/expectations/compiler/structs/shadow_external_struct_fail.out b/tests/expectations/compiler/structs/shadow_external_struct_fail.out index 4dbd0665e6..1837b4b80a 100644 --- a/tests/expectations/compiler/structs/shadow_external_struct_fail.out +++ b/tests/expectations/compiler/structs/shadow_external_struct_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372015]: There are two definitions of struct `Bar` that do not match.\n --> compiler-test:9:5\n |\n 9 | struct Bar {\n 10 | baz: [Baz; 2],\n 11 | bog: u32,\n 12 | }\n | ^\n |\n = Check the import files to see if there are any struct definitions of the same name.\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372015]: There are two definitions of struct `Bar` that do not match. + --> compiler-test:9:5 + | + 9 | struct Bar { + 10 | baz: [Baz; 2], + 11 | bog: u32, + 12 | } + | ^ + | + = Check the import files to see if there are any struct definitions of the same name. +"""] diff --git a/tests/expectations/compiler/structs/struct_access_fail.out b/tests/expectations/compiler/structs/struct_access_fail.out index 91015b412a..ffa1658d1f 100644 --- a/tests/expectations/compiler/structs/struct_access_fail.out +++ b/tests/expectations/compiler/structs/struct_access_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `i8` but type `u32` was found\n --> compiler-test:11:21\n |\n 11 | let x: i8 = s.f1;\n | ^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `i8` but type `u32` was found + --> compiler-test:11:21 + | + 11 | let x: i8 = s.f1; + | ^^^^ +"""] diff --git a/tests/expectations/compiler/structs/struct_contains_record_fail.out b/tests/expectations/compiler/structs/struct_contains_record_fail.out index a31e8432d5..ad365eb725 100644 --- a/tests/expectations/compiler/structs/struct_contains_record_fail.out +++ b/tests/expectations/compiler/structs/struct_contains_record_fail.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372030]: A struct or record cannot contain another record.\n --> compiler-test:6:9\n |\n 6 | token: Token,\n | ^^^^^\n |\n = Remove the record `Token` from `Foo`.\nError [ETYC0372058]: Cyclic dependency between structs: `Foo` --> `Token` --> `Foo`\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372030]: A struct or record cannot contain another record. + --> compiler-test:6:9 + | + 6 | token: Token, + | ^^^^^ + | + = Remove the record `Token` from `Foo`. +Error [ETYC0372058]: Cyclic dependency between structs: `Foo` --> `Token` --> `Foo` +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out index 8b3765f4ad..ffd8aab823 100644 --- a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: be950b64dff74bb4ad08faa37527874d28cc07461aa058f03d4d5e8994984d51 - type_checked_symbol_table: b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871 - unrolled_symbol_table: b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871 - initial_ast: 6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020 - unrolled_ast: 6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020 - ssa_ast: 753d548ee07f7271eea880232061fa6cf6fbe0cf33305adf27b99e77084a4d75 - flattened_ast: 155b30d8457f01a785c924db88f2e56cb8eed24f0b4734162002e6c8c5641b84 - destructured_ast: 81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6 - inlined_ast: 81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6 - dce_ast: 81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6 - bytecode: 863e38ce365f290cb635173708362b07c114f9c938e377d5373d2cdbd5555098 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "be950b64dff74bb4ad08faa37527874d28cc07461aa058f03d4d5e8994984d51", type_checked_symbol_table = "b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871", unrolled_symbol_table = "b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871", initial_ast = "6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020", unrolled_ast = "6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020", ssa_ast = "753d548ee07f7271eea880232061fa6cf6fbe0cf33305adf27b99e77084a4d75", flattened_ast = "155b30d8457f01a785c924db88f2e56cb8eed24f0b4734162002e6c8c5641b84", destructured_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", inlined_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", dce_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", bytecode = "863e38ce365f290cb635173708362b07c114f9c938e377d5373d2cdbd5555098", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/struct_function_namespace_conflict_fail.out b/tests/expectations/compiler/structs/struct_function_namespace_conflict_fail.out index 7905e3ca05..76938c4f5c 100644 --- a/tests/expectations/compiler/structs/struct_function_namespace_conflict_fail.out +++ b/tests/expectations/compiler/structs/struct_function_namespace_conflict_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EAST0372007]: struct `Foo` shadowed by\n --> compiler-test:8:5\n |\n 8 | function Foo() {}\n | ^^^^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EAST0372007]: struct `Foo` shadowed by + --> compiler-test:8:5 + | + 8 | function Foo() {} + | ^^^^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/struct_init_out_of_order.out b/tests/expectations/compiler/structs/struct_init_out_of_order.out index 8a216685b3..42d1e6630a 100644 --- a/tests/expectations/compiler/structs/struct_init_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_init_out_of_order.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ca7bf7eee449f8c777a7469fa6796b322a48f2e41473fe947476d5b188b5efe8 - type_checked_symbol_table: 8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439 - unrolled_symbol_table: 8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439 - initial_ast: 38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e - unrolled_ast: 38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e - ssa_ast: 5c2c8a5ba3777ea8842fb4c8632ba563f84ffc888822043c4c7072862944553d - flattened_ast: 7deb3bedd967ca8e4f02dd2c03c9b77d56a3f9d005220ccee2c13880b900a701 - destructured_ast: 59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011 - inlined_ast: 59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011 - dce_ast: 59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011 - bytecode: e8b13087d9609aaed141be0bd8bcdcf8941faa1eff034046212c276ff58e0cf4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ca7bf7eee449f8c777a7469fa6796b322a48f2e41473fe947476d5b188b5efe8", type_checked_symbol_table = "8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439", unrolled_symbol_table = "8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439", initial_ast = "38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e", unrolled_ast = "38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e", ssa_ast = "5c2c8a5ba3777ea8842fb4c8632ba563f84ffc888822043c4c7072862944553d", flattened_ast = "7deb3bedd967ca8e4f02dd2c03c9b77d56a3f9d005220ccee2c13880b900a701", destructured_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", inlined_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", dce_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", bytecode = "e8b13087d9609aaed141be0bd8bcdcf8941faa1eff034046212c276ff58e0cf4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/struct_with_visibility_fail.out b/tests/expectations/compiler/structs/struct_with_visibility_fail.out index 44d2422823..79b15cd8a6 100644 --- a/tests/expectations/compiler/structs/struct_with_visibility_fail.out +++ b/tests/expectations/compiler/structs/struct_with_visibility_fail.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372060]: A struct cannot have a member with mode `constant`, `private`, or `public`.\n --> compiler-test:5:18\n |\n 5 | constant a: u8,\n | ^^^^^\nError [ETYC0372060]: A struct cannot have a member with mode `constant`, `private`, or `public`.\n --> compiler-test:6:17\n |\n 6 | private bar: bool,\n | ^^^^^^^^^\nError [ETYC0372060]: A struct cannot have a member with mode `constant`, `private`, or `public`.\n --> compiler-test:7:16\n |\n 7 | public bax: u16,\n | ^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372060]: A struct cannot have a member with mode `constant`, `private`, or `public`. + --> compiler-test:5:18 + | + 5 | constant a: u8, + | ^^^^^ +Error [ETYC0372060]: A struct cannot have a member with mode `constant`, `private`, or `public`. + --> compiler-test:6:17 + | + 6 | private bar: bool, + | ^^^^^^^^^ +Error [ETYC0372060]: A struct cannot have a member with mode `constant`, `private`, or `public`. + --> compiler-test:7:16 + | + 7 | public bax: u16, + | ^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/structs/unknown_member_type_fail.out b/tests/expectations/compiler/structs/unknown_member_type_fail.out index 8c3151c580..7fa1c70075 100644 --- a/tests/expectations/compiler/structs/unknown_member_type_fail.out +++ b/tests/expectations/compiler/structs/unknown_member_type_fail.out @@ -1,5 +1,11 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372017]: The type `Bar` is not found in the current scope.\n --> compiler-test:6:9\n |\n 6 | bar: Bar,\n | ^^^^^^^^\n |\n = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits`\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372017]: The type `Bar` is not found in the current scope. + --> compiler-test:6:9 + | + 6 | bar: Bar, + | ^^^^^^^^ + | + = If you are using an external type, make sure to preface with the program name. Ex: `credits.aleo/credits` instead of `credits` +"""] diff --git a/tests/expectations/compiler/tuple/access_negative_fail.out b/tests/expectations/compiler/tuple/access_negative_fail.out index eb62bf93a4..f0f75662d6 100644 --- a/tests/expectations/compiler/tuple/access_negative_fail.out +++ b/tests/expectations/compiler/tuple/access_negative_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '-'\n --> compiler-test:7:24\n |\n 7 | return (t.0, t.-1); // Index `t.-1` is invalid.\n | ^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found '-' + --> compiler-test:7:24 + | + 7 | return (t.0, t.-1); // Index `t.-1` is invalid. + | ^"""] diff --git a/tests/expectations/compiler/tuple/access_out_of_bounds_fail.out b/tests/expectations/compiler/tuple/access_out_of_bounds_fail.out index b602cbb13f..9577dc7db5 100644 --- a/tests/expectations/compiler/tuple/access_out_of_bounds_fail.out +++ b/tests/expectations/compiler/tuple/access_out_of_bounds_fail.out @@ -1,5 +1,21 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372024]: Tuple index `2` out of range for a tuple with length `2`\n --> compiler-test:7:24\n |\n 7 | return (t.0, t.2); // Index `t.2` is out of bounds.\n | ^\nError [ETYC0372014]: t.2 is not a valid core function call.\n --> compiler-test:7:24\n |\n 7 | return (t.0, t.2); // Index `t.2` is out of bounds.\n | ^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372024]: Tuple index `2` out of range for a tuple with length `2` + --> compiler-test:7:24 + | + 7 | return (t.0, t.2); // Index `t.2` is out of bounds. + | ^ +Error [ETYC0372014]: t.2 is not a valid core function call. + --> compiler-test:7:24 + | + 7 | return (t.0, t.2); // Index `t.2` is out of bounds. + | ^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/tuple/assign_unit_fail.out b/tests/expectations/compiler/tuple/assign_unit_fail.out index 71a2276b9f..6847fcb592 100644 --- a/tests/expectations/compiler/tuple/assign_unit_fail.out +++ b/tests/expectations/compiler/tuple/assign_unit_fail.out @@ -1,5 +1,29 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements.\n --> compiler-test:6:9\n |\n 6 | let b: () = ();\n | ^^^^^^^^^^^^^^\nError [ETYC0372056]: Unit expressions can only be used in return statements.\n --> compiler-test:6:21\n |\n 6 | let b: () = ();\n | ^^\nError [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements.\n --> compiler-test:11:9\n |\n 11 | let b: () = bar();\n | ^^^^^^^^^^^^^^^^^\nError [ETYC0372043]: Cannot call a local transition function from a transition function.\n --> compiler-test:11:21\n |\n 11 | let b: () = bar();\n | ^^^^^\nError [ETYC0372006]: Call expected `1` args, but got `0`\n --> compiler-test:11:21\n |\n 11 | let b: () = bar();\n | ^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements. + --> compiler-test:6:9 + | + 6 | let b: () = (); + | ^^^^^^^^^^^^^^ +Error [ETYC0372056]: Unit expressions can only be used in return statements. + --> compiler-test:6:21 + | + 6 | let b: () = (); + | ^^ +Error [ETYC0372055]: The left-hand side of a `DefinitionStatement` can only be an identifier or tuple. Note that a tuple must contain at least two elements. + --> compiler-test:11:9 + | + 11 | let b: () = bar(); + | ^^^^^^^^^^^^^^^^^ +Error [ETYC0372043]: Cannot call a local transition function from a transition function. + --> compiler-test:11:21 + | + 11 | let b: () = bar(); + | ^^^^^ +Error [ETYC0372006]: Call expected `1` args, but got `0` + --> compiler-test:11:21 + | + 11 | let b: () = bar(); + | ^^^^^ +"""] diff --git a/tests/expectations/compiler/tuple/declare_fail.out b/tests/expectations/compiler/tuple/declare_fail.out index 1c9e81a1b0..e71d8ac63f 100644 --- a/tests/expectations/compiler/tuple/declare_fail.out +++ b/tests/expectations/compiler/tuple/declare_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `bool` but type `u64` was found\n --> compiler-test:5:35\n |\n 5 | let t: (bool, bool) = (a, 1u64); // We should be declaring to a bool, not a u64.\n | ^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `bool` but type `u64` was found + --> compiler-test:5:35 + | + 5 | let t: (bool, bool) = (a, 1u64); // We should be declaring to a bool, not a u64. + | ^^^^ +"""] diff --git a/tests/expectations/compiler/tuple/function_call_returns_tuple.out b/tests/expectations/compiler/tuple/function_call_returns_tuple.out index af4f2ca7f8..2d012a5620 100644 --- a/tests/expectations/compiler/tuple/function_call_returns_tuple.out +++ b/tests/expectations/compiler/tuple/function_call_returns_tuple.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 28331a05f099f64dd23806fdf848c1d57d30b17b9ea7b5e309f4d7a7e8d4162b - type_checked_symbol_table: 449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c - unrolled_symbol_table: 449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c - initial_ast: 0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea - unrolled_ast: 0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea - ssa_ast: 7f57febaeac178acde1e72b5b4287ec436a1cd62a3cc941b4bd3faec97bac7a4 - flattened_ast: 253ed245e59e1c3386dd35fe54366164073540f1541d8d361969912b7ef9fca1 - destructured_ast: ddbd78b291884bdb3178218807f0cc05b7b94a0ea135bbde6ea89c3ba5628e7e - inlined_ast: b75a62d1460c2384bf73343eaa865225f3215f3fc2657f3149e2e4a71e112a39 - dce_ast: 252f3f18bb963961137514ba6814d68d4bb8b5c5e5d1fd6955ffd1c7ef47b8b5 - bytecode: f8a3d7352634db2882bc62840443ed6981ab356b6037c6bce8b2361189e82319 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "28331a05f099f64dd23806fdf848c1d57d30b17b9ea7b5e309f4d7a7e8d4162b", type_checked_symbol_table = "449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c", unrolled_symbol_table = "449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c", initial_ast = "0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea", unrolled_ast = "0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea", ssa_ast = "7f57febaeac178acde1e72b5b4287ec436a1cd62a3cc941b4bd3faec97bac7a4", flattened_ast = "253ed245e59e1c3386dd35fe54366164073540f1541d8d361969912b7ef9fca1", destructured_ast = "ddbd78b291884bdb3178218807f0cc05b7b94a0ea135bbde6ea89c3ba5628e7e", inlined_ast = "b75a62d1460c2384bf73343eaa865225f3215f3fc2657f3149e2e4a71e112a39", dce_ast = "252f3f18bb963961137514ba6814d68d4bb8b5c5e5d1fd6955ffd1c7ef47b8b5", bytecode = "f8a3d7352634db2882bc62840443ed6981ab356b6037c6bce8b2361189e82319", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_early_return.out b/tests/expectations/compiler/tuple/function_early_return.out index 115b0b78db..f1602dcdef 100644 --- a/tests/expectations/compiler/tuple/function_early_return.out +++ b/tests/expectations/compiler/tuple/function_early_return.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262 - type_checked_symbol_table: 1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704 - unrolled_symbol_table: 1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704 - initial_ast: 462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d - unrolled_ast: 462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d - ssa_ast: 79bba39bc18a544b54c02d10076536ff0e7fdd471cda3098056c1952b93ac39a - flattened_ast: aafddc5b1c0e4aae46750722919836b3e71a8ce1cc2647ad4e8bf56981229109 - destructured_ast: 176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7 - inlined_ast: 176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7 - dce_ast: 176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7 - bytecode: cab2a38bed741bf7b4ae067086da9762dfce98c256155aece53158ebbfad7198 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704", unrolled_symbol_table = "1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704", initial_ast = "462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d", unrolled_ast = "462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d", ssa_ast = "79bba39bc18a544b54c02d10076536ff0e7fdd471cda3098056c1952b93ac39a", flattened_ast = "aafddc5b1c0e4aae46750722919836b3e71a8ce1cc2647ad4e8bf56981229109", destructured_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", inlined_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", dce_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", bytecode = "cab2a38bed741bf7b4ae067086da9762dfce98c256155aece53158ebbfad7198", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return.out b/tests/expectations/compiler/tuple/function_return.out index d58d6b8cf9..d24e930544 100644 --- a/tests/expectations/compiler/tuple/function_return.out +++ b/tests/expectations/compiler/tuple/function_return.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262 - type_checked_symbol_table: 706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2 - unrolled_symbol_table: 706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2 - initial_ast: 3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8 - unrolled_ast: 3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8 - ssa_ast: d3e858bb66c02b7aa17e6b0c422aede9f612a7265ab7f3290f83fbabcd5c0a99 - flattened_ast: e3cbdb31a5091aa67207ed708448099ba6bd9eddcc7288a43bc5519465a58b4a - destructured_ast: f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3 - inlined_ast: f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3 - dce_ast: f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3 - bytecode: 4ab0ff9007818a0bf7b45a22297f4a5bdbed8a46d1b2a70e6f6d2f347f8e8b1e - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", unrolled_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", initial_ast = "3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8", unrolled_ast = "3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8", ssa_ast = "d3e858bb66c02b7aa17e6b0c422aede9f612a7265ab7f3290f83fbabcd5c0a99", flattened_ast = "e3cbdb31a5091aa67207ed708448099ba6bd9eddcc7288a43bc5519465a58b4a", destructured_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", inlined_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", dce_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", bytecode = "4ab0ff9007818a0bf7b45a22297f4a5bdbed8a46d1b2a70e6f6d2f347f8e8b1e", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return_nothing.out b/tests/expectations/compiler/tuple/function_return_nothing.out index f4b71e8fbf..360fe6ebde 100644 --- a/tests/expectations/compiler/tuple/function_return_nothing.out +++ b/tests/expectations/compiler/tuple/function_return_nothing.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4 - type_checked_symbol_table: 623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90 - unrolled_symbol_table: 623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90 - initial_ast: a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2 - unrolled_ast: a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2 - ssa_ast: a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2 - flattened_ast: fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b - destructured_ast: 841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149 - inlined_ast: 841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149 - dce_ast: 841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149 - bytecode: e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4", type_checked_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", unrolled_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", initial_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", unrolled_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", ssa_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", flattened_ast = "fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b", destructured_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", inlined_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", dce_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", bytecode = "e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return_single_fail.out b/tests/expectations/compiler/tuple/function_return_single_fail.out index a0d26887fc..cd020f1b43 100644 --- a/tests/expectations/compiler/tuple/function_return_single_fail.out +++ b/tests/expectations/compiler/tuple/function_return_single_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370029]: A tuple expression must have at least two elements.\n --> compiler-test:9:16\n |\n 9 | return (b,);\n | ^^^^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370029]: A tuple expression must have at least two elements. + --> compiler-test:9:16 + | + 9 | return (b,); + | ^^^^"""] diff --git a/tests/expectations/compiler/tuple/function_return_unit.out b/tests/expectations/compiler/tuple/function_return_unit.out index f4b71e8fbf..360fe6ebde 100644 --- a/tests/expectations/compiler/tuple/function_return_unit.out +++ b/tests/expectations/compiler/tuple/function_return_unit.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4 - type_checked_symbol_table: 623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90 - unrolled_symbol_table: 623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90 - initial_ast: a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2 - unrolled_ast: a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2 - ssa_ast: a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2 - flattened_ast: fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b - destructured_ast: 841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149 - inlined_ast: 841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149 - dce_ast: 841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149 - bytecode: e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4", type_checked_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", unrolled_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", initial_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", unrolled_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", ssa_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", flattened_ast = "fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b", destructured_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", inlined_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", dce_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", bytecode = "e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return_varying_modes.out b/tests/expectations/compiler/tuple/function_return_varying_modes.out index 54665369bf..dff37a406e 100644 --- a/tests/expectations/compiler/tuple/function_return_varying_modes.out +++ b/tests/expectations/compiler/tuple/function_return_varying_modes.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262 - type_checked_symbol_table: 706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2 - unrolled_symbol_table: 706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2 - initial_ast: 131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98 - unrolled_ast: 131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98 - ssa_ast: b33b3d89333330ebd7d4022c94dc67fa621b763e772b8cd5026aca59ded091de - flattened_ast: c58ad513cd49d45e46ed14af87499ebfc54c1919d6444334889e15d66acf3719 - destructured_ast: e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85 - inlined_ast: e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85 - dce_ast: e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85 - bytecode: 1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", unrolled_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", initial_ast = "131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98", unrolled_ast = "131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98", ssa_ast = "b33b3d89333330ebd7d4022c94dc67fa621b763e772b8cd5026aca59ded091de", flattened_ast = "c58ad513cd49d45e46ed14af87499ebfc54c1919d6444334889e15d66acf3719", destructured_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", inlined_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", dce_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", bytecode = "1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_unit_input_fail.out b/tests/expectations/compiler/tuple/function_unit_input_fail.out index 9f253f3ead..01fad4c217 100644 --- a/tests/expectations/compiler/tuple/function_unit_input_fail.out +++ b/tests/expectations/compiler/tuple/function_unit_input_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372056]: Unit expressions can only be used in return statements.\n --> compiler-test:10:13\n |\n 10 | foo(());\n | ^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372056]: Unit expressions can only be used in return statements. + --> compiler-test:10:13 + | + 10 | foo(()); + | ^^ +"""] diff --git a/tests/expectations/compiler/tuple/return_statement_fail.out b/tests/expectations/compiler/tuple/return_statement_fail.out index 4fc1c195e3..50c001715f 100644 --- a/tests/expectations/compiler/tuple/return_statement_fail.out +++ b/tests/expectations/compiler/tuple/return_statement_fail.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `u64` but type `bool` was found\n --> compiler-test:7:24\n |\n 7 | return (t.0, t.1); // The second element should be type u64 as in the function declaration.\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `u64` but type `bool` was found + --> compiler-test:7:24 + | + 7 | return (t.0, t.1); // The second element should be type u64 as in the function declaration. + | ^ +"""] diff --git a/tests/expectations/compiler/tuple/return_with_different_modes.out b/tests/expectations/compiler/tuple/return_with_different_modes.out index f74de4a305..97148f27ac 100644 --- a/tests/expectations/compiler/tuple/return_with_different_modes.out +++ b/tests/expectations/compiler/tuple/return_with_different_modes.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 8651059b3325b480030d0d0f87bed40422fd81a81ef450f7abd62aeabeaec8b9 - type_checked_symbol_table: 94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def - unrolled_symbol_table: 94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def - initial_ast: d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66 - unrolled_ast: d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66 - ssa_ast: 4309af78f3dc6df5cb82ca1952180a29520c86df1750393c698770aec99cb62c - flattened_ast: 2c490cae01032d9caa1dd16699f913352b6320c6c3e8149aa0ccd9794fe8447c - destructured_ast: d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda - inlined_ast: d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda - dce_ast: d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda - bytecode: 1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "8651059b3325b480030d0d0f87bed40422fd81a81ef450f7abd62aeabeaec8b9", type_checked_symbol_table = "94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def", unrolled_symbol_table = "94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def", initial_ast = "d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66", unrolled_ast = "d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66", ssa_ast = "4309af78f3dc6df5cb82ca1952180a29520c86df1750393c698770aec99cb62c", flattened_ast = "2c490cae01032d9caa1dd16699f913352b6320c6c3e8149aa0ccd9794fe8447c", destructured_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", inlined_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", dce_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", bytecode = "1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/singleton_tuple_fail.out b/tests/expectations/compiler/tuple/singleton_tuple_fail.out index 20c34692c4..3f214d15d9 100644 --- a/tests/expectations/compiler/tuple/singleton_tuple_fail.out +++ b/tests/expectations/compiler/tuple/singleton_tuple_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [EPAR0370029]: A tuple type must have at least two elements.\n --> compiler-test:7:16\n |\n 7 | let c: (u8) = (a);\n | ^^^^" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [EPAR0370029]: A tuple type must have at least two elements. + --> compiler-test:7:16 + | + 7 | let c: (u8) = (a); + | ^^^^"""] diff --git a/tests/expectations/compiler/tuple/tuple_access.out b/tests/expectations/compiler/tuple/tuple_access.out index 6c62fc0ca6..9c6c83c82e 100644 --- a/tests/expectations/compiler/tuple/tuple_access.out +++ b/tests/expectations/compiler/tuple/tuple_access.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 25a7b8073b584de59f0196e3b53e49beb674c9416d92fe66ae30d3e5fdc36062 - type_checked_symbol_table: 0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09 - unrolled_symbol_table: 0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09 - initial_ast: 0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e - unrolled_ast: 0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e - ssa_ast: deafd8729422b274dd872a76b0cf3f2f9e3437eee1f1994d6147eb897047183c - flattened_ast: 590acb1260ed3237eafc58b3f4f4d7c07d6d9ab05e88eef50f346ffd49e5dd20 - destructured_ast: a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f - inlined_ast: a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f - dce_ast: a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f - bytecode: 66ae5f7e0fec4de855fa451272351313df6f03b4a3799edd57ce21da859051da - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "25a7b8073b584de59f0196e3b53e49beb674c9416d92fe66ae30d3e5fdc36062", type_checked_symbol_table = "0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09", unrolled_symbol_table = "0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09", initial_ast = "0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e", unrolled_ast = "0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e", ssa_ast = "deafd8729422b274dd872a76b0cf3f2f9e3437eee1f1994d6147eb897047183c", flattened_ast = "590acb1260ed3237eafc58b3f4f4d7c07d6d9ab05e88eef50f346ffd49e5dd20", destructured_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", inlined_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", dce_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", bytecode = "66ae5f7e0fec4de855fa451272351313df6f03b4a3799edd57ce21da859051da", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_destructure.out b/tests/expectations/compiler/tuple/tuple_destructure.out index 402de5719b..b060e69bbc 100644 --- a/tests/expectations/compiler/tuple/tuple_destructure.out +++ b/tests/expectations/compiler/tuple/tuple_destructure.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f8e70d3f8083339069f5f21b185bd2b8f79bbeb8356f1ffd6862bae7310075a8 - type_checked_symbol_table: b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097 - unrolled_symbol_table: b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097 - initial_ast: 7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76 - unrolled_ast: 7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76 - ssa_ast: 8234ee43fce74547bc2d54776d5970c7b5d6b209681c1cccbf01bb73700c9f3d - flattened_ast: 76d50e498e05b2f475fcf8435556b68edb254bb1cc3d419c7808d7a3c4258ac4 - destructured_ast: f58eaa4c621abf68ec83c832671532b54ad5c5aec4ee5db237cabcbf1e368dd6 - inlined_ast: 57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f - dce_ast: 57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f - bytecode: 404bfa1fcdb0b113686f984a5d33322565e6acbb2438db7def4dd40d20f52093 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "f8e70d3f8083339069f5f21b185bd2b8f79bbeb8356f1ffd6862bae7310075a8", type_checked_symbol_table = "b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097", unrolled_symbol_table = "b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097", initial_ast = "7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76", unrolled_ast = "7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76", ssa_ast = "8234ee43fce74547bc2d54776d5970c7b5d6b209681c1cccbf01bb73700c9f3d", flattened_ast = "76d50e498e05b2f475fcf8435556b68edb254bb1cc3d419c7808d7a3c4258ac4", destructured_ast = "f58eaa4c621abf68ec83c832671532b54ad5c5aec4ee5db237cabcbf1e368dd6", inlined_ast = "57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f", dce_ast = "57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f", bytecode = "404bfa1fcdb0b113686f984a5d33322565e6acbb2438db7def4dd40d20f52093", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_in_assignment.out b/tests/expectations/compiler/tuple/tuple_in_assignment.out index 5c190e1014..f88cac9ec0 100644 --- a/tests/expectations/compiler/tuple/tuple_in_assignment.out +++ b/tests/expectations/compiler/tuple/tuple_in_assignment.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: cd1a6955665f14fd45fa3972a2ed55995bbd2649d48cd20fb8ef344753cd6d1a - type_checked_symbol_table: e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50 - unrolled_symbol_table: e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50 - initial_ast: 58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4 - unrolled_ast: 58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4 - ssa_ast: f9ac72939415349c29b89bfaaece6ca54cebb8d167f3417fc0ca4503c7ae6d0e - flattened_ast: e6ee7eebf86689080af2a309eda4eb0ea070312960247705e1f35229945148f0 - destructured_ast: 669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906 - inlined_ast: 669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906 - dce_ast: f42036031402eb4b732c6f15ab92ae64b18d8bbf2541ac13713bc38fcbf90af7 - bytecode: e58af56a6497ae064f0ac928ee1f89df6f05c41482ef3619acbacd8f1dfae217 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "cd1a6955665f14fd45fa3972a2ed55995bbd2649d48cd20fb8ef344753cd6d1a", type_checked_symbol_table = "e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50", unrolled_symbol_table = "e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50", initial_ast = "58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4", unrolled_ast = "58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4", ssa_ast = "f9ac72939415349c29b89bfaaece6ca54cebb8d167f3417fc0ca4503c7ae6d0e", flattened_ast = "e6ee7eebf86689080af2a309eda4eb0ea070312960247705e1f35229945148f0", destructured_ast = "669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906", inlined_ast = "669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906", dce_ast = "f42036031402eb4b732c6f15ab92ae64b18d8bbf2541ac13713bc38fcbf90af7", bytecode = "e58af56a6497ae064f0ac928ee1f89df6f05c41482ef3619acbacd8f1dfae217", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_in_definition.out b/tests/expectations/compiler/tuple/tuple_in_definition.out index 8f2a658e37..abf6a92add 100644 --- a/tests/expectations/compiler/tuple/tuple_in_definition.out +++ b/tests/expectations/compiler/tuple/tuple_in_definition.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 3ec5268ababb12c85551a8b27519461805353f1a55cd6acdca32b142c944c625 - type_checked_symbol_table: b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84 - unrolled_symbol_table: b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84 - initial_ast: 4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2 - unrolled_ast: 4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2 - ssa_ast: 219654cedb5bde80cb3fd95f5d0b4f131cb84931ad848b35ea96d0d7eccea397 - flattened_ast: c3b9e5220dfbd1a2a90ae353884f520e13eda51da01a96e9f87b0d8557bf2cc8 - destructured_ast: 33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b - inlined_ast: 33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b - dce_ast: 05f72ceba4a6170af107ea6f04c61d026da39ac3044b302e482782058714f74c - bytecode: 26120360e31f59b6a23dae65fe61c87e9e310aa11c12d90e995485dbeef81151 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "3ec5268ababb12c85551a8b27519461805353f1a55cd6acdca32b142c944c625", type_checked_symbol_table = "b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84", unrolled_symbol_table = "b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84", initial_ast = "4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2", unrolled_ast = "4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2", ssa_ast = "219654cedb5bde80cb3fd95f5d0b4f131cb84931ad848b35ea96d0d7eccea397", flattened_ast = "c3b9e5220dfbd1a2a90ae353884f520e13eda51da01a96e9f87b0d8557bf2cc8", destructured_ast = "33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b", inlined_ast = "33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b", dce_ast = "05f72ceba4a6170af107ea6f04c61d026da39ac3044b302e482782058714f74c", bytecode = "26120360e31f59b6a23dae65fe61c87e9e310aa11c12d90e995485dbeef81151", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_in_function_param.out b/tests/expectations/compiler/tuple/tuple_in_function_param.out index 5327e20632..b735f9876c 100644 --- a/tests/expectations/compiler/tuple/tuple_in_function_param.out +++ b/tests/expectations/compiler/tuple/tuple_in_function_param.out @@ -1,5 +1,9 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372051]: A function cannot take in a tuple as input.\n --> compiler-test:4:20\n |\n 4 | transition foo(a: (u8, u16)) -> (u8, u16) {\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372051]: A function cannot take in a tuple as input. + --> compiler-test:4:20 + | + 4 | transition foo(a: (u8, u16)) -> (u8, u16) { + | ^ +"""] diff --git a/tests/expectations/compiler/tuple/tuple_in_loop.out b/tests/expectations/compiler/tuple/tuple_in_loop.out index 6e0eaf42fe..adc2d4ea64 100644 --- a/tests/expectations/compiler/tuple/tuple_in_loop.out +++ b/tests/expectations/compiler/tuple/tuple_in_loop.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ad75c84b75c9b8d8141d2d4993a65138e31ac05ae2dcb1e5d628afce4aa99782 - type_checked_symbol_table: 38f71064716b90ed10311163b2f545d3cf6527460e32f7281aa5b0bc78ba13e6 - unrolled_symbol_table: 936f97bfcee50a6fd455bb9d9f8c1422764d78484fb31c5214eef0d9b9dc40bb - initial_ast: de829a425dc7ff52193bcf9f28a646050bc86ef38c2f9ebb5b994cbc0ce47fe5 - unrolled_ast: dd459b73921cb41b131eead97c613965ad5888ba0eeb38763e95d7615a04eaa8 - ssa_ast: 1f63cde97ec219fb4804498f65d401d88bb03f9e180fe945cc4ac0a18d385eb4 - flattened_ast: ca6aa37b1f80c8a656f9e0666321633b16abdfcbaac926a19760850c7e6027fa - destructured_ast: 00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0 - inlined_ast: 00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0 - dce_ast: 108683817fd2e9c6e1410cf05b70c670232e6695a758dfebfa253eb01a3c38d4 - bytecode: 9ef5de2d557b3a8119e5545ab597779492a53ca6f7097a946262eb65c1acdca7 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ad75c84b75c9b8d8141d2d4993a65138e31ac05ae2dcb1e5d628afce4aa99782", type_checked_symbol_table = "38f71064716b90ed10311163b2f545d3cf6527460e32f7281aa5b0bc78ba13e6", unrolled_symbol_table = "936f97bfcee50a6fd455bb9d9f8c1422764d78484fb31c5214eef0d9b9dc40bb", initial_ast = "de829a425dc7ff52193bcf9f28a646050bc86ef38c2f9ebb5b994cbc0ce47fe5", unrolled_ast = "dd459b73921cb41b131eead97c613965ad5888ba0eeb38763e95d7615a04eaa8", ssa_ast = "1f63cde97ec219fb4804498f65d401d88bb03f9e180fe945cc4ac0a18d385eb4", flattened_ast = "ca6aa37b1f80c8a656f9e0666321633b16abdfcbaac926a19760850c7e6027fa", destructured_ast = "00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0", inlined_ast = "00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0", dce_ast = "108683817fd2e9c6e1410cf05b70c670232e6695a758dfebfa253eb01a3c38d4", bytecode = "9ef5de2d557b3a8119e5545ab597779492a53ca6f7097a946262eb65c1acdca7", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_in_record_fail.out b/tests/expectations/compiler/tuple/tuple_in_record_fail.out index 343058c7ab..71edda159c 100644 --- a/tests/expectations/compiler/tuple/tuple_in_record_fail.out +++ b/tests/expectations/compiler/tuple/tuple_in_record_fail.out @@ -1,5 +1,16 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372050]: A record cannot contain a tuple.\n --> compiler-test:6:9\n |\n 6 | amounts: (u64, u64),\n | ^^^^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372050]: A record cannot contain a tuple. + --> compiler-test:6:9 + | + 6 | amounts: (u64, u64), + | ^^^^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/tuple/tuple_in_return_type.out b/tests/expectations/compiler/tuple/tuple_in_return_type.out index 48487c4664..659ead1eda 100644 --- a/tests/expectations/compiler/tuple/tuple_in_return_type.out +++ b/tests/expectations/compiler/tuple/tuple_in_return_type.out @@ -1,5 +1,19 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372049]: A tuple type cannot contain a tuple.\n --> compiler-test:4:35\n |\n 4 | transition bar(a: u8) -> (u8, (u8, u8)) {\n | ^^^^^^^^\nError [ETYC0372052]: A tuple expression cannot contain another tuple expression.\n --> compiler-test:5:20\n |\n 5 | return (a, (a + a, a * a));\n | ^^^^^^^^^^^^^^\nError [ETYC0372052]: A tuple expression cannot contain another tuple expression.\n --> compiler-test:5:20\n |\n 5 | return (a, (a + a, a * a));\n | ^^^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372049]: A tuple type cannot contain a tuple. + --> compiler-test:4:35 + | + 4 | transition bar(a: u8) -> (u8, (u8, u8)) { + | ^^^^^^^^ +Error [ETYC0372052]: A tuple expression cannot contain another tuple expression. + --> compiler-test:5:20 + | + 5 | return (a, (a + a, a * a)); + | ^^^^^^^^^^^^^^ +Error [ETYC0372052]: A tuple expression cannot contain another tuple expression. + --> compiler-test:5:20 + | + 5 | return (a, (a + a, a * a)); + | ^^^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/tuple/tuple_in_struct_fail.out b/tests/expectations/compiler/tuple/tuple_in_struct_fail.out index 2e6b62bf03..fcb55c657d 100644 --- a/tests/expectations/compiler/tuple/tuple_in_struct_fail.out +++ b/tests/expectations/compiler/tuple/tuple_in_struct_fail.out @@ -1,5 +1,21 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372050]: A struct cannot contain a tuple.\n --> compiler-test:5:9\n |\n 5 | mem: (u8, u16)\n | ^^^\nError [ETYC0372050]: A struct cannot contain a tuple.\n --> compiler-test:9:9\n |\n 9 | mems: (A, A)\n | ^^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo {\n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372050]: A struct cannot contain a tuple. + --> compiler-test:5:9 + | + 5 | mem: (u8, u16) + | ^^^ +Error [ETYC0372050]: A struct cannot contain a tuple. + --> compiler-test:9:9 + | + 9 | mems: (A, A) + | ^^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/tuple/tuple_not_allowed_fail.out b/tests/expectations/compiler/tuple/tuple_not_allowed_fail.out index eb6da750ac..abd491e074 100644 --- a/tests/expectations/compiler/tuple/tuple_not_allowed_fail.out +++ b/tests/expectations/compiler/tuple/tuple_not_allowed_fail.out @@ -1,5 +1,51 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372050]: A struct cannot contain a tuple.\n --> compiler-test:22:9\n |\n 22 | mem: (u8, u16)\n | ^^^\nError [ETYC0372051]: A function cannot take in a tuple as input.\n --> compiler-test:8:18\n |\n 8 | function foo(a: (u8, u16)) -> (u8, u16) {\n | ^\nError [ETYC0372049]: A tuple type cannot contain a tuple.\n --> compiler-test:12:28\n |\n 12 | function bar() -> (u8, (u16, u32)) {\n | ^^^^^^^^^^\nError [ETYC0372052]: A tuple expression cannot contain another tuple expression.\n --> compiler-test:13:22\n |\n 13 | return (1u8, (2u16, 3u32));\n | ^^^^^^^^^^^^\nError [ETYC0372052]: A tuple expression cannot contain another tuple expression.\n --> compiler-test:13:22\n |\n 13 | return (1u8, (2u16, 3u32));\n | ^^^^^^^^^^^^\nError [ETYC0372007]: Expected one type from `i8, i16, i32, i64, i128, u8, u16, u32, u64, u128`, but got `(u8,u16)`\n --> compiler-test:17:13\n |\n 17 | for i: (u8, u16) in 0u8..2u8 {}\n | ^\nError [ETYC0372003]: Expected type `(u8,u16)` but type `u8` was found\n --> compiler-test:17:29\n |\n 17 | for i: (u8, u16) in 0u8..2u8 {}\n | ^^^\nError [ETYC0372003]: Expected type `(u8,u16)` but type `u8` was found\n --> compiler-test:17:34\n |\n 17 | for i: (u8, u16) in 0u8..2u8 {}\n | ^^^\nError [ETYC0372083]: A program must have at least one transition function.\n --> compiler-test:1:1\n |\n 1 | \n 2 | \n 3 | program test.aleo { \n | ^^^^^^^^^^^^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372050]: A struct cannot contain a tuple. + --> compiler-test:22:9 + | + 22 | mem: (u8, u16) + | ^^^ +Error [ETYC0372051]: A function cannot take in a tuple as input. + --> compiler-test:8:18 + | + 8 | function foo(a: (u8, u16)) -> (u8, u16) { + | ^ +Error [ETYC0372049]: A tuple type cannot contain a tuple. + --> compiler-test:12:28 + | + 12 | function bar() -> (u8, (u16, u32)) { + | ^^^^^^^^^^ +Error [ETYC0372052]: A tuple expression cannot contain another tuple expression. + --> compiler-test:13:22 + | + 13 | return (1u8, (2u16, 3u32)); + | ^^^^^^^^^^^^ +Error [ETYC0372052]: A tuple expression cannot contain another tuple expression. + --> compiler-test:13:22 + | + 13 | return (1u8, (2u16, 3u32)); + | ^^^^^^^^^^^^ +Error [ETYC0372007]: Expected one type from `i8, i16, i32, i64, i128, u8, u16, u32, u64, u128`, but got `(u8,u16)` + --> compiler-test:17:13 + | + 17 | for i: (u8, u16) in 0u8..2u8 {} + | ^ +Error [ETYC0372003]: Expected type `(u8,u16)` but type `u8` was found + --> compiler-test:17:29 + | + 17 | for i: (u8, u16) in 0u8..2u8 {} + | ^^^ +Error [ETYC0372003]: Expected type `(u8,u16)` but type `u8` was found + --> compiler-test:17:34 + | + 17 | for i: (u8, u16) in 0u8..2u8 {} + | ^^^ +Error [ETYC0372083]: A program must have at least one transition function. + --> compiler-test:1:1 + | + 1 | + 2 | + 3 | program test.aleo { + | ^^^^^^^^^^^^ +"""] diff --git a/tests/expectations/compiler/tuple/type_fail.out b/tests/expectations/compiler/tuple/type_fail.out index a06ec4576a..da139bbac0 100644 --- a/tests/expectations/compiler/tuple/type_fail.out +++ b/tests/expectations/compiler/tuple/type_fail.out @@ -1,5 +1,14 @@ ---- -namespace: Compile -expectation: Fail -outputs: - - "Error [ETYC0372003]: Expected type `u64` but type `bool` was found\n --> compiler-test:5:34\n |\n 5 | let t: (bool, u64) = (a, b); // We should expect a bool, not a u64.\n | ^\nError [ETYC0372003]: Expected type `bool` but type `u64` was found\n --> compiler-test:7:24\n |\n 7 | return (t.0, t.1);\n | ^\n" +namespace = "Compile" +expectation = "Fail" +outputs = [""" +Error [ETYC0372003]: Expected type `u64` but type `bool` was found + --> compiler-test:5:34 + | + 5 | let t: (bool, u64) = (a, b); // We should expect a bool, not a u64. + | ^ +Error [ETYC0372003]: Expected type `bool` but type `u64` was found + --> compiler-test:7:24 + | + 7 | return (t.0, t.1); + | ^ +"""] diff --git a/tests/expectations/compiler/tuple/unit.out b/tests/expectations/compiler/tuple/unit.out index db37a09533..adffdef8c4 100644 --- a/tests/expectations/compiler/tuple/unit.out +++ b/tests/expectations/compiler/tuple/unit.out @@ -1,18 +1,3 @@ ---- -namespace: Compile -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 5931e9e8bf3df8ca226d00a479f35404edcc010093d1eb360dc67d82391b1538 - type_checked_symbol_table: bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6 - unrolled_symbol_table: bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6 - initial_ast: 5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3 - unrolled_ast: 5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3 - ssa_ast: 5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3 - flattened_ast: 63bfc28e505ec93892a04a9c61e20040aba6af50526c30b19847ea0a02a26d23 - destructured_ast: c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30 - inlined_ast: c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30 - dce_ast: c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30 - bytecode: 0b868939da4554de26106307f8749db7e5c629b71ec06c0870b138bc7ffabad4 - errors: "" - warnings: "" +namespace = "Compile" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "5931e9e8bf3df8ca226d00a479f35404edcc010093d1eb360dc67d82391b1538", type_checked_symbol_table = "bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6", unrolled_symbol_table = "bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6", initial_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", unrolled_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", ssa_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", flattened_ast = "63bfc28e505ec93892a04a9c61e20040aba6af50526c30b19847ea0a02a26d23", destructured_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", inlined_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", dce_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", bytecode = "0b868939da4554de26106307f8749db7e5c629b71ec06c0870b138bc7ffabad4", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/execution/array_sum.out b/tests/expectations/execution/array_sum.out index ed65ef4d56..e1e38ad880 100644 --- a/tests/expectations/execution/array_sum.out +++ b/tests/expectations/execution/array_sum.out @@ -1,63 +1,6 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 217daa5389911907f053713ca920c21f995c320126353162563e080807e1ccf4 - type_checked_symbol_table: 4d6f1f781bed1c3cd702a76481bb5a45b7b2592fa4b248a494ec46bde4a0569a - unrolled_symbol_table: ad8fbdc3c2a496a9da0e1f84a22d2659921381b1900c7361a4658e7f3eaaa344 - initial_ast: 55b89c0a219d048aa18bdd9daabb476975ccc90a470bae25c22cbad29cf85725 - unrolled_ast: 6b9db187fa8194a6df04963467ad0a88dbb6a43abfadabef4e434845eff36336 - ssa_ast: 8f09921e9df332dfd3898785d6fb65a1e540b6083548f23e7b8ff2fecba77055 - flattened_ast: a49903007fdf7ce6862704a7fed251751a88ac821013f686b5fff72ac8f01cc5 - destructured_ast: c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766 - inlined_ast: c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766 - dce_ast: c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766 - bytecode: f8442f404e7a865ea2161ba7fa50f682ad3b4fe62585456913ccc47a01a6c5ef - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au149wvd6tuy2pvz5zpj2mxrysurlf6v7ne2kj4t2xuj8j49mupfc9s38v355 - program: test.aleo - function: sum_manually - inputs: - - type: private - id: 3871832004960206007194165418359746087744526367165127597780555009460394183717field - value: ciphertext1qgqz35t2hd2sk5jvjsmzp3yzgar9yzmgrefkrlqcsdln72dc9arljpxaaue8w5thxecsncyc79g76p82jcx04fufracrdydvd9p2pxxcqq2fev2d - outputs: - - type: private - id: 7459779374237983347184823155747031487499963576865774196908999556002209801556field - value: ciphertext1qyq9nwrm5fzlegwaumw953fkf8uhfpmjm3uxkxe32ln2zc4ej53surcfdn0yn - tpk: 512383684471783892777788076619862839966981157566564726912316434903274880697group - tcm: 7975307881435548581927347671860337126690869146772124069070420940707216867640field - scm: 1893779522364008370528920564800894353816316246386419733877530996647548645046field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx5vu65atwnfh8752c43amzrv92ewszvz7u6lf4rjmp7p6wxgfrz92w7c3r6rrp86zsv04lu3p0fsqq8qj88g5naxq8afle0l2feyntzpykcq6qvgjuncs7c8tuu4cvy9lvhpcxknfrpwy9g6v4yldz9lutq9xt45f9hyhu4phvf868sszzxr5fgp294u4j6gr3vwwwg8q3ju4t5awqnh2aryp9s5lfp0p5fl3ekqwg588amjwdyqu7r93vzkkm7ar7s745ayp6ncju5g06f9auyc0zwntspkuy3mudsd6vhcu0zcz9vgq32qx6ktlxw5uq7wjfl20eh7xmts5lvecg22j2mf2du5y0pf7cvny925u78ff7lvgl67r7wuqyqpqqxjs2xykys67mgh8lj9fy94uw9huukadsyu65ns3cvp2zusan4t4zj8fyrpqj22cj27yl5gl5625q8qr6e854p2nmn9qatr295he56fuj38plg2f3w449yexvh5gvlvrnl9w5mtgwm7avt8fkemqpympnqwnv5pachhn4e9jxqzap5csd5r7up73jcvxc98evwv2pfaqagfyq6djmwfys5wfysh5gf9khwkwqvqxyqe5tfc7rj5ht2nzpa8wa0zcczds6m9jyezh94r95usge7q2hnc8njcwyu0ax52v92w55gg40qyqagpz9nz665w5aku20tdtux9zf9j6plfhe5ykahgv70fh7myc2vffws37s6n87g8d2643eydn7tunytgwa5tng42zetautsju7qyd2ztwlckrqqusyu7t4ltg9v2332sf87n2uv97s97nlnwpnlsxus66pdtjntq9ts0tk6zxuwtjfnne5qku0wz8y6j7zw9py0vmhnzw7zns3642a2jeupmvn2qc9elnsvztr0ps52l2jsk3826nsuwkz3rcuegvlk06y6dugkay92ssarcgluhffdkfav2tnl7qa8llmpxvclt2qvq58gwyjc9dv2ypjxy0dql0398z4ggtk54shszxrgelv8cqc64h7qf0s3kpg4hfxaes3k0m0578e2453yvu5qvgxw03kfnwawsmwhyppqe3sx33p2tdj9pxjmf54dc05awpsqcc2fvs8tklj997c0xsjrdpqk8h89jr9jkscp8ln8a3x2kpujg89hcyyfvzgc5mfae3depr96sgqvqqqqqqqqqqppk00dddde9yufqpz4m9selnhc4ldvwv76u4umk4s7gmwucr6rvm7gprzkdg7psvvq2jtmtqjf57qqqws48m75wsygd9sn67uxrqdrurh2r7f7cpfxlszwh8pp9vhdfrvr5l4xghs6fswunrkda8quke6vqpqxpq04qgskn7t7gr355wersrl68zqdjr0hj5ulmal5tvgfhc2dus4xt3qjkgp0zzhgs9zp5ftzz9v4ljrnj7c37exvhqeecws5wnnvcv0wzfz6w6cp2mppys8dhflsvxqyqq55xjj2 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1gndhxhdnwatf9qxkx4hyfyy69uf6w004fwzlmty93nhq5em2qsfqygfpky - program: test.aleo - function: sum_with_loop - inputs: - - type: private - id: 772635140311600224499625393792585633609227532332583845718848508798666411485field - value: ciphertext1qgqw6xer529098zj3rgm2nrg3dj20hv4nq4nd5g5qrwh4v335g07yqyhjdspaz3f70jg9v4d8ygguw8ua3s2eaqjjakfxsgyce7zaq94p5q5hl7t - outputs: - - type: private - id: 2420554371177431671531694917613942509941429348142036766297981901624867129673field - value: ciphertext1qyq22jv42rfhtk4vm2gdrscyntg34xxxcpz89azdxurffu9tupmquqcmdutsr - tpk: 2648975399333506891066430487012965830441159294533947089744287387271134408105group - tcm: 4622791303988101841327005652441860772220114266951663803601422301383920316221field - scm: 7410915781437728459378166429703486561569640859133578857905554519607570043435field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzgk9d7v3lfm8e2zjcg4khtfmqrykh34kacdh37l5lyh7lm8sdp3v7yqhs3y34p879ue4h84r8a3sqqy8ar6emfl4avcm3uwwgk30td78ltv8dgg7cz4urkah8pgepmyuv56jz453p7fty3vn5pcsck4fymqvhpgcmrf65940p3x4h7n0942mael283rfguee8zhhnuw9v36da04243w7zxtmjmzm98905hzhrjuqt5rcpuycammny6nmf30cq7czckglj439h7p3u46wy2t4xdl528hawru7kap4rupkgvxvcs906tzcpmxxfa4yrtkl5p89aqk4ffhcvvacy3ttun8k3l8p9ypnnexzx9djvcm5ejjvjmxzrmw08vgv6kf3sr0jmcj7j20w8ytvec2unnr3kaf977sr3pzphdfxhw880h5xnjuvzw5yv9gxnf2nekkvglgpuk0c7s9988pddf39ckwfa2vxv3q266ce3vy9we9hy2v9edu7dh2tydpg0d0n2xx5vj4llcehrcu8hjqxj8qd52zuq0hyvtmh2vwtxc4enp39qnn5gajqnsmnfhyk6n9mx5gpw4ery6k6s6mz399mu95ru6vk70sq0cuf9nzvrxe8gzlq4zgc6rkju2kuuppk7vwmfgp9jdzawk7ph35u8ga3ywkc9v3dvdjy83ypwytqpuw7tjdkajdp28xyuuyz3t08zte0dk4emmx2lufk248fs3zwz5s84dj7ysmp8ukda89x2ucg33482adw3645m7fhv95sq9pymwnm4jqpk5f2alg73m4ck2jn94y7lcj5n0ef6gd36dr9wv53zuhp8wy0gqf9vt9s9x4rc443nuumuk0t39w2uttxj2yg3zqhywqpqhuyrwzlsgyygjlx8yazk7zwflqgc58sx6x4jrzcn74r7xpt294rkyjd3zkswf0l6nq8hj9fay84kqtcy382p8j6gxpw9t5gp564vx8lmjt57vsxe6ulauyrpyn2t7tx3lgv40p8g5qaqjrhzs4j8fsq6rcu8mv9zurm6qhqjanvng6e9kskyl4v5c8qknze70n090wjzzfx8e8j0yskuqeempzqpf6wtslrsmttxkkmxll8svlggks56m9fj8d9e5gf03dwqjv4qm8d3856qyrngruzz7pzagt56rda0wepsrkq9cpg54njf25svqvqqqqqqqqqqpcvp7r7kxwxmjkvujqs5r2chxct8xjnavucpuygjsvd5xn97cwmpk7meuwtu937ty3ls6275rqzdqqqfp24fl6z6va407yhdgfcz56jv47hpck5rf028xtuy7uxs0ru0qn6g0uu6nd88gt8q6g8arf59e3qqqyvsvt7g3u52huqtepkqghgg5prprns2e3dcn5m0sau0c4dz993s36hmzkw6j29587h36mztpn6ca3ldnur8pf0g7tj4293hhyeag8xtjledt5qcje83dsaq997m7l9qsqqqquj8fn - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "217daa5389911907f053713ca920c21f995c320126353162563e080807e1ccf4", type_checked_symbol_table = "4d6f1f781bed1c3cd702a76481bb5a45b7b2592fa4b248a494ec46bde4a0569a", unrolled_symbol_table = "ad8fbdc3c2a496a9da0e1f84a22d2659921381b1900c7361a4658e7f3eaaa344", initial_ast = "55b89c0a219d048aa18bdd9daabb476975ccc90a470bae25c22cbad29cf85725", unrolled_ast = "6b9db187fa8194a6df04963467ad0a88dbb6a43abfadabef4e434845eff36336", ssa_ast = "8f09921e9df332dfd3898785d6fb65a1e540b6083548f23e7b8ff2fecba77055", flattened_ast = "a49903007fdf7ce6862704a7fed251751a88ac821013f686b5fff72ac8f01cc5", destructured_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", inlined_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", dce_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", bytecode = "f8442f404e7a865ea2161ba7fa50f682ad3b4fe62585456913ccc47a01a6c5ef", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx5vu65atwnfh8752c43amzrv92ewszvz7u6lf4rjmp7p6wxgfrz92w7c3r6rrp86zsv04lu3p0fsqq8qj88g5naxq8afle0l2feyntzpykcq6qvgjuncs7c8tuu4cvy9lvhpcxknfrpwy9g6v4yldz9lutq9xt45f9hyhu4phvf868sszzxr5fgp294u4j6gr3vwwwg8q3ju4t5awqnh2aryp9s5lfp0p5fl3ekqwg588amjwdyqu7r93vzkkm7ar7s745ayp6ncju5g06f9auyc0zwntspkuy3mudsd6vhcu0zcz9vgq32qx6ktlxw5uq7wjfl20eh7xmts5lvecg22j2mf2du5y0pf7cvny925u78ff7lvgl67r7wuqyqpqqxjs2xykys67mgh8lj9fy94uw9huukadsyu65ns3cvp2zusan4t4zj8fyrpqj22cj27yl5gl5625q8qr6e854p2nmn9qatr295he56fuj38plg2f3w449yexvh5gvlvrnl9w5mtgwm7avt8fkemqpympnqwnv5pachhn4e9jxqzap5csd5r7up73jcvxc98evwv2pfaqagfyq6djmwfys5wfysh5gf9khwkwqvqxyqe5tfc7rj5ht2nzpa8wa0zcczds6m9jyezh94r95usge7q2hnc8njcwyu0ax52v92w55gg40qyqagpz9nz665w5aku20tdtux9zf9j6plfhe5ykahgv70fh7myc2vffws37s6n87g8d2643eydn7tunytgwa5tng42zetautsju7qyd2ztwlckrqqusyu7t4ltg9v2332sf87n2uv97s97nlnwpnlsxus66pdtjntq9ts0tk6zxuwtjfnne5qku0wz8y6j7zw9py0vmhnzw7zns3642a2jeupmvn2qc9elnsvztr0ps52l2jsk3826nsuwkz3rcuegvlk06y6dugkay92ssarcgluhffdkfav2tnl7qa8llmpxvclt2qvq58gwyjc9dv2ypjxy0dql0398z4ggtk54shszxrgelv8cqc64h7qf0s3kpg4hfxaes3k0m0578e2453yvu5qvgxw03kfnwawsmwhyppqe3sx33p2tdj9pxjmf54dc05awpsqcc2fvs8tklj997c0xsjrdpqk8h89jr9jkscp8ln8a3x2kpujg89hcyyfvzgc5mfae3depr96sgqvqqqqqqqqqqppk00dddde9yufqpz4m9selnhc4ldvwv76u4umk4s7gmwucr6rvm7gprzkdg7psvvq2jtmtqjf57qqqws48m75wsygd9sn67uxrqdrurh2r7f7cpfxlszwh8pp9vhdfrvr5l4xghs6fswunrkda8quke6vqpqxpq04qgskn7t7gr355wersrl68zqdjr0hj5ulmal5tvgfhc2dus4xt3qjkgp0zzhgs9zp5ftzz9v4ljrnj7c37exvhqeecws5wnnvcv0wzfz6w6cp2mppys8dhflsvxqyqq55xjj2", transitions = [{ id = "au149wvd6tuy2pvz5zpj2mxrysurlf6v7ne2kj4t2xuj8j49mupfc9s38v355", program = "test.aleo", function = "sum_manually", tpk = "512383684471783892777788076619862839966981157566564726912316434903274880697group", tcm = "7975307881435548581927347671860337126690869146772124069070420940707216867640field", scm = "1893779522364008370528920564800894353816316246386419733877530996647548645046field", inputs = [{ type = "private", id = "3871832004960206007194165418359746087744526367165127597780555009460394183717field", value = "ciphertext1qgqz35t2hd2sk5jvjsmzp3yzgar9yzmgrefkrlqcsdln72dc9arljpxaaue8w5thxecsncyc79g76p82jcx04fufracrdydvd9p2pxxcqq2fev2d" }], outputs = [{ type = "private", id = "7459779374237983347184823155747031487499963576865774196908999556002209801556field", value = "ciphertext1qyq9nwrm5fzlegwaumw953fkf8uhfpmjm3uxkxe32ln2zc4ej53surcfdn0yn" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzgk9d7v3lfm8e2zjcg4khtfmqrykh34kacdh37l5lyh7lm8sdp3v7yqhs3y34p879ue4h84r8a3sqqy8ar6emfl4avcm3uwwgk30td78ltv8dgg7cz4urkah8pgepmyuv56jz453p7fty3vn5pcsck4fymqvhpgcmrf65940p3x4h7n0942mael283rfguee8zhhnuw9v36da04243w7zxtmjmzm98905hzhrjuqt5rcpuycammny6nmf30cq7czckglj439h7p3u46wy2t4xdl528hawru7kap4rupkgvxvcs906tzcpmxxfa4yrtkl5p89aqk4ffhcvvacy3ttun8k3l8p9ypnnexzx9djvcm5ejjvjmxzrmw08vgv6kf3sr0jmcj7j20w8ytvec2unnr3kaf977sr3pzphdfxhw880h5xnjuvzw5yv9gxnf2nekkvglgpuk0c7s9988pddf39ckwfa2vxv3q266ce3vy9we9hy2v9edu7dh2tydpg0d0n2xx5vj4llcehrcu8hjqxj8qd52zuq0hyvtmh2vwtxc4enp39qnn5gajqnsmnfhyk6n9mx5gpw4ery6k6s6mz399mu95ru6vk70sq0cuf9nzvrxe8gzlq4zgc6rkju2kuuppk7vwmfgp9jdzawk7ph35u8ga3ywkc9v3dvdjy83ypwytqpuw7tjdkajdp28xyuuyz3t08zte0dk4emmx2lufk248fs3zwz5s84dj7ysmp8ukda89x2ucg33482adw3645m7fhv95sq9pymwnm4jqpk5f2alg73m4ck2jn94y7lcj5n0ef6gd36dr9wv53zuhp8wy0gqf9vt9s9x4rc443nuumuk0t39w2uttxj2yg3zqhywqpqhuyrwzlsgyygjlx8yazk7zwflqgc58sx6x4jrzcn74r7xpt294rkyjd3zkswf0l6nq8hj9fay84kqtcy382p8j6gxpw9t5gp564vx8lmjt57vsxe6ulauyrpyn2t7tx3lgv40p8g5qaqjrhzs4j8fsq6rcu8mv9zurm6qhqjanvng6e9kskyl4v5c8qknze70n090wjzzfx8e8j0yskuqeempzqpf6wtslrsmttxkkmxll8svlggks56m9fj8d9e5gf03dwqjv4qm8d3856qyrngruzz7pzagt56rda0wepsrkq9cpg54njf25svqvqqqqqqqqqqpcvp7r7kxwxmjkvujqs5r2chxct8xjnavucpuygjsvd5xn97cwmpk7meuwtu937ty3ls6275rqzdqqqfp24fl6z6va407yhdgfcz56jv47hpck5rf028xtuy7uxs0ru0qn6g0uu6nd88gt8q6g8arf59e3qqqyvsvt7g3u52huqtepkqghgg5prprns2e3dcn5m0sau0c4dz993s36hmzkw6j29587h36mztpn6ca3ldnur8pf0g7tj4293hhyeag8xtjledt5qcje83dsaq997m7l9qsqqqquj8fn", transitions = [{ id = "au1gndhxhdnwatf9qxkx4hyfyy69uf6w004fwzlmty93nhq5em2qsfqygfpky", program = "test.aleo", function = "sum_with_loop", tpk = "2648975399333506891066430487012965830441159294533947089744287387271134408105group", tcm = "4622791303988101841327005652441860772220114266951663803601422301383920316221field", scm = "7410915781437728459378166429703486561569640859133578857905554519607570043435field", inputs = [{ type = "private", id = "772635140311600224499625393792585633609227532332583845718848508798666411485field", value = "ciphertext1qgqw6xer529098zj3rgm2nrg3dj20hv4nq4nd5g5qrwh4v335g07yqyhjdspaz3f70jg9v4d8ygguw8ua3s2eaqjjakfxsgyce7zaq94p5q5hl7t" }], outputs = [{ type = "private", id = "2420554371177431671531694917613942509941429348142036766297981901624867129673field", value = "ciphertext1qyq22jv42rfhtk4vm2gdrscyntg34xxxcpz89azdxurffu9tupmquqcmdutsr" }] }] } }, +] }]] diff --git a/tests/expectations/execution/assert_early_return.out b/tests/expectations/execution/assert_early_return.out index a707659cd1..7d3f5014ac 100644 --- a/tests/expectations/execution/assert_early_return.out +++ b/tests/expectations/execution/assert_early_return.out @@ -1,112 +1,9 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 4385b8b53e4d4eb5db19a127df6fd852718a2459ba96434cfe4a9629b05b8ec9 - type_checked_symbol_table: ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2 - unrolled_symbol_table: ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2 - initial_ast: e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679 - unrolled_ast: e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679 - ssa_ast: f88a870f6a619b2a1366e44c4dbcc0e32d91800ce0b35a0e887613ed4eddde93 - flattened_ast: 5510f15ec8ca2ce3ceeda7e7602762a46501a477d78a9de1bdbbcc49fae5671a - destructured_ast: 8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f - inlined_ast: 8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f - dce_ast: 8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f - bytecode: dcedc1bc91c69a0293e85eaf247f91c31ecdc7da396f8bd029a791b623b27f0b - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au14f2670sc8ctrx6yxh6ul437nldqujkpeuwke2h3v9e4jeqgnmgqsvv6qgg - program: test.aleo - function: main - inputs: - - type: private - id: 1949397954224848824575951368219471374317423483328237061474447511813071331229field - value: ciphertext1qyqvw6l0n2n2hfk6l3s4vhm6fr3q7edyln3amu9mkgkfvr6g6zg6gzseuzhlk - outputs: - - type: private - id: 588623943503757267501820045717084110015013266930773589316823232307129930688field - value: ciphertext1qyq8g5f3dwdpjrv0j8jpzkya05c65w66zypnuf9xutpxsv26q56zqzst43x3z - tpk: 4440143486107103992672711015966996078009453027120325474960931472576699485110group - tcm: 956295719465073094565613190152229406522389368662418205874320011543205263268field - scm: 2303738667493433860273317733707681990458101881183765024674076257655590754869field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyvqt730zv9tjp289fd47x9gcc3xd03jpwl8x59nedg925t7jufap9cn948s3amdwedd66qum2a4yqq8t8fzffpwfmrs5gxef340ps3gymz3ge898gq0uktcvc8twqnkcpyuxxpp0gp2l2yyv226c5a8w4xq06ehgq5tgduazzy7wp583qe6p0lgenkmxd9uvefxsxwync94r6wreu4elmue04yxwdaw346g6jtcqxzye5nev0gns58cpsn4vvsjpkzvyk52kvypq50kypz0thcczxre6xagevwlkh70964cqlszdkjjvpfz7c8ypppmepv48cw54fg0e22yehuyktw7z0wrupcyrs7arv0yvp3hz9sm8ejnl36pmv89q7gv0cpysrfxqdjn546tg89wudqt2uya6qwny0mus2pvxqjzrza8vaqvh77mrsw5cze06jsqzgfk6c72rfq9rqzgrnz30arwlv30yxtpk9l4rrd5dw2lxkll9f8hv992l935uxhyrlpudu785ms8rjpspck9000qzwd46p3f99xkj3adjxl0jxej5ksx9rt00ycs9g5udhgwjzrr4xxtdn2jsjfkf4njuu5x6s4rm7h2q9ywhheyek9d5zzdhde4jj2u53l822gts2dt3rwkpqsg6a8mhenk3hjakj4nxjtwdqpayemp4p5hqq7x5mvj82wmqrq24yz7njzswq76tjx66v93nqfw3n89kvauga6gxlv0yf384pkus80muczzmlcja7rhe0ll92fxkaqr5g9zyj8s7g6z6fn4rg4jjm70h2wl44zc6j538qjsxnpzlp5vm9l77ncvh02esuzrkk02na9h4lynujrqayqh30aqxughwvehwxmjd4gc9qmgl0tgksyvpmevwatklrc8qet0mvqd4neu9skppv5v7jeph2ev5vamrt0usdrxn50l47q0j6fsk8uxf42j22lt2rtz59qj0dvpdsavun0qd64gy66qflc0fnga7pc8ejn6wahz402ctg8xn9vwcwjv05krmw2lezjztzmxzf7f2yn7st88qd2cgts9pu6gckypzq8qagz33mvlkfetznpmnc7zv6lx08vsuj38j7sw6ujdrcntp4u24mghkqtr8hrwvjjyusnlsz432dd7hdyq4erx2m9enl6jtvgdwmah9y4pdq9dudz58n2tqxqvqqqqqqqqqqqx49luc5ltce6nldndf0kr40cj94q2he05pe3mzrqzr80uwtrtsc39css06lq66kntnf405spxf6qqqtrtketcdsmehc48retlk95f3483hyapjlhdg8jjvu7tlny07dvh5p6wv2fsuzcq7vd8tsh47pj0qqqxg9wljy2z6t8mmkpg3kq6n5nerk69qnhda0clhtylj2spmj92gs2ygydtg3cj3mqja3nj8wxa5pqsrxr0u6f2etgcul6luukn5p3kmpxxz6l8twg6ed5c79xuwjpdu8qyqq28alxn - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au10j060xemhs6hp22q5z9f666j9jjyx3ddrp9p0d8pf4kdq5j27sys3zqngj - program: test.aleo - function: main - inputs: - - type: private - id: 8074222261243563712897852261345879392213326355389000002015095766254732085943field - value: ciphertext1qyqphpe0wgwrqph360vc5m6ewu4dv3qq6d890sfddxjrwfjmcgm2jqgw89lgc - outputs: - - type: private - id: 3194122436616881424292291350925952583187555336316524560479373486165793182061field - value: ciphertext1qyq86n235v5ggscdchqvt6k4hms3c8gkh4jzydf283rt622lrl9yzqg5s07wx - tpk: 4152732181525065617351199828917779834060023954124968050606284621055360799826group - tcm: 235738461878268264507244718392472317265018971642030445084183397632412772752field - scm: 4900036025129937911534831193930720357249672696528783301190811935205857609210field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqze9c0ap4lzdsc6dfxaevcnapq8asgl5h82qug87t04vxu5lqrcrzrv9p6wv8y6cxz8hm36clg2espq83637qdhymk6dlysnl37tgranak3pelhvnhxyxjxnx7dj6nhskzuw7y5g7mhwtqvn7pwmn274tusqxps4jhzppt08pmgarhafrxgp0u9xvgpnpgw7ynvzq6w2pmzuxhk5wmndqj9c4hxs728rzy9ea5qyqzdy39k9yus0cm37s57t4algvc2jz9f9dd0funwxl0xere34lctwms67783l2393vsysjtxkf9nkcq2sxgpl9pyjv2egc3678yt9v9zsf4l06hwf0dkgdjkl89auu7fgkdp5pg5se334ynstqunlc2w7eqqp4q655v0xtxxgyepr2t8c0nxa68pteuf72s4ztw76t888kn9ttsqla2ze3frpae6s8mr7zqgqpsqylmnkrzuvjd7e2384fz0u7r9qaul8r48w77t2ss7sgd3t2sx7mntynthyasvmfd9mamy7vl20uyrqxjlr0yw4dhg6nuu2ahqq3hv5kg237hm4fhyqk20z3yrx9l9dk4xtnfglt6ed8u4csnn78nuruwt7qelwnqn7pjkz95fy6nc4j7njm60ta60k8f5xp7qlxgc2554ah6a3tatl7fw4046uqr8gvj7nf2we5pzdn287aqctjuf6k09433s8fkk3k4tnmswxss4j67xdf42yr0zv96qt5umtph8f8dk9g2sec2cu505m02skl0jvmgyqy929qpy39cypnsq46n2h5xw2xdx4r4lxtpejvhlmdjvrxx2amlah65vckgsch8qkqr72yhezepestxreunl8m3lkwhl3hf228x0rwnm9ta2rzxuvfsgt7yjhwuqu73pewjffp8l9h696v0e9sxtqu3kj3jymy2etx4anq2hhxykerag9wgwz385rafg60n52f23q84ckg8j368l4sg0hx8fq99zcg2yl0yv99ntqj2c3kus0jwgrysgwx3jtfxr6rl009nyemhzqyqmzva7cdc87jp4e3hqyswf4hzazngdmzqf08gh462da57jzrcp86e0tr7p3qjzfx94en4g6hhysha0780n84trnqrr40jnuywaaeq24v9n4ynsvdwq8gwq5azm0l9jrhzm6xrvxhcrf9k48puzkhj8qqdqvqqqqqqqqqqqmlue7vd5mfradxfnjf9vztg6rp29ewlp3xc7gx23ack27yrru80qg6a0xgg4ajhn4x37q9jq4mjsyq22hhqmzzweprta6gfezs9s87kxrlw9jeksa9zeqsn2ww7wnhp0520hdlpvu7wep3s7u4lcapswfcqqy0fghkv6lgvlm564lq43kv4xcqzsr0x3lq39ekhas82pleq06q3r9pzzquzyq6akxdqsj24ty74eyzlrjzv5t4e5v0ww43mee39neua3q2s9hvghketljjccmr7mfc2sqqq4f4ut5 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au10gyaju6yr9me6d8l28fwhx65w2zls2t0ccfy3t5pngax55nnq5qqqxrny8 - program: test.aleo - function: main - inputs: - - type: private - id: 88204195335974216418759683303292216043779078355613167945781354727344920385field - value: ciphertext1qyqpvkn6v5kk9tuapl84vqu3jte0f2w7qxuyt73s82kswx76qdz57yqktgrnz - outputs: - - type: private - id: 3914369771983733353164101765555458008753606209615886837893508835416845292078field - value: ciphertext1qyq0nqz7sswcmmh9ass9v2n0cfrghtuzgx7ey3yrqd9uhtkvf6d2qps6rkspa - tpk: 8230740749397616342957301999706650915153644162812370837746638975145956411137group - tcm: 2890782865234133958171457586056509922468321574973631315281975799959033914364field - scm: 5258565730318103630533845951156419665533866493701567935669993589597692371521field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq00r9s5y8p7uz89emtzg9yq4yxmthtftne3lpqf76rvkdeqduujsz0nhf3dzs5c6zwt25feum9whgpqyqh7t8t2d4gc8cetzxx793wlv52rlszsc5yu7gpksrvmzf92vytva6hs0s6l4tlga3zhejm5a3j0qpmhrvy00uzlmepupjspnp8lsehat5jqenq58ww3382569vr0v5svv34c6ke7mtm4zxzt5cm9dqhyqtvc89x463g2q3s57dwfcafhzrv32zg47ddpjq8h07zx8kjdhkldca5s7kg2ye2l99h6mcllsd2vcqsu0hmw4arx908wfcsz757q6djsf8rkvueft90xu3ymuhwfun0td9s2uagr2a5w3cjjhg59nhgx9grv5dlpt4l2ykx779q026ysyvt3er49u336tkqf9vgpndpjkjund66pvlem3jaf20srmved7w6svfszhazjva27e2pc30vnqq0h209jp6lywlg3gvw4pe0tq075qf95dhat63w496rssgxuaewnx2ju5jxq087zlf79efqfnqkkexe06audzf4l8vq5fq89pz9fnc8tqjm4qlfc7akajalayvsv0jjl0fkdkxszq02wkdrpj22y6qpssmszalk9rsj9dpw7jujjgp890ta3fmprman3a60fnkp5yg9x7vt9z29ze2n4gqcg2v0wa9u72u38h3wn76wq36w60z8jkq6meu8ssqaemv7rpfku9qw4720rje2cvganrg5dsl9d6pl6zcp2mqa5e0658dzv0wtu3k7pgc7zr2fm0ffvvd6cgdmwetffazz3q95q22udwmy9y7w57ethudpdy0uvpyg37x2m4n5n6t08s4jw74t64tjymdc8aw9jatze4attqsvv28klkpgtl2t5tuz8h2xus0f9m49v8l9hlrcqvhvngq7cu03qs24l5pqqekjxshxmwuajgek36cphd8my5rspmd262jvrdeytzacgrgdzfre63n8lv8w88twzc50qdtswduszaum2ayz2vtcsmt4zua7qg04uz02d2sx2pk8cujh8rv76xmnaezqqtlgv9f06cjdxgawsqxqflsdrua5hx24kwk8sq7jc3umqwazl6pjvfnspsldj7lu4u29rtpqyuhe2u8z25mxrea53zfc8dh3r2tyw0fnl4x79t6h23vjgw6lxq8qvqqqqqqqqqqqe7nnktqsl2pwhq450csr34wdam6s6qnyd4muldvw627ft2a9xag3dlzef8m52pfnfa5cl5vj982qqqz2jzrzpqmlynw5f3vfftfxlvl36jshw9e0urgrh8wq89h0le0uts5z5ayp86uum6em8ftava4qssqq88edxa6futpjkpgk44k2w6nra32h95y5nxzm4lercytu62gm7wqmt75wv5m980rkxthzsf5lx2jmq3fmcx6s4wfcxm2ha4cu0chs5jhlnx8ds7yjps7dqruxms78zdxsyqqdyg39a - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1f4awhmaxr7jnyg30yx0kel0jhs87gea6d5k3hmfp70589ctsx5psrtjqzq - program: test.aleo - function: main - inputs: - - type: private - id: 7323317284237132550893119862759552667981679660996294970442459803738868835536field - value: ciphertext1qyqyf09p4hhgplcrl9ak0l0tvuwpm3xhwadrwy8nkkwdfepznwgxurqrxc28f - outputs: - - type: private - id: 7091980139100542163680145896215306688586120371908022432045728575736556477745field - value: ciphertext1qyqq9jep8xre5wumn75f4l78a84fayu3ylv8s6eyf6d26rgpwn3jxqcmmzun3 - tpk: 5649977020878585643126558031280442357481139820003268236737358229625320247518group - tcm: 6767517080390288477520368643762123787551306537793319984551369392054028511715field - scm: 7499398132489845850920282484671530605120496245578629492233334116969945395115field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx45zw8k2len0s54z9kcw33y8q9m693eauahvhgglv6cndya2t6m5sutzgy98e44cunkz4z5jeucqpq8v8wa567ej2x4uv2n7z4xaatv02mt97l56hhgsufmeswwafwzj87yzvcedq8zfx7zdle44mvmgtnqzvtluw63xwjsnaxz83fz6jrv3d68e5lgdj7u3wnkey6dxdwcfhpz3m7kx2r2pc0t894jvtvn5ssqqfxzuxhn2g7lre0qk02retrhemqyrvftl46zt96pjfss2jlt9hh02j6wzn7ruk84mp5z86d74uk8uprwn6evzr2dgas387q3ysezxh3q8u395c6fvjkzptgklsej9jzz2am33plny9rs65zjlr7qn3ak3qqg3dxa7nq4wzprk376ehxdxed6wklah2plrx6a6jhgv96x5wjj40639j9c8cdl76ft7t4d2dr0dqq93lt94cach6uwet4maglswlrfghy9cpjkncqwjtgza962uct88v436puqaupaje5u3rmpzuyxm48qxzvsgth3ty86feqqvv0fnjncjz38y5wal5fpj8j4jpfap48z7frpvrp2mqeknv35cnprp55a70w7qx2jzdpvzktu327xadptjw7l9umjrye4qstfulzqwgzk9gttv2fe65tsr006az6x8kudkas459pxqpprgczqcafutpfcc648dvuy4x32g6tdyv8ya22cdxalseltc04s8glzc7sjqm2mclyfu6zx7kywc87hpf67kes4hygmv8gvur5v28uq2yupu9mvmyu3duhnuwlf069ckcsfkv3jqqksldgthc0xa4r7r6qzfasyjkvss320t9gsjew6q7veucqkyv8a7neygjy45lwmk0elzs5tnqapgknrxqvflrjcs3cmvs875csf808d7cdyayzfawsvrmxfcx52rx0p7eymuwydu9tg5xghcxm64ra90570zzn7hcpzl9rfq6dc8gvehfj6gzwmye4qnd5x32md9fueulaeqmrpalkxzq5c2rg3gxkptq8c0x9kexvepgjrj5th8w6e0rlujcasnegxlf8amhn2ah5s99ph3rvura9qsmp797n7fv2qafdgtzmelah67dvtzm4nv2du45yulprnxyqu2rs78s40tvmmx93pkxve7kz6tu4fnf42xnu07xd0r2pdcgqvqqqqqqqqqqpgcfcjfpzs2fur0f80j0scmgpcp5xzsykzmg0n9rkka9cfmth6jq0snmemqd3n54fgvq4ua8qqynsyqq9d9jmhu00d5mra7g6gge56haed592mhvnzh3cc7sxwhawcnm8v327937npykt3rmc7mmtmtj44gqqyws4zquy2z0mfr6pska3fd6ppx83samw49w5amh9tzhzyuhyw6q7y72zq7rt4c0z2v9xzgmu69jaxtqpsg7yhpfj465qtd9z82v3xmfusrrfl4qv6c42gdg407hfcx7qqqq9ukexv - verified: true - status: accepted - errors: "" - warnings: "" - - execution: ~ - verified: false - status: none - errors: "SnarkVMError(Failed to evaluate instruction (assert.eq r2 true ;): 'assert.eq' failed: 'false' is not equal to 'true' (should be equal))" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "4385b8b53e4d4eb5db19a127df6fd852718a2459ba96434cfe4a9629b05b8ec9", type_checked_symbol_table = "ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2", unrolled_symbol_table = "ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2", initial_ast = "e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679", unrolled_ast = "e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679", ssa_ast = "f88a870f6a619b2a1366e44c4dbcc0e32d91800ce0b35a0e887613ed4eddde93", flattened_ast = "5510f15ec8ca2ce3ceeda7e7602762a46501a477d78a9de1bdbbcc49fae5671a", destructured_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", inlined_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", dce_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", bytecode = "dcedc1bc91c69a0293e85eaf247f91c31ecdc7da396f8bd029a791b623b27f0b", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyvqt730zv9tjp289fd47x9gcc3xd03jpwl8x59nedg925t7jufap9cn948s3amdwedd66qum2a4yqq8t8fzffpwfmrs5gxef340ps3gymz3ge898gq0uktcvc8twqnkcpyuxxpp0gp2l2yyv226c5a8w4xq06ehgq5tgduazzy7wp583qe6p0lgenkmxd9uvefxsxwync94r6wreu4elmue04yxwdaw346g6jtcqxzye5nev0gns58cpsn4vvsjpkzvyk52kvypq50kypz0thcczxre6xagevwlkh70964cqlszdkjjvpfz7c8ypppmepv48cw54fg0e22yehuyktw7z0wrupcyrs7arv0yvp3hz9sm8ejnl36pmv89q7gv0cpysrfxqdjn546tg89wudqt2uya6qwny0mus2pvxqjzrza8vaqvh77mrsw5cze06jsqzgfk6c72rfq9rqzgrnz30arwlv30yxtpk9l4rrd5dw2lxkll9f8hv992l935uxhyrlpudu785ms8rjpspck9000qzwd46p3f99xkj3adjxl0jxej5ksx9rt00ycs9g5udhgwjzrr4xxtdn2jsjfkf4njuu5x6s4rm7h2q9ywhheyek9d5zzdhde4jj2u53l822gts2dt3rwkpqsg6a8mhenk3hjakj4nxjtwdqpayemp4p5hqq7x5mvj82wmqrq24yz7njzswq76tjx66v93nqfw3n89kvauga6gxlv0yf384pkus80muczzmlcja7rhe0ll92fxkaqr5g9zyj8s7g6z6fn4rg4jjm70h2wl44zc6j538qjsxnpzlp5vm9l77ncvh02esuzrkk02na9h4lynujrqayqh30aqxughwvehwxmjd4gc9qmgl0tgksyvpmevwatklrc8qet0mvqd4neu9skppv5v7jeph2ev5vamrt0usdrxn50l47q0j6fsk8uxf42j22lt2rtz59qj0dvpdsavun0qd64gy66qflc0fnga7pc8ejn6wahz402ctg8xn9vwcwjv05krmw2lezjztzmxzf7f2yn7st88qd2cgts9pu6gckypzq8qagz33mvlkfetznpmnc7zv6lx08vsuj38j7sw6ujdrcntp4u24mghkqtr8hrwvjjyusnlsz432dd7hdyq4erx2m9enl6jtvgdwmah9y4pdq9dudz58n2tqxqvqqqqqqqqqqqx49luc5ltce6nldndf0kr40cj94q2he05pe3mzrqzr80uwtrtsc39css06lq66kntnf405spxf6qqqtrtketcdsmehc48retlk95f3483hyapjlhdg8jjvu7tlny07dvh5p6wv2fsuzcq7vd8tsh47pj0qqqxg9wljy2z6t8mmkpg3kq6n5nerk69qnhda0clhtylj2spmj92gs2ygydtg3cj3mqja3nj8wxa5pqsrxr0u6f2etgcul6luukn5p3kmpxxz6l8twg6ed5c79xuwjpdu8qyqq28alxn", transitions = [{ id = "au14f2670sc8ctrx6yxh6ul437nldqujkpeuwke2h3v9e4jeqgnmgqsvv6qgg", program = "test.aleo", function = "main", tpk = "4440143486107103992672711015966996078009453027120325474960931472576699485110group", tcm = "956295719465073094565613190152229406522389368662418205874320011543205263268field", scm = "2303738667493433860273317733707681990458101881183765024674076257655590754869field", inputs = [{ type = "private", id = "1949397954224848824575951368219471374317423483328237061474447511813071331229field", value = "ciphertext1qyqvw6l0n2n2hfk6l3s4vhm6fr3q7edyln3amu9mkgkfvr6g6zg6gzseuzhlk" }], outputs = [{ type = "private", id = "588623943503757267501820045717084110015013266930773589316823232307129930688field", value = "ciphertext1qyq8g5f3dwdpjrv0j8jpzkya05c65w66zypnuf9xutpxsv26q56zqzst43x3z" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqze9c0ap4lzdsc6dfxaevcnapq8asgl5h82qug87t04vxu5lqrcrzrv9p6wv8y6cxz8hm36clg2espq83637qdhymk6dlysnl37tgranak3pelhvnhxyxjxnx7dj6nhskzuw7y5g7mhwtqvn7pwmn274tusqxps4jhzppt08pmgarhafrxgp0u9xvgpnpgw7ynvzq6w2pmzuxhk5wmndqj9c4hxs728rzy9ea5qyqzdy39k9yus0cm37s57t4algvc2jz9f9dd0funwxl0xere34lctwms67783l2393vsysjtxkf9nkcq2sxgpl9pyjv2egc3678yt9v9zsf4l06hwf0dkgdjkl89auu7fgkdp5pg5se334ynstqunlc2w7eqqp4q655v0xtxxgyepr2t8c0nxa68pteuf72s4ztw76t888kn9ttsqla2ze3frpae6s8mr7zqgqpsqylmnkrzuvjd7e2384fz0u7r9qaul8r48w77t2ss7sgd3t2sx7mntynthyasvmfd9mamy7vl20uyrqxjlr0yw4dhg6nuu2ahqq3hv5kg237hm4fhyqk20z3yrx9l9dk4xtnfglt6ed8u4csnn78nuruwt7qelwnqn7pjkz95fy6nc4j7njm60ta60k8f5xp7qlxgc2554ah6a3tatl7fw4046uqr8gvj7nf2we5pzdn287aqctjuf6k09433s8fkk3k4tnmswxss4j67xdf42yr0zv96qt5umtph8f8dk9g2sec2cu505m02skl0jvmgyqy929qpy39cypnsq46n2h5xw2xdx4r4lxtpejvhlmdjvrxx2amlah65vckgsch8qkqr72yhezepestxreunl8m3lkwhl3hf228x0rwnm9ta2rzxuvfsgt7yjhwuqu73pewjffp8l9h696v0e9sxtqu3kj3jymy2etx4anq2hhxykerag9wgwz385rafg60n52f23q84ckg8j368l4sg0hx8fq99zcg2yl0yv99ntqj2c3kus0jwgrysgwx3jtfxr6rl009nyemhzqyqmzva7cdc87jp4e3hqyswf4hzazngdmzqf08gh462da57jzrcp86e0tr7p3qjzfx94en4g6hhysha0780n84trnqrr40jnuywaaeq24v9n4ynsvdwq8gwq5azm0l9jrhzm6xrvxhcrf9k48puzkhj8qqdqvqqqqqqqqqqqmlue7vd5mfradxfnjf9vztg6rp29ewlp3xc7gx23ack27yrru80qg6a0xgg4ajhn4x37q9jq4mjsyq22hhqmzzweprta6gfezs9s87kxrlw9jeksa9zeqsn2ww7wnhp0520hdlpvu7wep3s7u4lcapswfcqqy0fghkv6lgvlm564lq43kv4xcqzsr0x3lq39ekhas82pleq06q3r9pzzquzyq6akxdqsj24ty74eyzlrjzv5t4e5v0ww43mee39neua3q2s9hvghketljjccmr7mfc2sqqq4f4ut5", transitions = [{ id = "au10j060xemhs6hp22q5z9f666j9jjyx3ddrp9p0d8pf4kdq5j27sys3zqngj", program = "test.aleo", function = "main", tpk = "4152732181525065617351199828917779834060023954124968050606284621055360799826group", tcm = "235738461878268264507244718392472317265018971642030445084183397632412772752field", scm = "4900036025129937911534831193930720357249672696528783301190811935205857609210field", inputs = [{ type = "private", id = "8074222261243563712897852261345879392213326355389000002015095766254732085943field", value = "ciphertext1qyqphpe0wgwrqph360vc5m6ewu4dv3qq6d890sfddxjrwfjmcgm2jqgw89lgc" }], outputs = [{ type = "private", id = "3194122436616881424292291350925952583187555336316524560479373486165793182061field", value = "ciphertext1qyq86n235v5ggscdchqvt6k4hms3c8gkh4jzydf283rt622lrl9yzqg5s07wx" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq00r9s5y8p7uz89emtzg9yq4yxmthtftne3lpqf76rvkdeqduujsz0nhf3dzs5c6zwt25feum9whgpqyqh7t8t2d4gc8cetzxx793wlv52rlszsc5yu7gpksrvmzf92vytva6hs0s6l4tlga3zhejm5a3j0qpmhrvy00uzlmepupjspnp8lsehat5jqenq58ww3382569vr0v5svv34c6ke7mtm4zxzt5cm9dqhyqtvc89x463g2q3s57dwfcafhzrv32zg47ddpjq8h07zx8kjdhkldca5s7kg2ye2l99h6mcllsd2vcqsu0hmw4arx908wfcsz757q6djsf8rkvueft90xu3ymuhwfun0td9s2uagr2a5w3cjjhg59nhgx9grv5dlpt4l2ykx779q026ysyvt3er49u336tkqf9vgpndpjkjund66pvlem3jaf20srmved7w6svfszhazjva27e2pc30vnqq0h209jp6lywlg3gvw4pe0tq075qf95dhat63w496rssgxuaewnx2ju5jxq087zlf79efqfnqkkexe06audzf4l8vq5fq89pz9fnc8tqjm4qlfc7akajalayvsv0jjl0fkdkxszq02wkdrpj22y6qpssmszalk9rsj9dpw7jujjgp890ta3fmprman3a60fnkp5yg9x7vt9z29ze2n4gqcg2v0wa9u72u38h3wn76wq36w60z8jkq6meu8ssqaemv7rpfku9qw4720rje2cvganrg5dsl9d6pl6zcp2mqa5e0658dzv0wtu3k7pgc7zr2fm0ffvvd6cgdmwetffazz3q95q22udwmy9y7w57ethudpdy0uvpyg37x2m4n5n6t08s4jw74t64tjymdc8aw9jatze4attqsvv28klkpgtl2t5tuz8h2xus0f9m49v8l9hlrcqvhvngq7cu03qs24l5pqqekjxshxmwuajgek36cphd8my5rspmd262jvrdeytzacgrgdzfre63n8lv8w88twzc50qdtswduszaum2ayz2vtcsmt4zua7qg04uz02d2sx2pk8cujh8rv76xmnaezqqtlgv9f06cjdxgawsqxqflsdrua5hx24kwk8sq7jc3umqwazl6pjvfnspsldj7lu4u29rtpqyuhe2u8z25mxrea53zfc8dh3r2tyw0fnl4x79t6h23vjgw6lxq8qvqqqqqqqqqqqe7nnktqsl2pwhq450csr34wdam6s6qnyd4muldvw627ft2a9xag3dlzef8m52pfnfa5cl5vj982qqqz2jzrzpqmlynw5f3vfftfxlvl36jshw9e0urgrh8wq89h0le0uts5z5ayp86uum6em8ftava4qssqq88edxa6futpjkpgk44k2w6nra32h95y5nxzm4lercytu62gm7wqmt75wv5m980rkxthzsf5lx2jmq3fmcx6s4wfcxm2ha4cu0chs5jhlnx8ds7yjps7dqruxms78zdxsyqqdyg39a", transitions = [{ id = "au10gyaju6yr9me6d8l28fwhx65w2zls2t0ccfy3t5pngax55nnq5qqqxrny8", program = "test.aleo", function = "main", tpk = "8230740749397616342957301999706650915153644162812370837746638975145956411137group", tcm = "2890782865234133958171457586056509922468321574973631315281975799959033914364field", scm = "5258565730318103630533845951156419665533866493701567935669993589597692371521field", inputs = [{ type = "private", id = "88204195335974216418759683303292216043779078355613167945781354727344920385field", value = "ciphertext1qyqpvkn6v5kk9tuapl84vqu3jte0f2w7qxuyt73s82kswx76qdz57yqktgrnz" }], outputs = [{ type = "private", id = "3914369771983733353164101765555458008753606209615886837893508835416845292078field", value = "ciphertext1qyq0nqz7sswcmmh9ass9v2n0cfrghtuzgx7ey3yrqd9uhtkvf6d2qps6rkspa" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx45zw8k2len0s54z9kcw33y8q9m693eauahvhgglv6cndya2t6m5sutzgy98e44cunkz4z5jeucqpq8v8wa567ej2x4uv2n7z4xaatv02mt97l56hhgsufmeswwafwzj87yzvcedq8zfx7zdle44mvmgtnqzvtluw63xwjsnaxz83fz6jrv3d68e5lgdj7u3wnkey6dxdwcfhpz3m7kx2r2pc0t894jvtvn5ssqqfxzuxhn2g7lre0qk02retrhemqyrvftl46zt96pjfss2jlt9hh02j6wzn7ruk84mp5z86d74uk8uprwn6evzr2dgas387q3ysezxh3q8u395c6fvjkzptgklsej9jzz2am33plny9rs65zjlr7qn3ak3qqg3dxa7nq4wzprk376ehxdxed6wklah2plrx6a6jhgv96x5wjj40639j9c8cdl76ft7t4d2dr0dqq93lt94cach6uwet4maglswlrfghy9cpjkncqwjtgza962uct88v436puqaupaje5u3rmpzuyxm48qxzvsgth3ty86feqqvv0fnjncjz38y5wal5fpj8j4jpfap48z7frpvrp2mqeknv35cnprp55a70w7qx2jzdpvzktu327xadptjw7l9umjrye4qstfulzqwgzk9gttv2fe65tsr006az6x8kudkas459pxqpprgczqcafutpfcc648dvuy4x32g6tdyv8ya22cdxalseltc04s8glzc7sjqm2mclyfu6zx7kywc87hpf67kes4hygmv8gvur5v28uq2yupu9mvmyu3duhnuwlf069ckcsfkv3jqqksldgthc0xa4r7r6qzfasyjkvss320t9gsjew6q7veucqkyv8a7neygjy45lwmk0elzs5tnqapgknrxqvflrjcs3cmvs875csf808d7cdyayzfawsvrmxfcx52rx0p7eymuwydu9tg5xghcxm64ra90570zzn7hcpzl9rfq6dc8gvehfj6gzwmye4qnd5x32md9fueulaeqmrpalkxzq5c2rg3gxkptq8c0x9kexvepgjrj5th8w6e0rlujcasnegxlf8amhn2ah5s99ph3rvura9qsmp797n7fv2qafdgtzmelah67dvtzm4nv2du45yulprnxyqu2rs78s40tvmmx93pkxve7kz6tu4fnf42xnu07xd0r2pdcgqvqqqqqqqqqqpgcfcjfpzs2fur0f80j0scmgpcp5xzsykzmg0n9rkka9cfmth6jq0snmemqd3n54fgvq4ua8qqynsyqq9d9jmhu00d5mra7g6gge56haed592mhvnzh3cc7sxwhawcnm8v327937npykt3rmc7mmtmtj44gqqyws4zquy2z0mfr6pska3fd6ppx83samw49w5amh9tzhzyuhyw6q7y72zq7rt4c0z2v9xzgmu69jaxtqpsg7yhpfj465qtd9z82v3xmfusrrfl4qv6c42gdg407hfcx7qqqq9ukexv", transitions = [{ id = "au1f4awhmaxr7jnyg30yx0kel0jhs87gea6d5k3hmfp70589ctsx5psrtjqzq", program = "test.aleo", function = "main", tpk = "5649977020878585643126558031280442357481139820003268236737358229625320247518group", tcm = "6767517080390288477520368643762123787551306537793319984551369392054028511715field", scm = "7499398132489845850920282484671530605120496245578629492233334116969945395115field", inputs = [{ type = "private", id = "7323317284237132550893119862759552667981679660996294970442459803738868835536field", value = "ciphertext1qyqyf09p4hhgplcrl9ak0l0tvuwpm3xhwadrwy8nkkwdfepznwgxurqrxc28f" }], outputs = [{ type = "private", id = "7091980139100542163680145896215306688586120371908022432045728575736556477745field", value = "ciphertext1qyqq9jep8xre5wumn75f4l78a84fayu3ylv8s6eyf6d26rgpwn3jxqcmmzun3" }] }] } }, + { verified = false, status = "none", errors = "SnarkVMError(Failed to evaluate instruction (assert.eq r2 true ;): 'assert.eq' failed: 'false' is not equal to 'true' (should be equal))", warnings = "" }, +] }]] diff --git a/tests/expectations/execution/cast_coersion.out b/tests/expectations/execution/cast_coersion.out index 3379deda44..d8ff8964d0 100644 --- a/tests/expectations/execution/cast_coersion.out +++ b/tests/expectations/execution/cast_coersion.out @@ -1,143 +1,36 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 736ef33d4ea34eb43862ee271decb4587901ab41e91e4f8e41b8f99d1f8b557c - type_checked_symbol_table: 1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719 - unrolled_symbol_table: 1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719 - initial_ast: 409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961 - unrolled_ast: 409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961 - ssa_ast: 7f12fbc88f56e33590cbb790827e4ec6a04fa9be41e6c1f2bf48515e430d9dc5 - flattened_ast: 8e2378df83a8f59228993ec32ae9fbe19318052a3ced6b451b6f720ca6171257 - destructured_ast: 8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69 - inlined_ast: 8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69 - dce_ast: 2a0e5585007503ef568572b188bae1212a4839548f624b022aafca1ce8e2cf24 - bytecode: 675912267b82b91bd854fa2ef169b85c74ecaac6b73a157d7e99818e256b53b1 - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au19ru855myk4t0aw9tawe5ftq2kdmm4nuu7d4waynh5emvl5lyu59q40pw0c - program: test.aleo - function: main - inputs: - - type: private - id: 6553328887630693918140800407584311566408184361951185023715750666420867125941field - value: ciphertext1qyqrl26w4vwmsf5p6708na5w3ww6jkq2du0pqjmfz55t5adux5kfjpchujf78 - - type: private - id: 6949753692437523787678502261587020559735106657718800640882220306538353449741field - value: ciphertext1qgqy8wgk3rxhjd7dm26p68w22ympfhjxf35h4vywsg8krwtfp82vxp83uraceaudrnf43xp0xs9z4kdjgj6e83w4zguuthypdqx3ujl9qgzmfqag - - type: private - id: 1214727427729116464376963610276463632948814694985803711273829853923848066244field - value: ciphertext1qgqt66q8g94nzfguf8a045hwhzvll3pd3lhrhu7cj7shc5qdg9cswqe2z4anxj3py6gdndytfu63a7nvl99nfhvfsp47jd2fdnw3t2k9p5lca64f - outputs: - - type: private - id: 1158468234276957997638639590198024948753232602197982720139134009312686486386field - value: ciphertext1qgq9v5rfq9ytg9a4ywgs2h9rqddjfh50j3mhqnm2tmkxvn54k5n4upu4g6qywfcqznhz6yjplkvyj0mdevy9eta7xpnyjkhwdw86ym60pym7sg64 - - type: private - id: 424168938244797254492883128403409702331171776598109706555850191789948365509field - value: ciphertext1qgqyz6zxgvn90nzt3f683c04dms5rwvm7plnk7t8yav5kgsnhkz52q36mvftsjhewmgprekfnck50gyfauqtpcptd76av5hlfkjsurlaqy3kmchy - tpk: 7835567325899127550325463306228588669553911215612671657187814910151824399315group - tcm: 4346953566447634214157280385182045626270093194427104596054934347800656899000field - scm: 976314679729564700856316609545716173163081344239778489091042818470177990760field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyt4zzckxnnhmmnhjkgd89s2rzvj3twtld6sutzyngp2zt806e8ppqeng4ncxrztaqkdunmfqd7e5qqyphrfleuraudqzcyuxf8acjvm2t4ctdd8eqq0rhjrcq9s5hmnzuk977q64mg8lynee7hrf5lm7a2qypanafzdqyhlp92v4y9fp8xw0r9dasz4c0kfs55vgu7fq5cmjdrl7gt0rf7n2a38hnq847jzwqn5qtcpcshsjk2dg2guq457ch69suupz7pjuv8pnu9msq2ycmf4jp4zaklepqg5pg9nw2x90nukyn8qcq80639h742a53eljcwwsakj0cdg7gjcp3unzdcmd82yql46kucd2pa6qg0vjh4fdka6c2s69nh6pgqaypmzhvpjgpxx69r53zqzywj9m038h9g9hahsdcny7p85c40a2r03x2k97d522d4eadv4ez4vz8sxtv9q47ypelecj606k86aakk37axfeycl6ntc33n3x69qcjs3x9frxdhtf0x4vql0gphuhmasl42q0tvw9lmnac6mlmmxn0awl8nd38gz6way833pdv4lrng3znp9yzw32h7j0hg9asmtkv66zkagk3pvqzwzmq5e3yv3vag7gk0j3g86twz6pear8n7cns50xft9m578fueq483dnwm4k2t0hnlld62mk5udcqyq6xat893r73vh3hqv583lck0lk8524rvm8fdzfy347rxt7yr5zjmwcwtgev05r6tna752xqwy3gxceal39et2pdkafvlzj5yrdewqmjkf29mt4wqwevp8v4wq7qpa2wmp8dfqp6p5w9p67uc300pvrgqa7nwyz57rcfmv9q2c655pap3a2s034l3e24w0usjaqtg2kl4a3sxmk6scruwlpetes8aqgqsstk6cqhhxqun0dat7nacynvm0836sc9046xtl2srhkm8g07tu4uaeungljgqz3kzlf5d382llmedvya2c9jpe5vl7u825d70qe4ntawxm7p7xcprlauh2xnhpzvtj9uwjz26zasafxehjr6hz92847w7938edzdqf95yn6lrte6f3mur58rmehrptws8u4typ5wnl202uel2qz820xg5ju2jtuad0pzue6r6h8fw62syl5ksncn4tpe0nt4y8jtz5tlaakzvalcen4dn2f29y33d70htdq0qvqqqqqqqqqqppyuhyzdzsczx2slcgjtlau0gkpnuzmcdvmq2y69e28h9k0fehrjc8m8y49rksysscaaxnav4qpnqqqp35klxztq9p9sw82cmqn9vcdrk20m33fdq52y9hqm4pgfgvw7emxj520wfjhyhnlpru7lts8u9rvpqy0dgv62fj7lcmc4mey05e5wekfrhk8frqejq8mnffyd2wt3esds3rej37cc08wzpmyzzcuvy2hmc370czsx3z6gks08lu805x0m0ruzcn40f3lzxjf8h8gtedsmcppzsqqq09wlp9 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1zravwq85q8edgcae5jfx9hw5fku05wxdj0s6msqelp3nxjh0dg8szznhfw - program: test.aleo - function: main - inputs: - - type: private - id: 8331661753625036802798098957794113888234452877148011075817817035287442629758field - value: ciphertext1qyqgg8qtuvex8tl5a5xz5hn26urdgx0ky345vca0naufkzkxzw245rqagwuv9 - - type: private - id: 2711620713892147476059315869483528300360558955262250627891606555742862788387field - value: ciphertext1qgqw5lunvuc22jv933zqjxn29hd0lndvdsp00aw3qxn7xp2wsgm47qmxhqzqh9yx6mqqa7ddtevkg58u0ne0rxkzluyt7yqsfzpkmh2cpu4cldtg - - type: private - id: 5525611894448192576353726757025887316852925114149121707546082572016208518222field - value: ciphertext1qgqpjchnlwaekpm0dhd8g0zc9huqwcr52c3jkvz4zhnat68nrjktqq2jpqn5vm4ufcceljahw8nzzm52rczf2rtr39p8qf2zhfsd4kv4zgca8a9p - outputs: - - type: private - id: 7083188501591132325369503299136232074980059063115409041084713864682557808538field - value: ciphertext1qgqrg5j0re35l8gwz2mqpl2f8rqzw8hhfpzrs55tckpfu0glmae05z2ed5r7uz50uh0uhhtnyl6nx2gyvuuu62s59tf30g97nj9u25h3pqk8qhd2 - - type: private - id: 2932450785050954496775057029365457322080219834177513452660759939350010087236field - value: ciphertext1qgqvfsfnmmpkl5wg99ryq052wtvljt4zms6hu236x3w05ecg3j94qrf5a80tvymqlzwqhwmj06ngt9zx402f8a77v9x8rk99pht92347qge0ggw4 - tpk: 6904969259225128751995976548992869286903312087922998632983110930201370009484group - tcm: 1887301650610134708252289372252548020774617682790454757735490012823528293268field - scm: 3370159836456331654922196424392966409340715478105148393215190674557013391093field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqg4ujf35yxtls8x8rd6hsx63qz2xt8pqlpqka6ca648vc3n9vpsan4h7qvmd8hqzrdudfdlppfrtgpq80wp8r0gewsnlpjwzwe83ahrmgf0t6rzjja34wk7m7e8fm5syk9csrlrhyrd6kp6kqpfrzgywg35q2th3avxlaa7tpwvc8v6t8lyxqgwgs035cf7k53x72ac5k37pd3k6zctww9nrkrf346j5vp4awesqqwhvdz7z9vukt7kprmsp84tkyr460jxlhfm8qvphvg9cl4lwqtv3vvzkrel607q9cs4tl9nd3yrfyp8y043aycgyqv5n7gwmjrfg9z4pcx67p9y8h6dc8e2gxjepdjmpt8xmc070d5x5tv0l2pdjn8k3xcpnh24s3fkmc09ucn58rtr8ncz540g256sx0wknvddwz8cnqv2gprkkdpd2gd9aghcs6yly4htff0q9h0ffjmwacpxsa84vd0ysjhpwyru77mvrshrcpcxv8ly7qcx4sjgt0mw4mh0atkwyudd0wy7eqrkq9gplku9lsrw3npcdk5v9dljc00eftr5cfujx3hf8fpzdud3fc62djje292n2wg4dskgmzsrlgm5vq26das53jfkfafw60kt5pz6qu0v9x3cdc0cc9kle25g5cmdjq70wsmtfp8lhdeavpykmfhmcnm2kqqxuvw676s07e7hghrfqlkqrf6rcrayrj963duyvnrayku5xzjjgyunjpr635fhpwggv8rgayrtcr977fn9mhaugfy0eneyz6jj34m5qjcc4dhedkvfaw5xqpxlsu4gmdl2r2c46h96z8j2ffnveyn639yzr4y3ct8kurjgmu6qatxd3ahwgymg8qf0phmtyzwj3lpxcq3cz5qljww9rawfqtzsaheytmp0373fvj8nx009jk5406zl44sn50jkhgghyau4xg0qeykhsuu3u0resfem397rn82fj7g9u955nuwh98tlqglag343sqj9zketpsnjt4fn546pxcrv95mpxzq7pmdxfv0hkvcgq4vqghurjv0cz2etephs2wr8l9fgx0jl53aykd7hxknrluupjm5pw77c5m94e30fwl8nklargdqe64edadc8h2t6lhwj9quue6e7w6pq80nvxuv2y7z56pmdj7j6eczxf372pw2k2qhf09jt73kzezm4fspqvqqqqqqqqqqpra3p6a2vlsvq79cfhnuaqpv6yyuyw9232va7p90rz4rkkyn6huapxsfz8v2qxlvneg8gpm5eyz0sqqx0lmyqljxse6rnmupfhw33mk53902lke8ql2s8xfjk6pg7ly6ru5w3h9375jyhlajflgthnrm2zvpqytcvcfcu7e4gzxck2qgqlet9zzh7dln6l22aa7d6tqw6xafs993pdc5rt0wgaj4swyhs655q9qldv65kfzt5phvd2hw0ntypyt3hptt986nj9r37y3f3c3jc4kj706tqyqqkltm38 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au173ptpu4aacwgjl4c7c8ef6qhnk90s5q7u5mpzvz23lgn7repzurq43rfyc - program: test.aleo - function: main - inputs: - - type: private - id: 5242499486841724237726735825363081820450026351600084451285105948078875777068field - value: ciphertext1qyqwrsv9j4ru56pw7k58f7etqzlc3aq87733kxq7kav232vtcyrngrqppx8xz - - type: private - id: 8414125018357550941456778466766305642461594255611769517475173815274672594119field - value: ciphertext1qgqf7r6xwdcuum3wwjk8v0cq25prjxx5pm50rgf0k8xc6qp3tf86qqpkl27r5anpalyg2jypaghg2acvg4e8jcg2xcc7xzydcs34aa82zy0mv78f - - type: private - id: 8316581602887258101026797286372854554391315246941997662291503408064825642499field - value: ciphertext1qgqdlfzqrkku66hgnrxt4mtsduxqjvtyev6wupkt29ljjgv5tsdazpqftsmhs7h7y0ye89rprucmt97pft60pwfpur9p7udzap9w3fsmqs3wdrr5 - outputs: - - type: private - id: 5824023868494510098301359969289903311187342638912893607538836795922776200352field - value: ciphertext1qgqwercmv7984ysy63xsns6nhet5yysep8q6cn8mepgpnnrsd4u9jryyn97etkfn8rwx4sdhpep7gjp04dqwcz5qy3kwwwr6clq3z2vuzyljafc5 - - type: private - id: 8036150406243611335873010975808206425021939198607013285447413904400624663280field - value: ciphertext1qgq8r7pyng27ay47s9n00qnuwqcg977uk4fg4ahwcw23kudvj3mejqhqrdtyzthldyeggvq9afhmrwy5d933eytjshj7kd83f8v0ge92zq6ktq0z - tpk: 3205550285575891070032808472747195582292020479325994643587932534011618639071group - tcm: 3870016282418518147903788237693409646398730068974018613481339846450092754687field - scm: 8133316924844649515630644927178650725343118825724140313120682780501504131023field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqrqx6fz47elucudazgry2542gtjsfl7rgeg64wqvu7fns0s9mfj4j2pl5jfdqjcwp87p6ga9emwfspq82tq06zv8vj9fe6jrm483vxgzjspy06w53quxs5e06vj7vcps0kzy3ylnt3z8lq2quj560u7wflsqq3demetvs6ky4xuzszpgpcqd7zhazl6ywjzu0d42820pcqdrd4esunydvr8jph0evz43yfnqxarxqe8el8pv9zrk60xmwul8wgr4mhmegqcrrjtpkvpc9jmcaqfjghwq9k3gme9p4ffy8cc3dfacrus2yqm8zfpde85gzgg2qgpzfzkdlt9lm0gvpqz3vvwe6euy0fcm9p8nq2e88e0hvx65jxvg7wj0euncgqzx3p866jzx2ymz7g50rj2jqd90haa3xcm0yrm5qsp27upuev5qjjn0r29aaw68s9m3yzv368w05fq8tl5r3hyqzvx88fec0xfh2yashmw5efanc6l6kz4scjj7sus8n9j8xkpkq3wcwx9ap5xezea33rrqrjw0y457wf89jfr5xhq0eqdclt9g4wr65xrynf3a5tyc58axfqrug39shwg0ty0mz89tq00madw2qqxjx738dg6jh8h5agsdjdywgntskr9u5ff0klwdhmkvnfanhn6aglmdjrjuh95r4qhpw4u5qps7yqaxlmts2tpp7wrle0nuexym5s9wyh5cm4azvqq6wjrz2phtzcgsx8fatxg5a3cv5vs0stnskv5stgtjsur5q5ucvajy5ae5nt6u44jrrjq33rn0yqntp34rmzr2wynv93x85a8a9j3pvrdj8edvj454x5q3gzq2eml07k9s6ljx9td46ffj9rltjuj6dywdd02z8aymkky08sn8ksju5wplrn09rfc368pgl004kr8eymzct45y6yrh9l5wuwcxgvnhkdrvpxydm2ce0chfrgqatgk7049dxtpvqjqy8498s4y8ddtqyxh8x9lt73p24juzh5vzfmw44gud3kau5tyuze8nk7yzeqxfjlcr74x67xt9uqf65p5r8lp7p0pv3m96605kt3f5wtnrfguucnw80uzxl8uu0tejnakkukmg53ww7t9qvlmykaw39mmxlvgh56tgcq5sysa05pwlekjgkuj0sax40u2pegsyqv37nt6ffvf0p9ketzvxwf8ecsqvqqqqqqqqqqql6n2m5hgzpy7my4azqt36yahv405ecez5y4caz8qk2a2hd09r2r47qevcs8mq6y3h8a5f9gh52nqqqr9d5q3kttwek5vnajqhmk4g943tryk3wgtykkrt8mxzw8gdznjw8x2seqpmtk0xq76hm8dtgmz7ypqx7df67p8r8v5kk2tfz2zkkungyxvra2gzzr4w3ydvt4j8kkaeuqg6nw7vjt2f760jkhezpw8rs6z5lzmqgpk7gs0y2wrjch4sp08k4r7tyus7vjgfpg9ct2klhxm7z2sqqq6g6lzs - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1sp0nen3rrf8jx4lry5gnzk6034as74n7ds02xkq67lpwyzmndsxq9kazp8 - program: test.aleo - function: main - inputs: - - type: private - id: 3197654870584482782837157194944092743060259995527844316552972255273037877937field - value: ciphertext1qyqqc4y6dthmhq2l63dv5lkwlvkmfmthm6e5eq6nttg92zvzff3v2zcxtzq2w - - type: private - id: 2727242174241685688906012248931817509862018204915391807786846090210361869967field - value: ciphertext1qgqguy3c0cnlnk2q08lxw23gpc4uz8nke8apjsqpp0vd63tzttajuzs73kkcp2wrspn7zhlxgxerg2hsn4tr8jxr0aczya5qhhzjw5x9pyq44vxe - - type: private - id: 4221876545031031715015297943869080833192059428480733581025141578508449673586field - value: ciphertext1qgq9x8lcacd5l8ged6a0d58r8ph2atddrhj2l7ndmn8mf9y8n4e62p0pdh5ntmf4pv8hp56rtmt9fyathy2wq6u0j67cy7l5dz0rclkzqg9nghv6 - outputs: - - type: private - id: 2017363015995314678925483868016794912595805447449725594922087374883749093891field - value: ciphertext1qgqgksf44wttwkflhxfylwcyfg75prguzlscqfcldpe7g3xsettfwq3s97kjq9djth4p4mtw7s9qsxmh9su04d2j7h0e9y94j69t5xz9pc4lzma2 - - type: private - id: 6952525740571196239130357739773183730836118040996908014607053759167064256150field - value: ciphertext1qgqqdxf6nmuqz87kq8suyeu54lcru4yeh9q8df5sl5wgjrmm35heuyka0w3gsnyep56nhw2cp5yz83ql6xskz3ajkemyewqyhw2e80dfpcemk805 - tpk: 2330174339641019178596709711113649684330962392101523382945848171060681995026group - tcm: 2403944181008841442155621856307134069395166682533460116610802889300132877112field - scm: 2249039871616762599181984711741115949968238960947022010882429555323596668538field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyehjnvctkl8anaxu3angqjwyczfkemf77cuykg4zmx3xdhyffa6nfza935hmn33z9lphvzsyt7mqqqxfqefc7yzay3ngz9m2nzc9ch5vs7djsf70tvjfln3qyfjkpqv4d8gh7e5aus5cphxclgqzx96aylqwvfpmdsyhsw3r6vqn3dmjqpfe705z07ngrxz2xahc57c0jmd3f6xswpukznmtr2styt22nrxeah6qd7phrwcescrdhf54slsvd702yvkjeefmjt8j0hy84dcme6n9j4vamfc5f8ydy7hlf2w2m5y48uhcq64p0l7rfxvfa4ycfy6es7pe7v0kaug25egp89ufpz95d4k5l06qr9xxl8yepd2thqnevvvmc047szdtc8mk3kpsr02a3uaev38w2nkt4l28fwwyqdfavmdxm5m4w6dmxncshjq9qprxcnu8j44a68tuxq8v5q9ej2hsgy00jd043zy467mys60uh4jxwcpf2fae6gael53rhrgxhhn3qgvl0mngemgrsvcm65qgywejqxgexyqsmve85fjhq9jgr76uecctqkfjrdwwfldl4g26g3mrs77uwashtm5a6j3ew60f48kqvksxwsew3swahjgrhlmy6usrfsnxka94s7l2ctmwl0nfjf4zfz42mdny80va0ghjpc7gj6cpsnmsq0kg6tpewc6dn7anaw3q4nlwrnnadyze32k30d64luru97dzjzyfquk9aqvu2wa7ej8yqr4ect83j4g0lp0vsw0m4843cs5wwu0lacz6ad8hflstg3h4q54lhpqh0glv955psrn6vh34qpxwpn6zq5atkqzg7uh38zwk3ymag590lkj3eadcdtpg27gmffjzjptppzgp4dj9syd9sdu7d6hzcarjkpld70tey8jent4wyy9nfwy96fykac3h5a3sw43zv9xq8acdmsz62sfgeyfprlx3lsu7vpcn7q9eqth9zuwrq2yqjla82xlr6zvceu72gagx9s5alrzxuz9ga6mejkzh9tvnhhaer7zjpmpm23pq2p23ke84l3snm9nnswsu4yqv88fpkkr4a8gckgz8lpd2vvucynx98sawprvnp8tzpmuqj7qr2g9mw8th3ugu440gcq6fsc94hr8ajt48kmnf27yvswf7tfjj6m85z8k2e2udd6rp9pdxnp5cxqvqqqqqqqqqqp8re7dvecda624y8hm3745ha3jucas7e4806x5wsejyhahkppc7hhqjdtxu04qaaaw0vrujce4jfsqqxjmsjr9wxtv6nhvelrzs7adaj3j0egna5j6dehqraurx27eljcv964c3septrmpm976hv2egg08qpqxyqqmmgmhutfhhl3wlyp8d0y9w885v7lcwkk74czz933ncx642sm7szg5adt7c76arl75gdrprks4g9f08rug9hf23wgrppqwhva7fmgr2ddrd0g8rf4nwrtsytr6ghsqqq6ye95e - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "736ef33d4ea34eb43862ee271decb4587901ab41e91e4f8e41b8f99d1f8b557c", type_checked_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", unrolled_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", initial_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", unrolled_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", ssa_ast = "7f12fbc88f56e33590cbb790827e4ec6a04fa9be41e6c1f2bf48515e430d9dc5", flattened_ast = "8e2378df83a8f59228993ec32ae9fbe19318052a3ced6b451b6f720ca6171257", destructured_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", inlined_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", dce_ast = "2a0e5585007503ef568572b188bae1212a4839548f624b022aafca1ce8e2cf24", bytecode = "675912267b82b91bd854fa2ef169b85c74ecaac6b73a157d7e99818e256b53b1", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyt4zzckxnnhmmnhjkgd89s2rzvj3twtld6sutzyngp2zt806e8ppqeng4ncxrztaqkdunmfqd7e5qqyphrfleuraudqzcyuxf8acjvm2t4ctdd8eqq0rhjrcq9s5hmnzuk977q64mg8lynee7hrf5lm7a2qypanafzdqyhlp92v4y9fp8xw0r9dasz4c0kfs55vgu7fq5cmjdrl7gt0rf7n2a38hnq847jzwqn5qtcpcshsjk2dg2guq457ch69suupz7pjuv8pnu9msq2ycmf4jp4zaklepqg5pg9nw2x90nukyn8qcq80639h742a53eljcwwsakj0cdg7gjcp3unzdcmd82yql46kucd2pa6qg0vjh4fdka6c2s69nh6pgqaypmzhvpjgpxx69r53zqzywj9m038h9g9hahsdcny7p85c40a2r03x2k97d522d4eadv4ez4vz8sxtv9q47ypelecj606k86aakk37axfeycl6ntc33n3x69qcjs3x9frxdhtf0x4vql0gphuhmasl42q0tvw9lmnac6mlmmxn0awl8nd38gz6way833pdv4lrng3znp9yzw32h7j0hg9asmtkv66zkagk3pvqzwzmq5e3yv3vag7gk0j3g86twz6pear8n7cns50xft9m578fueq483dnwm4k2t0hnlld62mk5udcqyq6xat893r73vh3hqv583lck0lk8524rvm8fdzfy347rxt7yr5zjmwcwtgev05r6tna752xqwy3gxceal39et2pdkafvlzj5yrdewqmjkf29mt4wqwevp8v4wq7qpa2wmp8dfqp6p5w9p67uc300pvrgqa7nwyz57rcfmv9q2c655pap3a2s034l3e24w0usjaqtg2kl4a3sxmk6scruwlpetes8aqgqsstk6cqhhxqun0dat7nacynvm0836sc9046xtl2srhkm8g07tu4uaeungljgqz3kzlf5d382llmedvya2c9jpe5vl7u825d70qe4ntawxm7p7xcprlauh2xnhpzvtj9uwjz26zasafxehjr6hz92847w7938edzdqf95yn6lrte6f3mur58rmehrptws8u4typ5wnl202uel2qz820xg5ju2jtuad0pzue6r6h8fw62syl5ksncn4tpe0nt4y8jtz5tlaakzvalcen4dn2f29y33d70htdq0qvqqqqqqqqqqppyuhyzdzsczx2slcgjtlau0gkpnuzmcdvmq2y69e28h9k0fehrjc8m8y49rksysscaaxnav4qpnqqqp35klxztq9p9sw82cmqn9vcdrk20m33fdq52y9hqm4pgfgvw7emxj520wfjhyhnlpru7lts8u9rvpqy0dgv62fj7lcmc4mey05e5wekfrhk8frqejq8mnffyd2wt3esds3rej37cc08wzpmyzzcuvy2hmc370czsx3z6gks08lu805x0m0ruzcn40f3lzxjf8h8gtedsmcppzsqqq09wlp9", transitions = [{ id = "au19ru855myk4t0aw9tawe5ftq2kdmm4nuu7d4waynh5emvl5lyu59q40pw0c", program = "test.aleo", function = "main", tpk = "7835567325899127550325463306228588669553911215612671657187814910151824399315group", tcm = "4346953566447634214157280385182045626270093194427104596054934347800656899000field", scm = "976314679729564700856316609545716173163081344239778489091042818470177990760field", inputs = [ + { type = "private", id = "6553328887630693918140800407584311566408184361951185023715750666420867125941field", value = "ciphertext1qyqrl26w4vwmsf5p6708na5w3ww6jkq2du0pqjmfz55t5adux5kfjpchujf78" }, + { type = "private", id = "6949753692437523787678502261587020559735106657718800640882220306538353449741field", value = "ciphertext1qgqy8wgk3rxhjd7dm26p68w22ympfhjxf35h4vywsg8krwtfp82vxp83uraceaudrnf43xp0xs9z4kdjgj6e83w4zguuthypdqx3ujl9qgzmfqag" }, + { type = "private", id = "1214727427729116464376963610276463632948814694985803711273829853923848066244field", value = "ciphertext1qgqt66q8g94nzfguf8a045hwhzvll3pd3lhrhu7cj7shc5qdg9cswqe2z4anxj3py6gdndytfu63a7nvl99nfhvfsp47jd2fdnw3t2k9p5lca64f" }, +], outputs = [ + { type = "private", id = "1158468234276957997638639590198024948753232602197982720139134009312686486386field", value = "ciphertext1qgq9v5rfq9ytg9a4ywgs2h9rqddjfh50j3mhqnm2tmkxvn54k5n4upu4g6qywfcqznhz6yjplkvyj0mdevy9eta7xpnyjkhwdw86ym60pym7sg64" }, + { type = "private", id = "424168938244797254492883128403409702331171776598109706555850191789948365509field", value = "ciphertext1qgqyz6zxgvn90nzt3f683c04dms5rwvm7plnk7t8yav5kgsnhkz52q36mvftsjhewmgprekfnck50gyfauqtpcptd76av5hlfkjsurlaqy3kmchy" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqg4ujf35yxtls8x8rd6hsx63qz2xt8pqlpqka6ca648vc3n9vpsan4h7qvmd8hqzrdudfdlppfrtgpq80wp8r0gewsnlpjwzwe83ahrmgf0t6rzjja34wk7m7e8fm5syk9csrlrhyrd6kp6kqpfrzgywg35q2th3avxlaa7tpwvc8v6t8lyxqgwgs035cf7k53x72ac5k37pd3k6zctww9nrkrf346j5vp4awesqqwhvdz7z9vukt7kprmsp84tkyr460jxlhfm8qvphvg9cl4lwqtv3vvzkrel607q9cs4tl9nd3yrfyp8y043aycgyqv5n7gwmjrfg9z4pcx67p9y8h6dc8e2gxjepdjmpt8xmc070d5x5tv0l2pdjn8k3xcpnh24s3fkmc09ucn58rtr8ncz540g256sx0wknvddwz8cnqv2gprkkdpd2gd9aghcs6yly4htff0q9h0ffjmwacpxsa84vd0ysjhpwyru77mvrshrcpcxv8ly7qcx4sjgt0mw4mh0atkwyudd0wy7eqrkq9gplku9lsrw3npcdk5v9dljc00eftr5cfujx3hf8fpzdud3fc62djje292n2wg4dskgmzsrlgm5vq26das53jfkfafw60kt5pz6qu0v9x3cdc0cc9kle25g5cmdjq70wsmtfp8lhdeavpykmfhmcnm2kqqxuvw676s07e7hghrfqlkqrf6rcrayrj963duyvnrayku5xzjjgyunjpr635fhpwggv8rgayrtcr977fn9mhaugfy0eneyz6jj34m5qjcc4dhedkvfaw5xqpxlsu4gmdl2r2c46h96z8j2ffnveyn639yzr4y3ct8kurjgmu6qatxd3ahwgymg8qf0phmtyzwj3lpxcq3cz5qljww9rawfqtzsaheytmp0373fvj8nx009jk5406zl44sn50jkhgghyau4xg0qeykhsuu3u0resfem397rn82fj7g9u955nuwh98tlqglag343sqj9zketpsnjt4fn546pxcrv95mpxzq7pmdxfv0hkvcgq4vqghurjv0cz2etephs2wr8l9fgx0jl53aykd7hxknrluupjm5pw77c5m94e30fwl8nklargdqe64edadc8h2t6lhwj9quue6e7w6pq80nvxuv2y7z56pmdj7j6eczxf372pw2k2qhf09jt73kzezm4fspqvqqqqqqqqqqpra3p6a2vlsvq79cfhnuaqpv6yyuyw9232va7p90rz4rkkyn6huapxsfz8v2qxlvneg8gpm5eyz0sqqx0lmyqljxse6rnmupfhw33mk53902lke8ql2s8xfjk6pg7ly6ru5w3h9375jyhlajflgthnrm2zvpqytcvcfcu7e4gzxck2qgqlet9zzh7dln6l22aa7d6tqw6xafs993pdc5rt0wgaj4swyhs655q9qldv65kfzt5phvd2hw0ntypyt3hptt986nj9r37y3f3c3jc4kj706tqyqqkltm38", transitions = [{ id = "au1zravwq85q8edgcae5jfx9hw5fku05wxdj0s6msqelp3nxjh0dg8szznhfw", program = "test.aleo", function = "main", tpk = "6904969259225128751995976548992869286903312087922998632983110930201370009484group", tcm = "1887301650610134708252289372252548020774617682790454757735490012823528293268field", scm = "3370159836456331654922196424392966409340715478105148393215190674557013391093field", inputs = [ + { type = "private", id = "8331661753625036802798098957794113888234452877148011075817817035287442629758field", value = "ciphertext1qyqgg8qtuvex8tl5a5xz5hn26urdgx0ky345vca0naufkzkxzw245rqagwuv9" }, + { type = "private", id = "2711620713892147476059315869483528300360558955262250627891606555742862788387field", value = "ciphertext1qgqw5lunvuc22jv933zqjxn29hd0lndvdsp00aw3qxn7xp2wsgm47qmxhqzqh9yx6mqqa7ddtevkg58u0ne0rxkzluyt7yqsfzpkmh2cpu4cldtg" }, + { type = "private", id = "5525611894448192576353726757025887316852925114149121707546082572016208518222field", value = "ciphertext1qgqpjchnlwaekpm0dhd8g0zc9huqwcr52c3jkvz4zhnat68nrjktqq2jpqn5vm4ufcceljahw8nzzm52rczf2rtr39p8qf2zhfsd4kv4zgca8a9p" }, +], outputs = [ + { type = "private", id = "7083188501591132325369503299136232074980059063115409041084713864682557808538field", value = "ciphertext1qgqrg5j0re35l8gwz2mqpl2f8rqzw8hhfpzrs55tckpfu0glmae05z2ed5r7uz50uh0uhhtnyl6nx2gyvuuu62s59tf30g97nj9u25h3pqk8qhd2" }, + { type = "private", id = "2932450785050954496775057029365457322080219834177513452660759939350010087236field", value = "ciphertext1qgqvfsfnmmpkl5wg99ryq052wtvljt4zms6hu236x3w05ecg3j94qrf5a80tvymqlzwqhwmj06ngt9zx402f8a77v9x8rk99pht92347qge0ggw4" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqrqx6fz47elucudazgry2542gtjsfl7rgeg64wqvu7fns0s9mfj4j2pl5jfdqjcwp87p6ga9emwfspq82tq06zv8vj9fe6jrm483vxgzjspy06w53quxs5e06vj7vcps0kzy3ylnt3z8lq2quj560u7wflsqq3demetvs6ky4xuzszpgpcqd7zhazl6ywjzu0d42820pcqdrd4esunydvr8jph0evz43yfnqxarxqe8el8pv9zrk60xmwul8wgr4mhmegqcrrjtpkvpc9jmcaqfjghwq9k3gme9p4ffy8cc3dfacrus2yqm8zfpde85gzgg2qgpzfzkdlt9lm0gvpqz3vvwe6euy0fcm9p8nq2e88e0hvx65jxvg7wj0euncgqzx3p866jzx2ymz7g50rj2jqd90haa3xcm0yrm5qsp27upuev5qjjn0r29aaw68s9m3yzv368w05fq8tl5r3hyqzvx88fec0xfh2yashmw5efanc6l6kz4scjj7sus8n9j8xkpkq3wcwx9ap5xezea33rrqrjw0y457wf89jfr5xhq0eqdclt9g4wr65xrynf3a5tyc58axfqrug39shwg0ty0mz89tq00madw2qqxjx738dg6jh8h5agsdjdywgntskr9u5ff0klwdhmkvnfanhn6aglmdjrjuh95r4qhpw4u5qps7yqaxlmts2tpp7wrle0nuexym5s9wyh5cm4azvqq6wjrz2phtzcgsx8fatxg5a3cv5vs0stnskv5stgtjsur5q5ucvajy5ae5nt6u44jrrjq33rn0yqntp34rmzr2wynv93x85a8a9j3pvrdj8edvj454x5q3gzq2eml07k9s6ljx9td46ffj9rltjuj6dywdd02z8aymkky08sn8ksju5wplrn09rfc368pgl004kr8eymzct45y6yrh9l5wuwcxgvnhkdrvpxydm2ce0chfrgqatgk7049dxtpvqjqy8498s4y8ddtqyxh8x9lt73p24juzh5vzfmw44gud3kau5tyuze8nk7yzeqxfjlcr74x67xt9uqf65p5r8lp7p0pv3m96605kt3f5wtnrfguucnw80uzxl8uu0tejnakkukmg53ww7t9qvlmykaw39mmxlvgh56tgcq5sysa05pwlekjgkuj0sax40u2pegsyqv37nt6ffvf0p9ketzvxwf8ecsqvqqqqqqqqqqql6n2m5hgzpy7my4azqt36yahv405ecez5y4caz8qk2a2hd09r2r47qevcs8mq6y3h8a5f9gh52nqqqr9d5q3kttwek5vnajqhmk4g943tryk3wgtykkrt8mxzw8gdznjw8x2seqpmtk0xq76hm8dtgmz7ypqx7df67p8r8v5kk2tfz2zkkungyxvra2gzzr4w3ydvt4j8kkaeuqg6nw7vjt2f760jkhezpw8rs6z5lzmqgpk7gs0y2wrjch4sp08k4r7tyus7vjgfpg9ct2klhxm7z2sqqq6g6lzs", transitions = [{ id = "au173ptpu4aacwgjl4c7c8ef6qhnk90s5q7u5mpzvz23lgn7repzurq43rfyc", program = "test.aleo", function = "main", tpk = "3205550285575891070032808472747195582292020479325994643587932534011618639071group", tcm = "3870016282418518147903788237693409646398730068974018613481339846450092754687field", scm = "8133316924844649515630644927178650725343118825724140313120682780501504131023field", inputs = [ + { type = "private", id = "5242499486841724237726735825363081820450026351600084451285105948078875777068field", value = "ciphertext1qyqwrsv9j4ru56pw7k58f7etqzlc3aq87733kxq7kav232vtcyrngrqppx8xz" }, + { type = "private", id = "8414125018357550941456778466766305642461594255611769517475173815274672594119field", value = "ciphertext1qgqf7r6xwdcuum3wwjk8v0cq25prjxx5pm50rgf0k8xc6qp3tf86qqpkl27r5anpalyg2jypaghg2acvg4e8jcg2xcc7xzydcs34aa82zy0mv78f" }, + { type = "private", id = "8316581602887258101026797286372854554391315246941997662291503408064825642499field", value = "ciphertext1qgqdlfzqrkku66hgnrxt4mtsduxqjvtyev6wupkt29ljjgv5tsdazpqftsmhs7h7y0ye89rprucmt97pft60pwfpur9p7udzap9w3fsmqs3wdrr5" }, +], outputs = [ + { type = "private", id = "5824023868494510098301359969289903311187342638912893607538836795922776200352field", value = "ciphertext1qgqwercmv7984ysy63xsns6nhet5yysep8q6cn8mepgpnnrsd4u9jryyn97etkfn8rwx4sdhpep7gjp04dqwcz5qy3kwwwr6clq3z2vuzyljafc5" }, + { type = "private", id = "8036150406243611335873010975808206425021939198607013285447413904400624663280field", value = "ciphertext1qgq8r7pyng27ay47s9n00qnuwqcg977uk4fg4ahwcw23kudvj3mejqhqrdtyzthldyeggvq9afhmrwy5d933eytjshj7kd83f8v0ge92zq6ktq0z" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyehjnvctkl8anaxu3angqjwyczfkemf77cuykg4zmx3xdhyffa6nfza935hmn33z9lphvzsyt7mqqqxfqefc7yzay3ngz9m2nzc9ch5vs7djsf70tvjfln3qyfjkpqv4d8gh7e5aus5cphxclgqzx96aylqwvfpmdsyhsw3r6vqn3dmjqpfe705z07ngrxz2xahc57c0jmd3f6xswpukznmtr2styt22nrxeah6qd7phrwcescrdhf54slsvd702yvkjeefmjt8j0hy84dcme6n9j4vamfc5f8ydy7hlf2w2m5y48uhcq64p0l7rfxvfa4ycfy6es7pe7v0kaug25egp89ufpz95d4k5l06qr9xxl8yepd2thqnevvvmc047szdtc8mk3kpsr02a3uaev38w2nkt4l28fwwyqdfavmdxm5m4w6dmxncshjq9qprxcnu8j44a68tuxq8v5q9ej2hsgy00jd043zy467mys60uh4jxwcpf2fae6gael53rhrgxhhn3qgvl0mngemgrsvcm65qgywejqxgexyqsmve85fjhq9jgr76uecctqkfjrdwwfldl4g26g3mrs77uwashtm5a6j3ew60f48kqvksxwsew3swahjgrhlmy6usrfsnxka94s7l2ctmwl0nfjf4zfz42mdny80va0ghjpc7gj6cpsnmsq0kg6tpewc6dn7anaw3q4nlwrnnadyze32k30d64luru97dzjzyfquk9aqvu2wa7ej8yqr4ect83j4g0lp0vsw0m4843cs5wwu0lacz6ad8hflstg3h4q54lhpqh0glv955psrn6vh34qpxwpn6zq5atkqzg7uh38zwk3ymag590lkj3eadcdtpg27gmffjzjptppzgp4dj9syd9sdu7d6hzcarjkpld70tey8jent4wyy9nfwy96fykac3h5a3sw43zv9xq8acdmsz62sfgeyfprlx3lsu7vpcn7q9eqth9zuwrq2yqjla82xlr6zvceu72gagx9s5alrzxuz9ga6mejkzh9tvnhhaer7zjpmpm23pq2p23ke84l3snm9nnswsu4yqv88fpkkr4a8gckgz8lpd2vvucynx98sawprvnp8tzpmuqj7qr2g9mw8th3ugu440gcq6fsc94hr8ajt48kmnf27yvswf7tfjj6m85z8k2e2udd6rp9pdxnp5cxqvqqqqqqqqqqp8re7dvecda624y8hm3745ha3jucas7e4806x5wsejyhahkppc7hhqjdtxu04qaaaw0vrujce4jfsqqxjmsjr9wxtv6nhvelrzs7adaj3j0egna5j6dehqraurx27eljcv964c3septrmpm976hv2egg08qpqxyqqmmgmhutfhhl3wlyp8d0y9w885v7lcwkk74czz933ncx642sm7szg5adt7c76arl75gdrprks4g9f08rug9hf23wgrppqwhva7fmgr2ddrd0g8rf4nwrtsytr6ghsqqq6ye95e", transitions = [{ id = "au1sp0nen3rrf8jx4lry5gnzk6034as74n7ds02xkq67lpwyzmndsxq9kazp8", program = "test.aleo", function = "main", tpk = "2330174339641019178596709711113649684330962392101523382945848171060681995026group", tcm = "2403944181008841442155621856307134069395166682533460116610802889300132877112field", scm = "2249039871616762599181984711741115949968238960947022010882429555323596668538field", inputs = [ + { type = "private", id = "3197654870584482782837157194944092743060259995527844316552972255273037877937field", value = "ciphertext1qyqqc4y6dthmhq2l63dv5lkwlvkmfmthm6e5eq6nttg92zvzff3v2zcxtzq2w" }, + { type = "private", id = "2727242174241685688906012248931817509862018204915391807786846090210361869967field", value = "ciphertext1qgqguy3c0cnlnk2q08lxw23gpc4uz8nke8apjsqpp0vd63tzttajuzs73kkcp2wrspn7zhlxgxerg2hsn4tr8jxr0aczya5qhhzjw5x9pyq44vxe" }, + { type = "private", id = "4221876545031031715015297943869080833192059428480733581025141578508449673586field", value = "ciphertext1qgq9x8lcacd5l8ged6a0d58r8ph2atddrhj2l7ndmn8mf9y8n4e62p0pdh5ntmf4pv8hp56rtmt9fyathy2wq6u0j67cy7l5dz0rclkzqg9nghv6" }, +], outputs = [ + { type = "private", id = "2017363015995314678925483868016794912595805447449725594922087374883749093891field", value = "ciphertext1qgqgksf44wttwkflhxfylwcyfg75prguzlscqfcldpe7g3xsettfwq3s97kjq9djth4p4mtw7s9qsxmh9su04d2j7h0e9y94j69t5xz9pc4lzma2" }, + { type = "private", id = "6952525740571196239130357739773183730836118040996908014607053759167064256150field", value = "ciphertext1qgqqdxf6nmuqz87kq8suyeu54lcru4yeh9q8df5sl5wgjrmm35heuyka0w3gsnyep56nhw2cp5yz83ql6xskz3ajkemyewqyhw2e80dfpcemk805" }, +] }] } }, +] }]] diff --git a/tests/expectations/execution/chain.out b/tests/expectations/execution/chain.out index 9943a73252..8b073ccfc7 100644 --- a/tests/expectations/execution/chain.out +++ b/tests/expectations/execution/chain.out @@ -1,107 +1,8 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be - type_checked_symbol_table: 9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14 - unrolled_symbol_table: 9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14 - initial_ast: 74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82 - unrolled_ast: 74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82 - ssa_ast: a17a7c9223e4067b834734861d45709c0042a57b60c92b3d59ef327e4c01e6e6 - flattened_ast: 8aa42c48a8d35fbadb8f9a27a8e0102fdd17ca72f28656bfe5af7664540e6c4e - destructured_ast: 749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f - inlined_ast: 749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f - dce_ast: a172dc2d0aa013289712d534ebc157adb7cec67796f708faea31970a051ec0e5 - bytecode: f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au14f2670sc8ctrx6yxh6ul437nldqujkpeuwke2h3v9e4jeqgnmgqsvv6qgg - program: test.aleo - function: main - inputs: - - type: private - id: 1949397954224848824575951368219471374317423483328237061474447511813071331229field - value: ciphertext1qyqvw6l0n2n2hfk6l3s4vhm6fr3q7edyln3amu9mkgkfvr6g6zg6gzseuzhlk - outputs: - - type: private - id: 588623943503757267501820045717084110015013266930773589316823232307129930688field - value: ciphertext1qyq8g5f3dwdpjrv0j8jpzkya05c65w66zypnuf9xutpxsv26q56zqzst43x3z - tpk: 4440143486107103992672711015966996078009453027120325474960931472576699485110group - tcm: 956295719465073094565613190152229406522389368662418205874320011543205263268field - scm: 2303738667493433860273317733707681990458101881183765024674076257655590754869field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq9ctvd7nqe5r4628udh2c5a99furju8lz6nuyr9ja7aye507tzq6rmm6vsl5czaj3qwhchma07mjuqq8t8fzffpwfmrs5gxef340ps3gymz3ge898gq0uktcvc8twqnkcpyuxxpp0gp2l2yyv226c5a8w4xq2lk5huzyasj8s9rzsttd7af9zq4305t4unvl4dlhr0vackf7wsqyt59qsd7z8lpv7ekzrx9ahx92qvk5lpw7nhpt3n8c3vtzlr8ggcmslg8afje6t7vh7a8v87jnvnpmh78uvrts7cj3fr5ef8uhxrc0qp9lagt7y2f9nmxt2wm3ygfv9vr85t3gt6gqqunptft0z7senak565qe0xh5ugpcpeqnsdg5sq3lsgplyaajree0hw0mygv07hp5wj7pzd0fcmcj6vmyuvcjrgsht82ry275c2zn04qt53mcj55qq6qjensru5hfdcfcecve8h6r78ge5sdevcl4ptdjccuxsuu5t6v7vqewwhepynp9qx57j2yvgfzg6sskgh7qrf7g0frc40j5hyrd5a2fzc822s9tqh256rpwk6xsfu82asrht7vwr4c83rrduql2j8fsjle225dvqgjmncgukfv3k3kyznfrkuzp9u3pfvc95se5hvlqxurzhafavw3zhdl7pugjuzfcugk7n9s82r8xvpf35z7mj776ynyrka2x37k9samtk04runyvk40cs5l488j0nj8vxq878rm25y6gk9hgqmzqq0z3j9vwtq9hj8hwzrnxq924xlcqef5rt78w2dcpl8ekaal7r59j6mgsake9jqaaaejejkwz9s6fkgwvptpmwzy6jxw6hyrjha8y37v0utd59j60p7zjsrr3eh40q3lac25vfs2ujpe8jkasnx7ay773f8nzzk7e5sv9yctc5y5pvm53yae90ad3qvx78zq2zr38up38q42x0wjxj52rnwgl9lru2tk3ktaekqxshgyuryua2vgz6u74uxs6mmngkq49fym3grymjh7v3xypnj6tcd3th9xrp9wz7ue9ry58ytdnlrtx4ed99a62jcgrja0rn6y9gszd5ehx0cq49wcwwkk03x20zhdydsh707pxu4x893yrzrkqvtkzx3gwkhv6xsjkncys6cvtfdfa46ktetqh2hufun0uzz9vjw2nd6yzcary9uzgsqqvqqqqqqqqqqqzh6hthzayscauryrcc3lurfu0xegy5f2c2wz54fltl8enxsqmhtclvuvphqq7cavk3xp4arg88xqqqfrrxvaz00l69zxyx37x86eyy33pfmnux77cpsak2mjzkyspdrpq8e74kcr3fjsgf0rpwvm95cqp5pqylhhnq8y77ugms2qes7ce6m778xf7jkpvjz7mltnd6eyxa6fkysm5rscwfmsfs9rq2d9gfqql83fv3vs6ajfxlhuzmv7kupwzupshsg898pln7ppy2qquk54j608vyusqqqu226wq - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au10j060xemhs6hp22q5z9f666j9jjyx3ddrp9p0d8pf4kdq5j27sys3zqngj - program: test.aleo - function: main - inputs: - - type: private - id: 8074222261243563712897852261345879392213326355389000002015095766254732085943field - value: ciphertext1qyqphpe0wgwrqph360vc5m6ewu4dv3qq6d890sfddxjrwfjmcgm2jqgw89lgc - outputs: - - type: private - id: 3194122436616881424292291350925952583187555336316524560479373486165793182061field - value: ciphertext1qyq86n235v5ggscdchqvt6k4hms3c8gkh4jzydf283rt622lrl9yzqg5s07wx - tpk: 4152732181525065617351199828917779834060023954124968050606284621055360799826group - tcm: 235738461878268264507244718392472317265018971642030445084183397632412772752field - scm: 4900036025129937911534831193930720357249672696528783301190811935205857609210field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwc5hxvld7dt7hm7m5n038v2vn9hj4clae8hj8ssxyg9eseejwxyuqjteqsrfr7glaxx9a82q6qkcpq83637qdhymk6dlysnl37tgranak3pelhvnhxyxjxnx7dj6nhskzuw7y5g7mhwtqvn7pwmn274tusqxr84cuanufnxva8285cp7ky94n3zvkqhqf0ha2nppyry0ree5aggpqepmlty45dswctk4wx0c4p2qw4gjajzy0tk3v35kvlrpxfhlsf6sexyr6t3688qtqt0nfrucxcum7674xeun8czc0rjn2jx79z4sqsf29fle7yk88rcrwjk9hx6n2l9kfqa8wzzhv8jecktr9ml5jsa4qvhh58c0sy9y2grhmmue2eymczxwzxuyjn3l8u0azmnnum7e8cmq0qna4ldelrd2pdm6seylqsw33ncmm24a07p5aqsvd7xt0ttygsy4ssdcq8uu4hd072xs58g2szcxvdx5hnjalwr9s4vmka0mz6x3hpnrun63r2mkrmjx7e89skwym2qpkkua07h5fw9t5p4k9vcfcmvml70a3emgnza7ccdawfuj09kzxuk5jany7t63m69w5ng0288ad9squmruvahrn5t5mlj44lge7nep5mdn8tusug454wv2pm562j2jv6z2g0wl2aqm78nat4nyev3ckwwcqt2jjqw2t3skh9aw3c5cylm2fnrensz2cyh42sdl0u9xxxfy6nqxm8t8w9tt8eweuncjxfjg5m2lnj25ldgdxdfn0779s0s480g2zsp6m03le24ywzy84ffjrresjht3snjueks0hjkqy960rh54vvx5gp0v7rj0r76333w7n8e42remxfvgyezuk8qlceumhvqyg07nmcckqurzqga2fah0yxd9ldrftmvqmepkltkk2zrtej2yxdhrsqsxtp4c2vt9g2fp8n2pr0nmjsx6pjz0kxfz3k273vnanctfj7g2s8a2esgqhpy24px76fh6j4y5harq6spdsl3tem7r86c0x9ktzd2gxq65fyqktmpdhnwy3lrayrhveh6rw04hfdjelmllqs5jmps387znjlzqkqzk3snzv3njf32rqqh46arnenpegq2cflvpg9ltl8dxjw3dwc0vqgnvzrasrx7pn4x90j29kfdtv6l8d00qlh3tm7f828duus62w3vszqvqqqqqqqqqqqnz6e6hgyucw8wj6s6ujek5dvayumxmcrgazfm3wctxq95kk0rxyrzy99lhpjrhze3pphqh9g49esqqgkjw45dj60axhp3d3v7e3xknlg0lp522qchkrf2hpuhzlr4c7npk8suuwtmqfsvfkce38f2c0dh5qq9zumrsgfmt05m6u7tg5vdd23yncuysyvhmpz0lcrx0j6grh3xqq2mtckutcu05dfk4t0pnug59exz3jjfjjv6jh5vtpqttvpn8n665lc6vy0tu4szy80uldfa3upsyysyqqwkfss6 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au10gyaju6yr9me6d8l28fwhx65w2zls2t0ccfy3t5pngax55nnq5qqqxrny8 - program: test.aleo - function: main - inputs: - - type: private - id: 88204195335974216418759683303292216043779078355613167945781354727344920385field - value: ciphertext1qyqpvkn6v5kk9tuapl84vqu3jte0f2w7qxuyt73s82kswx76qdz57yqktgrnz - outputs: - - type: private - id: 3914369771983733353164101765555458008753606209615886837893508835416845292078field - value: ciphertext1qyq0nqz7sswcmmh9ass9v2n0cfrghtuzgx7ey3yrqd9uhtkvf6d2qps6rkspa - tpk: 8230740749397616342957301999706650915153644162812370837746638975145956411137group - tcm: 2890782865234133958171457586056509922468321574973631315281975799959033914364field - scm: 5258565730318103630533845951156419665533866493701567935669993589597692371521field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqv7dw3ka4ejksgxtx6akhekvvf07p4yc9ya4r0qhf2mxu3fv658yqg8q7p2qteg25lsm4xzhp78zgpqyqh7t8t2d4gc8cetzxx793wlv52rlszsc5yu7gpksrvmzf92vytva6hs0s6l4tlga3zhejm5a3j0qzlhh8kwgxsyy9hcvfljmjsgf2mmuntlnkfkuashw698tmf4wzccz7pn5vrdwjxxe59ll34f77j9uqvqjlcqfz6djdgd48x5gj4rmrqua3ucag77kpdmufrdq7wmqx8flmtyf3axhglp3sg8em2estzv5vprgyak8k0crwwecc5ggt0z9ar5nlfzmu5m7pkvafusae27k6uxlmvmajuj25ykmum6hj8vlxdyurczvpx884rtkgmzz8np682a867ukdflum4c87fv8f5wfp0s2fxmphhtq62r4atxeg76g6vtenlafgssxal8thl8meu6ugyqevnt2ez9a2yx7jrdet42p5fp6zxdch82nkdrwk4ez7djkltw4t3k90whdqfgqyv287wen99g2gmxh6e9500mr3xgt2lht68u34feg8xrk559fwtkd98w07j7ny6tj7as4g97zdn7kqwydywp0fsn62szjrnp2mz4yh5wy7ee0wy0ufxw3azpl24rjqcaqsnwsql3mma60r5l0pa2yulxeypr0cd34vvnqu9s4frveakpgl662wjg622a633pxy3kqcgtku3ccxvzvkfugxnec58pt7fwt4jpwu88hsj6zqc47qzmmqrjmc9wwlycqvuga2mn648vk32mfhqfpadguu6renda5d8au7x44x04rakhdc8qrzafahn28pd4pnvcmsyqdnmd789ezmupeewec2jhwptxgn9yrmqqqw9zm9gh66vpmxfhmmheauqdnakqv0ue2sr0fnqnf5lj2x56ws80ht3yuvln6tw5qypsgcuq6wlyzxl7grr9mwl5r9xhenvdqtg6gp63729vy88gdquzyqfythm5tmumkrzkaf728awasrsd85vnxswgr55gvyvglzg5svlhe2elc7qjqluufsa7x4ar4cakxv243sgcp03prmdshll60cd7e6e6zfcy0js3csenmrzhak25r5c6jttll4rknpsse7yrkqaehvkh3jk38qmx9pmpssygk5ece0d98a6avqzu4x7zdgxqvqqqqqqqqqqq9y8x9q96t2fhnwxwm2cucn9cm8r02v5pusrhe3naz07ynz65n80zldkx2sc7x0286qa8984aj2ssyqwd3k675gq2vr2rjvvr8ekht4ltzs0el5hn7uv3hgfctwk0xramaqahwj3urycvt4ztmmzy503985pqxxh2r8fl2n65t7x32t0vhqkfu9q7ygry6vmkaqr378lu4qpufesejkd57res5aj02a8cf7acyv4aw88g0xypsh63nm98vwmcg3wg3hv6sr4chvxu3rm28qjpsdrj3e5qyqq3j7lvs - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1zs4cld37cwhujh96f2zgvr4pj8tpl53xt9j9e8e0gmlrp69vy58swp0vas - program: test.aleo - function: main - inputs: - - type: private - id: 7323317284237132550893119862759552667981679660996294970442459803738868835536field - value: ciphertext1qyqyf09p4hhgplcrl9ak0l0tvuwpm3xhwadrwy8nkkwdfepznwgxurqrxc28f - outputs: - - type: private - id: 1614356746145345869879456662232582808842946670080728366136412146157427220487field - value: ciphertext1qyqq9jepxkre5wumn75f4l78a84fayu3ylv8s6eyf6d26rgpwn3jxqct972vd - tpk: 5649977020878585643126558031280442357481139820003268236737358229625320247518group - tcm: 6767517080390288477520368643762123787551306537793319984551369392054028511715field - scm: 7499398132489845850920282484671530605120496245578629492233334116969945395115field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqxa7h6pz2p6gwn6mu2aqhep3l2vl8f2xw8lhz8fqqe4q8nt54sft3e0q4mpuz3k89k20uxrfxfeqypq8v8wa567ej2x4uv2n7z4xaatv02mt97l56hhgsufmeswwafwzj87yzvcedq8zfx7zdle44mvmgtnqxmr4crk08pwyss8vqkk27e9498d83phyn3x8ys853t8sc540amkcvq56td5cwuddv60xw4l6f38sqha7wdcclfhk26tlq6lz2g64ruljkp970udd87896zlmq5vlkcgkm7fsgcz2g3esm8fmg9wqsd4cvqzdj4awpq5jylgh4jaq57cxh2ynw0ttkezv2d25t64mnmrwsrh9gzxhpsqgwrahjw3wk3sh47ccmczs7683ancyuvtr7jucenc7p0tsh9qpa8yuld97vpsjultkhqjqafpyy8256f9qpxr57j7q2hxfdrqp8ej0d587f93na02tzyvawt2ajz5c5nfewznjkmwzh5lph4d8dq3p5df3fypz6he4fnfsss8xnypqpnwn7ekswmkzv5mpwkzrd4lnmmx6q5nh0hap2xu9nucmguhmeyurs9u042x2umfttrrtpqrqk8u6q0mzgzswmwca2fh308qvk4ae4g3500e7mmvtdcl9dz9g7gwnx6u202dhz4m687psf2397vpfzewpvppvk59kd753s3ser6sq8pqkz63hlp3puy8tdjpuksjtg9q2q6lc9y27a6anf35emexx7qydkvpsfjprul8dl6h5tv4a0ks9wav9wa7znzcfc9e3pklwdxsd6q0qlhhjjx039k5gt6n9kevephyp8gq0yyqzjcrwr4kt73xzaqe4lafcvatjh6kx9ht72gn4yk7gga4vv6afcsaknf0qqem0yn2z8r2u38v6ela3np8xk67xlncc43zkr8ps2hv3gr0n6lel5484gskvd9xazmpxlpwpy9pp2rlxtdjmlqsf0cjq4lzsydfk9h9s5z9nez3hk2fvcdxj6e5qz0ur8nnwxnlrzss6v78epy5yj5xu5kvar3hdyn3wce6xxwg2qsvzl4x9k5rxs9kttaqwxd9djdphpghy2hvgsegr34azrr7020mc9akunn4w2l42nwxpn9tfx5t5jqcglu94rjzyx9fdw4368dx060g5try4axd2vrmaca0n6w2ser9yc3qvqqqqqqqqqqqezmufdet2kwg60yvxa0vkxu3t6kucf0sw4ru2slnqactat4y4lur5fszpjltr8dg4kjwaqftpeksyqv9ncy7pa5tynkl3eff24h9p2vwv9dq3zz8y8vzn9fedgcrkyvuzj79g8uu6v30dqshyj7qs0ca8vpqx2g39pjlmwwkgtghmzgv3wjasdq5j9gmse7re382uxcpew784jqz882jzvrclsrcp8rd43nnfxpe57pe0p2tm8cs2fylq4kfx4ldjv9ky445wdzmux8khv0wuy2wd4ksqqqncsx8n - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14", unrolled_symbol_table = "9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14", initial_ast = "74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82", unrolled_ast = "74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82", ssa_ast = "a17a7c9223e4067b834734861d45709c0042a57b60c92b3d59ef327e4c01e6e6", flattened_ast = "8aa42c48a8d35fbadb8f9a27a8e0102fdd17ca72f28656bfe5af7664540e6c4e", destructured_ast = "749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f", inlined_ast = "749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f", dce_ast = "a172dc2d0aa013289712d534ebc157adb7cec67796f708faea31970a051ec0e5", bytecode = "f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq9ctvd7nqe5r4628udh2c5a99furju8lz6nuyr9ja7aye507tzq6rmm6vsl5czaj3qwhchma07mjuqq8t8fzffpwfmrs5gxef340ps3gymz3ge898gq0uktcvc8twqnkcpyuxxpp0gp2l2yyv226c5a8w4xq2lk5huzyasj8s9rzsttd7af9zq4305t4unvl4dlhr0vackf7wsqyt59qsd7z8lpv7ekzrx9ahx92qvk5lpw7nhpt3n8c3vtzlr8ggcmslg8afje6t7vh7a8v87jnvnpmh78uvrts7cj3fr5ef8uhxrc0qp9lagt7y2f9nmxt2wm3ygfv9vr85t3gt6gqqunptft0z7senak565qe0xh5ugpcpeqnsdg5sq3lsgplyaajree0hw0mygv07hp5wj7pzd0fcmcj6vmyuvcjrgsht82ry275c2zn04qt53mcj55qq6qjensru5hfdcfcecve8h6r78ge5sdevcl4ptdjccuxsuu5t6v7vqewwhepynp9qx57j2yvgfzg6sskgh7qrf7g0frc40j5hyrd5a2fzc822s9tqh256rpwk6xsfu82asrht7vwr4c83rrduql2j8fsjle225dvqgjmncgukfv3k3kyznfrkuzp9u3pfvc95se5hvlqxurzhafavw3zhdl7pugjuzfcugk7n9s82r8xvpf35z7mj776ynyrka2x37k9samtk04runyvk40cs5l488j0nj8vxq878rm25y6gk9hgqmzqq0z3j9vwtq9hj8hwzrnxq924xlcqef5rt78w2dcpl8ekaal7r59j6mgsake9jqaaaejejkwz9s6fkgwvptpmwzy6jxw6hyrjha8y37v0utd59j60p7zjsrr3eh40q3lac25vfs2ujpe8jkasnx7ay773f8nzzk7e5sv9yctc5y5pvm53yae90ad3qvx78zq2zr38up38q42x0wjxj52rnwgl9lru2tk3ktaekqxshgyuryua2vgz6u74uxs6mmngkq49fym3grymjh7v3xypnj6tcd3th9xrp9wz7ue9ry58ytdnlrtx4ed99a62jcgrja0rn6y9gszd5ehx0cq49wcwwkk03x20zhdydsh707pxu4x893yrzrkqvtkzx3gwkhv6xsjkncys6cvtfdfa46ktetqh2hufun0uzz9vjw2nd6yzcary9uzgsqqvqqqqqqqqqqqzh6hthzayscauryrcc3lurfu0xegy5f2c2wz54fltl8enxsqmhtclvuvphqq7cavk3xp4arg88xqqqfrrxvaz00l69zxyx37x86eyy33pfmnux77cpsak2mjzkyspdrpq8e74kcr3fjsgf0rpwvm95cqp5pqylhhnq8y77ugms2qes7ce6m778xf7jkpvjz7mltnd6eyxa6fkysm5rscwfmsfs9rq2d9gfqql83fv3vs6ajfxlhuzmv7kupwzupshsg898pln7ppy2qquk54j608vyusqqqu226wq", transitions = [{ id = "au14f2670sc8ctrx6yxh6ul437nldqujkpeuwke2h3v9e4jeqgnmgqsvv6qgg", program = "test.aleo", function = "main", tpk = "4440143486107103992672711015966996078009453027120325474960931472576699485110group", tcm = "956295719465073094565613190152229406522389368662418205874320011543205263268field", scm = "2303738667493433860273317733707681990458101881183765024674076257655590754869field", inputs = [{ type = "private", id = "1949397954224848824575951368219471374317423483328237061474447511813071331229field", value = "ciphertext1qyqvw6l0n2n2hfk6l3s4vhm6fr3q7edyln3amu9mkgkfvr6g6zg6gzseuzhlk" }], outputs = [{ type = "private", id = "588623943503757267501820045717084110015013266930773589316823232307129930688field", value = "ciphertext1qyq8g5f3dwdpjrv0j8jpzkya05c65w66zypnuf9xutpxsv26q56zqzst43x3z" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwc5hxvld7dt7hm7m5n038v2vn9hj4clae8hj8ssxyg9eseejwxyuqjteqsrfr7glaxx9a82q6qkcpq83637qdhymk6dlysnl37tgranak3pelhvnhxyxjxnx7dj6nhskzuw7y5g7mhwtqvn7pwmn274tusqxr84cuanufnxva8285cp7ky94n3zvkqhqf0ha2nppyry0ree5aggpqepmlty45dswctk4wx0c4p2qw4gjajzy0tk3v35kvlrpxfhlsf6sexyr6t3688qtqt0nfrucxcum7674xeun8czc0rjn2jx79z4sqsf29fle7yk88rcrwjk9hx6n2l9kfqa8wzzhv8jecktr9ml5jsa4qvhh58c0sy9y2grhmmue2eymczxwzxuyjn3l8u0azmnnum7e8cmq0qna4ldelrd2pdm6seylqsw33ncmm24a07p5aqsvd7xt0ttygsy4ssdcq8uu4hd072xs58g2szcxvdx5hnjalwr9s4vmka0mz6x3hpnrun63r2mkrmjx7e89skwym2qpkkua07h5fw9t5p4k9vcfcmvml70a3emgnza7ccdawfuj09kzxuk5jany7t63m69w5ng0288ad9squmruvahrn5t5mlj44lge7nep5mdn8tusug454wv2pm562j2jv6z2g0wl2aqm78nat4nyev3ckwwcqt2jjqw2t3skh9aw3c5cylm2fnrensz2cyh42sdl0u9xxxfy6nqxm8t8w9tt8eweuncjxfjg5m2lnj25ldgdxdfn0779s0s480g2zsp6m03le24ywzy84ffjrresjht3snjueks0hjkqy960rh54vvx5gp0v7rj0r76333w7n8e42remxfvgyezuk8qlceumhvqyg07nmcckqurzqga2fah0yxd9ldrftmvqmepkltkk2zrtej2yxdhrsqsxtp4c2vt9g2fp8n2pr0nmjsx6pjz0kxfz3k273vnanctfj7g2s8a2esgqhpy24px76fh6j4y5harq6spdsl3tem7r86c0x9ktzd2gxq65fyqktmpdhnwy3lrayrhveh6rw04hfdjelmllqs5jmps387znjlzqkqzk3snzv3njf32rqqh46arnenpegq2cflvpg9ltl8dxjw3dwc0vqgnvzrasrx7pn4x90j29kfdtv6l8d00qlh3tm7f828duus62w3vszqvqqqqqqqqqqqnz6e6hgyucw8wj6s6ujek5dvayumxmcrgazfm3wctxq95kk0rxyrzy99lhpjrhze3pphqh9g49esqqgkjw45dj60axhp3d3v7e3xknlg0lp522qchkrf2hpuhzlr4c7npk8suuwtmqfsvfkce38f2c0dh5qq9zumrsgfmt05m6u7tg5vdd23yncuysyvhmpz0lcrx0j6grh3xqq2mtckutcu05dfk4t0pnug59exz3jjfjjv6jh5vtpqttvpn8n665lc6vy0tu4szy80uldfa3upsyysyqqwkfss6", transitions = [{ id = "au10j060xemhs6hp22q5z9f666j9jjyx3ddrp9p0d8pf4kdq5j27sys3zqngj", program = "test.aleo", function = "main", tpk = "4152732181525065617351199828917779834060023954124968050606284621055360799826group", tcm = "235738461878268264507244718392472317265018971642030445084183397632412772752field", scm = "4900036025129937911534831193930720357249672696528783301190811935205857609210field", inputs = [{ type = "private", id = "8074222261243563712897852261345879392213326355389000002015095766254732085943field", value = "ciphertext1qyqphpe0wgwrqph360vc5m6ewu4dv3qq6d890sfddxjrwfjmcgm2jqgw89lgc" }], outputs = [{ type = "private", id = "3194122436616881424292291350925952583187555336316524560479373486165793182061field", value = "ciphertext1qyq86n235v5ggscdchqvt6k4hms3c8gkh4jzydf283rt622lrl9yzqg5s07wx" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqv7dw3ka4ejksgxtx6akhekvvf07p4yc9ya4r0qhf2mxu3fv658yqg8q7p2qteg25lsm4xzhp78zgpqyqh7t8t2d4gc8cetzxx793wlv52rlszsc5yu7gpksrvmzf92vytva6hs0s6l4tlga3zhejm5a3j0qzlhh8kwgxsyy9hcvfljmjsgf2mmuntlnkfkuashw698tmf4wzccz7pn5vrdwjxxe59ll34f77j9uqvqjlcqfz6djdgd48x5gj4rmrqua3ucag77kpdmufrdq7wmqx8flmtyf3axhglp3sg8em2estzv5vprgyak8k0crwwecc5ggt0z9ar5nlfzmu5m7pkvafusae27k6uxlmvmajuj25ykmum6hj8vlxdyurczvpx884rtkgmzz8np682a867ukdflum4c87fv8f5wfp0s2fxmphhtq62r4atxeg76g6vtenlafgssxal8thl8meu6ugyqevnt2ez9a2yx7jrdet42p5fp6zxdch82nkdrwk4ez7djkltw4t3k90whdqfgqyv287wen99g2gmxh6e9500mr3xgt2lht68u34feg8xrk559fwtkd98w07j7ny6tj7as4g97zdn7kqwydywp0fsn62szjrnp2mz4yh5wy7ee0wy0ufxw3azpl24rjqcaqsnwsql3mma60r5l0pa2yulxeypr0cd34vvnqu9s4frveakpgl662wjg622a633pxy3kqcgtku3ccxvzvkfugxnec58pt7fwt4jpwu88hsj6zqc47qzmmqrjmc9wwlycqvuga2mn648vk32mfhqfpadguu6renda5d8au7x44x04rakhdc8qrzafahn28pd4pnvcmsyqdnmd789ezmupeewec2jhwptxgn9yrmqqqw9zm9gh66vpmxfhmmheauqdnakqv0ue2sr0fnqnf5lj2x56ws80ht3yuvln6tw5qypsgcuq6wlyzxl7grr9mwl5r9xhenvdqtg6gp63729vy88gdquzyqfythm5tmumkrzkaf728awasrsd85vnxswgr55gvyvglzg5svlhe2elc7qjqluufsa7x4ar4cakxv243sgcp03prmdshll60cd7e6e6zfcy0js3csenmrzhak25r5c6jttll4rknpsse7yrkqaehvkh3jk38qmx9pmpssygk5ece0d98a6avqzu4x7zdgxqvqqqqqqqqqqq9y8x9q96t2fhnwxwm2cucn9cm8r02v5pusrhe3naz07ynz65n80zldkx2sc7x0286qa8984aj2ssyqwd3k675gq2vr2rjvvr8ekht4ltzs0el5hn7uv3hgfctwk0xramaqahwj3urycvt4ztmmzy503985pqxxh2r8fl2n65t7x32t0vhqkfu9q7ygry6vmkaqr378lu4qpufesejkd57res5aj02a8cf7acyv4aw88g0xypsh63nm98vwmcg3wg3hv6sr4chvxu3rm28qjpsdrj3e5qyqq3j7lvs", transitions = [{ id = "au10gyaju6yr9me6d8l28fwhx65w2zls2t0ccfy3t5pngax55nnq5qqqxrny8", program = "test.aleo", function = "main", tpk = "8230740749397616342957301999706650915153644162812370837746638975145956411137group", tcm = "2890782865234133958171457586056509922468321574973631315281975799959033914364field", scm = "5258565730318103630533845951156419665533866493701567935669993589597692371521field", inputs = [{ type = "private", id = "88204195335974216418759683303292216043779078355613167945781354727344920385field", value = "ciphertext1qyqpvkn6v5kk9tuapl84vqu3jte0f2w7qxuyt73s82kswx76qdz57yqktgrnz" }], outputs = [{ type = "private", id = "3914369771983733353164101765555458008753606209615886837893508835416845292078field", value = "ciphertext1qyq0nqz7sswcmmh9ass9v2n0cfrghtuzgx7ey3yrqd9uhtkvf6d2qps6rkspa" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqxa7h6pz2p6gwn6mu2aqhep3l2vl8f2xw8lhz8fqqe4q8nt54sft3e0q4mpuz3k89k20uxrfxfeqypq8v8wa567ej2x4uv2n7z4xaatv02mt97l56hhgsufmeswwafwzj87yzvcedq8zfx7zdle44mvmgtnqxmr4crk08pwyss8vqkk27e9498d83phyn3x8ys853t8sc540amkcvq56td5cwuddv60xw4l6f38sqha7wdcclfhk26tlq6lz2g64ruljkp970udd87896zlmq5vlkcgkm7fsgcz2g3esm8fmg9wqsd4cvqzdj4awpq5jylgh4jaq57cxh2ynw0ttkezv2d25t64mnmrwsrh9gzxhpsqgwrahjw3wk3sh47ccmczs7683ancyuvtr7jucenc7p0tsh9qpa8yuld97vpsjultkhqjqafpyy8256f9qpxr57j7q2hxfdrqp8ej0d587f93na02tzyvawt2ajz5c5nfewznjkmwzh5lph4d8dq3p5df3fypz6he4fnfsss8xnypqpnwn7ekswmkzv5mpwkzrd4lnmmx6q5nh0hap2xu9nucmguhmeyurs9u042x2umfttrrtpqrqk8u6q0mzgzswmwca2fh308qvk4ae4g3500e7mmvtdcl9dz9g7gwnx6u202dhz4m687psf2397vpfzewpvppvk59kd753s3ser6sq8pqkz63hlp3puy8tdjpuksjtg9q2q6lc9y27a6anf35emexx7qydkvpsfjprul8dl6h5tv4a0ks9wav9wa7znzcfc9e3pklwdxsd6q0qlhhjjx039k5gt6n9kevephyp8gq0yyqzjcrwr4kt73xzaqe4lafcvatjh6kx9ht72gn4yk7gga4vv6afcsaknf0qqem0yn2z8r2u38v6ela3np8xk67xlncc43zkr8ps2hv3gr0n6lel5484gskvd9xazmpxlpwpy9pp2rlxtdjmlqsf0cjq4lzsydfk9h9s5z9nez3hk2fvcdxj6e5qz0ur8nnwxnlrzss6v78epy5yj5xu5kvar3hdyn3wce6xxwg2qsvzl4x9k5rxs9kttaqwxd9djdphpghy2hvgsegr34azrr7020mc9akunn4w2l42nwxpn9tfx5t5jqcglu94rjzyx9fdw4368dx060g5try4axd2vrmaca0n6w2ser9yc3qvqqqqqqqqqqqezmufdet2kwg60yvxa0vkxu3t6kucf0sw4ru2slnqactat4y4lur5fszpjltr8dg4kjwaqftpeksyqv9ncy7pa5tynkl3eff24h9p2vwv9dq3zz8y8vzn9fedgcrkyvuzj79g8uu6v30dqshyj7qs0ca8vpqx2g39pjlmwwkgtghmzgv3wjasdq5j9gmse7re382uxcpew784jqz882jzvrclsrcp8rd43nnfxpe57pe0p2tm8cs2fylq4kfx4ldjv9ky445wdzmux8khv0wuy2wd4ksqqqncsx8n", transitions = [{ id = "au1zs4cld37cwhujh96f2zgvr4pj8tpl53xt9j9e8e0gmlrp69vy58swp0vas", program = "test.aleo", function = "main", tpk = "5649977020878585643126558031280442357481139820003268236737358229625320247518group", tcm = "6767517080390288477520368643762123787551306537793319984551369392054028511715field", scm = "7499398132489845850920282484671530605120496245578629492233334116969945395115field", inputs = [{ type = "private", id = "7323317284237132550893119862759552667981679660996294970442459803738868835536field", value = "ciphertext1qyqyf09p4hhgplcrl9ak0l0tvuwpm3xhwadrwy8nkkwdfepznwgxurqrxc28f" }], outputs = [{ type = "private", id = "1614356746145345869879456662232582808842946670080728366136412146157427220487field", value = "ciphertext1qyqq9jepxkre5wumn75f4l78a84fayu3ylv8s6eyf6d26rgpwn3jxqct972vd" }] }] } }, +] }]] diff --git a/tests/expectations/execution/complex_finalization.out b/tests/expectations/execution/complex_finalization.out index da9a218870..ea1281861c 100644 --- a/tests/expectations/execution/complex_finalization.out +++ b/tests/expectations/execution/complex_finalization.out @@ -1,189 +1,216 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: f7b34d530665598aa8aba5e5336aa060585283b8b2a76dc98306ff173a203071 - type_checked_symbol_table: 0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9 - unrolled_symbol_table: 0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9 - initial_ast: e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9 - unrolled_ast: e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9 - ssa_ast: 7217c90bbea4fdec312462ca844b543af8dc5196616fd1587ec3c7d4f7c84f3a - flattened_ast: b5ed12dd399d58be21f0a2a7a043b9daf7b23d6b4219df3d8da8518f352832e6 - destructured_ast: 0671bc2face4c33922cdec4c53618fc14489f8346d8acfe1bf144dd696e9611e - inlined_ast: 5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5 - dce_ast: 5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5 - bytecode: 52779e86c63e1768f658aa3b1bbdaaa43251abbc0ea64c1d898a9e85cba92bb5 - errors: "" - warnings: "" - - initial_symbol_table: 1243dd49dd17a9f777fcdc00d5c44fd2fb083705b8d5a35bae91be413bcbd3fa - type_checked_symbol_table: 4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863 - unrolled_symbol_table: 4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863 - initial_ast: 326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325 - unrolled_ast: 326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325 - ssa_ast: a7180c0d2198909f330b3b00414d1dc13f8f697c2d335d0279bdb6ef0b56b6ac - flattened_ast: fb18dd53c61b7f4332ee7d82f11c82e6fa4d4c6bbf4a793052552a04f297c507 - destructured_ast: 77a4ce1ae7af068cc283b615a58d453187a5df45ad1c971947750f448ae307bb - inlined_ast: ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e - dce_ast: ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e - bytecode: 745bf39548194d111a724d0f689714d35016d491c0ca78bcc82b500affe6dd05 - errors: "" - warnings: "" - - initial_symbol_table: 6223f92c3bd5bbad5da2f567698b6e984ece97d3134095b26cc0b1d11079f60c - type_checked_symbol_table: e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69 - unrolled_symbol_table: e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69 - initial_ast: 2c14e776b891d7131858e07a8dba4dbf727b3d01dbf4d2e22415711d688dc7c3 - unrolled_ast: 31db5dfbc43b124cb4780c1d629ee28de4a249a5aba21727a0dcb9726d4322f6 - ssa_ast: 1f4225e1f83eb88bb3368544c3b2a077da163281476eaeb688334dac41bc0a9d - flattened_ast: eba4b124fd3df6170a5cbfaad89f0e6d398cb2cba50d61b3c18f00381a6b3be9 - destructured_ast: c1e81066ab08a49915eaaed5b82b323ab1b7227157be6916832ff22eb658b15c - inlined_ast: 22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840 - dce_ast: 22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840 - bytecode: 63f847c74fa6d9e087be27e6cdbe40035b78675c173b83f75929ab082d1362c8 - errors: "" - warnings: "" - - initial_symbol_table: 7d0a0d54b673b8428f972bec8346ca6830248f69cb3fba4b42c32e1a72cc1b0f - type_checked_symbol_table: ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c - unrolled_symbol_table: ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c - initial_ast: 387aba043fde6ead4d99bf4eb5c817051491a7d16aecd6383411e3cbc6aaefd5 - unrolled_ast: f93e4fd19542c5af01a5e0aec60e9f6265491a0952cafabfb7cdcfac00bd81b9 - ssa_ast: 0ad477f1c1bc42ebcd4098caf856428e5be9a0845972cbd2908dcf53c6ce45a0 - flattened_ast: 3fa8070cfe4be62533fb8b3d899c490f940686a97ae01ee0c8f6f7743527d726 - destructured_ast: 5407ddb3a931cde7e50dc466557108fde8f6ebfd8d446cdb44855542208f4056 - inlined_ast: 8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1 - dce_ast: 8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1 - bytecode: d1e5f85421db54ae081514b026936fe5000a36feaa60a4cf7b28212303f6456f - errors: "" - warnings: "" - - initial_symbol_table: 8272b3774900302d111cc659f82a49e7df702875ceb4e54787c068bcac901a85 - type_checked_symbol_table: 3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c - unrolled_symbol_table: 3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c - initial_ast: f731cdda879e0134eb5b1cf0d64d3cf5abbee2fd2ce758d3afac05ee07fb885f - unrolled_ast: 79017a53e402d0c7aad500a44936f4e06e418407b4a2b40f2bf69a185c4865c0 - ssa_ast: 8a4f2ea8f8118515b8843aad5a201824dc2c6b06046f68698dde622f5ace3c4f - flattened_ast: 35f966d0d86e1e38c2c6650d83e62d701a9b9440766b78919ee0b509c3255cf7 - destructured_ast: 5677314a7b55bf523441d3c40029daedf97666fb7821159b0c88654776ea2932 - inlined_ast: 9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5 - dce_ast: 9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5 - bytecode: 7eae5abe4170258417df0bc1e66ec3ff346dfc2a1b325844241bf5e2c7430a12 - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au1qyvwmkzt573s9tk7xkatvaeqrpkqexxzv5rs6u8qg9emg4y5jqgsavzal2 - program: zero_program.aleo - function: c - inputs: [] - outputs: - - type: future - id: 890191710122231110203529870127655644143017144365056445657329457706577967091field - value: "{\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 5623264355502088525489655606156803223176963418640315466365974249858112877284group - tcm: 2553775328193142624284857276491107855038586595332068289064268167217173432363field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au18axx8ll8akaqerav4fwq3eug07ts4qwwy7nzlr9g34h9rhzgsyrqce0hqg - program: one_program.aleo - function: d - inputs: [] - outputs: - - type: future - id: 758517394476670032052415988763856299343156303279623232137614944843098974345field - value: "{\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 5719566545431407119317652036359905415018183726285203760721527684383680013184group - tcm: 4707547639316994232122077351480422325627737826413971567259497090952419389587field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au10d8v8nmxh065hfncr288v983avm9k5m4d5fdd6ffyscrldemmvzsnxpjy0 - program: two_program.aleo - function: b - inputs: [] - outputs: - - type: future - id: 6361678964859385116875063758557421371542361903465955001640985916303241055438field - value: "{\n program_id: two_program.aleo,\n function_name: b,\n arguments: [\n {\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 5582389566492696417766130998461330450931355849138111278862510530053569380536group - tcm: 2843639264964306110536572653078265444088757468878870280831471206900261133148field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au1k2zr88jffud7u4cp4w6z6p97yayplapf5l8zkwq66frmd72dzqysmraxap - program: zero_program.aleo - function: c - inputs: [] - outputs: - - type: future - id: 8184304270381970384045916456004861516270561780206207557525889716968545579009field - value: "{\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 8288921382531536725580570865088150825199615874326011587349548293664745975302group - tcm: 8290601605618108249879852085877680958249633275060551837059411485157180146246field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au18r6lp6zxguwtlynezteygw09w3ctgwf773gw0rec3euey02ghvrq5vj4ax - program: one_program.aleo - function: d - inputs: [] - outputs: - - type: future - id: 4368872350683775098946045511322122859710472677240657700412141554291267972506field - value: "{\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 6824849541965899324405899873850331858115995035056744820737592927171327576301group - tcm: 3735759521155184539609564523228123731913107162043738226581374924399507444741field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au1365aksrfue86ar9hf0axdhc7hef08q0zpml9ehevrqfp47f8vgfq9a9pwh - program: two_program.aleo - function: b - inputs: [] - outputs: - - type: future - id: 2341115870485636946891618396483738688241729530449014230240080696038312816405field - value: "{\n program_id: two_program.aleo,\n function_name: b,\n arguments: [\n {\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 7891570502864945567609462757093834234532501807916510280640172176635027967008group - tcm: 2463297038001725721268135615772330090142023843335329209056921988673724265538field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au1kh6dtdc0k07vju6cssmwsyqlgwwg3dsxuws6pat07mwtvqrkscgspsuwkg - program: one_program.aleo - function: d - inputs: [] - outputs: - - type: future - id: 3129112560631556495351589274905282697883628150536741155804352240644025533105field - value: "{\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 6683286294413484530365970026377864709854466769321054358833350753918178229224group - tcm: 129080357894484609022352827096664170814697735281375115277916395783612268439field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au13rel53n68j5h2jqwqysg4ydqlzc2np5sj308hl8s7junmrl6pqyq530t29 - program: zero_program.aleo - function: c - inputs: [] - outputs: - - type: future - id: 2158029973301112544031311173653423918682849628117499505215313277806315522685field - value: "{\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 7282673060294522930447512075389899344190168182818607370070396476815309915188group - tcm: 4176572434090003675454340372545469116503249443360701492341539540722959636713field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au19gaufrf50j5zx23zmvlg3v8m29qfmzltu6vlw6ey2enzunp8duyq4jftyn - program: three_program.aleo - function: e - inputs: [] - outputs: - - type: future - id: 471436185118198594656361782712928816575027162610641120295136455444381434649field - value: "{\n program_id: three_program.aleo,\n function_name: e,\n arguments: [\n {\n program_id: two_program.aleo,\n function_name: b,\n arguments: [\n {\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 1997925521901855412360133612116244072473203626596550777747296080550013369338group - tcm: 2744918162183556321171249584769097216259167317737504844034359662452953034227field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - - id: au12vykupup43wvungc0ksvt35es5tf27mc6mu5s7eaxel6te830qqqaufl6m - program: four_program.aleo - function: a - inputs: [] - outputs: - - type: future - id: 4059221634460390308974806647616843400557529830552663564057550779406858064840field - value: "{\n program_id: four_program.aleo,\n function_name: a,\n arguments: [\n {\n program_id: two_program.aleo,\n function_name: b,\n arguments: [\n {\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: three_program.aleo,\n function_name: e,\n arguments: [\n {\n program_id: two_program.aleo,\n function_name: b,\n arguments: [\n {\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: one_program.aleo,\n function_name: d,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n {\n program_id: zero_program.aleo,\n function_name: c,\n arguments: [\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n },\n aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h\n ]\n}" - tpk: 6845108806796145801399200820238113765979418684223837901218612232817950305640group - tcm: 6808179967915766376053039068638613418706249887683571453646915411247321525918field - scm: 5897094027323026732582000041395493778965159040056808723489728586696701664724field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyzsqqqqqqqqqqqpqqqqqqqqqqqqxqqqqqqqqqqqqyqqqqqqqqqqqqsqqqqqqqqqqqpsqqqqqqqqqqq5var0y5tumwfxn2zhxyzg3k9ytf2qyzq9pamq2z4f84ap98xg7rdfsqfujtpxsxtk9qv8wf5hzcqu409ty4pcczufvcj2e7cq27mskjvehfm54xuds97z2mtgxadqxesl20pdmvy0lpa68lahq4ze2ysqu6kl9z2y6dhcc6q3dzhv6a5unfcux2nnluemlvzljwevw75mmh6wdz55k9vfgf6fpjkzwsh0lg3qq2ntatu9m8q8yggunm6ar0ntmfpa27utlz6xtjfmr3vk4tdpzpaj0dud0gghhttmseey5srlsaasqr96h8a63avwz44d5e9wcc3ymgd2d33pw8q4r0a2d2pt3zl02y5w9zecfhewspp4q35s92u2qkrkrqfrvd6xkd2chwll850ehch4f7jtpfdqefcnc022v5n33a4tnhs7mf8y9n5z2gd7wzkmx66w6cru3jqxfauzk34l3g5lqnkamavjejl4rr58ysfn5n2248t4acse46dh7j7ll7znu8hrqqvr5k9mpvpz6xgqh2q358zgh4qtuygxcz84h5aazze4kys75vczensdqjpnnzk79g0q5mfs0z3tgecy2ye0qx8jqjasp7u73agrlgca5h66ehqp6m6f22m8nk3a5xen3m2p70w5ne4dnpwx4s3de3w4npsyyaswml0p6a88srf474kugak4dcev249ph64d4xudem7sl8j6l4e590v527ek8jne84sj2jej3ht9l9w92m0alc4kpqqp6xdyu695uh58p03jeas9pj96fmsgn2ckt9cgdlpgwylscs94wgyux7n95ap57jj4erpeqau956xcz66r4r3qzh5yg5vuy8ns03e2mvamcm0kgwuyaa9yzzy7xqeecf6xxagcdzsnf4veq2pw00f99yn4szy6marlqq5sq8hy25qs9ked9rkrh88jwt0xd286032ye4kcywtth5w24xuz0kfa6ptwkaq73ckcpqv28jzkhj52zln9ue95yth88dr9m5kpc96z5sgvpy8kjyxd7ap0krua6mpc30lawys9at5ej8a7r7qerpldlgfthpy7lgwfdsv0sqlt7qfyz2nfsc2k7rn000hg0jlkz2vfh4qfsg69zwznkxy9er6f9gqptu78awm35q5en7fu0dwkpu2vlp07nl53pfm6ar20wkjftydt4ej6t0ygzws4vqpuza8982j39qjgr3rdc34qa8qxunfwrt8m3phjglud5twgayhw5m7cqruv90my863c55ajas66yxmga2ymj35k9pl2szsghl3kvu6jh8dyr57qqu34qxglr49a2q95lmkqxtz3vkzd9j29eqsxcl4xk8w3tahu3aktntq7uq85usnur6smyue8jd0j9znwq5w3da7rym73v4jcfsyha09cddzes6jaknes9hywy2v0w9nzsn3dswqzehwh50xtg944dprhdz3rnpx6t8a0n23n4hukwr45p0lkexy6jsg3h6v04s02y0npd7klsl3gtfupmeu5nm8mlh4s94n82dvvmzhrsuqlveg0f5m272970khqvmnkzdgx72llenfag4xvqzmngnn56qgcpzhw4gc5yzm2rq73r87wwhl0wql35v88ffmgx8hmt2gm3zuk2tmvvswttruf09urktw6ga73xr9ws8ehwm28weqnnl6f9rlfhdwahdy3m49g3953jpa4v3gtc7xpufacauhled78ha3yw7lzcves576vyq8ev6r8cq7v4sh2rv4d4yh0ryzkljm9uxsgu88y005vfl6uhqasgx7ezykl6s2k4avfkuuxpceuxxqdsrvxm7t6fwekgk7chw676e40wfrsplk87qagu7teh0tm6u0ukadfaxd8mfyznqylm4nu7vnmwv5phhr2fy8cupqwwta62840700g9f950ux7vxjxfjsnvswwnxkag3jkr5a7kmtyvf6qcycttxfg2gcczmddn0pzn87sa60zxc266g2gchye73nfvzryxap5tefz4f396hsy04m7zx243m0fuxfd6vt57yycqz2wqkpdfrvzps7spc2dkuud66m70s90jjn3dtks6v5dlgpqjudnga8l38rk299hv8e8wd8m2nd22qdac6jfp78qgrnjlwj3atlnm6p2fdrlphnp53jv5ymyrn5e4h2yv4sa804k6erzwsxpxz6ej2zjxxqkqpwxmnfmgkkyqwuk0ly48c5tmhs8u0lya2nw2mkq2j3myz79n077x36xe2tgw4e5a7a7n8qp3gcpl2wfcucqcmnwh4msk45eahfq9jja7ekud2q2drn2sw9crwlvjyyttlzpllr2ykg76rm6dyvwe5scqy3jgr6hcy0g8xg7rs96n923jynuzzyphru7zdtrpyl9wal75kl2cx2khc0ahe79048u6p7t38swps8qrvcszkj3s36qlagvsw8knrdgrdnv7r7lgvpyzdwfxyczwmeq7n9ftnhjszstl7j7nctn9ghhwwtgay2ly94xe720j3a5jfw5kfqyp34lthzpxl8l7gc2e0xus76mdy8fcnc8c8pf7skufqen4ee58yzzguek8werd7yw5z8a0k5qtwyw5v9xdsus2666t0vjn2ymznnaurja6m4psenpdgzsm7as23jswggp9dtjd57p7n7aaw0k8vkksalxzpau0chsmppddldedgehfz24588yar3kxkc8qfpwmgkaz226apzsg5ch9yxfl6383t690yxslj2yy6csatsjgm82jj8rvydx96tlnasgnx4yk6qrrqs0gcy77uz7sqqnzfdzrzey33m4csvhcnn72efk7qy2njghg6wgwlnfyram0cqs8m5jnr6zhumc7vfnxqrdhah9h6e47rp7j2xp9j3urthges52tavwhmfnpvhww9npsyv5qelmkmzkwlnxpwuu8lzcssc7c6tayzafrnzkxvlqzrmat78c3gfy5a9enhakc83qxrd0as9lkknlkadlt5pdtla07lmsmw4ch6dtfymd2cjk0njfcdqr86fgcyk28sdwarxz3f0436ldxv9jaeckvxq3jsr8lwmv2em7vc9lt32zuhvgucexu4c53c8ddeklsm429sa5dyyfsfnyt82j7sw52pse6xekqpcvj79k6m4sg5sypysx3073avcaex5c6ew0ujlk6tkdpu9tetth4mvxkg03sv9jsm8jt0mxk5u7agqwvd6fvkl4lwp0cz8ssvl6srkw5m5ucs7dqddfzmmxhkcjrzu6055nxq07uw7cuxjpnrc87c4ghgnl9w0fw9vjlrmu4p0k0h3dnsgatezldlqlhsry6hzhss9m0es8yh8h7wuv43s3saujrey5emc7n3taf7vuy9eqfw20rlpfxpapgl6237zx3qny6qxruywljpq5v0ry008c3h9zxf3ua9nhdxv4q2r87sf8hfrdefctmt8wjwh9ygu3xue2v954937sccrhjx2jgu9qxtc4mvtvz9z233he5lly96u3denxvcs2l4j92s7lp08605tclrqwgg3w2z0nmmpugfjhc3lj6lutvvwzvjyc6u4p850f9xuc8cg8fv80gw3d0ky7659ljrn3asc63cmwhvnmd2vwf3waypxxz8vnnl5lzp774e6cjw7ctnu84z6lw9ue5rvsp5jj6x4mkfdqja56x3qn2uevqg6t59xsedgczrkcflrhk97z9xev49u65xjsjjzgyy602yuue53s4kzkvqv6p62unmdnxlv3kmrafqc9ppeh8pa6k5pcyj0xassxjxszf44t5lca6rhurv96eyapxvrvr3jv209fgq23gacmjw4y020ncyg6p7hcegxvkf2xen62j8chm84ue5fqvmalrkdwgz8rmhdrpa4gwq07c3aletke44mjugtt6m94k538xev766lc8h0g4r478c6hv5egzxjfft2snapr2xuzwawv8ulhjrn5kgsqm4qhcvk70rjf6h7eukcqf83zehyr3g64zlsfshm2tduyn2lekmh2ue5k2vf69qvajyas44qyhujrj6pmedm3el4jalsh40kl55x8qv9mxr079jmcw2xchmhrqc872x8qpduf0a8dys4m0eqqcg425fnxlnee0s0excss3hw3fsefkpndrgnls0nlnqgz65h3yyslafy2mnmlvgn0aywgp43wg3la9cuqz98mutlrwvq8k7gal3k687gude23tnqy69sjemf2r5d3vxst2fgqftxd5p7xq0naf9jpraq23lg3v6u33mtaud0tfzjvxrtealcx77cv8h8x9kymy2as89deuvyktcdxq9yr66w4q203v9e20av5kq0xvvzfa3j2hjkhuqms5mhax4avuhemr9m3t7dd7uzk9c5de44z00cpgydtshgl2llpkqs8rpueg234tfzxexmyg8ctmf9y6strwpvqr4ldzzdvcyz0wl50l4gveymhdv3qqatcjzj2u4mwacnt63mva6wy0aeqz2rehygdtsuvkdt7hk6e7msuxgqvzs49ndeyaq0ajal676rmqtcg0spvg32jd4zrxsnexzzjkekph5p7kyedhmc3lhc4xluzqnhpkcxvjwa65c82trrkf3aypt4y07qvw3phqg2vyq38vtasqh9pzhc3xyppyfd3f0u86v5n4d6laj2sxsckdyds443egz0weu5tzywvmyjkpu9twf5nvl2x7akaddy9ewunuua9lysj332u8ejllcc0qcmc5473r04lzhkk0y0eujs74p02ucm0gdwqxyqacwepargxravjyyaj3ksvzx6r64tsxzwkxua93tyjqa43f9qw2l9z3d8pqez9ektnkcwemq94vue6x9m00zlajpmdf8w5ylyq09umc5hhxy42csc9ek29zcu42ze9hq82vdjq0rxenhajl90ewlnw3y9cg0llz5eqkn6ld7g72pazpwxnfmgx0cnth00lp6hxdjrry47q9qxas507yzvwgqsuxfalkm0sdgyl2nmrdpsqyk3ks6m8pv8q65xm0dqctgd8dk7xt5d32kc0nwcy4rk6arsmes4klwxx2ctydfrqtx30cz5mflz29222g6rck9r5rv8k9yjfey5efd87ecre26vg4vu96603tkfm8tz35wejfv0nka9xuqg0a7hqlrsmy3jtev8lz6uzlqmkwg0cecs37w2g8ld4p2ndvrg9pfvrwyv3nypyn42z0ryr980lkc7seqpzp8yfv2xk5dyhxe6tal6pq398ayc0gufvjtjhrq5gd9xt2fv8mw9gjvv450u3kvj2asgqf5gv2een5vtk779lmyrk6jwagf7gq7teh3f0wvf243pstnv5293e259sxqqqqqqqqqqqwqj3a42phh73vy8ulpws0het7ss7pgdckg6ewukl27098u39eyvyufztgalf2ej6c3v4chackxzcqq90mh3763y2jengjjvz3nep85llygeka8du9r27srhwpdvc7n35kfjmkr5xjfuspgmgwas0lyd6xkqqrs7snaesg6hslzwm2jgkrddrrrf0l3ltfrfsq474c36vuhl0klgrtjdxw0k9qgwa4us0yqx7pm43k37yflq32saxh4h0hg2ec5kxxyy3t8wur4mch05gxmhe45qw8sagzqqdhuwg5 - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [ + { initial_symbol_table = "f7b34d530665598aa8aba5e5336aa060585283b8b2a76dc98306ff173a203071", type_checked_symbol_table = "0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9", unrolled_symbol_table = "0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9", initial_ast = "e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9", unrolled_ast = "e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9", ssa_ast = "7217c90bbea4fdec312462ca844b543af8dc5196616fd1587ec3c7d4f7c84f3a", flattened_ast = "b5ed12dd399d58be21f0a2a7a043b9daf7b23d6b4219df3d8da8518f352832e6", destructured_ast = "0671bc2face4c33922cdec4c53618fc14489f8346d8acfe1bf144dd696e9611e", inlined_ast = "5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5", dce_ast = "5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5", bytecode = "52779e86c63e1768f658aa3b1bbdaaa43251abbc0ea64c1d898a9e85cba92bb5", errors = "", warnings = "" }, + { initial_symbol_table = "1243dd49dd17a9f777fcdc00d5c44fd2fb083705b8d5a35bae91be413bcbd3fa", type_checked_symbol_table = "4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863", unrolled_symbol_table = "4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863", initial_ast = "326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325", unrolled_ast = "326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325", ssa_ast = "a7180c0d2198909f330b3b00414d1dc13f8f697c2d335d0279bdb6ef0b56b6ac", flattened_ast = "fb18dd53c61b7f4332ee7d82f11c82e6fa4d4c6bbf4a793052552a04f297c507", destructured_ast = "77a4ce1ae7af068cc283b615a58d453187a5df45ad1c971947750f448ae307bb", inlined_ast = "ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e", dce_ast = "ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e", bytecode = "745bf39548194d111a724d0f689714d35016d491c0ca78bcc82b500affe6dd05", errors = "", warnings = "" }, + { initial_symbol_table = "6223f92c3bd5bbad5da2f567698b6e984ece97d3134095b26cc0b1d11079f60c", type_checked_symbol_table = "e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69", unrolled_symbol_table = "e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69", initial_ast = "2c14e776b891d7131858e07a8dba4dbf727b3d01dbf4d2e22415711d688dc7c3", unrolled_ast = "31db5dfbc43b124cb4780c1d629ee28de4a249a5aba21727a0dcb9726d4322f6", ssa_ast = "1f4225e1f83eb88bb3368544c3b2a077da163281476eaeb688334dac41bc0a9d", flattened_ast = "eba4b124fd3df6170a5cbfaad89f0e6d398cb2cba50d61b3c18f00381a6b3be9", destructured_ast = "c1e81066ab08a49915eaaed5b82b323ab1b7227157be6916832ff22eb658b15c", inlined_ast = "22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840", dce_ast = "22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840", bytecode = "63f847c74fa6d9e087be27e6cdbe40035b78675c173b83f75929ab082d1362c8", errors = "", warnings = "" }, + { initial_symbol_table = "7d0a0d54b673b8428f972bec8346ca6830248f69cb3fba4b42c32e1a72cc1b0f", type_checked_symbol_table = "ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c", unrolled_symbol_table = "ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c", initial_ast = "387aba043fde6ead4d99bf4eb5c817051491a7d16aecd6383411e3cbc6aaefd5", unrolled_ast = "f93e4fd19542c5af01a5e0aec60e9f6265491a0952cafabfb7cdcfac00bd81b9", ssa_ast = "0ad477f1c1bc42ebcd4098caf856428e5be9a0845972cbd2908dcf53c6ce45a0", flattened_ast = "3fa8070cfe4be62533fb8b3d899c490f940686a97ae01ee0c8f6f7743527d726", destructured_ast = "5407ddb3a931cde7e50dc466557108fde8f6ebfd8d446cdb44855542208f4056", inlined_ast = "8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1", dce_ast = "8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1", bytecode = "d1e5f85421db54ae081514b026936fe5000a36feaa60a4cf7b28212303f6456f", errors = "", warnings = "" }, + { initial_symbol_table = "8272b3774900302d111cc659f82a49e7df702875ceb4e54787c068bcac901a85", type_checked_symbol_table = "3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c", unrolled_symbol_table = "3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c", initial_ast = "f731cdda879e0134eb5b1cf0d64d3cf5abbee2fd2ce758d3afac05ee07fb885f", unrolled_ast = "79017a53e402d0c7aad500a44936f4e06e418407b4a2b40f2bf69a185c4865c0", ssa_ast = "8a4f2ea8f8118515b8843aad5a201824dc2c6b06046f68698dde622f5ace3c4f", flattened_ast = "35f966d0d86e1e38c2c6650d83e62d701a9b9440766b78919ee0b509c3255cf7", destructured_ast = "5677314a7b55bf523441d3c40029daedf97666fb7821159b0c88654776ea2932", inlined_ast = "9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5", dce_ast = "9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5", bytecode = "7eae5abe4170258417df0bc1e66ec3ff346dfc2a1b325844241bf5e2c7430a12", errors = "", warnings = "" }, +], execute = [{ verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyzsqqqqqqqqqqqpqqqqqqqqqqqqxqqqqqqqqqqqqyqqqqqqqqqqqqsqqqqqqqqqqqpsqqqqqqqqqqq5var0y5tumwfxn2zhxyzg3k9ytf2qyzq9pamq2z4f84ap98xg7rdfsqfujtpxsxtk9qv8wf5hzcqu409ty4pcczufvcj2e7cq27mskjvehfm54xuds97z2mtgxadqxesl20pdmvy0lpa68lahq4ze2ysqu6kl9z2y6dhcc6q3dzhv6a5unfcux2nnluemlvzljwevw75mmh6wdz55k9vfgf6fpjkzwsh0lg3qq2ntatu9m8q8yggunm6ar0ntmfpa27utlz6xtjfmr3vk4tdpzpaj0dud0gghhttmseey5srlsaasqr96h8a63avwz44d5e9wcc3ymgd2d33pw8q4r0a2d2pt3zl02y5w9zecfhewspp4q35s92u2qkrkrqfrvd6xkd2chwll850ehch4f7jtpfdqefcnc022v5n33a4tnhs7mf8y9n5z2gd7wzkmx66w6cru3jqxfauzk34l3g5lqnkamavjejl4rr58ysfn5n2248t4acse46dh7j7ll7znu8hrqqvr5k9mpvpz6xgqh2q358zgh4qtuygxcz84h5aazze4kys75vczensdqjpnnzk79g0q5mfs0z3tgecy2ye0qx8jqjasp7u73agrlgca5h66ehqp6m6f22m8nk3a5xen3m2p70w5ne4dnpwx4s3de3w4npsyyaswml0p6a88srf474kugak4dcev249ph64d4xudem7sl8j6l4e590v527ek8jne84sj2jej3ht9l9w92m0alc4kpqqp6xdyu695uh58p03jeas9pj96fmsgn2ckt9cgdlpgwylscs94wgyux7n95ap57jj4erpeqau956xcz66r4r3qzh5yg5vuy8ns03e2mvamcm0kgwuyaa9yzzy7xqeecf6xxagcdzsnf4veq2pw00f99yn4szy6marlqq5sq8hy25qs9ked9rkrh88jwt0xd286032ye4kcywtth5w24xuz0kfa6ptwkaq73ckcpqv28jzkhj52zln9ue95yth88dr9m5kpc96z5sgvpy8kjyxd7ap0krua6mpc30lawys9at5ej8a7r7qerpldlgfthpy7lgwfdsv0sqlt7qfyz2nfsc2k7rn000hg0jlkz2vfh4qfsg69zwznkxy9er6f9gqptu78awm35q5en7fu0dwkpu2vlp07nl53pfm6ar20wkjftydt4ej6t0ygzws4vqpuza8982j39qjgr3rdc34qa8qxunfwrt8m3phjglud5twgayhw5m7cqruv90my863c55ajas66yxmga2ymj35k9pl2szsghl3kvu6jh8dyr57qqu34qxglr49a2q95lmkqxtz3vkzd9j29eqsxcl4xk8w3tahu3aktntq7uq85usnur6smyue8jd0j9znwq5w3da7rym73v4jcfsyha09cddzes6jaknes9hywy2v0w9nzsn3dswqzehwh50xtg944dprhdz3rnpx6t8a0n23n4hukwr45p0lkexy6jsg3h6v04s02y0npd7klsl3gtfupmeu5nm8mlh4s94n82dvvmzhrsuqlveg0f5m272970khqvmnkzdgx72llenfag4xvqzmngnn56qgcpzhw4gc5yzm2rq73r87wwhl0wql35v88ffmgx8hmt2gm3zuk2tmvvswttruf09urktw6ga73xr9ws8ehwm28weqnnl6f9rlfhdwahdy3m49g3953jpa4v3gtc7xpufacauhled78ha3yw7lzcves576vyq8ev6r8cq7v4sh2rv4d4yh0ryzkljm9uxsgu88y005vfl6uhqasgx7ezykl6s2k4avfkuuxpceuxxqdsrvxm7t6fwekgk7chw676e40wfrsplk87qagu7teh0tm6u0ukadfaxd8mfyznqylm4nu7vnmwv5phhr2fy8cupqwwta62840700g9f950ux7vxjxfjsnvswwnxkag3jkr5a7kmtyvf6qcycttxfg2gcczmddn0pzn87sa60zxc266g2gchye73nfvzryxap5tefz4f396hsy04m7zx243m0fuxfd6vt57yycqz2wqkpdfrvzps7spc2dkuud66m70s90jjn3dtks6v5dlgpqjudnga8l38rk299hv8e8wd8m2nd22qdac6jfp78qgrnjlwj3atlnm6p2fdrlphnp53jv5ymyrn5e4h2yv4sa804k6erzwsxpxz6ej2zjxxqkqpwxmnfmgkkyqwuk0ly48c5tmhs8u0lya2nw2mkq2j3myz79n077x36xe2tgw4e5a7a7n8qp3gcpl2wfcucqcmnwh4msk45eahfq9jja7ekud2q2drn2sw9crwlvjyyttlzpllr2ykg76rm6dyvwe5scqy3jgr6hcy0g8xg7rs96n923jynuzzyphru7zdtrpyl9wal75kl2cx2khc0ahe79048u6p7t38swps8qrvcszkj3s36qlagvsw8knrdgrdnv7r7lgvpyzdwfxyczwmeq7n9ftnhjszstl7j7nctn9ghhwwtgay2ly94xe720j3a5jfw5kfqyp34lthzpxl8l7gc2e0xus76mdy8fcnc8c8pf7skufqen4ee58yzzguek8werd7yw5z8a0k5qtwyw5v9xdsus2666t0vjn2ymznnaurja6m4psenpdgzsm7as23jswggp9dtjd57p7n7aaw0k8vkksalxzpau0chsmppddldedgehfz24588yar3kxkc8qfpwmgkaz226apzsg5ch9yxfl6383t690yxslj2yy6csatsjgm82jj8rvydx96tlnasgnx4yk6qrrqs0gcy77uz7sqqnzfdzrzey33m4csvhcnn72efk7qy2njghg6wgwlnfyram0cqs8m5jnr6zhumc7vfnxqrdhah9h6e47rp7j2xp9j3urthges52tavwhmfnpvhww9npsyv5qelmkmzkwlnxpwuu8lzcssc7c6tayzafrnzkxvlqzrmat78c3gfy5a9enhakc83qxrd0as9lkknlkadlt5pdtla07lmsmw4ch6dtfymd2cjk0njfcdqr86fgcyk28sdwarxz3f0436ldxv9jaeckvxq3jsr8lwmv2em7vc9lt32zuhvgucexu4c53c8ddeklsm429sa5dyyfsfnyt82j7sw52pse6xekqpcvj79k6m4sg5sypysx3073avcaex5c6ew0ujlk6tkdpu9tetth4mvxkg03sv9jsm8jt0mxk5u7agqwvd6fvkl4lwp0cz8ssvl6srkw5m5ucs7dqddfzmmxhkcjrzu6055nxq07uw7cuxjpnrc87c4ghgnl9w0fw9vjlrmu4p0k0h3dnsgatezldlqlhsry6hzhss9m0es8yh8h7wuv43s3saujrey5emc7n3taf7vuy9eqfw20rlpfxpapgl6237zx3qny6qxruywljpq5v0ry008c3h9zxf3ua9nhdxv4q2r87sf8hfrdefctmt8wjwh9ygu3xue2v954937sccrhjx2jgu9qxtc4mvtvz9z233he5lly96u3denxvcs2l4j92s7lp08605tclrqwgg3w2z0nmmpugfjhc3lj6lutvvwzvjyc6u4p850f9xuc8cg8fv80gw3d0ky7659ljrn3asc63cmwhvnmd2vwf3waypxxz8vnnl5lzp774e6cjw7ctnu84z6lw9ue5rvsp5jj6x4mkfdqja56x3qn2uevqg6t59xsedgczrkcflrhk97z9xev49u65xjsjjzgyy602yuue53s4kzkvqv6p62unmdnxlv3kmrafqc9ppeh8pa6k5pcyj0xassxjxszf44t5lca6rhurv96eyapxvrvr3jv209fgq23gacmjw4y020ncyg6p7hcegxvkf2xen62j8chm84ue5fqvmalrkdwgz8rmhdrpa4gwq07c3aletke44mjugtt6m94k538xev766lc8h0g4r478c6hv5egzxjfft2snapr2xuzwawv8ulhjrn5kgsqm4qhcvk70rjf6h7eukcqf83zehyr3g64zlsfshm2tduyn2lekmh2ue5k2vf69qvajyas44qyhujrj6pmedm3el4jalsh40kl55x8qv9mxr079jmcw2xchmhrqc872x8qpduf0a8dys4m0eqqcg425fnxlnee0s0excss3hw3fsefkpndrgnls0nlnqgz65h3yyslafy2mnmlvgn0aywgp43wg3la9cuqz98mutlrwvq8k7gal3k687gude23tnqy69sjemf2r5d3vxst2fgqftxd5p7xq0naf9jpraq23lg3v6u33mtaud0tfzjvxrtealcx77cv8h8x9kymy2as89deuvyktcdxq9yr66w4q203v9e20av5kq0xvvzfa3j2hjkhuqms5mhax4avuhemr9m3t7dd7uzk9c5de44z00cpgydtshgl2llpkqs8rpueg234tfzxexmyg8ctmf9y6strwpvqr4ldzzdvcyz0wl50l4gveymhdv3qqatcjzj2u4mwacnt63mva6wy0aeqz2rehygdtsuvkdt7hk6e7msuxgqvzs49ndeyaq0ajal676rmqtcg0spvg32jd4zrxsnexzzjkekph5p7kyedhmc3lhc4xluzqnhpkcxvjwa65c82trrkf3aypt4y07qvw3phqg2vyq38vtasqh9pzhc3xyppyfd3f0u86v5n4d6laj2sxsckdyds443egz0weu5tzywvmyjkpu9twf5nvl2x7akaddy9ewunuua9lysj332u8ejllcc0qcmc5473r04lzhkk0y0eujs74p02ucm0gdwqxyqacwepargxravjyyaj3ksvzx6r64tsxzwkxua93tyjqa43f9qw2l9z3d8pqez9ektnkcwemq94vue6x9m00zlajpmdf8w5ylyq09umc5hhxy42csc9ek29zcu42ze9hq82vdjq0rxenhajl90ewlnw3y9cg0llz5eqkn6ld7g72pazpwxnfmgx0cnth00lp6hxdjrry47q9qxas507yzvwgqsuxfalkm0sdgyl2nmrdpsqyk3ks6m8pv8q65xm0dqctgd8dk7xt5d32kc0nwcy4rk6arsmes4klwxx2ctydfrqtx30cz5mflz29222g6rck9r5rv8k9yjfey5efd87ecre26vg4vu96603tkfm8tz35wejfv0nka9xuqg0a7hqlrsmy3jtev8lz6uzlqmkwg0cecs37w2g8ld4p2ndvrg9pfvrwyv3nypyn42z0ryr980lkc7seqpzp8yfv2xk5dyhxe6tal6pq398ayc0gufvjtjhrq5gd9xt2fv8mw9gjvv450u3kvj2asgqf5gv2een5vtk779lmyrk6jwagf7gq7teh3f0wvf243pstnv5293e259sxqqqqqqqqqqqwqj3a42phh73vy8ulpws0het7ss7pgdckg6ewukl27098u39eyvyufztgalf2ej6c3v4chackxzcqq90mh3763y2jengjjvz3nep85llygeka8du9r27srhwpdvc7n35kfjmkr5xjfuspgmgwas0lyd6xkqqrs7snaesg6hslzwm2jgkrddrrrf0l3ltfrfsq474c36vuhl0klgrtjdxw0k9qgwa4us0yqx7pm43k37yflq32saxh4h0hg2ec5kxxyy3t8wur4mch05gxmhe45qw8sagzqqdhuwg5", transitions = [ + { id = "au1qyvwmkzt573s9tk7xkatvaeqrpkqexxzv5rs6u8qg9emg4y5jqgsavzal2", program = "zero_program.aleo", function = "c", inputs = [], tpk = "5623264355502088525489655606156803223176963418640315466365974249858112877284group", tcm = "2553775328193142624284857276491107855038586595332068289064268167217173432363field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "890191710122231110203529870127655644143017144365056445657329457706577967091field", value = """ +{ + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au18axx8ll8akaqerav4fwq3eug07ts4qwwy7nzlr9g34h9rhzgsyrqce0hqg", program = "one_program.aleo", function = "d", inputs = [], tpk = "5719566545431407119317652036359905415018183726285203760721527684383680013184group", tcm = "4707547639316994232122077351480422325627737826413971567259497090952419389587field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "758517394476670032052415988763856299343156303279623232137614944843098974345field", value = """ +{ + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au10d8v8nmxh065hfncr288v983avm9k5m4d5fdd6ffyscrldemmvzsnxpjy0", program = "two_program.aleo", function = "b", inputs = [], tpk = "5582389566492696417766130998461330450931355849138111278862510530053569380536group", tcm = "2843639264964306110536572653078265444088757468878870280831471206900261133148field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "6361678964859385116875063758557421371542361903465955001640985916303241055438field", value = """ +{ + program_id: two_program.aleo, + function_name: b, + arguments: [ + { + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au1k2zr88jffud7u4cp4w6z6p97yayplapf5l8zkwq66frmd72dzqysmraxap", program = "zero_program.aleo", function = "c", inputs = [], tpk = "8288921382531536725580570865088150825199615874326011587349548293664745975302group", tcm = "8290601605618108249879852085877680958249633275060551837059411485157180146246field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "8184304270381970384045916456004861516270561780206207557525889716968545579009field", value = """ +{ + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au18r6lp6zxguwtlynezteygw09w3ctgwf773gw0rec3euey02ghvrq5vj4ax", program = "one_program.aleo", function = "d", inputs = [], tpk = "6824849541965899324405899873850331858115995035056744820737592927171327576301group", tcm = "3735759521155184539609564523228123731913107162043738226581374924399507444741field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "4368872350683775098946045511322122859710472677240657700412141554291267972506field", value = """ +{ + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au1365aksrfue86ar9hf0axdhc7hef08q0zpml9ehevrqfp47f8vgfq9a9pwh", program = "two_program.aleo", function = "b", inputs = [], tpk = "7891570502864945567609462757093834234532501807916510280640172176635027967008group", tcm = "2463297038001725721268135615772330090142023843335329209056921988673724265538field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "2341115870485636946891618396483738688241729530449014230240080696038312816405field", value = """ +{ + program_id: two_program.aleo, + function_name: b, + arguments: [ + { + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au1kh6dtdc0k07vju6cssmwsyqlgwwg3dsxuws6pat07mwtvqrkscgspsuwkg", program = "one_program.aleo", function = "d", inputs = [], tpk = "6683286294413484530365970026377864709854466769321054358833350753918178229224group", tcm = "129080357894484609022352827096664170814697735281375115277916395783612268439field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "3129112560631556495351589274905282697883628150536741155804352240644025533105field", value = """ +{ + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au13rel53n68j5h2jqwqysg4ydqlzc2np5sj308hl8s7junmrl6pqyq530t29", program = "zero_program.aleo", function = "c", inputs = [], tpk = "7282673060294522930447512075389899344190168182818607370070396476815309915188group", tcm = "4176572434090003675454340372545469116503249443360701492341539540722959636713field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "2158029973301112544031311173653423918682849628117499505215313277806315522685field", value = """ +{ + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au19gaufrf50j5zx23zmvlg3v8m29qfmzltu6vlw6ey2enzunp8duyq4jftyn", program = "three_program.aleo", function = "e", inputs = [], tpk = "1997925521901855412360133612116244072473203626596550777747296080550013369338group", tcm = "2744918162183556321171249584769097216259167317737504844034359662452953034227field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "471436185118198594656361782712928816575027162610641120295136455444381434649field", value = """ +{ + program_id: three_program.aleo, + function_name: e, + arguments: [ + { + program_id: two_program.aleo, + function_name: b, + arguments: [ + { + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, + { id = "au12vykupup43wvungc0ksvt35es5tf27mc6mu5s7eaxel6te830qqqaufl6m", program = "four_program.aleo", function = "a", inputs = [], tpk = "6845108806796145801399200820238113765979418684223837901218612232817950305640group", tcm = "6808179967915766376053039068638613418706249887683571453646915411247321525918field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "4059221634460390308974806647616843400557529830552663564057550779406858064840field", value = """ +{ + program_id: four_program.aleo, + function_name: a, + arguments: [ + { + program_id: two_program.aleo, + function_name: b, + arguments: [ + { + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: three_program.aleo, + function_name: e, + arguments: [ + { + program_id: two_program.aleo, + function_name: b, + arguments: [ + { + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: one_program.aleo, + function_name: d, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + { + program_id: zero_program.aleo, + function_name: c, + arguments: [ + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] + }, + aleo1ny7v7px977qdles2yl5kg8p53rjq40c2sgpazsylxx7a9g7gsuxqxeg04h + ] +}""" }] }, +] } }] }]] diff --git a/tests/expectations/execution/cond_exec_in_finalize.out b/tests/expectations/execution/cond_exec_in_finalize.out index 3eb13cd6d4..3788a8d52b 100644 --- a/tests/expectations/execution/cond_exec_in_finalize.out +++ b/tests/expectations/execution/cond_exec_in_finalize.out @@ -1,94 +1,40 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 17dc9f6dcb320c160ffe1d26761b75b37ee44fe25619f2013fc6bc58b6583db1 - type_checked_symbol_table: 1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3 - unrolled_symbol_table: 1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3 - initial_ast: 27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665 - unrolled_ast: 27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665 - ssa_ast: 5d2d844bb95e6a45dffd4786aa55c2483f7cda49617cb74671e9687c1cb75a74 - flattened_ast: ed13779e30ec49a94037b9091a346e8c583b0e810bd7fd7f66763d81748a50f9 - destructured_ast: 5d359e7a833089b922e8120e18495aeaa2c934b3635d049b5a664821e4848ca2 - inlined_ast: c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e - dce_ast: c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e - bytecode: 4c9b370477c0b08af171a80b375e88adaa53684d7419d52effb5504bbc5e9b59 - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au1gssvavae6ac53rs8ksw8j9ga3hccp67z28xh36qf4062l8690spsyfy53e - program: cond_exec_in_finalize.aleo - function: a - inputs: - - type: private - id: 7626202372721641535512265492191969309447186797313499247653268394332453807927field - value: ciphertext1qyq85ue2r3j05nsht40nt5rxeewyzevhu40pl090yfrte5wvw0w3szqhtt7p9 - - type: private - id: 1443812050965843742096133489395435648284251851376088034812367117905213557076field - value: ciphertext1qyqycthe92m9vq7n2jmqwq6yzrzdlvn3444uel0j6u7g74vyy4nggqc4kmcpq - outputs: - - type: future - id: 8231166181376553910396126064535951686569110152218676702140502043511990822295field - value: "{\n program_id: cond_exec_in_finalize.aleo,\n function_name: a,\n arguments: [\n 1u64,\n 0u64\n ]\n}" - tpk: 769969058670211305403054972674090607838301017799111639698834153018520792433group - tcm: 5925913616768344982910633865433077509444975263571425771517515198551312511915field - scm: 1886094021537141979658158678736082193414687088300410876802743154665441796198field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq0rxwjqlxmc8acm0xaxeewz905709n3wjz45gmdpv6q0yy2pqhzj0dj7zaq2x32veqxg2aqveccuyqqys9vejps3830l50n6znqk47m7tf00xv4qnpg9vpz4l45rqs7n2hdyxutqjjd6w3j3le0p64u5dpjq2jhfant7td2w0wrr0r5v762k8lujm2r3rq283jfkl0aqrnfuhhklhxpe5zrhvcndj95p8drpw7fsqggqfk9e40l7nw600kel4p36ggaapgjpzpqlanwuuwlj3mas52p6qefk7xkacgcldxka9saqf4wwgqu9e87lv9jy68fzr65nujqdlxkds23l30nqejxfh0d6ycvvmgfzutps9ggafhelp0vc7zude43yjsrnx3348l4wzgu4nncayjlc88sw60h02lkn79ak8hszv4gqejvdlam4v5ylx5wsde7y5af0jrwkn2qp6st8j0ns5hafgh6mex29dt7ah26clzzmgm6ack4wvq64905ja9xuzsex6rf3uvahk89wzhlzx5eqwq7894l2l0f7vkmglk8d85987qttja0ug87594vxrkaadd008ary7fw94xyzga40cea6rlqqksq6qk52l549ze48pwenug4pg8g9lrfe3xqsl6dezyxa2a7vtnk83rhhw4uv9h4q4cas9v9r2meqkxmgspwe2r4gxyhn8zu2rraz9xspvj2skkarq30rv58zdqa6a6fftucu8l6788afecfl5r22dta56xfm6ze432hcxupq54sqpsug3dh2a6jqdkpw75pn7kdf60yfj0nru6w920cp808jxch6v3rj04rej26rvyqk5uz90k5kdlrg4c6hdxje2qtueffyw4mjr93yyuq8qjccstrq4qaad77dv42yl3wf5d0pqgceeurf4dtrzey0dt6jtz0tmynmvyzhcqycrcks09wslyy699lufkjcwknxju3t88vh9vffj0xmr5fzsh6cr72mjhwsrelh8lt023xeg0x9zvwn63pgz2es37p5dzlc3kut8sqp2tfy5vpazc58c5u25wg69aqa9vgjxkk94uwugx2n80jhwjqpugpxx9huu297v629hdjchld26c394rydn9t4rckf8ka63q3reelczq9uqdrgjh4azp353rx5x3matwx550cu9kgtwd7jnf76gl67nppkqfqvqqqqqqqqqqqwt6l5ch7kf7lrjfkpz83v2yw4mek6f6www8lwjucqpev25xf2x63tztw2x2mmqpp022yy8faa5csqqz5chxf3fde47ngzntjzhche0lv9ya3ywfagh8qxs490phu0n8pu0pz966d627zse28nap87cn65cpqy370fjf7z03rtrwshkz3fdu3hmknkdcx2sw72yv7elklj780n4qrq3lx7dmmuez3pj84zhhdhvuk9j9cpzxu74hfjkym23dkqya4cqkrtf5xhl06kpnqs6lfahpxjtysyqqwxuqrc - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au15g2dzv539esrh62fvcy5vsddkfyrzzk7nnepmzlqfpyv22hn5qxqtnpn6q - program: cond_exec_in_finalize.aleo - function: a - inputs: - - type: private - id: 5755235326889702063396661360406534619980588488304068553623334414887009409776field - value: ciphertext1qyqps4a7t45ykg473tu3nt59q5rll0jrq3ghy5y70dfcvgq9kqf7zpchzxdwx - - type: private - id: 3168774907191969896146509716630837060431141939375351609835731626544876393367field - value: ciphertext1qyqx5j5cmspsnncytmhu27m677ncd6k998h2sk9pqfe6q7kdnjalzqs5h2ltw - outputs: - - type: future - id: 8003027955445173917787103564419705677737189877194407988894713228635015061036field - value: "{\n program_id: cond_exec_in_finalize.aleo,\n function_name: a,\n arguments: [\n 1u64,\n 1u64\n ]\n}" - tpk: 3944001539338773920385360533696508669316623780459830039129651343406354973968group - tcm: 5854238226448648076159184366434581922193197117627936839271893386087664253575field - scm: 739276317952343341616529172088594290231100072446409874714908969030318369312field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqp7fep503nsgv3e5qkwruyp3vftl5k7n9jlsnqpcl6axys04ncvcscpgr36224sapm43zskajkxavpq8yjd3ujv62c6rxrp2l7ggrtmpheze7sq2r485pptz6pq8zynvkcxn8ywqvn74fdpgyrpe3gf9t6sq9f55daenaytwgy6ftfkkx77hvwrn8te5uylhj78a4nq5hsd32yqhthe4rmzm26ma72wk2a2q7xfxqe832ksstasa3kg0m2zgetexkeglcgav7qkdn6zz63gdv47h97qk7ct3nma9k0gnfg4ny4fzu8gecp9e4nurpw7ewjve47el4ecv0flkar25qv5fexucpr4nu08za2cxfjpj9aaer2q4q9u8cnr6gxnkxgpg73dlf3r5nx9xmm47jgkpee0qz593uktpqm49mxc35et02ttqj5ph3m0p530as3arurrcztwmvaqzrwagcl5tl0h665rvc4kw9k2dkdyyx2lpf4n07uy2dr3gcje35gfg6cyccpkg4h7z78std0gadrqqfs7vvh9atg6ktwfpdphxqv0xdrm673lc25xt8wvnanxa8r9cgr9atun00fxjswht0urd8ynugzq5q5e9lsklcyuprfgtuvygrlasyx64ssv4l280y32csexn0ayk6rrzuuxx46swh3g9fxkcrzr3h92jvqcj32fvgc8lquk3fh7axc49sya3kazy8vsyw5yp6dezt2hwegzyq4rk02hg8ktqkpudt7wa5e6mu42nv8wnaznasa5tc7j2kfvncacqtnqzhze9ayycn0ceq8ppvs857regmyptuwg6yvtfl70cjm5v98z8jzhwfpaq94ggsmvd3pzpjyexz6ref7z63wnay8904j0a00m0nqdl58ekcnssp3dh6hcfat80nctkk08ztqnpktdlrxrryht8lndzsgdn285le7nus67yul0jq49uu7uy0cmzdz2pla032mnc5a9heakgya535quswnhrav8vsumttp2ecy5yadzjn40mjngk4wlhhnmccq7zeyfkqv2gzhk2znsh0h7r6vskpkk8srn7kl98ydv0l9yn9mnqa6zzrjd5jtw84myemrk0ttus5ywy2s2a4vh09yvsj96574tzk2awks4fftxd4uw8366e0y3pmhfa2zzjuhvxh4eys3fan8k9rdy3t9usszqvqqqqqqqqqqpzvsxu0tdxk387x2wwxv4dftmauj0zhexhrdw7lncu54z0kk0z8yzmraem3wn4y4jquy838f67c6sqqpkjnfuhpspq9wnv6gql0w829p6s2r75avzlngaaxetazlqmu3qhwch2adaqlh3tg8gy7mwv7ts6yqq8u7as4t2sxdtc48knt7yhwgqte35swwzg9zzrvwdwp9hyw4jv9pykz9gfw4ng9flsl625vu6ekupg95gpvzvkmtwpz7k9njyn5pz5cgcx2atd5weh4ks2tsvsxz6fy3qqqq8lc238 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1vm9z2lj66auhxnttt6ttmvkcls4n33pnw5luytxf7q5sugz2mg9s2mnxpk - program: cond_exec_in_finalize.aleo - function: a - inputs: - - type: private - id: 6198652585657260926426509444997868163964918416464849417615079714896319348277field - value: ciphertext1qyqywze23n5d4hwjyrv8wj4wqtdf6qh9s8v53xczpnsd37werv9kuzg9wph3y - - type: private - id: 8382351396873690135158297135263023868922664846333758390492559925774475695943field - value: ciphertext1qyqzxypstrnl4lm63lzqfmwn3d988rvu3rr8qkklykxlvv3dupp0vyqy7j0tj - outputs: - - type: future - id: 7667170962147625602914227675444707942639000179432959786181658614205536097569field - value: "{\n program_id: cond_exec_in_finalize.aleo,\n function_name: a,\n arguments: [\n 1u64,\n 2u64\n ]\n}" - tpk: 6497893695285924190886988099286850340592111983422894045205456561953781042463group - tcm: 5356618385916014026788680411791041563447120696363074218812093120828036880964field - scm: 6394314791324076323128735909574169416822398762092026258451607675413037400008field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqrtyt3hwgzfjty9h0cxu2fwg3typpxljhale6zs74aqscrdjj9tc8n9q7pchkh94fs53hturft6jcqq9e92wq22mlgss986end2hhrlsa9404fujm4tsga5ezn8053hsvhw8cnvkpzppkat2cwm326cmx87qrydjh6xk644j0njkm5dvhhujwntzup9z7yj4ndn6pegdpjmh7a0t60wq7c0nw5t5aksswuwk3vevq8mlg2yv0m3q6a52vr2n7ygw6uakwtcknyz4d6p8y0wuue8qzyzzmdaystcy09e3cch4qf4gpxndsqf733dhx6jne7aul3qwxvt5y9jp6v44fwtxn9yyw56l6sxwrzvwn8n48jlp5h2qj44qqapr5yvqmqq2k097uh636y2g9h6s7wf4zgljvdfgl2qsnpduxw6sz64dprmdp2wk3t6np82mkn2uz7euurfllrsqdjyvhlv5ger9696rrc7xuwgsrlctgpk6fgmgrh44drw529hwmqhyd4wamuakuxr32xtrjgv3980qrfq0l4f5sej7aru9m3x3aczppdh74n2u2xx2gth0lf9zce07v55sl3mdpm9ealjprzjq6fztpphzqfnr65ht63u8s0a3rl6z3yh380pk60t0p380g2z0zgj5k6gk8k0xd234rx33pe4n7hr6r3zulyl3gqc4d4vmz0fuexkh2c9fwl2ak2wnlafv42utzr5q3u4cq079fyz5gjtumex0ltq7697agtfpa85wewj84rxsuwf5z25c7227h5ea382rs06n5wh3xqnshfydq8pzwt2xvnxsaz4uj80w6u8cdxdjwswxv8pv6teqjggu5h2n49tx55kvxgyzu356py0hfefd7g9f3krg8drxtqzurhkx0adaaj8ka242fnqkzlvl6e3839mmyedgu6s2muj22yywsdwvfqke3lj4hsy39lgazpg0cjxugyep7hekzd3wpfe87weqtl8vq4c253fav24uf5fkvwd7zc6a3qsjtfytztaz294u03tyxhewk4wyd4qz92zakhquy9f3gfgnhfflwc8jqws24rxsjjg9pvk2xug2x8p6mrm8prhp29mzj8vu2q2cqldc92ktv9mjwrpmnwsq9jx5ssk6tqwpsu6w5dpxyswvg4pmqq3p7u62qrwy7my9x5cnu6pn6y62fapdcrqvqqqqqqqqqqp55zmveuwjxlk9qpr83mpnyes38hh0vckeaaqff2p8ad254z3sxn3g99whc5q8gvncdce6n7dh00qqqfqyhx8660fypkg4d9shhgplsvec4q46k8kekc3vc8wcy86q57uygy988mxwwtvfaj2lf2jeeyuzcpq8qwltgqw4thlzvrsuqpgckqc3w9cjkfkshwucedjdvc5l0u9d6pygyt5uxjcmgx6hy7z4xnx6jd7e7zd9xheemd0496qtnanjj94mxc5elxvs7wk9t7h3spast3ymq7qqqq60ahha - verified: true - status: rejected - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "17dc9f6dcb320c160ffe1d26761b75b37ee44fe25619f2013fc6bc58b6583db1", type_checked_symbol_table = "1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3", unrolled_symbol_table = "1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3", initial_ast = "27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665", unrolled_ast = "27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665", ssa_ast = "5d2d844bb95e6a45dffd4786aa55c2483f7cda49617cb74671e9687c1cb75a74", flattened_ast = "ed13779e30ec49a94037b9091a346e8c583b0e810bd7fd7f66763d81748a50f9", destructured_ast = "5d359e7a833089b922e8120e18495aeaa2c934b3635d049b5a664821e4848ca2", inlined_ast = "c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e", dce_ast = "c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e", bytecode = "4c9b370477c0b08af171a80b375e88adaa53684d7419d52effb5504bbc5e9b59", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq0rxwjqlxmc8acm0xaxeewz905709n3wjz45gmdpv6q0yy2pqhzj0dj7zaq2x32veqxg2aqveccuyqqys9vejps3830l50n6znqk47m7tf00xv4qnpg9vpz4l45rqs7n2hdyxutqjjd6w3j3le0p64u5dpjq2jhfant7td2w0wrr0r5v762k8lujm2r3rq283jfkl0aqrnfuhhklhxpe5zrhvcndj95p8drpw7fsqggqfk9e40l7nw600kel4p36ggaapgjpzpqlanwuuwlj3mas52p6qefk7xkacgcldxka9saqf4wwgqu9e87lv9jy68fzr65nujqdlxkds23l30nqejxfh0d6ycvvmgfzutps9ggafhelp0vc7zude43yjsrnx3348l4wzgu4nncayjlc88sw60h02lkn79ak8hszv4gqejvdlam4v5ylx5wsde7y5af0jrwkn2qp6st8j0ns5hafgh6mex29dt7ah26clzzmgm6ack4wvq64905ja9xuzsex6rf3uvahk89wzhlzx5eqwq7894l2l0f7vkmglk8d85987qttja0ug87594vxrkaadd008ary7fw94xyzga40cea6rlqqksq6qk52l549ze48pwenug4pg8g9lrfe3xqsl6dezyxa2a7vtnk83rhhw4uv9h4q4cas9v9r2meqkxmgspwe2r4gxyhn8zu2rraz9xspvj2skkarq30rv58zdqa6a6fftucu8l6788afecfl5r22dta56xfm6ze432hcxupq54sqpsug3dh2a6jqdkpw75pn7kdf60yfj0nru6w920cp808jxch6v3rj04rej26rvyqk5uz90k5kdlrg4c6hdxje2qtueffyw4mjr93yyuq8qjccstrq4qaad77dv42yl3wf5d0pqgceeurf4dtrzey0dt6jtz0tmynmvyzhcqycrcks09wslyy699lufkjcwknxju3t88vh9vffj0xmr5fzsh6cr72mjhwsrelh8lt023xeg0x9zvwn63pgz2es37p5dzlc3kut8sqp2tfy5vpazc58c5u25wg69aqa9vgjxkk94uwugx2n80jhwjqpugpxx9huu297v629hdjchld26c394rydn9t4rckf8ka63q3reelczq9uqdrgjh4azp353rx5x3matwx550cu9kgtwd7jnf76gl67nppkqfqvqqqqqqqqqqqwt6l5ch7kf7lrjfkpz83v2yw4mek6f6www8lwjucqpev25xf2x63tztw2x2mmqpp022yy8faa5csqqz5chxf3fde47ngzntjzhche0lv9ya3ywfagh8qxs490phu0n8pu0pz966d627zse28nap87cn65cpqy370fjf7z03rtrwshkz3fdu3hmknkdcx2sw72yv7elklj780n4qrq3lx7dmmuez3pj84zhhdhvuk9j9cpzxu74hfjkym23dkqya4cqkrtf5xhl06kpnqs6lfahpxjtysyqqwxuqrc", transitions = [{ id = "au1gssvavae6ac53rs8ksw8j9ga3hccp67z28xh36qf4062l8690spsyfy53e", program = "cond_exec_in_finalize.aleo", function = "a", tpk = "769969058670211305403054972674090607838301017799111639698834153018520792433group", tcm = "5925913616768344982910633865433077509444975263571425771517515198551312511915field", scm = "1886094021537141979658158678736082193414687088300410876802743154665441796198field", inputs = [ + { type = "private", id = "7626202372721641535512265492191969309447186797313499247653268394332453807927field", value = "ciphertext1qyq85ue2r3j05nsht40nt5rxeewyzevhu40pl090yfrte5wvw0w3szqhtt7p9" }, + { type = "private", id = "1443812050965843742096133489395435648284251851376088034812367117905213557076field", value = "ciphertext1qyqycthe92m9vq7n2jmqwq6yzrzdlvn3444uel0j6u7g74vyy4nggqc4kmcpq" }, +], outputs = [{ type = "future", id = "8231166181376553910396126064535951686569110152218676702140502043511990822295field", value = """ +{ + program_id: cond_exec_in_finalize.aleo, + function_name: a, + arguments: [ + 1u64, + 0u64 + ] +}""" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqp7fep503nsgv3e5qkwruyp3vftl5k7n9jlsnqpcl6axys04ncvcscpgr36224sapm43zskajkxavpq8yjd3ujv62c6rxrp2l7ggrtmpheze7sq2r485pptz6pq8zynvkcxn8ywqvn74fdpgyrpe3gf9t6sq9f55daenaytwgy6ftfkkx77hvwrn8te5uylhj78a4nq5hsd32yqhthe4rmzm26ma72wk2a2q7xfxqe832ksstasa3kg0m2zgetexkeglcgav7qkdn6zz63gdv47h97qk7ct3nma9k0gnfg4ny4fzu8gecp9e4nurpw7ewjve47el4ecv0flkar25qv5fexucpr4nu08za2cxfjpj9aaer2q4q9u8cnr6gxnkxgpg73dlf3r5nx9xmm47jgkpee0qz593uktpqm49mxc35et02ttqj5ph3m0p530as3arurrcztwmvaqzrwagcl5tl0h665rvc4kw9k2dkdyyx2lpf4n07uy2dr3gcje35gfg6cyccpkg4h7z78std0gadrqqfs7vvh9atg6ktwfpdphxqv0xdrm673lc25xt8wvnanxa8r9cgr9atun00fxjswht0urd8ynugzq5q5e9lsklcyuprfgtuvygrlasyx64ssv4l280y32csexn0ayk6rrzuuxx46swh3g9fxkcrzr3h92jvqcj32fvgc8lquk3fh7axc49sya3kazy8vsyw5yp6dezt2hwegzyq4rk02hg8ktqkpudt7wa5e6mu42nv8wnaznasa5tc7j2kfvncacqtnqzhze9ayycn0ceq8ppvs857regmyptuwg6yvtfl70cjm5v98z8jzhwfpaq94ggsmvd3pzpjyexz6ref7z63wnay8904j0a00m0nqdl58ekcnssp3dh6hcfat80nctkk08ztqnpktdlrxrryht8lndzsgdn285le7nus67yul0jq49uu7uy0cmzdz2pla032mnc5a9heakgya535quswnhrav8vsumttp2ecy5yadzjn40mjngk4wlhhnmccq7zeyfkqv2gzhk2znsh0h7r6vskpkk8srn7kl98ydv0l9yn9mnqa6zzrjd5jtw84myemrk0ttus5ywy2s2a4vh09yvsj96574tzk2awks4fftxd4uw8366e0y3pmhfa2zzjuhvxh4eys3fan8k9rdy3t9usszqvqqqqqqqqqqpzvsxu0tdxk387x2wwxv4dftmauj0zhexhrdw7lncu54z0kk0z8yzmraem3wn4y4jquy838f67c6sqqpkjnfuhpspq9wnv6gql0w829p6s2r75avzlngaaxetazlqmu3qhwch2adaqlh3tg8gy7mwv7ts6yqq8u7as4t2sxdtc48knt7yhwgqte35swwzg9zzrvwdwp9hyw4jv9pykz9gfw4ng9flsl625vu6ekupg95gpvzvkmtwpz7k9njyn5pz5cgcx2atd5weh4ks2tsvsxz6fy3qqqq8lc238", transitions = [{ id = "au15g2dzv539esrh62fvcy5vsddkfyrzzk7nnepmzlqfpyv22hn5qxqtnpn6q", program = "cond_exec_in_finalize.aleo", function = "a", tpk = "3944001539338773920385360533696508669316623780459830039129651343406354973968group", tcm = "5854238226448648076159184366434581922193197117627936839271893386087664253575field", scm = "739276317952343341616529172088594290231100072446409874714908969030318369312field", inputs = [ + { type = "private", id = "5755235326889702063396661360406534619980588488304068553623334414887009409776field", value = "ciphertext1qyqps4a7t45ykg473tu3nt59q5rll0jrq3ghy5y70dfcvgq9kqf7zpchzxdwx" }, + { type = "private", id = "3168774907191969896146509716630837060431141939375351609835731626544876393367field", value = "ciphertext1qyqx5j5cmspsnncytmhu27m677ncd6k998h2sk9pqfe6q7kdnjalzqs5h2ltw" }, +], outputs = [{ type = "future", id = "8003027955445173917787103564419705677737189877194407988894713228635015061036field", value = """ +{ + program_id: cond_exec_in_finalize.aleo, + function_name: a, + arguments: [ + 1u64, + 1u64 + ] +}""" }] }] } }, + { verified = true, status = "rejected", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqrtyt3hwgzfjty9h0cxu2fwg3typpxljhale6zs74aqscrdjj9tc8n9q7pchkh94fs53hturft6jcqq9e92wq22mlgss986end2hhrlsa9404fujm4tsga5ezn8053hsvhw8cnvkpzppkat2cwm326cmx87qrydjh6xk644j0njkm5dvhhujwntzup9z7yj4ndn6pegdpjmh7a0t60wq7c0nw5t5aksswuwk3vevq8mlg2yv0m3q6a52vr2n7ygw6uakwtcknyz4d6p8y0wuue8qzyzzmdaystcy09e3cch4qf4gpxndsqf733dhx6jne7aul3qwxvt5y9jp6v44fwtxn9yyw56l6sxwrzvwn8n48jlp5h2qj44qqapr5yvqmqq2k097uh636y2g9h6s7wf4zgljvdfgl2qsnpduxw6sz64dprmdp2wk3t6np82mkn2uz7euurfllrsqdjyvhlv5ger9696rrc7xuwgsrlctgpk6fgmgrh44drw529hwmqhyd4wamuakuxr32xtrjgv3980qrfq0l4f5sej7aru9m3x3aczppdh74n2u2xx2gth0lf9zce07v55sl3mdpm9ealjprzjq6fztpphzqfnr65ht63u8s0a3rl6z3yh380pk60t0p380g2z0zgj5k6gk8k0xd234rx33pe4n7hr6r3zulyl3gqc4d4vmz0fuexkh2c9fwl2ak2wnlafv42utzr5q3u4cq079fyz5gjtumex0ltq7697agtfpa85wewj84rxsuwf5z25c7227h5ea382rs06n5wh3xqnshfydq8pzwt2xvnxsaz4uj80w6u8cdxdjwswxv8pv6teqjggu5h2n49tx55kvxgyzu356py0hfefd7g9f3krg8drxtqzurhkx0adaaj8ka242fnqkzlvl6e3839mmyedgu6s2muj22yywsdwvfqke3lj4hsy39lgazpg0cjxugyep7hekzd3wpfe87weqtl8vq4c253fav24uf5fkvwd7zc6a3qsjtfytztaz294u03tyxhewk4wyd4qz92zakhquy9f3gfgnhfflwc8jqws24rxsjjg9pvk2xug2x8p6mrm8prhp29mzj8vu2q2cqldc92ktv9mjwrpmnwsq9jx5ssk6tqwpsu6w5dpxyswvg4pmqq3p7u62qrwy7my9x5cnu6pn6y62fapdcrqvqqqqqqqqqqp55zmveuwjxlk9qpr83mpnyes38hh0vckeaaqff2p8ad254z3sxn3g99whc5q8gvncdce6n7dh00qqqfqyhx8660fypkg4d9shhgplsvec4q46k8kekc3vc8wcy86q57uygy988mxwwtvfaj2lf2jeeyuzcpq8qwltgqw4thlzvrsuqpgckqc3w9cjkfkshwucedjdvc5l0u9d6pygyt5uxjcmgx6hy7z4xnx6jd7e7zd9xheemd0496qtnanjj94mxc5elxvs7wk9t7h3spast3ymq7qqqq60ahha", transitions = [{ id = "au1vm9z2lj66auhxnttt6ttmvkcls4n33pnw5luytxf7q5sugz2mg9s2mnxpk", program = "cond_exec_in_finalize.aleo", function = "a", tpk = "6497893695285924190886988099286850340592111983422894045205456561953781042463group", tcm = "5356618385916014026788680411791041563447120696363074218812093120828036880964field", scm = "6394314791324076323128735909574169416822398762092026258451607675413037400008field", inputs = [ + { type = "private", id = "6198652585657260926426509444997868163964918416464849417615079714896319348277field", value = "ciphertext1qyqywze23n5d4hwjyrv8wj4wqtdf6qh9s8v53xczpnsd37werv9kuzg9wph3y" }, + { type = "private", id = "8382351396873690135158297135263023868922664846333758390492559925774475695943field", value = "ciphertext1qyqzxypstrnl4lm63lzqfmwn3d988rvu3rr8qkklykxlvv3dupp0vyqy7j0tj" }, +], outputs = [{ type = "future", id = "7667170962147625602914227675444707942639000179432959786181658614205536097569field", value = """ +{ + program_id: cond_exec_in_finalize.aleo, + function_name: a, + arguments: [ + 1u64, + 2u64 + ] +}""" }] }] } }, +] }]] diff --git a/tests/expectations/execution/counter.out b/tests/expectations/execution/counter.out index 577c071d4c..00fc401f0f 100644 --- a/tests/expectations/execution/counter.out +++ b/tests/expectations/execution/counter.out @@ -1,95 +1,36 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: ae28dea8208d31b498caf1c490ae89eb7056b194f3e35a90dea9ad87895d65d2 - type_checked_symbol_table: 37cfeb2a87c005d3348d6a67685f6243886663b0c54a7c3b0a60c9c9e7316be6 - unrolled_symbol_table: 1e3c1f6215a5fd621bc62e76d428a89dbeebe6c188555a36f68f70987da78dea - initial_ast: 19721e772e221eb97e37f1c93467922f709e85ce513f52509ada17ee6d772f43 - unrolled_ast: 9d6a97290f777830354c88a540cefbf102082a3e0c68cc8973515f4304509347 - ssa_ast: b25c2fed543056a8d3210f3c547a3e59b0fcf3889d03226c9c262ef96003577b - flattened_ast: d30829dc6d894b5b770bd49f41056cd441c93b56d618babb87ab998b34859aed - destructured_ast: b8e7938837dfc3472dce7a958a04ff50a94e484ae2105ee1921256787a01ed26 - inlined_ast: 87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c - dce_ast: 87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c - bytecode: 34f95c324649b856e6e1178f1db6dfb00abe322f43e2ea08b37ba9065c6f3897 - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au1xe9ss45s52a7s6pa806dwgkdaazn7vs3zvspwhpuqn0rfymz7g8qnt9f6l - program: test.aleo - function: dubble - inputs: [] - outputs: - - type: future - id: 4946982913093244233049959804312122789186741969911776114977991679216808685109field - value: "{\n program_id: test.aleo,\n function_name: dubble,\n arguments: [\n aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq\n ]\n}" - tpk: 5335156928382662463417682951586372143768154017026570642038100848385013470524group - tcm: 4767822739789057211554348258725193428142828427072824810197371556604343646664field - scm: 2701033919833853562637728369527609701654193986187336931878103571063109198360field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqp5lf5rvda34lj66ey06fy5v5y8dmqmd0nxx0ywzjw7kkf3r0qwz90vmk4uvmpmrccdzj4w8tm2lypqxvfqlmmzxxpkc473c9s87y080gtjfrtnceqdy0jfp6l2lxqgun7hcy9wgcwh856ug2ca4qqfenfsqw3snk3ayvn258s6944p6wxya8j996t872pr5vdcuxdxn8yfs4ujz3quwu35udud6fk7hcqznves7qwjwsrgxcxdfhs80jj2hr5jmgjgul3fdmtms8t65jdage57wlzsfzel9e48vpz8sau496j70yu3qcpk7qgmtr68hl9kqy94fp3w34e6zz4azqfnrjz82u98g63mrr6pa3ef34w8n3kyr45sz0l8cmxsekqq9t5j9jy9lksw0wnn58k7jyfud0l983tqt4emr7sd5u3chpc9at76y43cnjx99l24uktv70m9962sx9lxc5a9hv7eh5fqjgwvflff5yl6zzwrmz5edutqxqr9gvfc3vjvvtdpuh46xqx3lv0sj3pjjvcnqf5drdynn37xr0xdq94ef0t333c0f7n8kdg9u57gkytq3cgu94zx86grwrr7wqljza86cqrx6jk6uqgq9qxf3gm8y9g54ntk7mg9e6ff6fcj83fupqvptjdknygrfpczrsjwnjeteyadpn47znzfvg29s5qea80wdg7vcu08hlwurcqx3ha2u3dre4gsq9y3jfv5w2hqfltf58esahpu6kjkcwj324uzuh5d5wjt38zptld6cvzxgtewrjusdc3cz789uhare62vqu4cv24ryzdln0ssldz7lgs5glgrzvfqzt6km5tzp4vem6srwtn93xjwahqjmv0zq88mfwl22960yv0ufgl83dudy9s27svht4uvnk54uhgap8wuwdqnhra6mzt0ndcd05py3egzvrfj4qt5unuz44zz4a8tsdtd0rkk4y6v4lksaekp23al67rh9ttut9xysxw3jxqsxw50w70h68d2px4stssw4w5p2dupljmf9wn0qhqpav85qeeaudmxxrsdf546fuu8my3ewnrszaamf9gjeveqtmk6perrsljzqxhw5daqqsgnc79g7m7gzzryslqy57j33j2xsz55jzqahm7grss3m56jhxwy82v5v5pk7sdxdcawql8cg5um4z0jj0dkzkumxht57czqvqqqqqqqqqqpg2wesjekvvp8rvnvh9529sjgfrdu2x74qej909vk352qf7uneaay38rwpcwet7hgs5k5davn0wvqqqtzwacjvnl2e006ufve83hm4s4rzupv5y6ymhhy6h6z26kuz6pgd3duj3a5nkk6urhtjxy8lf3zpgqqy7xr6vam98hfqft3uxcm90yedkaf3n5npy2jkd032qlzvyzezvqcl3acm0azpu75ran0gs6vj9v9xs6h0mkkny6hphyu724gs7nqz02fflmuq993fyfmsd5zyegnwzfqqqq4h5zpp - verified: false - status: aborted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1swdqa0gvpj8nkyuwlmdvnl3l47w5h7msfy0ffde7ak3w9h9k4qzqpygrq6 - program: test.aleo - function: dubble - inputs: [] - outputs: - - type: future - id: 1184425809541876528352487757023810608320265088071696360444411605535247651179field - value: "{\n program_id: test.aleo,\n function_name: dubble,\n arguments: [\n aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq\n ]\n}" - tpk: 7679013795696412973166636110506506287029261995751574797228429469383914885030group - tcm: 5230462678570884926650621076942441638266528513315727266355035900011749049784field - scm: 5163336880258719423318414929737729511082942523362925092387252645454920125063field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqpe98rzx0qmypzu72vdj3r2pq6ve8qrhlljfm0qc8sn0q5a94l4mpg7ectel59e2jchnqlra7qfgqpqy8ar6emfl4avcm3uwwgk30td78ltv8dgg7cz4urkah8pgepmyuv56jz453p7fty3vn5pcsck4fymqwtjqqg36k6wvu20waqf3ffzft8pk8vrqkn7fr0csujpct7gjj8mvj5pumg0dmrkxh2dy6347gw8uqucku9wp4qu2cyea7vrm72vn0gmqnme50ntqwum9ercfwxp4s67n0l288kljlz3xhs4tth70sgwsyq302thysgg4uaf4pal9dzpw49y30rdh4dafeprjnplrzq9l4s3cv2enttxlsssqk798gaksfv3lrqpjq0pe5emdlcntxta90cdxzj4twlsmgtemmuvhjnxpvtxrct2te5crwf83qge4f9ngehlumwqdsmqx2xels3g0p2gy00y7z9kdxswtv6av6zlflccd4denz2afd39hldue03y0xauntlan93fyv2khghvqv0n2e59dm5aehk8h0mr5pg0duelktvkjl7gn6mnud8djl2n3zd4m57aap4gtgyhgscl0784pqpvsqzrz7e8vn4knwmddkmrr928ths0rxqx8a8fqty6tzupjafm9hk33v6ytyctmnvef5ddle8umwtdyqqrck9fqk8p2w5mtlfynt3vmw06k0xv5qu33laa86le0tn7p0xrq97dly047gyvcxaa5fs8a6mdk4zd45h8gpdq8ychk3crd2fyyzyxqhnnq3nssxfm0205u6fs0xxq8hl6tnzjl59du5xp57w5uucgs63zgyfz23ds74k5mml82x0ydk0l24urnf53x9z4y73d33z3ec9c74sy48evfu5rjmnze4m8kety3cvrlap224fyqlt9u226dq4u4w6qwgvac7vzuz6rzw577a3t05rautnk8jmfdeua7q234tda726d480dgy2aedqras00tq7erfd42w8ze6f3nxvcf6ghhvzlsu94gc2aey66pldwkml0l96wxmhm7lltejvhg44n9n6hnn7a6957mv5ykcx24rhp6retw6grhss9uqt303f9939xa0s34w0gwym044mxzrc2ej348gpzn8k2226pvh688zt0mmsqxd44grpjh0t8rrcmu34553d79d4ujggqvqqqqqqqqqqps280t09c0p0m6dp4k94859m7aa8yu0t9n9apnzyzd5k4aphsztw0y40cr3asnnwt92xsvfsjy5ssyqfkqy4xf6sthnrd5tv0qyf2g9gq4694kkc8gn5psj87ltplfnr0qlch92hkmjrayrnpkfrurqcnyvqqxax7wky4gqcsmnape9erxaa84hw2thtmc0h3x9d0dezuqvj0rxqx4sdqnlt7c3fj6a3hr4fhd338mpk6jc2g73gjuahetwmv093ukem9aahrxmxns703yt448hgzrpmqqqqn0x3yg - verified: false - status: aborted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1m65ckcdcpsp5lnph3sa5c5k5v9rg9ca60xhz207cpyaz38d6ccrqhgur0t - program: test.aleo - function: dubble - inputs: [] - outputs: - - type: future - id: 4963389433888733314641496564477627877281230309950450748272665391727802870262field - value: "{\n program_id: test.aleo,\n function_name: dubble,\n arguments: [\n aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq\n ]\n}" - tpk: 4545722811456393354251751239512283909430122413441855759325069958043556361870group - tcm: 7637843507110493620394876345321266909895315670903950929197809320352518649676field - scm: 7575811133241041418981647279984692830593058486355500897231811587998092572540field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqf8f3unek2r7vgxqan2f3grksn7uavrjyek35h2rcmg3urxze72jrkggfzmlkdwv34exu9dkyw0xcpqxjewyxsrxyd9ac7qu3f9s5wu5yj60tx96t85mss95n3ejgdm3fl9m9kc8flvdxx5jyehtmrstk5nqwyl3u6rttwmntl2a8fvnp6mj3u3kw35axvze4p7tul9mgxpx4qq32m27vc9tvqamhhlcrgk9eg32qmteqdzav88ughh7nm48th3jzx8x3cl6alvmnzgpmus4764r50ajqjrarf50n05tcuwf0dt4l864uq3lfmzql9a83509zumfr8v3d7xew8x7q675fs7jp2zntrnmt7crxcdcu7tkxwz4uyrmc0f9654zncq4amhjnsayzvg5mxtnms3zmrj0n0s0jsrjjecu4wd0tjsgfsw3hraq8e8f3tq3ew50pewkml3s6dsq6mxcdpr3pjwpq5d4elfagavxx28z8fjqn3jwucjzz52x84wn3gg95am0r9judj8ucjgy4ydn92yqfr7thlv8nvwlllktv80f9cuxl4966vkj4x5jzqy6fn4xqrqwpsu94y7jrd6we3haxu00ek6jd9ryqnkypuz7zgcmgfq9jggnyhgxas8wcuzvezfr600fnpwndm474m3lp5rhyl8fdx48k7pl5v52n8x45p92f4v5rz9hkpr22neszdvzj6qh0exan4fsns4pmrg7q2j9k96qzm9n7aave259zd2fvsdp47vvsecxjej0mkac0epsjze44mraeeczdrcdcvwp4l6mlwu6wse8q67sgswdswr4g3089c7dd5yl4yqejlp2j4xawg9y5gtv729av97xljr3t4de62zy69c6my4gd7drn3zm7qulmtwezu44qgzqpl4res43ste9akncc3xqr6esr9560ftd64g7sdhwzwsjskfh0y7ujddkeej0stdzhcf60flxsratxcj0jn3903xvpl53ug0jfxe2gyc989cmqza3l9w5c6aqqevj6kyp6atvhcgp0rxqummuykqw2ns0jlxgltr7vr4y5yw5mv9xq3gmuktukx8ju9c8mmqll8jsud3f8acvkqavxasggxqcxf308d8txkadntgntd5ugk7pcq5eckqfy7zqdpu0jlgrymerx09pmf0s6zsqdd0su42jdyryd97qs8qvqqqqqqqqqqq3ch2d3njr557353dpy48c9h9eh02cakurz9pvyls283u30dh5f2zkuzxzdfkjws3vzzxsd4l4e5qqqrqu0xmnsrqny3kwkra6vy7xaaakeu9gyxdjtvj5jqgdhr89mqdwcppr8kstxs2rj207tr22p733yqqy8pa9ft9766wwnu9t3y7cfg4qxrl6jy07hvls8p7nntt5x04wf39hp0778ng9k6q2etmu30l8tye7uanrledn777x0cplrpta6fks328jj7nydakd7l8kr74p44pyyfsyqqnuefnq - verified: false - status: aborted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1a0dfm9029pa26ctn4dzvw6wg5azkw5lpuesaxhg4mpq4vyutdypqrlpamz - program: test.aleo - function: dubble - inputs: [] - outputs: - - type: future - id: 799577801655743476058618710552090601157841292687939705703670286571410000383field - value: "{\n program_id: test.aleo,\n function_name: dubble,\n arguments: [\n aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq\n ]\n}" - tpk: 2061902098647092759709411225873182397624137849910529114929786253268731178950group - tcm: 7219029958952748694562627472038747887956514538329569951777221346009407378711field - scm: 388247481429182894113292412233252927860399026948145842414191700538352215282field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq80k3xfr6yzux3yqm3k4rhz2l4ryx74xtzs0vcds07rwka7rnqgslfardqge2dgk97qujnwcytgnqqqymd8d4knt9zzh0lczxtmfw5dkdfud3ej8dv2ju3fq5qtq4m4ksa5s66w45rfzwhjcysyuat79eknqfls68sc2jl0xmy92m09ngx2y6jz2ftr4zne2ylty47w2tf8psu0evzvkz6ufc29ycahh9re0tlezq9mss3w9py6yaflf6wcrx6c06a2q2z65qs8w4v974d86xdlhsyl08mhrhh5l2ycl42hu3huqqtkvypzwzm3l26zskt4gxt8u4767faqkda7yq4y47n5dzn6am4u50255p2z92evgyv85gnd85qfz34mf6czpw8mn9e3yr7mxe5dm9vppexujtmz8z80eyg7axzwmanp3csd9fawjgedjekw5d7nnx8j3e35804srvaf72l3p4q2hfvx3xjmlmsjq8c46t4gfc6cxcxfef3tq2758hl22xwglkznlk2nnhh48xldqhj5qq5aps2g9haqea42p3a3az9gt45zgv2mtfq9eahw0h9kut5dznjvrdf055vk67vawft8pu9ew8ln5q39968yuektflslsrr7cpghvu3y47gjfjc03wzynaayqq7zu58zlm0dk4zznrc72qauydkwhr7aycqw3wuxqeq4tlnlnkhqfkphvu666rkff9zqzpjhmshj36538waeqp45kekg8zh3zafgrg88qg9d65qlxyn3xnq94d33a3czlyf8m692rawfjysj9atyqkxys4sewjauvq6jnnd8d9l56utvcqekmkgza6cpt6ls853ueetvlrvthvvmllpeakv4ty5xruaxtd4u9ckc84ql3ds2wah8lfaruth0qmgfph46tt668k6z6kxlsavpvwddv46mvjae8q2n8mugxc9x5536zjyxcy29mjpr884h6u47fkgnl7nfk9c5vmwtyp4xxve4ax0lhjfl878q33pmhq9g993d6jkkhmkw548w5lkh0sfjqzlly0hpvhl6ywu0a4tdxxyk6gndp89yg279cgga5sq73nwpj5jp2fvv23n0ptghy9fcwamf6fs89xzzlyul99h3wwrcak6p8cgl5v3y0n5hq32u2ejuyhv5m2357k32q0ktzys4gpg27puhy39vmumuyssqvqqqqqqqqqqpm627kcdp3ujxr9jmhpwypu400zf7efxk4lcjvkf7t3fqnmqw6nq5306jff4u7qq6hapd0fl4vfjqyq8axr70jszezgjpnwafprckwuyv5lfrzd77asurtsjy4ds6qcdeutykpgfhn6w74r90earxf85c3sqq9mv890pe47nrg8lppxqauy6jcksl7z3m9q03zh4y8ee6grz4z8spsjw26ggkghzd9y5mfe6e2ze4pwuq6v9f73zdkt74qdt8rf6ur0urgcmmqsufzmutmxsdz24vauqqqqq8h5ryh - verified: false - status: aborted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "ae28dea8208d31b498caf1c490ae89eb7056b194f3e35a90dea9ad87895d65d2", type_checked_symbol_table = "37cfeb2a87c005d3348d6a67685f6243886663b0c54a7c3b0a60c9c9e7316be6", unrolled_symbol_table = "1e3c1f6215a5fd621bc62e76d428a89dbeebe6c188555a36f68f70987da78dea", initial_ast = "19721e772e221eb97e37f1c93467922f709e85ce513f52509ada17ee6d772f43", unrolled_ast = "9d6a97290f777830354c88a540cefbf102082a3e0c68cc8973515f4304509347", ssa_ast = "b25c2fed543056a8d3210f3c547a3e59b0fcf3889d03226c9c262ef96003577b", flattened_ast = "d30829dc6d894b5b770bd49f41056cd441c93b56d618babb87ab998b34859aed", destructured_ast = "b8e7938837dfc3472dce7a958a04ff50a94e484ae2105ee1921256787a01ed26", inlined_ast = "87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c", dce_ast = "87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c", bytecode = "34f95c324649b856e6e1178f1db6dfb00abe322f43e2ea08b37ba9065c6f3897", errors = "", warnings = "" }], execute = [ + { verified = false, status = "aborted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqp5lf5rvda34lj66ey06fy5v5y8dmqmd0nxx0ywzjw7kkf3r0qwz90vmk4uvmpmrccdzj4w8tm2lypqxvfqlmmzxxpkc473c9s87y080gtjfrtnceqdy0jfp6l2lxqgun7hcy9wgcwh856ug2ca4qqfenfsqw3snk3ayvn258s6944p6wxya8j996t872pr5vdcuxdxn8yfs4ujz3quwu35udud6fk7hcqznves7qwjwsrgxcxdfhs80jj2hr5jmgjgul3fdmtms8t65jdage57wlzsfzel9e48vpz8sau496j70yu3qcpk7qgmtr68hl9kqy94fp3w34e6zz4azqfnrjz82u98g63mrr6pa3ef34w8n3kyr45sz0l8cmxsekqq9t5j9jy9lksw0wnn58k7jyfud0l983tqt4emr7sd5u3chpc9at76y43cnjx99l24uktv70m9962sx9lxc5a9hv7eh5fqjgwvflff5yl6zzwrmz5edutqxqr9gvfc3vjvvtdpuh46xqx3lv0sj3pjjvcnqf5drdynn37xr0xdq94ef0t333c0f7n8kdg9u57gkytq3cgu94zx86grwrr7wqljza86cqrx6jk6uqgq9qxf3gm8y9g54ntk7mg9e6ff6fcj83fupqvptjdknygrfpczrsjwnjeteyadpn47znzfvg29s5qea80wdg7vcu08hlwurcqx3ha2u3dre4gsq9y3jfv5w2hqfltf58esahpu6kjkcwj324uzuh5d5wjt38zptld6cvzxgtewrjusdc3cz789uhare62vqu4cv24ryzdln0ssldz7lgs5glgrzvfqzt6km5tzp4vem6srwtn93xjwahqjmv0zq88mfwl22960yv0ufgl83dudy9s27svht4uvnk54uhgap8wuwdqnhra6mzt0ndcd05py3egzvrfj4qt5unuz44zz4a8tsdtd0rkk4y6v4lksaekp23al67rh9ttut9xysxw3jxqsxw50w70h68d2px4stssw4w5p2dupljmf9wn0qhqpav85qeeaudmxxrsdf546fuu8my3ewnrszaamf9gjeveqtmk6perrsljzqxhw5daqqsgnc79g7m7gzzryslqy57j33j2xsz55jzqahm7grss3m56jhxwy82v5v5pk7sdxdcawql8cg5um4z0jj0dkzkumxht57czqvqqqqqqqqqqpg2wesjekvvp8rvnvh9529sjgfrdu2x74qej909vk352qf7uneaay38rwpcwet7hgs5k5davn0wvqqqtzwacjvnl2e006ufve83hm4s4rzupv5y6ymhhy6h6z26kuz6pgd3duj3a5nkk6urhtjxy8lf3zpgqqy7xr6vam98hfqft3uxcm90yedkaf3n5npy2jkd032qlzvyzezvqcl3acm0azpu75ran0gs6vj9v9xs6h0mkkny6hphyu724gs7nqz02fflmuq993fyfmsd5zyegnwzfqqqq4h5zpp", transitions = [{ id = "au1xe9ss45s52a7s6pa806dwgkdaazn7vs3zvspwhpuqn0rfymz7g8qnt9f6l", program = "test.aleo", function = "dubble", inputs = [], tpk = "5335156928382662463417682951586372143768154017026570642038100848385013470524group", tcm = "4767822739789057211554348258725193428142828427072824810197371556604343646664field", scm = "2701033919833853562637728369527609701654193986187336931878103571063109198360field", outputs = [{ type = "future", id = "4946982913093244233049959804312122789186741969911776114977991679216808685109field", value = """ +{ + program_id: test.aleo, + function_name: dubble, + arguments: [ + aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq + ] +}""" }] }] } }, + { verified = false, status = "aborted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqpe98rzx0qmypzu72vdj3r2pq6ve8qrhlljfm0qc8sn0q5a94l4mpg7ectel59e2jchnqlra7qfgqpqy8ar6emfl4avcm3uwwgk30td78ltv8dgg7cz4urkah8pgepmyuv56jz453p7fty3vn5pcsck4fymqwtjqqg36k6wvu20waqf3ffzft8pk8vrqkn7fr0csujpct7gjj8mvj5pumg0dmrkxh2dy6347gw8uqucku9wp4qu2cyea7vrm72vn0gmqnme50ntqwum9ercfwxp4s67n0l288kljlz3xhs4tth70sgwsyq302thysgg4uaf4pal9dzpw49y30rdh4dafeprjnplrzq9l4s3cv2enttxlsssqk798gaksfv3lrqpjq0pe5emdlcntxta90cdxzj4twlsmgtemmuvhjnxpvtxrct2te5crwf83qge4f9ngehlumwqdsmqx2xels3g0p2gy00y7z9kdxswtv6av6zlflccd4denz2afd39hldue03y0xauntlan93fyv2khghvqv0n2e59dm5aehk8h0mr5pg0duelktvkjl7gn6mnud8djl2n3zd4m57aap4gtgyhgscl0784pqpvsqzrz7e8vn4knwmddkmrr928ths0rxqx8a8fqty6tzupjafm9hk33v6ytyctmnvef5ddle8umwtdyqqrck9fqk8p2w5mtlfynt3vmw06k0xv5qu33laa86le0tn7p0xrq97dly047gyvcxaa5fs8a6mdk4zd45h8gpdq8ychk3crd2fyyzyxqhnnq3nssxfm0205u6fs0xxq8hl6tnzjl59du5xp57w5uucgs63zgyfz23ds74k5mml82x0ydk0l24urnf53x9z4y73d33z3ec9c74sy48evfu5rjmnze4m8kety3cvrlap224fyqlt9u226dq4u4w6qwgvac7vzuz6rzw577a3t05rautnk8jmfdeua7q234tda726d480dgy2aedqras00tq7erfd42w8ze6f3nxvcf6ghhvzlsu94gc2aey66pldwkml0l96wxmhm7lltejvhg44n9n6hnn7a6957mv5ykcx24rhp6retw6grhss9uqt303f9939xa0s34w0gwym044mxzrc2ej348gpzn8k2226pvh688zt0mmsqxd44grpjh0t8rrcmu34553d79d4ujggqvqqqqqqqqqqps280t09c0p0m6dp4k94859m7aa8yu0t9n9apnzyzd5k4aphsztw0y40cr3asnnwt92xsvfsjy5ssyqfkqy4xf6sthnrd5tv0qyf2g9gq4694kkc8gn5psj87ltplfnr0qlch92hkmjrayrnpkfrurqcnyvqqxax7wky4gqcsmnape9erxaa84hw2thtmc0h3x9d0dezuqvj0rxqx4sdqnlt7c3fj6a3hr4fhd338mpk6jc2g73gjuahetwmv093ukem9aahrxmxns703yt448hgzrpmqqqqn0x3yg", transitions = [{ id = "au1swdqa0gvpj8nkyuwlmdvnl3l47w5h7msfy0ffde7ak3w9h9k4qzqpygrq6", program = "test.aleo", function = "dubble", inputs = [], tpk = "7679013795696412973166636110506506287029261995751574797228429469383914885030group", tcm = "5230462678570884926650621076942441638266528513315727266355035900011749049784field", scm = "5163336880258719423318414929737729511082942523362925092387252645454920125063field", outputs = [{ type = "future", id = "1184425809541876528352487757023810608320265088071696360444411605535247651179field", value = """ +{ + program_id: test.aleo, + function_name: dubble, + arguments: [ + aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq + ] +}""" }] }] } }, + { verified = false, status = "aborted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqf8f3unek2r7vgxqan2f3grksn7uavrjyek35h2rcmg3urxze72jrkggfzmlkdwv34exu9dkyw0xcpqxjewyxsrxyd9ac7qu3f9s5wu5yj60tx96t85mss95n3ejgdm3fl9m9kc8flvdxx5jyehtmrstk5nqwyl3u6rttwmntl2a8fvnp6mj3u3kw35axvze4p7tul9mgxpx4qq32m27vc9tvqamhhlcrgk9eg32qmteqdzav88ughh7nm48th3jzx8x3cl6alvmnzgpmus4764r50ajqjrarf50n05tcuwf0dt4l864uq3lfmzql9a83509zumfr8v3d7xew8x7q675fs7jp2zntrnmt7crxcdcu7tkxwz4uyrmc0f9654zncq4amhjnsayzvg5mxtnms3zmrj0n0s0jsrjjecu4wd0tjsgfsw3hraq8e8f3tq3ew50pewkml3s6dsq6mxcdpr3pjwpq5d4elfagavxx28z8fjqn3jwucjzz52x84wn3gg95am0r9judj8ucjgy4ydn92yqfr7thlv8nvwlllktv80f9cuxl4966vkj4x5jzqy6fn4xqrqwpsu94y7jrd6we3haxu00ek6jd9ryqnkypuz7zgcmgfq9jggnyhgxas8wcuzvezfr600fnpwndm474m3lp5rhyl8fdx48k7pl5v52n8x45p92f4v5rz9hkpr22neszdvzj6qh0exan4fsns4pmrg7q2j9k96qzm9n7aave259zd2fvsdp47vvsecxjej0mkac0epsjze44mraeeczdrcdcvwp4l6mlwu6wse8q67sgswdswr4g3089c7dd5yl4yqejlp2j4xawg9y5gtv729av97xljr3t4de62zy69c6my4gd7drn3zm7qulmtwezu44qgzqpl4res43ste9akncc3xqr6esr9560ftd64g7sdhwzwsjskfh0y7ujddkeej0stdzhcf60flxsratxcj0jn3903xvpl53ug0jfxe2gyc989cmqza3l9w5c6aqqevj6kyp6atvhcgp0rxqummuykqw2ns0jlxgltr7vr4y5yw5mv9xq3gmuktukx8ju9c8mmqll8jsud3f8acvkqavxasggxqcxf308d8txkadntgntd5ugk7pcq5eckqfy7zqdpu0jlgrymerx09pmf0s6zsqdd0su42jdyryd97qs8qvqqqqqqqqqqq3ch2d3njr557353dpy48c9h9eh02cakurz9pvyls283u30dh5f2zkuzxzdfkjws3vzzxsd4l4e5qqqrqu0xmnsrqny3kwkra6vy7xaaakeu9gyxdjtvj5jqgdhr89mqdwcppr8kstxs2rj207tr22p733yqqy8pa9ft9766wwnu9t3y7cfg4qxrl6jy07hvls8p7nntt5x04wf39hp0778ng9k6q2etmu30l8tye7uanrledn777x0cplrpta6fks328jj7nydakd7l8kr74p44pyyfsyqqnuefnq", transitions = [{ id = "au1m65ckcdcpsp5lnph3sa5c5k5v9rg9ca60xhz207cpyaz38d6ccrqhgur0t", program = "test.aleo", function = "dubble", inputs = [], tpk = "4545722811456393354251751239512283909430122413441855759325069958043556361870group", tcm = "7637843507110493620394876345321266909895315670903950929197809320352518649676field", scm = "7575811133241041418981647279984692830593058486355500897231811587998092572540field", outputs = [{ type = "future", id = "4963389433888733314641496564477627877281230309950450748272665391727802870262field", value = """ +{ + program_id: test.aleo, + function_name: dubble, + arguments: [ + aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq + ] +}""" }] }] } }, + { verified = false, status = "aborted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq80k3xfr6yzux3yqm3k4rhz2l4ryx74xtzs0vcds07rwka7rnqgslfardqge2dgk97qujnwcytgnqqqymd8d4knt9zzh0lczxtmfw5dkdfud3ej8dv2ju3fq5qtq4m4ksa5s66w45rfzwhjcysyuat79eknqfls68sc2jl0xmy92m09ngx2y6jz2ftr4zne2ylty47w2tf8psu0evzvkz6ufc29ycahh9re0tlezq9mss3w9py6yaflf6wcrx6c06a2q2z65qs8w4v974d86xdlhsyl08mhrhh5l2ycl42hu3huqqtkvypzwzm3l26zskt4gxt8u4767faqkda7yq4y47n5dzn6am4u50255p2z92evgyv85gnd85qfz34mf6czpw8mn9e3yr7mxe5dm9vppexujtmz8z80eyg7axzwmanp3csd9fawjgedjekw5d7nnx8j3e35804srvaf72l3p4q2hfvx3xjmlmsjq8c46t4gfc6cxcxfef3tq2758hl22xwglkznlk2nnhh48xldqhj5qq5aps2g9haqea42p3a3az9gt45zgv2mtfq9eahw0h9kut5dznjvrdf055vk67vawft8pu9ew8ln5q39968yuektflslsrr7cpghvu3y47gjfjc03wzynaayqq7zu58zlm0dk4zznrc72qauydkwhr7aycqw3wuxqeq4tlnlnkhqfkphvu666rkff9zqzpjhmshj36538waeqp45kekg8zh3zafgrg88qg9d65qlxyn3xnq94d33a3czlyf8m692rawfjysj9atyqkxys4sewjauvq6jnnd8d9l56utvcqekmkgza6cpt6ls853ueetvlrvthvvmllpeakv4ty5xruaxtd4u9ckc84ql3ds2wah8lfaruth0qmgfph46tt668k6z6kxlsavpvwddv46mvjae8q2n8mugxc9x5536zjyxcy29mjpr884h6u47fkgnl7nfk9c5vmwtyp4xxve4ax0lhjfl878q33pmhq9g993d6jkkhmkw548w5lkh0sfjqzlly0hpvhl6ywu0a4tdxxyk6gndp89yg279cgga5sq73nwpj5jp2fvv23n0ptghy9fcwamf6fs89xzzlyul99h3wwrcak6p8cgl5v3y0n5hq32u2ejuyhv5m2357k32q0ktzys4gpg27puhy39vmumuyssqvqqqqqqqqqqpm627kcdp3ujxr9jmhpwypu400zf7efxk4lcjvkf7t3fqnmqw6nq5306jff4u7qq6hapd0fl4vfjqyq8axr70jszezgjpnwafprckwuyv5lfrzd77asurtsjy4ds6qcdeutykpgfhn6w74r90earxf85c3sqq9mv890pe47nrg8lppxqauy6jcksl7z3m9q03zh4y8ee6grz4z8spsjw26ggkghzd9y5mfe6e2ze4pwuq6v9f73zdkt74qdt8rf6ur0urgcmmqsufzmutmxsdz24vauqqqqq8h5ryh", transitions = [{ id = "au1a0dfm9029pa26ctn4dzvw6wg5azkw5lpuesaxhg4mpq4vyutdypqrlpamz", program = "test.aleo", function = "dubble", inputs = [], tpk = "2061902098647092759709411225873182397624137849910529114929786253268731178950group", tcm = "7219029958952748694562627472038747887956514538329569951777221346009407378711field", scm = "388247481429182894113292412233252927860399026948145842414191700538352215282field", outputs = [{ type = "future", id = "799577801655743476058618710552090601157841292687939705703670286571410000383field", value = """ +{ + program_id: test.aleo, + function_name: dubble, + arguments: [ + aleo17z49cl3wfpjdyu5juxaxnuttag24ygz36pg8ln2qmlcsw4w8cs9s3f45uq + ] +}""" }] }] } }, +] }]] diff --git a/tests/expectations/execution/eq.out b/tests/expectations/execution/eq.out index 351a0879a2..8862539327 100644 --- a/tests/expectations/execution/eq.out +++ b/tests/expectations/execution/eq.out @@ -1,79 +1,14 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: c9bb0e664995804ae4d47b4fa1ceedab0ad0095a15caa65c32a207da98a833bb - type_checked_symbol_table: 5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841 - unrolled_symbol_table: 5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841 - initial_ast: 9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900 - unrolled_ast: 9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900 - ssa_ast: 6139c602eee1ce0aa88df2eb050c210c5232f06e8798895de7a02527c695ee86 - flattened_ast: 1785ff1b2256e77111ae8fe51c6403d8c3b10b79733292baaf4d2da1351be672 - destructured_ast: 255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53 - inlined_ast: 255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53 - dce_ast: 255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53 - bytecode: 15a3a90b1837b318b43b3f3bfc5e454a8821357b4c3feb01da00a4db810bde89 - errors: "" - warnings: "" - execute: - - execution: ~ - verified: false - status: none - errors: "SnarkVMError(Failed to evaluate instruction (assert.eq r0 r1 ;): 'assert.eq' failed: '0u32' is not equal to '1u32' (should be equal))" - warnings: "" - - execution: - transitions: - - id: au1vmzfta6zy5yrh7dmgq4kr92cjvr6tmwnxguawrkscwph9sapngyq3xzl33 - program: test.aleo - function: main - inputs: - - type: private - id: 3030414102350222254510473051761565848361368618573163557613003397561582199342field - value: ciphertext1qyqdyr0zw0xzuhrt7cfkmas4ya30f9aukyhf9clhmz9vmmj8794cuqg0rt38e - - type: private - id: 7403513288949166858655936198396558025908511828476299851363059198056529236156field - value: ciphertext1qyq8elahyhpefqfy5ssquly56xvwary97nrrvx0dt0dcq0hhufex2pgf92lya - outputs: - - type: private - id: 8305426377996065480485041651141918892931606862164612864396845924597742564953field - value: ciphertext1qyq8x6a632gch3u5sjr7vjvqg43sf4z3gsc7lewp8gkwwfz6xrxdyrs9thgyd - tpk: 7320235361266753660867089687085915667607134461691518948277006011175174455549group - tcm: 4571179220108761820137637274591263343931560548835641677917358596650028410158field - scm: 6847040677223132793748545475372195696130417602435382529339173243220980601344field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx22a34a0zztt9jqh5wf05enkltq2v5haxf3nngscm5ul6tnp4pa0fpwcd47cfx368h2zlml75x4upqyrnmn07yf2uzg53su96s4434tz5c0vyrspjvh5mpdg9hyrsvruglqd5ujvhwjl02m99g7d4s98cjqphmhczeg98mk6y8ekjklyllh0rnrt65wt6m544kkql9an5n02tm5nc6y5pmd438k2qfcxuudgp9kqm545ztmjxu68whlnkkec37u8wvrkn8a5lmd5kxxve6ayxxz00cmu8s0v9jzd85hnxewvzhpay2wqp7a0v2my4k7z5zx8u3ldx4h2tdwc02ccaq3q6lucsgyswnuecp3wdfmdrz6s2ekrjm2as4gnjt7zqzkq7y57mezgk3yqhcjhaqtc44nrslznc7w9npmxkj2qu7ee8y2v7j4achafgf2vhlfgjz59j7cs9syrhx2wpr9v3s23vf585fresnnk0cnneysz8mwx3dlacvfmur9ah5kgps0v8xu0n725pdwzxnh4qgqw3xamrwurwpacpwegdwgrj8xrpsatjwqf0gnta34etacf485d4hma99meevcfn6cqm8vrqvqk23uqkjek53fd4gp9hxuwh9jjx79ngq4xw0c5k4k4p36a6ywhgpshhmlshhenvcy95xm4xe6pewd58tv5qcgmxwm0myne7vr7laqgf63q9ulkxgz6xyyv3xrkwyyrcgrkjcuqn0nkd8gadpkgh4th4034mg5w0x9y8p4ge64j25dzl28nvfympcz7v7qf5ndqs3rx984js86kehy8netzftfafmmm0sf3qd55xgsumqufyxqnlhxm7lelpkunywgsmwt6m59xvqzvca3uyu7lwhq8uqjusan0fd6rrxr0nzzr8yjg3yxkze7esn88t8cxz6aleawp4pydp5gg9yascqm4760jtghhgq2sjgk75tk3zln3xk3cv5zdujyu42g6dwcf9v6w0lcqmd73j5k466ad6xqjg7ftaawnwalnewwp4ckfqthwzszdtxrqhz2m2zsehm7w6x24lfpewazamn29vwrzggwpqgg8vsws3ql0qsf0zwzka67qk6wxnwhdlc09m6j3dxhahd5mff0mw5n0cwj8szvjlqa4gmta40hj3mekzs0c9fl3m52dhtw8ahn67y35luqgm8kggqvqqqqqqqqqqqscg65mg7ha067fm9x9d9fzk9a05vf79d05jtk5jukxj0vff9h0v6s9jn6c3xnc6777x3w5ahaf4qqq048hdw3t6fx5t0nhpctux0h7jr7vcxpedevw0rm2p0zcptt59nv8hl2nypswhgnlmlg8fgxl0cggqq85pcx8kkhdygsjlgjau0300mfl24r70wveycq38cg7szfyd4ccqv66n8uh7dwe6gn4yrr6vhtsjrj732ut3zh4klg5ek4ks6yrz06srr3a2nfnuyqpeun2wk63chwfgsqqqw24nlx - verified: true - status: accepted - errors: "" - warnings: "" - - execution: ~ - verified: false - status: none - errors: "SnarkVMError(Failed to evaluate instruction (assert.eq r0 r1 ;): 'assert.eq' failed: '1u32' is not equal to '2u32' (should be equal))" - warnings: "" - - execution: - transitions: - - id: au10ly8r5kf46p6mhzslqps6ut4ph3ssjt4tahg30tncnka45ry7g9s9ukdy8 - program: test.aleo - function: main - inputs: - - type: private - id: 6270077746973074748144698571399918496734244148954366323446138623221174761318field - value: ciphertext1qyqrdmzus9aecs3dptjpcx5pqa55r2fjl6x2r85kc0669ua7tu4quzcseywmh - - type: private - id: 3487201453788331378778805604007436600076831338532093766876902202295858686813field - value: ciphertext1qyqwvzqre9s7chxry6caxk7sfl6r4r527rd9yj0sfrgsp9p3h9rzjysuwd02g - outputs: - - type: private - id: 2459999876324980461181284822721140395320838689692392707208515939416688479952field - value: ciphertext1qyqg0mznyvzn8j3j5ftcmgckec0zxxkqmu7kanqnl5up9p0zxtukwqswcpgf9 - tpk: 4831014375582165499242976850980634106153839881188586039685589319293003993835group - tcm: 7242649018195773323093698582203957028644455580225281821947381934943069287008field - scm: 6683567691335420612651889882937143943183323486833430712822103077281468043874field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq9cqz3wexh7wdfz6uxyhfrhcnfkptj6yvak0krv82k4jl7mv476cztvyr23sjk2m7munhycarq8pgqqyutacl2p3x6q6k3y7jtn729vd0qlfxr6z56yr459ypr6tsqmw3npkrn2gq4u529flr44zjytylxyqgj6dyzce0ktftwh7tvvyp4ecfrjv3mmy29ypt8nf38vaj9c3nkmgp3d86jj8qlh40xp4xeuw8k5yqjz0u22zxgndcqnh7ggeyzgjvj9pgcpv6csy49xw7uyf2aus883cr5v68dph6l0ssj22e3zkwrruyq9hfeluve55n2zsm4q2mm05gzmnjdevk2envfgkkj95g3yawaav5chle478fly6xmye9m86lhm5ygqxzme0glhf9k3juphulznevf3s2qgtpg8ja3g5wf9fwx2xxsssz4yxxjmt826gcla9pzrclzeaapsr40gpjx2ug07ux5wpncnzmaz2atskjmeq5aruwhv8v5w447l5r9dq0p0gf6lzzjaf5p4u0puly6jqz6dmpl7kymny3dd2fv7ak0jmnd0khh3v2h2k08fykcyecnslef3uf3em539nm9s5u9sspjfpj6twqd2jvpzt2zycvn3782qnc4hahmaketm3s7d5smfcxh8pledrsjt6wx67hpedpq45fdtv687v4vnt5qdaqn80fy35duqa3cpu8j6sllekc3deef700hl8nrersa0y7hqqx0gwh05tf85hsxfky60luwspxgsjzwvlphaws5zkfu39f05l5wuq2vppawyp0t3fz68j370twhq8zzw83w8k8j4s9u4dvuatct2df5qme2sjet9vgxmme8mhfxyj74ndkjulm4eep8mcf0d2wsz6w2e3fqr729hn7f0sg0ryqgmt6ahsd4grecp32fdmuj23vx7xulm3p2uactfqn8ufqqgacucvxlmtpfmny8p85tjmw94yn8hq223ahkrd9w7syp7u5y7utxa552dsumwuh0qekv6gaexuwlezwghvrftlrl7625jrm9uyqus5qpfucqxkgapyw0h9arju8k3v4lr8cefx5002u6chk9zrgxe92zwccrpxmjmckvw5pd4mlyf039wfxnhje20yewyrnppjjq6l5vfzad9nuq5fmufzy7fn9jdt6xmuzhts3hps0x22jy4n6mtnqyqvqqqqqqqqqqpxx882jj59zz7r3nhr5ckynu3lasx4pxhdvf36kf0a98wqvn8035tregjv7qdy3tz3uuqmazhq3fqyqthwa2pmekwa4sq844crhmhf579ktn2r34wmmr6qhkgmx5xsnk2kwmhv893prc60l70aysn0e89wcqq9ml279e0hrnc6za0cfm73zth5uwptc2hu70au2fmpqj00jr8uzskamjvecse8dmezp9katpskss0pv5ugj4jwlqj69c2yxtynlc5s2qg38decfuyc4ylmh4uelr99zqqqqqvz9pzn - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "c9bb0e664995804ae4d47b4fa1ceedab0ad0095a15caa65c32a207da98a833bb", type_checked_symbol_table = "5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841", unrolled_symbol_table = "5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841", initial_ast = "9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900", unrolled_ast = "9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900", ssa_ast = "6139c602eee1ce0aa88df2eb050c210c5232f06e8798895de7a02527c695ee86", flattened_ast = "1785ff1b2256e77111ae8fe51c6403d8c3b10b79733292baaf4d2da1351be672", destructured_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", inlined_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", dce_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", bytecode = "15a3a90b1837b318b43b3f3bfc5e454a8821357b4c3feb01da00a4db810bde89", errors = "", warnings = "" }], execute = [ + { verified = false, status = "none", errors = "SnarkVMError(Failed to evaluate instruction (assert.eq r0 r1 ;): 'assert.eq' failed: '0u32' is not equal to '1u32' (should be equal))", warnings = "" }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx22a34a0zztt9jqh5wf05enkltq2v5haxf3nngscm5ul6tnp4pa0fpwcd47cfx368h2zlml75x4upqyrnmn07yf2uzg53su96s4434tz5c0vyrspjvh5mpdg9hyrsvruglqd5ujvhwjl02m99g7d4s98cjqphmhczeg98mk6y8ekjklyllh0rnrt65wt6m544kkql9an5n02tm5nc6y5pmd438k2qfcxuudgp9kqm545ztmjxu68whlnkkec37u8wvrkn8a5lmd5kxxve6ayxxz00cmu8s0v9jzd85hnxewvzhpay2wqp7a0v2my4k7z5zx8u3ldx4h2tdwc02ccaq3q6lucsgyswnuecp3wdfmdrz6s2ekrjm2as4gnjt7zqzkq7y57mezgk3yqhcjhaqtc44nrslznc7w9npmxkj2qu7ee8y2v7j4achafgf2vhlfgjz59j7cs9syrhx2wpr9v3s23vf585fresnnk0cnneysz8mwx3dlacvfmur9ah5kgps0v8xu0n725pdwzxnh4qgqw3xamrwurwpacpwegdwgrj8xrpsatjwqf0gnta34etacf485d4hma99meevcfn6cqm8vrqvqk23uqkjek53fd4gp9hxuwh9jjx79ngq4xw0c5k4k4p36a6ywhgpshhmlshhenvcy95xm4xe6pewd58tv5qcgmxwm0myne7vr7laqgf63q9ulkxgz6xyyv3xrkwyyrcgrkjcuqn0nkd8gadpkgh4th4034mg5w0x9y8p4ge64j25dzl28nvfympcz7v7qf5ndqs3rx984js86kehy8netzftfafmmm0sf3qd55xgsumqufyxqnlhxm7lelpkunywgsmwt6m59xvqzvca3uyu7lwhq8uqjusan0fd6rrxr0nzzr8yjg3yxkze7esn88t8cxz6aleawp4pydp5gg9yascqm4760jtghhgq2sjgk75tk3zln3xk3cv5zdujyu42g6dwcf9v6w0lcqmd73j5k466ad6xqjg7ftaawnwalnewwp4ckfqthwzszdtxrqhz2m2zsehm7w6x24lfpewazamn29vwrzggwpqgg8vsws3ql0qsf0zwzka67qk6wxnwhdlc09m6j3dxhahd5mff0mw5n0cwj8szvjlqa4gmta40hj3mekzs0c9fl3m52dhtw8ahn67y35luqgm8kggqvqqqqqqqqqqqscg65mg7ha067fm9x9d9fzk9a05vf79d05jtk5jukxj0vff9h0v6s9jn6c3xnc6777x3w5ahaf4qqq048hdw3t6fx5t0nhpctux0h7jr7vcxpedevw0rm2p0zcptt59nv8hl2nypswhgnlmlg8fgxl0cggqq85pcx8kkhdygsjlgjau0300mfl24r70wveycq38cg7szfyd4ccqv66n8uh7dwe6gn4yrr6vhtsjrj732ut3zh4klg5ek4ks6yrz06srr3a2nfnuyqpeun2wk63chwfgsqqqw24nlx", transitions = [{ id = "au1vmzfta6zy5yrh7dmgq4kr92cjvr6tmwnxguawrkscwph9sapngyq3xzl33", program = "test.aleo", function = "main", tpk = "7320235361266753660867089687085915667607134461691518948277006011175174455549group", tcm = "4571179220108761820137637274591263343931560548835641677917358596650028410158field", scm = "6847040677223132793748545475372195696130417602435382529339173243220980601344field", inputs = [ + { type = "private", id = "3030414102350222254510473051761565848361368618573163557613003397561582199342field", value = "ciphertext1qyqdyr0zw0xzuhrt7cfkmas4ya30f9aukyhf9clhmz9vmmj8794cuqg0rt38e" }, + { type = "private", id = "7403513288949166858655936198396558025908511828476299851363059198056529236156field", value = "ciphertext1qyq8elahyhpefqfy5ssquly56xvwary97nrrvx0dt0dcq0hhufex2pgf92lya" }, +], outputs = [{ type = "private", id = "8305426377996065480485041651141918892931606862164612864396845924597742564953field", value = "ciphertext1qyq8x6a632gch3u5sjr7vjvqg43sf4z3gsc7lewp8gkwwfz6xrxdyrs9thgyd" }] }] } }, + { verified = false, status = "none", errors = "SnarkVMError(Failed to evaluate instruction (assert.eq r0 r1 ;): 'assert.eq' failed: '1u32' is not equal to '2u32' (should be equal))", warnings = "" }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq9cqz3wexh7wdfz6uxyhfrhcnfkptj6yvak0krv82k4jl7mv476cztvyr23sjk2m7munhycarq8pgqqyutacl2p3x6q6k3y7jtn729vd0qlfxr6z56yr459ypr6tsqmw3npkrn2gq4u529flr44zjytylxyqgj6dyzce0ktftwh7tvvyp4ecfrjv3mmy29ypt8nf38vaj9c3nkmgp3d86jj8qlh40xp4xeuw8k5yqjz0u22zxgndcqnh7ggeyzgjvj9pgcpv6csy49xw7uyf2aus883cr5v68dph6l0ssj22e3zkwrruyq9hfeluve55n2zsm4q2mm05gzmnjdevk2envfgkkj95g3yawaav5chle478fly6xmye9m86lhm5ygqxzme0glhf9k3juphulznevf3s2qgtpg8ja3g5wf9fwx2xxsssz4yxxjmt826gcla9pzrclzeaapsr40gpjx2ug07ux5wpncnzmaz2atskjmeq5aruwhv8v5w447l5r9dq0p0gf6lzzjaf5p4u0puly6jqz6dmpl7kymny3dd2fv7ak0jmnd0khh3v2h2k08fykcyecnslef3uf3em539nm9s5u9sspjfpj6twqd2jvpzt2zycvn3782qnc4hahmaketm3s7d5smfcxh8pledrsjt6wx67hpedpq45fdtv687v4vnt5qdaqn80fy35duqa3cpu8j6sllekc3deef700hl8nrersa0y7hqqx0gwh05tf85hsxfky60luwspxgsjzwvlphaws5zkfu39f05l5wuq2vppawyp0t3fz68j370twhq8zzw83w8k8j4s9u4dvuatct2df5qme2sjet9vgxmme8mhfxyj74ndkjulm4eep8mcf0d2wsz6w2e3fqr729hn7f0sg0ryqgmt6ahsd4grecp32fdmuj23vx7xulm3p2uactfqn8ufqqgacucvxlmtpfmny8p85tjmw94yn8hq223ahkrd9w7syp7u5y7utxa552dsumwuh0qekv6gaexuwlezwghvrftlrl7625jrm9uyqus5qpfucqxkgapyw0h9arju8k3v4lr8cefx5002u6chk9zrgxe92zwccrpxmjmckvw5pd4mlyf039wfxnhje20yewyrnppjjq6l5vfzad9nuq5fmufzy7fn9jdt6xmuzhts3hps0x22jy4n6mtnqyqvqqqqqqqqqqpxx882jj59zz7r3nhr5ckynu3lasx4pxhdvf36kf0a98wqvn8035tregjv7qdy3tz3uuqmazhq3fqyqthwa2pmekwa4sq844crhmhf579ktn2r34wmmr6qhkgmx5xsnk2kwmhv893prc60l70aysn0e89wcqq9ml279e0hrnc6za0cfm73zth5uwptc2hu70au2fmpqj00jr8uzskamjvecse8dmezp9katpskss0pv5ugj4jwlqj69c2yxtynlc5s2qg38decfuyc4ylmh4uelr99zqqqqqvz9pzn", transitions = [{ id = "au10ly8r5kf46p6mhzslqps6ut4ph3ssjt4tahg30tncnka45ry7g9s9ukdy8", program = "test.aleo", function = "main", tpk = "4831014375582165499242976850980634106153839881188586039685589319293003993835group", tcm = "7242649018195773323093698582203957028644455580225281821947381934943069287008field", scm = "6683567691335420612651889882937143943183323486833430712822103077281468043874field", inputs = [ + { type = "private", id = "6270077746973074748144698571399918496734244148954366323446138623221174761318field", value = "ciphertext1qyqrdmzus9aecs3dptjpcx5pqa55r2fjl6x2r85kc0669ua7tu4quzcseywmh" }, + { type = "private", id = "3487201453788331378778805604007436600076831338532093766876902202295858686813field", value = "ciphertext1qyqwvzqre9s7chxry6caxk7sfl6r4r527rd9yj0sfrgsp9p3h9rzjysuwd02g" }, +], outputs = [{ type = "private", id = "2459999876324980461181284822721140395320838689692392707208515939416688479952field", value = "ciphertext1qyqg0mznyvzn8j3j5ftcmgckec0zxxkqmu7kanqnl5up9p0zxtukwqswcpgf9" }] }] } }, +] }]] diff --git a/tests/expectations/execution/flattened_function_and_inline_matches.out b/tests/expectations/execution/flattened_function_and_inline_matches.out index 1cb54d0726..fa64999684 100644 --- a/tests/expectations/execution/flattened_function_and_inline_matches.out +++ b/tests/expectations/execution/flattened_function_and_inline_matches.out @@ -1,315 +1,84 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 33492050657dd82b8780af78e6cbb3768d50f190428f200a6a43472d50a9aa50 - type_checked_symbol_table: f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc - unrolled_symbol_table: f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc - initial_ast: e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c - unrolled_ast: e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c - ssa_ast: c11c83b8011667b9803def78e26c978af8a407a0bc550aa01d57f2a21d64d769 - flattened_ast: c9c69ccdd00a39a9f600ceba6ee7ac5e47c47b1abf8d8857264581cc18795fa6 - destructured_ast: d84d9587cb336791a142e889eb248c425e51acc8f3b8f17561ec1aea5b554378 - inlined_ast: 558c25fa346d7e139cb309899cba630557836983ce4f147c2eef009343a670c2 - dce_ast: 69876b0a87e8c14ed0085f25354da4a7f2bfaa351dfb5230f9b7f37bcf33d6e3 - bytecode: 1524806e8239505d72e66621c387acc0e3342a9507535f00db692088eb933b1b - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au1p58lq5w85avngfh30427w5jctrkf5fh9h8qshvt3hf3r5umvd5gq5wj8jj - program: test.aleo - function: bar - inputs: - - type: private - id: 1531850374981700234317362560327096304118262075151346904203834021187461370021field - value: ciphertext1qyqg6u4nh3rhtm7jg093rzflv73snx0v9evtc3cjck9ux6ywputgqyg69ff96 - - type: private - id: 678191410855210397352295986321172250933469641996123274026649469209708483390field - value: ciphertext1qyq83jx9ycv03u6lknuvc90yx6ukurtwjumxt7e4x2warwlf2g40wrqvvmutl - - type: private - id: 5472221408561105432648950949450414832719619859862507101502460177655232568203field - value: ciphertext1qyqzuz653hdhar4737ku99vcmzaud6qkg9vw6fml63vt8gns52xjzps4dzwav - - type: private - id: 111063053651717135630758886039379553515884381585322038303405460250893799957field - value: ciphertext1qyqzrazl9rrtfprneqd6sfesxjpwvut0g7dm2qlmqhr6k3jazuuqkysz2qv59 - outputs: - - type: private - id: 2562856650804141143831914635755859002729928687402542429358168788092436711560field - value: ciphertext1qyqt5hl8pk4x0mskqfrqky34zc8khyjaw5gugvd056zj5dzwz0jgvysfxs2zp - - type: private - id: 7269608502426218611418181774211692659387059068817537559856235977962867144347field - value: ciphertext1qyqgwywpmp7r2dkn30gv57c9y7x3ask436hw5r8uasdhnlu08f5czyqg0hg8l - - type: private - id: 1375458523776688713637554795182279229121629696416820033142321664205326032198field - value: ciphertext1qyqvr5czz2f2zj7d5kx4adetgsm97260fu3atknrrn4qjmk0kkt66ygjym6sm - tpk: 512383684471783892777788076619862839966981157566564726912316434903274880697group - tcm: 7975307881435548581927347671860337126690869146772124069070420940707216867640field - scm: 1893779522364008370528920564800894353816316246386419733877530996647548645046field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqvug2lq5jm7kagadge93k94cygmha8c8l0prlgwtd4zcg3smezu7awtmqu2syzx4p5nmeku9wecrsqq8pkldp26xys0ng59w3nnxv796hr9n2824kml8w3dfxjp8euw4egyxs545z3qstczv792vcu0qqssq93zpfrrp90776hc4qshq2642a45uqa3q3vlsk5lwpzvmpach26unpdkdgdxnw27jxdfwlwmvcy65qv52lte8af3z7mdg204l7ca2l6ewgrnsesu23hpfmtu49vpu02te6v8qgpsxpu52wd2rc3vczlqhsq3g9hulls5gdffy9r8cwnxacatml4yh6cu0j0t8slyrwvsjkmxxqm0v4t0j0qqpgsddcxspeh85vspu4a3aemxslplpf0jz7eflgcvefeu6yml23hz6xf0zw5qwvj67xlqwht3vwn6ykuq4u2jhrx2ws0q9ydkpxuflz24l0zzuca4tumhcnnpzzn8pakfh7rhe8qmv3e3qf7wy9er2lqftlfrg0rl9rntyayvqqp6mqpgsv8aau2n3lxjxqckynl356489px3vaw2mdz42rp2neupprnupevzflcqxgsm344yf3r2sqgwz5qyr207ny7n4j2ptdeg6apgcj6vv6mml7hxw592t6q083qwpvsmpufcjl70e9n80jdutvw22qqt3m9fntq2dwqejapppzuzhsdwp0wcy3awj4gu6d9x7x6dlec8uxm0hcn0s6pdn924m270xds08h5ljremf5rdm3w5pxvjfhkdm8tcpemsak4fv025eadd2u5gx2zxqf9ez3u3hevcjegt98r6sj6fdaspz0dvc74367w4y4dtsaxzzcwcy5c596fmu26fh5278f0n7und7fqr6tlpggrf704nq6p6fr2qzyhk7zylxu0q3t3ucpe34enstsadfsfjrgetu2u302hxexyeykn6cd83x9nu6ak2kzgudfhcw30jtlzwgxyhr6qafv2su2d3rd4y2y0xuj8sdn94ew67esjlfnzxfee9lmq7r7akpf7zad3jjhjs9s75dnh3x62dwyuxlxqhfvrwjvrwzpe9p6npke6qcs0n7yzwdeeecvdw8zpxetpzgpnrq9f7nat2mqtfv5pnt3ssg2gekpdvw5wn2q666s9kdx7eypa6mtsqdgzpa5ts2mqwkfzaccrqvqqqqqqqqqqq7lg2vyxzxkwecktt7k93c5va2ghlek8fxzt5y7lfcd2ydel95msncqr0m82jex0nsdqsv7l7lk3qqqwv6rl7dya5rdrd5d4hqzxu8cjq2n2pmxfy2hzq5xk6atnte4su78fs74ldh48nmq6fauta75kpugqq9cm0ahn4dgv6hjq0c26rmeeyq2qlyf54jxs64xdsdp60av46vtstt3fwqrdlhhh6l49y086trksqga9dtnet8q68ju65a7pcrr3gjcdhteecq3wd65af09qwdkfxf9yqyqqwu0nd0 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au18zrdd96umzpvpx9r27txac0smj5dchn5l43rrzvttr672lvwdcfqxrv9wl - program: test.aleo - function: bar - inputs: - - type: private - id: 398249646114103449828935787286513716587055433311795776762591769406963949347field - value: ciphertext1qyq8ggnvfyy6c7d6vks0u7ns924676aduqa2ympsz7jvkqg4dyfn2rc733jvp - - type: private - id: 3661483191692032527640390060839498226770862574209515100737221560895347104792field - value: ciphertext1qyqtx9nhtkwfyaa0zfe8r86gxahrn68lty5dsu7vzwah06s849cdxqgtwsmud - - type: private - id: 101900884303533341748814469588276787075111705194330044067904020227948822471field - value: ciphertext1qyqqewfha72fmngqvllfvt3jaeuhnjs5fjujm69tm4j8x3qeu97ljzqn7u95m - - type: private - id: 2263061180216451364826709411382591181365188951673266985268039166694764783328field - value: ciphertext1qyqtrl8r5gf2vlfc2q4wvgptrsyz9asau39e9amjzjtl5nwa35gjjysqlen8r - outputs: - - type: private - id: 3000236644477610520001791670226771749164853917433044312205351938202513853991field - value: ciphertext1qyqzd4dch5d7muylcjm8u5tm2yf7kc3vzrm6akw7sdafc7j0khdzsqgrvaj2c - - type: private - id: 6934227700766905005301470828600123289014958612967700342518524991209787876857field - value: ciphertext1qyqyq0dlnkc638keavkmtc04hvmwrryu5mmqsstc3dykgq7cakyezrqsffm3t - - type: private - id: 1774711734072377002931960198208739655396573079213520189259315065264704353326field - value: ciphertext1qyqtwxtqe7pcwaqucwk5268pj4lr47dta63c6tp575hpz83g89xnkrc3vsl8k - tpk: 2648975399333506891066430487012965830441159294533947089744287387271134408105group - tcm: 4622791303988101841327005652441860772220114266951663803601422301383920316221field - scm: 7410915781437728459378166429703486561569640859133578857905554519607570043435field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqfxvw9u54crspy5z56uk25a7kaqkhvnw5p83sdaspyhd3rh88psvlpxtavfd39jmsppeyvdce4m6vqq8detdx0yv7q45dl5w6905ce0zvw77p2ydamzc40lgk7due6f20tsaxzj0a0qumu3y52um260vgkaqxx5tfu369pdtsvnq0rnk0rjauzye80tnjxvzrtaznfe05sdfgrxwy7p9ck547sxusnmxalzv0fu5qquvh25j02gtlmkp3pptwnlx8ulav3r5as2drrnkk8yy5ghvux8whmvzv5v74nn6e46qdsq278yyqqzqqf7j4zs332cy0cyv9g373ce6s8a6ye9syw6jpp97l350a478um5us2vu0cqkdm7wtptu0va74cq6lxqcwy6mnx24zn0cze0t6tdcyaa5c87r6yglkfj0pm0ak5hm8xyshwyn5njtq5wcvgw5mxr4lyqp5m3689h74kcvngrclyc8du52wpglyk6xuzjdc7gd2sdhhnlha8e7jww4x73tqkgz25yf687pzheqp27nkdcay2szrcl3hpcdu2rqhuwgf067zfnvtp53t09zcs3xhnm3r8d4w8h7m8ltca377x4tc76kq267r20u4n49qdc2hhctprpwkveanc6twrz0p9cq4s2euzm3nslnqfxufy5pvwdcaqflavtxxf7typkl3vsndgr3h9fjjrln28r8eyuwklv3rcxyecczmmkrlpwrd85yzsujq3t5cvrwf93wxs7307h4a3akzs6866lm7dfjdtxfed84tjcrmyx7czltenlgaaupccpdwfx3pax8egfmhzeezmhqcrp28pfeqkpeqwy5utp7lm9l8jrfkp30phpgaj8ac30l6fz5jdfzpduj7rz8mstv9afweftv9z3x8fdhjt0cwtuq5c75r9ye8hvsvmz4c3vwr2aasgeepfppjzmxutfm74ztk0zyv24468g54ayng03362a3xqnu2g4qq9xhamnnw5shgdft0hqlvgddg4fd2cn0hjl5hl5u4t8mwxh7rkzzpvnfx20slh3u9nuzr3thr5sj3dcn5493xcq4vcfj0mvwhatn2fpx0m3c7t7r5jp5xyg2735rjfmmh7aemmf7wegajz9jjmv0p8spsqyjalqzqfy88944mltnf8yys364lf7xgfcz74m4l7tevxnzxr62cyqvqqqqqqqqqqpphvscyxtltvre2k835jgpj0mup64n6gzgwr9znqysd03f7f2jkctezct7cgztv4zpwddl9t8l8uqqqf4ecfe9zyzttd5lppk9gh5vknhnl0dghqptt2s2h7tx2727qfkmy5s2qtqwn3e89kcmlrr6cu58spqy02qmkn9hp06mnrs59wgtge3clt6s7kal3c8urcqy5nqx3jw4nqd4z68axqls9a94xxhc7rcwv5hp3pwljum74ttmskydlang8c6tnj24rjp95v6zk989rnfj3w92uvqqqqms27vz - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1qwc3qfcz2h79ejqmks7mnt89057l46swz2tl5qsmrr7scjjqlqzsy6yv47 - program: test.aleo - function: bar - inputs: - - type: private - id: 167547130716839976792621900735649354407109201310624399417836344548661068761field - value: ciphertext1qyqwqqtausa5gfjp853fxdj872m9hdhtg0dxjn35wrsrhtvt6yzyyystf03nv - - type: private - id: 5806065476541255793615124459729906362664857756507391665014641791321900096539field - value: ciphertext1qyq0j3tl2sgg5smzfygjj70lm55yfh4l3w6flty34k5j8ahr54jykrcmcgrly - - type: private - id: 4737287417612120075917023768761998371501190767279260212026158483312808545087field - value: ciphertext1qyqtawd5320m244sfawrj85chuamr25gvrqnzmmjl2geptfahvhajpqp02u4g - - type: private - id: 1185052098722050969937852496895393509370368732638217724808967062110157292575field - value: ciphertext1qyq90wnk8tx9k994zqgpq3k4s3s8anynwhzegjwrrnfk25clez4zkrg2yzesf - outputs: - - type: private - id: 4852316576216415733443896403047026839291566374615281718527962885117465930645field - value: ciphertext1qyqxk8wlh7dwkt8vltr4xrmpgkt5yx8n4cpldlrru0zy295c6eeysrsmt5we5 - - type: private - id: 6921830002935066396168308076257132452117484560874526107973949303682525952460field - value: ciphertext1qyqv5gat3u54x4vexa7r0x96hjzx6dm4smst3c9d6lw2sw8f9nrtcrq67m06s - - type: private - id: 4549528411592874247464685060519623251518915465701536465815329782000641098984field - value: ciphertext1qyqrx4udv9kvwsnfng5kp4acq8mjhwza7herk6eghu3fehv7jgxwszs6gx8av - tpk: 4881922544730625071655875733436685825037259346086966713831378078326652821707group - tcm: 5860141206210434272422252891624545672614071392451974451650257410679341220715field - scm: 5917109430021122117852322379431443670012136718050762652108647541971293308245field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzvfalrdn2j27jnevewfyrvpwwedxzsnc3zg82dj63cghcge42ysxcy77kl7ndmrjxf23dt69d3suqq8nazg9g4rvgudh2992cpl6lepgpa83elzqtea8l7t4t34v54k7mua382uqsz8uknqglrj9ykch2vqwct48xecj8u3uzrmmyyvxmh2xd89fuwzlfka4h8tvn3zrlr9vspaeatq2wa9lrq6ggx8dmsgqhqkqr6jwx9p9ncl62lm9klz9cqke5068u797pg2tn2qvgxrny760pgcrtgeru97yedng537t99hgzuvyqmwl9vp6r795ffdezgxcpwcac8255n3eezx8lyncgj76dc5nj7rzylwqc93xchsrwm23j2jnse39splw9w8kmywyl36pen9z374l0eatulsmnxf7mzn8e3acxq6yukd85ml5lyjg3t3la2jr990dlye9lsqqmxzt7nj6unzt9xw9cehae6875ky766zxff3zrw04pqmvx6dwp74n9glq2jdn2s25wslz8w0dknqf85adnmcmpls4dmglkxkl9757l7fuy9z9e0zxngd7dyapmh5cluwvaag264wwf88kh25qvsdxpksq98dd4k350yjrr0nuuuyh0kp4q6wms08masccn05xkqhlcxppc2gx2pp8dqel5e8jk8q60qfytxlyqcu5qun8cl92dutv45ycg90mk3vvmd5vnudd90af4yt9x6duxjczcgqyzptcpj63ezfktdyy5nftuzcncsd666u44wds85t77rz0wcq0alfxynff59t34k43zlu5lq2tnxeh82e3n386f8swc0fza5z27pwhav669983hjd5l5027g2t38ghrlqt9myng08suzpxmfzma238slwp4zq8heuflhqh3rewyk6xq3xfagjszfetvhr7t3m9wmak2xeq9rcmay8mqpgh9ade8ef3ct2pycn98q573qs64hxx68u0rqg5ajvz0v3tknt4mvhqv32ep4w5sn3xymckk0xmnhkuvwmqpfygctg686y0z3j9ucn4k36t2tgdk4rfw8cwrvs4frp8av28g0dlym4jgzxhaph035mvc2mh3mlght4mg9f337lnsv275crdz8ghjucjqf2nm2fc3rh9u84s0nt6zuegnetfjcg9mw9fp3xntqfcfutc8m7wgcdntrus0qvqqqqqqqqqqqlwmh5nmvuxk7tlw5a3rsll5phj2wnpnrryzspgds4ddg0377lh4nvmulu8nzfh3dakyzsud9ccysyqy9e3298dp9ft9f9cgd9xeswaae32gmmerspsva6gacdzwwq4saktu349a05x2g4c2g83mehsl69uqqynyew5ytnn6vswnszrd4lvm35d6z4ahtcjku06hf2znc6l04x4snvygk4trp03zypr58c4v209ldlccxl2d8lpmzvf2krz557sjn27ksyunqehxwe8aksc3xlsys3d3sqqqv9mqrq - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au12ut37r5rfkg363r0zy8j0m553ckrtdlcveex43fg2mxwywahuqrsnzr3am - program: test.aleo - function: bar - inputs: - - type: private - id: 8371866203833378098808752587685233466792197900236107755639164289057534341593field - value: ciphertext1qyqpclm05yh9f9h732wkxw3amgh682e3ak0g8tv9yfpxyp9x9xl85pcfhpcjq - - type: private - id: 7022280320112400665928191509769887782726553271584488946443510335604418982963field - value: ciphertext1qyqty7x2y06a3f8gn6mnvakumpe8hvmpx7tfaag3ytjfx50see06ypshkak5m - - type: private - id: 7995258979295449068934494655319342053840621429647877218388137641130506189467field - value: ciphertext1qyq8m0w6sm6lpszkdur3ut3tv5wrcsul8795ck0qwjqzcvagffh4jygnesdzy - - type: private - id: 2878620488491959829697941572963203504178631376189719753492956984433335144282field - value: ciphertext1qyqtnywyea4aq7fd9g5am33m30wkawsppr3k6pzu58elk5r5nlu76rgvxgyej - outputs: - - type: private - id: 4188269838963729982459012802450665038434228699510978226589047381481928076490field - value: ciphertext1qyqym4ve2rrpjstahmmgmvkd0l4u93svh5fzcw6le527dpxcl3cfvrckyhcjg - - type: private - id: 1267756928940201883492975468842647591435139864553724765236778554610936344284field - value: ciphertext1qyqylhk9dmjd4afhj7gd8vllfa2gv8zf4cfndmwcazquasx5rcxvjyqq56xdw - - type: private - id: 2789413479572818011235289054885995852750918166412623626385116997905155215383field - value: ciphertext1qyqw5x5tfzpzs4gqyagr4v2659qrmhz7f5kcyzdj384w7v7ryjf8urs5enl90 - tpk: 4439623357906706778063070965010769581651943588392218229023544910434671503650group - tcm: 414852636445771852895719520616470865747293727992626270951655519738605981239field - scm: 2647021197643286527797878718816554508883577958945796498508877652808799855058field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwep63dgq7dhcxpfk4u3lfr42u82ypzcyvlj6ahqqza97pvy8q68kwu7affn94p9eph5rp8yk8a25pq9dm5x04d3su3sqcgmg52eke96z8nn7pnv9q9kwxfj67zlewyg2hsq47eg3swv8e2f006vmyg60fwqw9peuh9h3fv043veynqhflclh52lura0wx242aa83lzwek9yz3gaq32aua8vjlkle4r0chztckfuqwjcpw5vhh3e83nlf6apmwvqf2fcjfna6pmqw39gnhln9ght7svxmdsgc7ffqxwgw6222rly3wj7vpnumyttqz050nwe6chlyzjcrg5252jpkph3mtpfx7f0swdhnjv3mwk2y8qcj53k5lw7mhw7h8szesplx3aeclh0eejju2ke7trcqmwnfp45gudnzll8xvdf0h7ml5j65g2fljp4j0jjsmppyrctwj8uvdqqct03a45qlq5zccanpd2c025p0f9w39nknakgudhzt3xffx59lq0skj5z3akqhnxcuvywla0qlymqfa3s53tpectg3df6uppwrsrpujm33gjauwf5auzsuvsj50dck0wrx9mw0seul9ccuq0luycxgwkuqq32lmq6hpja0kgly4utuknh8dpgc6kyffdnzazh55r730rpu3qdrezvujw8qcr64h0np7fmmvr5qqpmdv983y88yk63q44jmr6zg8xzjhhpzfau96jj5lfqmjtfkcacxvnlkp235vjfth54tl4kfs68q36d4rgc4adp3ncer7r0tn8rwu6rywu5gn6k64gkp9yupz9ztk0xm453rc9y2a4797eqtateymmlzkqxpkm27zk8gwcvv5eaus0t7f596l9wjwhe96afgv6rjlptx857asf80lyjtz3zs5knhe6epzzfq209ltllgwunqvpnzfgvx9hh8f07ctlfsm3h344q3qwuyp9lajfpd996kc02ryrhenv0nuer72rd9k6sxhc5euvc8mg6tdsp368xys88qtgzewxnj8p2lh2ju4dl8e97k6gy5vwscja36vr2hmy3weyhxz8p9nk70add9mx89etkx74cer22qrqez3402p06mt8xnkkc8aypw0vnv70npn2p30kgyx7kgfreh39ddqkkt8gerr0aanl6cdmz45rt8aecpssm4zq6sj4rakeeq72t2cgfqvqvqqqqqqqqqqp2hk3qgd5cpzh4zgs2yp0s0h99wvz2ac3rt5dfmzk6fkqj3yrthytmw8evmgnpcn20va6v3evw00qqq2ndtltk0dyplx5jpdc4hj3lp7kqdj9xx5gy9axdxd53fzew92xp5mlqsmph5ayuuhfa52x742n7qqqyufh4d8j7d9reyssf6hpw5vqsqy2lrr0gh7nkcfxpmax8ne984saxnjz0e44cp0083j3avwmasfhyyn7xmy204fue5sn422djndjlqrj8k95jk2ucfzv24huu6g43k7sqqq24kr34 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au15sqwduzh4hr83mcwnzcxu9w4nwa0kvkrc9rwe9dz8ggl2vsktspq5xxgg7 - program: test.aleo - function: blar - inputs: - - type: private - id: 4147550490135076911739529230834202017564877226747902964473701276259370101176field - value: ciphertext1qyqzs6vmc8r5zftynltzprqcp055vq5twlah4hwq7hajy85g6u0wgrgd9pnjl - - type: private - id: 54786036917564503217556653849358571603743541150140581843366195761420327094field - value: ciphertext1qyqp7nrvcr8lruqrzwv9rrc9zq8wxpfx3zz34znvsnc8jhdurvz06qq72hgff - - type: private - id: 3079984744031645266053452973955242630636360743946175040013077389363406077098field - value: ciphertext1qyqrnts6ed4jh9zt7e8fmd0k3dwe8vj25vmmk3fz2jrcwmtl2luu5rclrplt9 - - type: private - id: 6816164637451267850954483409576966115999095787652696594511795326831396405767field - value: ciphertext1qyq8yfzz2zv7e2453j4yspfnhgu3w9qmccvndxun45qfgazvyd0j6qcvgnc06 - outputs: - - type: private - id: 6525723194459169929684327450313504228033243803371374370709898408485913246088field - value: ciphertext1qyqge984pu070mm7kdkk23gj5ve0x3cdgpk6f24waawut798ltehzps3tu8wx - - type: private - id: 3742294214622353438212532588884965080337960109803718667898984526986568295708field - value: ciphertext1qyqz8adhulmhsv55pnvwa0p66kh9fry8yf6lw7ry7wtw5agxrl6gsrq69504s - - type: private - id: 3703620039668348989084948946472373861248348149469528529705515995787645909684field - value: ciphertext1qyqwajzl3lgeke0dk8k6xehnxwgvasku0fxwqug4k4sp98j9ehzz6zs08zgdg - tpk: 7681717128769365656865658289108828103803691711404368440736920143888390943985group - tcm: 2505530238518088670711314639089886876525435750635851528863069773254783797537field - scm: 7772379585394904162736163851358965685385897038360273078987940614835468036556field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqdhwmvav5v82vufcjpcngw8j494s4ke27lvkelffghj3wk8qusx5qamu0rzjpznekc6aj2expq6vypq8pepv99w3s0xr0wkmwj72qvumjvkf405aej3hct8ehp8ste4fzw3wfykd8dhy4cdhqe7v09n68nnqr3ha39due2wmaf3ftmqe8mk7re23rd3g9ayp2385f3w06f5tn9r8ug4gczjcm207x9ucqyjmjupcq7f292tdu5eptqdwm7qg2t59w4p7cjp7hxxfkxs5ef9u7uayhxja3jc4crjpmls9jczc92my88fdvq36xqfht8qahjdqxy57x08f83lcrqlzzgad05plsel4g50x5zs8kcxwca0th8sjgu6xhvvzp9c0esqz8q2a4x9n7x5m6tmp79d60rjyglmzwn02yg5p2f790ytdkae70fxg4edngk9fzlm7sy2p6lw25ksz3q48xdnvy33cr7pn4el5dy3mwckhlk2nzl0jh5cy2u5d5z3jv9y0jtfdh7hwr50wy46sfldzwe8q8tzveu0peya3qmnktdls062h83gjdqpnaqk5xd5cjmv9qchct53dxf08ug6t84zflhhx7xfyczk6q02hfsn5ppdluxdtqjk6dlfygkpkw5fjpqh9e540t7dqnnkew4hewt9hpm6sgtqfr5qprv26cu6nqp2thqwfkjxvd9d9dzej74gkn0dudpff2tpv2qs8s6dzrqjhm8p5yrgdanpwulvh7m9zfz28nt35vjfdtkunryu7c3kdj36vwhqf7yxy0nk4ewmur2a5k2wy589tndedkxuaawdh4t6pqtsp0cey2tx2stq0geuzaf4m54cnjlvscrfmzjkl3jaygxrjlr0280dlmtkqq9e8hs5kpn63hapw86qah2lq77sy2lgm0eu6rseja5g0a3twydafxgumgqy0j27r6cg225xnrlgcuu34lczzyd37tp9juhnqcflvg04rpzyy9me9404sc5ks80dxc67jjcn47ca0x6p9n7f6vuqqaj2sv9hvsk7p9xqss7uym2aea6tvkrkv0n554awy7cs2j6cfuzujyn9q7gx00dpfmjz3xa9ezfe2yxlds3x7fc06ey4rzyw4cm0x9l8gdajfweuucsjg9hgyk7x9twmee2sxpqwcuem6lv8nyjcwdwdsfdt3le3y54e8crqvqqqqqqqqqqpac8xf28l7yj9uc2jlzl26cvhgwqp940lzjflg92vs0fq5ktxnvfcctm5552sjyt9ku4wl9738qesyqxudejafqewp9nrwaqug26xny9937elmnkhsftcl5h3wl2ueadsrd76dp8367ljq47hkytncptvjgqq9qye23ursg32ctqp9z5jzsq789smwccxajaa8rlgv3pq2v9a2dsqnkf0gg6yw27dfumh987hrdx042n537rtgc93355rxhwyrpfz6puyf2vvrsqx9g3qta59kwehlqvqyqq3605yw - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au146t60jyxx62n2hjq77fyjzw5x5nwl8hwvnsa3dtjquu7e95qdgrq4yyzqf - program: test.aleo - function: blar - inputs: - - type: private - id: 4444119996881367694615628396177203652122349508500037905005736495787808847345field - value: ciphertext1qyqpxrafuf89ean8p7h7fd3ngu34nuau20uatvrt3l7w9clfaxctkqslhnedy - - type: private - id: 2337603013297404550119162496500908625783933897540113885103826977072453090174field - value: ciphertext1qyq0lhnetkjdsdzqrp5tnfqek23zvy255qj0k8szjegcyv0n3ucxgqcdhxc7v - - type: private - id: 137018200174510964444952496230272838185046615366421297281387891709188536619field - value: ciphertext1qyqv4dj79kwv8wxeg8jwhj7qwjneenv47vjsfcsvtjqt0s0ns475xzcelvnr7 - - type: private - id: 4767496936094526973322479830127013957806140593500194281188206342632370222135field - value: ciphertext1qyq2k4y8gw2xffhh8cdn6emqvnvn70ylkly2qc4ldqj7fv77g2762ysxg806n - outputs: - - type: private - id: 303914673931314780222425594125895680180970084257975385903123820583936410637field - value: ciphertext1qyq8h9pyugwry5xtmwjxw9tqe848yluge7dxd950ee3v07f7n5xg5yqtxtz8l - - type: private - id: 6536334419606142886765055978364750677106366897196924445249937136319857865122field - value: ciphertext1qyq0ly6nymw7haenp7l420678p53pzy29fjkcnqzn86zhuyzfnrh2rsjsj2p3 - - type: private - id: 7068785287936406809163713994887682342497159729085588654681698713284384481713field - value: ciphertext1qyq9wwn3z75z8mtw4qtq6vmmf02k9xkv8pg2ce790y8jhmtc002jjqsf9fm0e - tpk: 5357612877442365655354297744000333343323368757779618966534861065796026900638group - tcm: 6527176893106070727339931496821613298823243238704864035608166364959716974915field - scm: 7297130235035764609941638056432583115472022453986084573274934070781243522828field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqq96dvhms5qy8g47wxjfdd5ahkxfq90fxjyh5m8qhnvw07h5gamr6suc8wthwtwvk5m043wtzj5uupq9ejj7pwjv0hh5hhnhyhpmp4uaxjfzud0cxgz7c08d8xchfmawl7cprufxs0zrcs0nz32zdelc3fvqqjlg44u76hlr6mwr55d5a4dnp5j038lfanrdp5gu50hvd0930wznx75fgwpgxy5mufek7shmhmfwqkeaqx539v4wpg6txvrwx3zxahgj5zjgu450hjg2p9knx2aqkz4kvhhxpczf3kezpmr0fsmgzdhpyqsuse2x4gc5maj0fayc4uakpkxa3p0xg7h97sxps8zqpg23qq6ydvtgsu7gfhg20lqxypuemjexqcrs0zar9xtq79zqr7x8j0jaa7aceq4dplqf3a0avc354guy7vmaxkmf7jpa3pu2fsse9p2djy5yjwsyg4gl946f4zxk2xq34ufvw0gchrr4mm53t2488zgakglpgxwe8q5j744m7kj4dkmtxap89frnty3qxhkktq09mexnnm4lnvdr4lkpjx3sly09q7rw2tjheqf9yxrl28wshe7m2u34spy2lgeqqfs82xfyqy6mh3ald50d93k5egsxg5s532xy90pnsxzxchhkmztj3wrfcpmygt3v28r0n0fyxnxfs65r9g92gpmflw7wkh2mahju9hkxch3g578tjq8mnttsvcsc3y7kpega7td5yrv0nqgvzar2u36ffjd8qpt30vsuyz4wwcfhlh9q5vk5kht2wqgyrcd96cpp8spuu45ch5tf9yjhgg597gmjzgl7m265582ksppu5tpqx2uzc20q9fft59j94wmjcg5yasy3upuc8j2t0v2lwnxecy8nxqpfughfq9z7ftfnhrfj2vlzjrst2pdx2t4gptqy4h4fuvcltnm8cqu47y20p5ekk7zq0fucus3c66mlme8u4rc908nytvggvh9c9drq9lny7zvuzqexvhqt2h2shc4agt04r3z0w82hwe0c0mzjsvlw0cjqlt58ka5wgm5zcwulr0k95w85xrcw722p59x96f3rg0pdc5whs2pcm68l5srpmzn3gcs44kmduu5rjehjftn6jf0vxlmlz3hlyvj8usraagpnx5psp6hwyrpy9sg9r866gzqc475dxrw06uwlah2g69ltgyqvqqqqqqqqqqpqlvtz54a532wznzn48uv8mmjtxcrr2qpgcmhs7hkkasy44vlkacws49xv7rw8kugfzlec0ec5emsqqvu97ctz52hrcpzm3qcrhymxkg0dvwyju6vn5l5m5fxeupwmy6xge8kd07xuqjsgr6qrlmvuyhsgyqq83hfx447whvmxcmmrnmw3q48nyr5905qacpjz9cclasqa6va8ps4ewdf8cn8uehcnnw7eh8kyle9g9uagw86yeat9fal8yx2tqessppmjryrvcvfx89psv03c9t9r96qqqqp8scky - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1asd4yakhjyr33h23g7rfr3c92asfvvgp45agtum5r6w2vyk6d5zq026ahu - program: test.aleo - function: blar - inputs: - - type: private - id: 333240788508823663119022065957227305071000160370206942500101621845009252141field - value: ciphertext1qyqr3f84dt0zzldpkpaanttckt5fg5f728jc75j7gvt56jgd0paduzgc7ztmq - - type: private - id: 1351618911997237413600303033742171660297924183224159184462483312968959978783field - value: ciphertext1qyqy432trmjgjwd88ygl06ct57j5pjys5jsqn40346c5ys4dffx9jrqma3t0g - - type: private - id: 5559995181095980412464671739723623236786414593644620450902996652424353276335field - value: ciphertext1qyqph8z9862qegtxwpuny5wmrdmvkrqhdzqhzwesld0melgv64uuzrsd6gp4w - - type: private - id: 8144095864856337487181599613054717684669512345208336912962249052359492757559field - value: ciphertext1qyqpqehpqumzn2auxm5vzudrwxms9h82pyd2dw5zsalwyv8g8lhrspqdxuc76 - outputs: - - type: private - id: 8158859939165745692397654554466947727092031897545110147341509991426444960320field - value: ciphertext1qyq8qa8gywj8wrzfd9nzka5r0mz0ea7v259c0g3gtn4r2jhumx7cqqcuzl0u8 - - type: private - id: 3901038351107548613556868016247173210046028422317370707776191243234553963064field - value: ciphertext1qyqw3ktk2zjxunxv08qnt07ymnnrrx49hls2udx8v68r72vh6aa8xqs0rcykn - - type: private - id: 1742890302828375226240075375887667357026432056309893856623417834858728712947field - value: ciphertext1qyqfnpmfe553f8kap9u2wnxavqcua9sv5k8y8xgwnjyklw97065xgqcfmcqvg - tpk: 3799610506753791489024227829056721662926165766885057829340654836571656198907group - tcm: 8422095191401974672486511590100277560428887825686219882565189426866724050672field - scm: 3485439459481036133352532602732182585496911077377516820785828075714062083236field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqpcqt5azkluhc3flgsd286khgl6hcypx6myfxwassvucmtcqn2x8dfyjcsn8yaxut867k37aa8x6cqq8kp4tdnzr5pkgdh4fm6v0y6skcnsth95mav45e462keuatmv36rpf2y7gc69dag83u6mf28fs5yfqrh44z8ctqekgx672808m2vys6zx3z2thvc2c7m8c05jla6fy3z6qqxlrupqh0ae32rdzlc5pru9qqzwf5rv20gvjt555xv4feys57e0wza5zy2tuzv8lke26586h795tu8hm4rgj0eegpmkc3ntk9gprupunluem93yk9x8zgzvgnftv70gfkyq70r4sjc0lphzqwscc7vhdlqdwlwxyjcftd2dkgk2mrwdtmqqu2u8rdfuh752xpugqrlmj6asjer8dymljx6dj43788p5vksv6m2xxnthjwknzz27pnytje6jknks9je0rrzf6ll88m8zj9xg7zryh79gpvtrgckj93f9qaapsgxzm0rps6vccvuttujjuqm77h4wf359q9tya8069l6awz90eug4gl5nreya6xmx20l7h0avy6vyjq249gm7676tarj5wwt9p4p9797x287fyqt8vr2sqxa9txu0harhngwxrn62a6u2wke6nv0jstd4javq58aatwhavmep5hzz472g45dy0vuru5q3ejm89fzm2w9a8m3lj0kck2dv2murascfx75nq7h83reru9pnqyvneklv9ygvvz8rpl98vfyq2evs4fl546ahnqnhctzfs5v2d4wvppdw8nw73sy9dn2skkslxanrgn8vtmfjgp2uzu803qwwc7ahwv3q0uylddyk6aaf3njxumel25r2yrt0y6vf23e5hpswge4jjndlteq925hnvhlflnrqknuf26gumxmuuef996xm26743xkvdsfe45768gvsa5n6pwfhv6rp053hekxmzz7lt02jndnwt0u0ta50py3vjwtdcgvenw5txczfl9h0395yvtn67as0va5jh4tys7r4fkvcj3nr3mhczqkgtjq22ldgp6z38p6vrpg8swyys3zhpk2h3f62cnhep0fgacszf2hw387hh2l9fl7g2xnn30nealp2yjf2p78c6pr2z7t8z2nt3x3r585e8fvpph3lt06t3j3jr7q8ypc5qcgtgqwes4p7m5q6zpd3rcxqvqqqqqqqqqqqhct29ftkcnc4thaxc9uf3nnwlseaddw6xjgr527grgrykwx4wlckqcq0vuz9shz5ejfga0qmy2asyqxq46trlw0fsdpwt3pfy7nnj58nr76cr786mh84tn2ny3mtrtdtqhcv3s7pg79ge77d27l24wus6gpqxy08uxpyfggqvqn5ggaeynqzazzh9s7auyfvxxvzcx4eeuv30qpq7vw3z9wprdmgkvfuu5sk6a2er572akw3ejy5g3jpd69p6svx3q66g3e2z2fjd4twd2jzmc86507qqqqtxzc6g - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1nkrgj9mznl9c2um8khetnrxtrd0unfka04zu2q3np7804ft5duzqzvc3rv - program: test.aleo - function: blar - inputs: - - type: private - id: 7146147781995275262218007191938132479688511456532951093213026313748124162899field - value: ciphertext1qyqgfmux5m56u58ltmhzcjdeulat9ercfshts3kc0wjxzjr5vhz7uzckhr3qx - - type: private - id: 4185336389149887434274243302514444585874074396165008578307310910132224887204field - value: ciphertext1qyq8c6lrkkf34h0h30vtxmyh4n5ndhf5rguqzk8denwmrft92ymkzrqp04t43 - - type: private - id: 6995132823004216347016424269628472301873492453665157312990954485718251723524field - value: ciphertext1qyq0rwv8atlyyamgcg9eg806jxkvt6dt63thur47vfzqfznuuc7a2zguhnwq5 - - type: private - id: 7618023183185085383117671622914713923468183505957196368493311493279394670973field - value: ciphertext1qyqprvt0auhdw0cnann0ejyj4485uw8dfqlr4hd08a42kdmrx8pcsysnlvqmu - outputs: - - type: private - id: 4156513222742350649395748362175144699444114293994307416134481690298294210250field - value: ciphertext1qyqpdt84fqf6d7tlg4ydwlfte28tedmge3crthn88jvmzetfwjtavqsc3mdmf - - type: private - id: 2117320247145559245888560175866933354402533306479755535668236806655249589724field - value: ciphertext1qyq964gv456mth400lwcwcgdq5pzdl9r22zqgjrexgm7kc0ldx46kpqctfjns - - type: private - id: 7375810463402459717951739708591084249892854266112192714623818396183731330867field - value: ciphertext1qyqv5aw0gr03cq2m6dvpg7zfj3838cy09739xdzxc8zqcmz5cwnwkygskfpe5 - tpk: 1614497634966638487486927110803206043656694929299212296645507506466461637534group - tcm: 807478729098784023738225782857759953511710786825856565720626997470966640387field - scm: 7241024063474589397454714213926031552234806608756675668290912035388481323184field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqfvq7p3h66f38paj5f6aafch0xnkwkkx9w5qma0cx0wxts0pkvmpt6jcm5qunc73cedjm80zutq7cqq8y9ddzkle05klmznv6j98mj3wp3zhnjth63zck8sfrspc5lc0fxlepdyfvr80eq39kecc7y3t83lqqw0j2mtzs9y4cz5tygwt8wphe8fhtylqrd00wclkpzv68cdzxlqsqxgw3tqup0489pml6lpdq9dxqs4mt0wq6jeu5zkrn5hh2fjpeaul6fxn8tx2v30shp9hyyqt7r0jxvhj7syacx8p3ztsxw3h6lghsq2esga3fxxxngly0at9kaky9ey9e6dhjxm3kyqgfyegam56y4m8pdzrq9ef4tzs3zjnja9r66349qqwg25pjkmv2wqyzem22x0jeuhax4x43t06h2yxscye6zcg54cmd3llgd00a27xwm5z60yvl0vzz3sxus57ltaczsmgqlpt72eq7me0lsxm0j6pd8jzr3ra9cxpjgmuc9lvthp6h3qgg3jds6y8vvfry37qvjkxdrpw7dnj2kq4n773jvd0y9carqn5v7nhrku3n55l3lqu8cutx4cdq9r765lh8sc8scm3e987qm96vl9t5mdkwfpyen5jr7lmq9t5vnj5l0cmltm7jhax4nnd7hxt3qxnx5trdcgexzscd926wx6pcpj7rcw0ewmxtyhcy92c0asw5k4fzaqzs78yttxskmlta97pmdrq8szq8qwj7tux0lrcshqddcl6xgrm6vudsppycvhddnlgl4pr0fuzuf4wc8duzhehg9rlyehgtcfng8pp0khymkdtwjmf3vs6zm8xv7qwnkqv2h2vxu9yunvgvd3rasy9tuka0usw9h2fwfrknzsuz9hwzqzkp5ky2qahkvca4jd92tm7nv8kjwgryg6c5dxj29qlkg27njqrs9kl779mwvzpqvttj8zpf3gr9v2nfce4382d9vvrfvcmalsanlvspdueave8mfcg55228m0yyrj6guvesdqqcdvkc9yqe8znk0fmnmkrdsuqvt52hlpzalu3ltaj8vk08ka0ysyjr38cj3264gu063wvlzpkx0rgqaj5lqsjuqwd5f8fy5adqn96xjx9ludq0zemwurysj23vqy7yxd7e5mu3dsjujq4gjzthnv7ktnluy6ygy4juathta58fy5hczqvqqqqqqqqqqpfk3upvuqmwdhktt6sq8c0a2r4dqkzakdglcpyxv9lcvdvw97lc8d7xnnugly0d6qun8x9j5md24syqqph5mdn0adq8l6qkx3lgrtq75sn2k7ztuzfy4dgkl6d7v797n9yh2sn4cc3h0xt9qwjcs406hdf5pq9tx387w0smzlmxwcegcjvscn63zlxza64hmgsu3cjt3wk5s2vaqwdphqdckt7r9rw9j2mcl44yfw2jxlqw9y5pnax9nq40ggcdztvdad84ct54ckv8z6r76d8450k5wsyqquax3yd - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "33492050657dd82b8780af78e6cbb3768d50f190428f200a6a43472d50a9aa50", type_checked_symbol_table = "f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc", unrolled_symbol_table = "f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc", initial_ast = "e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c", unrolled_ast = "e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c", ssa_ast = "c11c83b8011667b9803def78e26c978af8a407a0bc550aa01d57f2a21d64d769", flattened_ast = "c9c69ccdd00a39a9f600ceba6ee7ac5e47c47b1abf8d8857264581cc18795fa6", destructured_ast = "d84d9587cb336791a142e889eb248c425e51acc8f3b8f17561ec1aea5b554378", inlined_ast = "558c25fa346d7e139cb309899cba630557836983ce4f147c2eef009343a670c2", dce_ast = "69876b0a87e8c14ed0085f25354da4a7f2bfaa351dfb5230f9b7f37bcf33d6e3", bytecode = "1524806e8239505d72e66621c387acc0e3342a9507535f00db692088eb933b1b", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqvug2lq5jm7kagadge93k94cygmha8c8l0prlgwtd4zcg3smezu7awtmqu2syzx4p5nmeku9wecrsqq8pkldp26xys0ng59w3nnxv796hr9n2824kml8w3dfxjp8euw4egyxs545z3qstczv792vcu0qqssq93zpfrrp90776hc4qshq2642a45uqa3q3vlsk5lwpzvmpach26unpdkdgdxnw27jxdfwlwmvcy65qv52lte8af3z7mdg204l7ca2l6ewgrnsesu23hpfmtu49vpu02te6v8qgpsxpu52wd2rc3vczlqhsq3g9hulls5gdffy9r8cwnxacatml4yh6cu0j0t8slyrwvsjkmxxqm0v4t0j0qqpgsddcxspeh85vspu4a3aemxslplpf0jz7eflgcvefeu6yml23hz6xf0zw5qwvj67xlqwht3vwn6ykuq4u2jhrx2ws0q9ydkpxuflz24l0zzuca4tumhcnnpzzn8pakfh7rhe8qmv3e3qf7wy9er2lqftlfrg0rl9rntyayvqqp6mqpgsv8aau2n3lxjxqckynl356489px3vaw2mdz42rp2neupprnupevzflcqxgsm344yf3r2sqgwz5qyr207ny7n4j2ptdeg6apgcj6vv6mml7hxw592t6q083qwpvsmpufcjl70e9n80jdutvw22qqt3m9fntq2dwqejapppzuzhsdwp0wcy3awj4gu6d9x7x6dlec8uxm0hcn0s6pdn924m270xds08h5ljremf5rdm3w5pxvjfhkdm8tcpemsak4fv025eadd2u5gx2zxqf9ez3u3hevcjegt98r6sj6fdaspz0dvc74367w4y4dtsaxzzcwcy5c596fmu26fh5278f0n7und7fqr6tlpggrf704nq6p6fr2qzyhk7zylxu0q3t3ucpe34enstsadfsfjrgetu2u302hxexyeykn6cd83x9nu6ak2kzgudfhcw30jtlzwgxyhr6qafv2su2d3rd4y2y0xuj8sdn94ew67esjlfnzxfee9lmq7r7akpf7zad3jjhjs9s75dnh3x62dwyuxlxqhfvrwjvrwzpe9p6npke6qcs0n7yzwdeeecvdw8zpxetpzgpnrq9f7nat2mqtfv5pnt3ssg2gekpdvw5wn2q666s9kdx7eypa6mtsqdgzpa5ts2mqwkfzaccrqvqqqqqqqqqqq7lg2vyxzxkwecktt7k93c5va2ghlek8fxzt5y7lfcd2ydel95msncqr0m82jex0nsdqsv7l7lk3qqqwv6rl7dya5rdrd5d4hqzxu8cjq2n2pmxfy2hzq5xk6atnte4su78fs74ldh48nmq6fauta75kpugqq9cm0ahn4dgv6hjq0c26rmeeyq2qlyf54jxs64xdsdp60av46vtstt3fwqrdlhhh6l49y086trksqga9dtnet8q68ju65a7pcrr3gjcdhteecq3wd65af09qwdkfxf9yqyqqwu0nd0", transitions = [{ id = "au1p58lq5w85avngfh30427w5jctrkf5fh9h8qshvt3hf3r5umvd5gq5wj8jj", program = "test.aleo", function = "bar", tpk = "512383684471783892777788076619862839966981157566564726912316434903274880697group", tcm = "7975307881435548581927347671860337126690869146772124069070420940707216867640field", scm = "1893779522364008370528920564800894353816316246386419733877530996647548645046field", inputs = [ + { type = "private", id = "1531850374981700234317362560327096304118262075151346904203834021187461370021field", value = "ciphertext1qyqg6u4nh3rhtm7jg093rzflv73snx0v9evtc3cjck9ux6ywputgqyg69ff96" }, + { type = "private", id = "678191410855210397352295986321172250933469641996123274026649469209708483390field", value = "ciphertext1qyq83jx9ycv03u6lknuvc90yx6ukurtwjumxt7e4x2warwlf2g40wrqvvmutl" }, + { type = "private", id = "5472221408561105432648950949450414832719619859862507101502460177655232568203field", value = "ciphertext1qyqzuz653hdhar4737ku99vcmzaud6qkg9vw6fml63vt8gns52xjzps4dzwav" }, + { type = "private", id = "111063053651717135630758886039379553515884381585322038303405460250893799957field", value = "ciphertext1qyqzrazl9rrtfprneqd6sfesxjpwvut0g7dm2qlmqhr6k3jazuuqkysz2qv59" }, +], outputs = [ + { type = "private", id = "2562856650804141143831914635755859002729928687402542429358168788092436711560field", value = "ciphertext1qyqt5hl8pk4x0mskqfrqky34zc8khyjaw5gugvd056zj5dzwz0jgvysfxs2zp" }, + { type = "private", id = "7269608502426218611418181774211692659387059068817537559856235977962867144347field", value = "ciphertext1qyqgwywpmp7r2dkn30gv57c9y7x3ask436hw5r8uasdhnlu08f5czyqg0hg8l" }, + { type = "private", id = "1375458523776688713637554795182279229121629696416820033142321664205326032198field", value = "ciphertext1qyqvr5czz2f2zj7d5kx4adetgsm97260fu3atknrrn4qjmk0kkt66ygjym6sm" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqfxvw9u54crspy5z56uk25a7kaqkhvnw5p83sdaspyhd3rh88psvlpxtavfd39jmsppeyvdce4m6vqq8detdx0yv7q45dl5w6905ce0zvw77p2ydamzc40lgk7due6f20tsaxzj0a0qumu3y52um260vgkaqxx5tfu369pdtsvnq0rnk0rjauzye80tnjxvzrtaznfe05sdfgrxwy7p9ck547sxusnmxalzv0fu5qquvh25j02gtlmkp3pptwnlx8ulav3r5as2drrnkk8yy5ghvux8whmvzv5v74nn6e46qdsq278yyqqzqqf7j4zs332cy0cyv9g373ce6s8a6ye9syw6jpp97l350a478um5us2vu0cqkdm7wtptu0va74cq6lxqcwy6mnx24zn0cze0t6tdcyaa5c87r6yglkfj0pm0ak5hm8xyshwyn5njtq5wcvgw5mxr4lyqp5m3689h74kcvngrclyc8du52wpglyk6xuzjdc7gd2sdhhnlha8e7jww4x73tqkgz25yf687pzheqp27nkdcay2szrcl3hpcdu2rqhuwgf067zfnvtp53t09zcs3xhnm3r8d4w8h7m8ltca377x4tc76kq267r20u4n49qdc2hhctprpwkveanc6twrz0p9cq4s2euzm3nslnqfxufy5pvwdcaqflavtxxf7typkl3vsndgr3h9fjjrln28r8eyuwklv3rcxyecczmmkrlpwrd85yzsujq3t5cvrwf93wxs7307h4a3akzs6866lm7dfjdtxfed84tjcrmyx7czltenlgaaupccpdwfx3pax8egfmhzeezmhqcrp28pfeqkpeqwy5utp7lm9l8jrfkp30phpgaj8ac30l6fz5jdfzpduj7rz8mstv9afweftv9z3x8fdhjt0cwtuq5c75r9ye8hvsvmz4c3vwr2aasgeepfppjzmxutfm74ztk0zyv24468g54ayng03362a3xqnu2g4qq9xhamnnw5shgdft0hqlvgddg4fd2cn0hjl5hl5u4t8mwxh7rkzzpvnfx20slh3u9nuzr3thr5sj3dcn5493xcq4vcfj0mvwhatn2fpx0m3c7t7r5jp5xyg2735rjfmmh7aemmf7wegajz9jjmv0p8spsqyjalqzqfy88944mltnf8yys364lf7xgfcz74m4l7tevxnzxr62cyqvqqqqqqqqqqpphvscyxtltvre2k835jgpj0mup64n6gzgwr9znqysd03f7f2jkctezct7cgztv4zpwddl9t8l8uqqqf4ecfe9zyzttd5lppk9gh5vknhnl0dghqptt2s2h7tx2727qfkmy5s2qtqwn3e89kcmlrr6cu58spqy02qmkn9hp06mnrs59wgtge3clt6s7kal3c8urcqy5nqx3jw4nqd4z68axqls9a94xxhc7rcwv5hp3pwljum74ttmskydlang8c6tnj24rjp95v6zk989rnfj3w92uvqqqqms27vz", transitions = [{ id = "au18zrdd96umzpvpx9r27txac0smj5dchn5l43rrzvttr672lvwdcfqxrv9wl", program = "test.aleo", function = "bar", tpk = "2648975399333506891066430487012965830441159294533947089744287387271134408105group", tcm = "4622791303988101841327005652441860772220114266951663803601422301383920316221field", scm = "7410915781437728459378166429703486561569640859133578857905554519607570043435field", inputs = [ + { type = "private", id = "398249646114103449828935787286513716587055433311795776762591769406963949347field", value = "ciphertext1qyq8ggnvfyy6c7d6vks0u7ns924676aduqa2ympsz7jvkqg4dyfn2rc733jvp" }, + { type = "private", id = "3661483191692032527640390060839498226770862574209515100737221560895347104792field", value = "ciphertext1qyqtx9nhtkwfyaa0zfe8r86gxahrn68lty5dsu7vzwah06s849cdxqgtwsmud" }, + { type = "private", id = "101900884303533341748814469588276787075111705194330044067904020227948822471field", value = "ciphertext1qyqqewfha72fmngqvllfvt3jaeuhnjs5fjujm69tm4j8x3qeu97ljzqn7u95m" }, + { type = "private", id = "2263061180216451364826709411382591181365188951673266985268039166694764783328field", value = "ciphertext1qyqtrl8r5gf2vlfc2q4wvgptrsyz9asau39e9amjzjtl5nwa35gjjysqlen8r" }, +], outputs = [ + { type = "private", id = "3000236644477610520001791670226771749164853917433044312205351938202513853991field", value = "ciphertext1qyqzd4dch5d7muylcjm8u5tm2yf7kc3vzrm6akw7sdafc7j0khdzsqgrvaj2c" }, + { type = "private", id = "6934227700766905005301470828600123289014958612967700342518524991209787876857field", value = "ciphertext1qyqyq0dlnkc638keavkmtc04hvmwrryu5mmqsstc3dykgq7cakyezrqsffm3t" }, + { type = "private", id = "1774711734072377002931960198208739655396573079213520189259315065264704353326field", value = "ciphertext1qyqtwxtqe7pcwaqucwk5268pj4lr47dta63c6tp575hpz83g89xnkrc3vsl8k" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzvfalrdn2j27jnevewfyrvpwwedxzsnc3zg82dj63cghcge42ysxcy77kl7ndmrjxf23dt69d3suqq8nazg9g4rvgudh2992cpl6lepgpa83elzqtea8l7t4t34v54k7mua382uqsz8uknqglrj9ykch2vqwct48xecj8u3uzrmmyyvxmh2xd89fuwzlfka4h8tvn3zrlr9vspaeatq2wa9lrq6ggx8dmsgqhqkqr6jwx9p9ncl62lm9klz9cqke5068u797pg2tn2qvgxrny760pgcrtgeru97yedng537t99hgzuvyqmwl9vp6r795ffdezgxcpwcac8255n3eezx8lyncgj76dc5nj7rzylwqc93xchsrwm23j2jnse39splw9w8kmywyl36pen9z374l0eatulsmnxf7mzn8e3acxq6yukd85ml5lyjg3t3la2jr990dlye9lsqqmxzt7nj6unzt9xw9cehae6875ky766zxff3zrw04pqmvx6dwp74n9glq2jdn2s25wslz8w0dknqf85adnmcmpls4dmglkxkl9757l7fuy9z9e0zxngd7dyapmh5cluwvaag264wwf88kh25qvsdxpksq98dd4k350yjrr0nuuuyh0kp4q6wms08masccn05xkqhlcxppc2gx2pp8dqel5e8jk8q60qfytxlyqcu5qun8cl92dutv45ycg90mk3vvmd5vnudd90af4yt9x6duxjczcgqyzptcpj63ezfktdyy5nftuzcncsd666u44wds85t77rz0wcq0alfxynff59t34k43zlu5lq2tnxeh82e3n386f8swc0fza5z27pwhav669983hjd5l5027g2t38ghrlqt9myng08suzpxmfzma238slwp4zq8heuflhqh3rewyk6xq3xfagjszfetvhr7t3m9wmak2xeq9rcmay8mqpgh9ade8ef3ct2pycn98q573qs64hxx68u0rqg5ajvz0v3tknt4mvhqv32ep4w5sn3xymckk0xmnhkuvwmqpfygctg686y0z3j9ucn4k36t2tgdk4rfw8cwrvs4frp8av28g0dlym4jgzxhaph035mvc2mh3mlght4mg9f337lnsv275crdz8ghjucjqf2nm2fc3rh9u84s0nt6zuegnetfjcg9mw9fp3xntqfcfutc8m7wgcdntrus0qvqqqqqqqqqqqlwmh5nmvuxk7tlw5a3rsll5phj2wnpnrryzspgds4ddg0377lh4nvmulu8nzfh3dakyzsud9ccysyqy9e3298dp9ft9f9cgd9xeswaae32gmmerspsva6gacdzwwq4saktu349a05x2g4c2g83mehsl69uqqynyew5ytnn6vswnszrd4lvm35d6z4ahtcjku06hf2znc6l04x4snvygk4trp03zypr58c4v209ldlccxl2d8lpmzvf2krz557sjn27ksyunqehxwe8aksc3xlsys3d3sqqqv9mqrq", transitions = [{ id = "au1qwc3qfcz2h79ejqmks7mnt89057l46swz2tl5qsmrr7scjjqlqzsy6yv47", program = "test.aleo", function = "bar", tpk = "4881922544730625071655875733436685825037259346086966713831378078326652821707group", tcm = "5860141206210434272422252891624545672614071392451974451650257410679341220715field", scm = "5917109430021122117852322379431443670012136718050762652108647541971293308245field", inputs = [ + { type = "private", id = "167547130716839976792621900735649354407109201310624399417836344548661068761field", value = "ciphertext1qyqwqqtausa5gfjp853fxdj872m9hdhtg0dxjn35wrsrhtvt6yzyyystf03nv" }, + { type = "private", id = "5806065476541255793615124459729906362664857756507391665014641791321900096539field", value = "ciphertext1qyq0j3tl2sgg5smzfygjj70lm55yfh4l3w6flty34k5j8ahr54jykrcmcgrly" }, + { type = "private", id = "4737287417612120075917023768761998371501190767279260212026158483312808545087field", value = "ciphertext1qyqtawd5320m244sfawrj85chuamr25gvrqnzmmjl2geptfahvhajpqp02u4g" }, + { type = "private", id = "1185052098722050969937852496895393509370368732638217724808967062110157292575field", value = "ciphertext1qyq90wnk8tx9k994zqgpq3k4s3s8anynwhzegjwrrnfk25clez4zkrg2yzesf" }, +], outputs = [ + { type = "private", id = "4852316576216415733443896403047026839291566374615281718527962885117465930645field", value = "ciphertext1qyqxk8wlh7dwkt8vltr4xrmpgkt5yx8n4cpldlrru0zy295c6eeysrsmt5we5" }, + { type = "private", id = "6921830002935066396168308076257132452117484560874526107973949303682525952460field", value = "ciphertext1qyqv5gat3u54x4vexa7r0x96hjzx6dm4smst3c9d6lw2sw8f9nrtcrq67m06s" }, + { type = "private", id = "4549528411592874247464685060519623251518915465701536465815329782000641098984field", value = "ciphertext1qyqrx4udv9kvwsnfng5kp4acq8mjhwza7herk6eghu3fehv7jgxwszs6gx8av" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwep63dgq7dhcxpfk4u3lfr42u82ypzcyvlj6ahqqza97pvy8q68kwu7affn94p9eph5rp8yk8a25pq9dm5x04d3su3sqcgmg52eke96z8nn7pnv9q9kwxfj67zlewyg2hsq47eg3swv8e2f006vmyg60fwqw9peuh9h3fv043veynqhflclh52lura0wx242aa83lzwek9yz3gaq32aua8vjlkle4r0chztckfuqwjcpw5vhh3e83nlf6apmwvqf2fcjfna6pmqw39gnhln9ght7svxmdsgc7ffqxwgw6222rly3wj7vpnumyttqz050nwe6chlyzjcrg5252jpkph3mtpfx7f0swdhnjv3mwk2y8qcj53k5lw7mhw7h8szesplx3aeclh0eejju2ke7trcqmwnfp45gudnzll8xvdf0h7ml5j65g2fljp4j0jjsmppyrctwj8uvdqqct03a45qlq5zccanpd2c025p0f9w39nknakgudhzt3xffx59lq0skj5z3akqhnxcuvywla0qlymqfa3s53tpectg3df6uppwrsrpujm33gjauwf5auzsuvsj50dck0wrx9mw0seul9ccuq0luycxgwkuqq32lmq6hpja0kgly4utuknh8dpgc6kyffdnzazh55r730rpu3qdrezvujw8qcr64h0np7fmmvr5qqpmdv983y88yk63q44jmr6zg8xzjhhpzfau96jj5lfqmjtfkcacxvnlkp235vjfth54tl4kfs68q36d4rgc4adp3ncer7r0tn8rwu6rywu5gn6k64gkp9yupz9ztk0xm453rc9y2a4797eqtateymmlzkqxpkm27zk8gwcvv5eaus0t7f596l9wjwhe96afgv6rjlptx857asf80lyjtz3zs5knhe6epzzfq209ltllgwunqvpnzfgvx9hh8f07ctlfsm3h344q3qwuyp9lajfpd996kc02ryrhenv0nuer72rd9k6sxhc5euvc8mg6tdsp368xys88qtgzewxnj8p2lh2ju4dl8e97k6gy5vwscja36vr2hmy3weyhxz8p9nk70add9mx89etkx74cer22qrqez3402p06mt8xnkkc8aypw0vnv70npn2p30kgyx7kgfreh39ddqkkt8gerr0aanl6cdmz45rt8aecpssm4zq6sj4rakeeq72t2cgfqvqvqqqqqqqqqqp2hk3qgd5cpzh4zgs2yp0s0h99wvz2ac3rt5dfmzk6fkqj3yrthytmw8evmgnpcn20va6v3evw00qqq2ndtltk0dyplx5jpdc4hj3lp7kqdj9xx5gy9axdxd53fzew92xp5mlqsmph5ayuuhfa52x742n7qqqyufh4d8j7d9reyssf6hpw5vqsqy2lrr0gh7nkcfxpmax8ne984saxnjz0e44cp0083j3avwmasfhyyn7xmy204fue5sn422djndjlqrj8k95jk2ucfzv24huu6g43k7sqqq24kr34", transitions = [{ id = "au12ut37r5rfkg363r0zy8j0m553ckrtdlcveex43fg2mxwywahuqrsnzr3am", program = "test.aleo", function = "bar", tpk = "4439623357906706778063070965010769581651943588392218229023544910434671503650group", tcm = "414852636445771852895719520616470865747293727992626270951655519738605981239field", scm = "2647021197643286527797878718816554508883577958945796498508877652808799855058field", inputs = [ + { type = "private", id = "8371866203833378098808752587685233466792197900236107755639164289057534341593field", value = "ciphertext1qyqpclm05yh9f9h732wkxw3amgh682e3ak0g8tv9yfpxyp9x9xl85pcfhpcjq" }, + { type = "private", id = "7022280320112400665928191509769887782726553271584488946443510335604418982963field", value = "ciphertext1qyqty7x2y06a3f8gn6mnvakumpe8hvmpx7tfaag3ytjfx50see06ypshkak5m" }, + { type = "private", id = "7995258979295449068934494655319342053840621429647877218388137641130506189467field", value = "ciphertext1qyq8m0w6sm6lpszkdur3ut3tv5wrcsul8795ck0qwjqzcvagffh4jygnesdzy" }, + { type = "private", id = "2878620488491959829697941572963203504178631376189719753492956984433335144282field", value = "ciphertext1qyqtnywyea4aq7fd9g5am33m30wkawsppr3k6pzu58elk5r5nlu76rgvxgyej" }, +], outputs = [ + { type = "private", id = "4188269838963729982459012802450665038434228699510978226589047381481928076490field", value = "ciphertext1qyqym4ve2rrpjstahmmgmvkd0l4u93svh5fzcw6le527dpxcl3cfvrckyhcjg" }, + { type = "private", id = "1267756928940201883492975468842647591435139864553724765236778554610936344284field", value = "ciphertext1qyqylhk9dmjd4afhj7gd8vllfa2gv8zf4cfndmwcazquasx5rcxvjyqq56xdw" }, + { type = "private", id = "2789413479572818011235289054885995852750918166412623626385116997905155215383field", value = "ciphertext1qyqw5x5tfzpzs4gqyagr4v2659qrmhz7f5kcyzdj384w7v7ryjf8urs5enl90" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqdhwmvav5v82vufcjpcngw8j494s4ke27lvkelffghj3wk8qusx5qamu0rzjpznekc6aj2expq6vypq8pepv99w3s0xr0wkmwj72qvumjvkf405aej3hct8ehp8ste4fzw3wfykd8dhy4cdhqe7v09n68nnqr3ha39due2wmaf3ftmqe8mk7re23rd3g9ayp2385f3w06f5tn9r8ug4gczjcm207x9ucqyjmjupcq7f292tdu5eptqdwm7qg2t59w4p7cjp7hxxfkxs5ef9u7uayhxja3jc4crjpmls9jczc92my88fdvq36xqfht8qahjdqxy57x08f83lcrqlzzgad05plsel4g50x5zs8kcxwca0th8sjgu6xhvvzp9c0esqz8q2a4x9n7x5m6tmp79d60rjyglmzwn02yg5p2f790ytdkae70fxg4edngk9fzlm7sy2p6lw25ksz3q48xdnvy33cr7pn4el5dy3mwckhlk2nzl0jh5cy2u5d5z3jv9y0jtfdh7hwr50wy46sfldzwe8q8tzveu0peya3qmnktdls062h83gjdqpnaqk5xd5cjmv9qchct53dxf08ug6t84zflhhx7xfyczk6q02hfsn5ppdluxdtqjk6dlfygkpkw5fjpqh9e540t7dqnnkew4hewt9hpm6sgtqfr5qprv26cu6nqp2thqwfkjxvd9d9dzej74gkn0dudpff2tpv2qs8s6dzrqjhm8p5yrgdanpwulvh7m9zfz28nt35vjfdtkunryu7c3kdj36vwhqf7yxy0nk4ewmur2a5k2wy589tndedkxuaawdh4t6pqtsp0cey2tx2stq0geuzaf4m54cnjlvscrfmzjkl3jaygxrjlr0280dlmtkqq9e8hs5kpn63hapw86qah2lq77sy2lgm0eu6rseja5g0a3twydafxgumgqy0j27r6cg225xnrlgcuu34lczzyd37tp9juhnqcflvg04rpzyy9me9404sc5ks80dxc67jjcn47ca0x6p9n7f6vuqqaj2sv9hvsk7p9xqss7uym2aea6tvkrkv0n554awy7cs2j6cfuzujyn9q7gx00dpfmjz3xa9ezfe2yxlds3x7fc06ey4rzyw4cm0x9l8gdajfweuucsjg9hgyk7x9twmee2sxpqwcuem6lv8nyjcwdwdsfdt3le3y54e8crqvqqqqqqqqqqpac8xf28l7yj9uc2jlzl26cvhgwqp940lzjflg92vs0fq5ktxnvfcctm5552sjyt9ku4wl9738qesyqxudejafqewp9nrwaqug26xny9937elmnkhsftcl5h3wl2ueadsrd76dp8367ljq47hkytncptvjgqq9qye23ursg32ctqp9z5jzsq789smwccxajaa8rlgv3pq2v9a2dsqnkf0gg6yw27dfumh987hrdx042n537rtgc93355rxhwyrpfz6puyf2vvrsqx9g3qta59kwehlqvqyqq3605yw", transitions = [{ id = "au15sqwduzh4hr83mcwnzcxu9w4nwa0kvkrc9rwe9dz8ggl2vsktspq5xxgg7", program = "test.aleo", function = "blar", tpk = "7681717128769365656865658289108828103803691711404368440736920143888390943985group", tcm = "2505530238518088670711314639089886876525435750635851528863069773254783797537field", scm = "7772379585394904162736163851358965685385897038360273078987940614835468036556field", inputs = [ + { type = "private", id = "4147550490135076911739529230834202017564877226747902964473701276259370101176field", value = "ciphertext1qyqzs6vmc8r5zftynltzprqcp055vq5twlah4hwq7hajy85g6u0wgrgd9pnjl" }, + { type = "private", id = "54786036917564503217556653849358571603743541150140581843366195761420327094field", value = "ciphertext1qyqp7nrvcr8lruqrzwv9rrc9zq8wxpfx3zz34znvsnc8jhdurvz06qq72hgff" }, + { type = "private", id = "3079984744031645266053452973955242630636360743946175040013077389363406077098field", value = "ciphertext1qyqrnts6ed4jh9zt7e8fmd0k3dwe8vj25vmmk3fz2jrcwmtl2luu5rclrplt9" }, + { type = "private", id = "6816164637451267850954483409576966115999095787652696594511795326831396405767field", value = "ciphertext1qyq8yfzz2zv7e2453j4yspfnhgu3w9qmccvndxun45qfgazvyd0j6qcvgnc06" }, +], outputs = [ + { type = "private", id = "6525723194459169929684327450313504228033243803371374370709898408485913246088field", value = "ciphertext1qyqge984pu070mm7kdkk23gj5ve0x3cdgpk6f24waawut798ltehzps3tu8wx" }, + { type = "private", id = "3742294214622353438212532588884965080337960109803718667898984526986568295708field", value = "ciphertext1qyqz8adhulmhsv55pnvwa0p66kh9fry8yf6lw7ry7wtw5agxrl6gsrq69504s" }, + { type = "private", id = "3703620039668348989084948946472373861248348149469528529705515995787645909684field", value = "ciphertext1qyqwajzl3lgeke0dk8k6xehnxwgvasku0fxwqug4k4sp98j9ehzz6zs08zgdg" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqq96dvhms5qy8g47wxjfdd5ahkxfq90fxjyh5m8qhnvw07h5gamr6suc8wthwtwvk5m043wtzj5uupq9ejj7pwjv0hh5hhnhyhpmp4uaxjfzud0cxgz7c08d8xchfmawl7cprufxs0zrcs0nz32zdelc3fvqqjlg44u76hlr6mwr55d5a4dnp5j038lfanrdp5gu50hvd0930wznx75fgwpgxy5mufek7shmhmfwqkeaqx539v4wpg6txvrwx3zxahgj5zjgu450hjg2p9knx2aqkz4kvhhxpczf3kezpmr0fsmgzdhpyqsuse2x4gc5maj0fayc4uakpkxa3p0xg7h97sxps8zqpg23qq6ydvtgsu7gfhg20lqxypuemjexqcrs0zar9xtq79zqr7x8j0jaa7aceq4dplqf3a0avc354guy7vmaxkmf7jpa3pu2fsse9p2djy5yjwsyg4gl946f4zxk2xq34ufvw0gchrr4mm53t2488zgakglpgxwe8q5j744m7kj4dkmtxap89frnty3qxhkktq09mexnnm4lnvdr4lkpjx3sly09q7rw2tjheqf9yxrl28wshe7m2u34spy2lgeqqfs82xfyqy6mh3ald50d93k5egsxg5s532xy90pnsxzxchhkmztj3wrfcpmygt3v28r0n0fyxnxfs65r9g92gpmflw7wkh2mahju9hkxch3g578tjq8mnttsvcsc3y7kpega7td5yrv0nqgvzar2u36ffjd8qpt30vsuyz4wwcfhlh9q5vk5kht2wqgyrcd96cpp8spuu45ch5tf9yjhgg597gmjzgl7m265582ksppu5tpqx2uzc20q9fft59j94wmjcg5yasy3upuc8j2t0v2lwnxecy8nxqpfughfq9z7ftfnhrfj2vlzjrst2pdx2t4gptqy4h4fuvcltnm8cqu47y20p5ekk7zq0fucus3c66mlme8u4rc908nytvggvh9c9drq9lny7zvuzqexvhqt2h2shc4agt04r3z0w82hwe0c0mzjsvlw0cjqlt58ka5wgm5zcwulr0k95w85xrcw722p59x96f3rg0pdc5whs2pcm68l5srpmzn3gcs44kmduu5rjehjftn6jf0vxlmlz3hlyvj8usraagpnx5psp6hwyrpy9sg9r866gzqc475dxrw06uwlah2g69ltgyqvqqqqqqqqqqpqlvtz54a532wznzn48uv8mmjtxcrr2qpgcmhs7hkkasy44vlkacws49xv7rw8kugfzlec0ec5emsqqvu97ctz52hrcpzm3qcrhymxkg0dvwyju6vn5l5m5fxeupwmy6xge8kd07xuqjsgr6qrlmvuyhsgyqq83hfx447whvmxcmmrnmw3q48nyr5905qacpjz9cclasqa6va8ps4ewdf8cn8uehcnnw7eh8kyle9g9uagw86yeat9fal8yx2tqessppmjryrvcvfx89psv03c9t9r96qqqqp8scky", transitions = [{ id = "au146t60jyxx62n2hjq77fyjzw5x5nwl8hwvnsa3dtjquu7e95qdgrq4yyzqf", program = "test.aleo", function = "blar", tpk = "5357612877442365655354297744000333343323368757779618966534861065796026900638group", tcm = "6527176893106070727339931496821613298823243238704864035608166364959716974915field", scm = "7297130235035764609941638056432583115472022453986084573274934070781243522828field", inputs = [ + { type = "private", id = "4444119996881367694615628396177203652122349508500037905005736495787808847345field", value = "ciphertext1qyqpxrafuf89ean8p7h7fd3ngu34nuau20uatvrt3l7w9clfaxctkqslhnedy" }, + { type = "private", id = "2337603013297404550119162496500908625783933897540113885103826977072453090174field", value = "ciphertext1qyq0lhnetkjdsdzqrp5tnfqek23zvy255qj0k8szjegcyv0n3ucxgqcdhxc7v" }, + { type = "private", id = "137018200174510964444952496230272838185046615366421297281387891709188536619field", value = "ciphertext1qyqv4dj79kwv8wxeg8jwhj7qwjneenv47vjsfcsvtjqt0s0ns475xzcelvnr7" }, + { type = "private", id = "4767496936094526973322479830127013957806140593500194281188206342632370222135field", value = "ciphertext1qyq2k4y8gw2xffhh8cdn6emqvnvn70ylkly2qc4ldqj7fv77g2762ysxg806n" }, +], outputs = [ + { type = "private", id = "303914673931314780222425594125895680180970084257975385903123820583936410637field", value = "ciphertext1qyq8h9pyugwry5xtmwjxw9tqe848yluge7dxd950ee3v07f7n5xg5yqtxtz8l" }, + { type = "private", id = "6536334419606142886765055978364750677106366897196924445249937136319857865122field", value = "ciphertext1qyq0ly6nymw7haenp7l420678p53pzy29fjkcnqzn86zhuyzfnrh2rsjsj2p3" }, + { type = "private", id = "7068785287936406809163713994887682342497159729085588654681698713284384481713field", value = "ciphertext1qyq9wwn3z75z8mtw4qtq6vmmf02k9xkv8pg2ce790y8jhmtc002jjqsf9fm0e" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqpcqt5azkluhc3flgsd286khgl6hcypx6myfxwassvucmtcqn2x8dfyjcsn8yaxut867k37aa8x6cqq8kp4tdnzr5pkgdh4fm6v0y6skcnsth95mav45e462keuatmv36rpf2y7gc69dag83u6mf28fs5yfqrh44z8ctqekgx672808m2vys6zx3z2thvc2c7m8c05jla6fy3z6qqxlrupqh0ae32rdzlc5pru9qqzwf5rv20gvjt555xv4feys57e0wza5zy2tuzv8lke26586h795tu8hm4rgj0eegpmkc3ntk9gprupunluem93yk9x8zgzvgnftv70gfkyq70r4sjc0lphzqwscc7vhdlqdwlwxyjcftd2dkgk2mrwdtmqqu2u8rdfuh752xpugqrlmj6asjer8dymljx6dj43788p5vksv6m2xxnthjwknzz27pnytje6jknks9je0rrzf6ll88m8zj9xg7zryh79gpvtrgckj93f9qaapsgxzm0rps6vccvuttujjuqm77h4wf359q9tya8069l6awz90eug4gl5nreya6xmx20l7h0avy6vyjq249gm7676tarj5wwt9p4p9797x287fyqt8vr2sqxa9txu0harhngwxrn62a6u2wke6nv0jstd4javq58aatwhavmep5hzz472g45dy0vuru5q3ejm89fzm2w9a8m3lj0kck2dv2murascfx75nq7h83reru9pnqyvneklv9ygvvz8rpl98vfyq2evs4fl546ahnqnhctzfs5v2d4wvppdw8nw73sy9dn2skkslxanrgn8vtmfjgp2uzu803qwwc7ahwv3q0uylddyk6aaf3njxumel25r2yrt0y6vf23e5hpswge4jjndlteq925hnvhlflnrqknuf26gumxmuuef996xm26743xkvdsfe45768gvsa5n6pwfhv6rp053hekxmzz7lt02jndnwt0u0ta50py3vjwtdcgvenw5txczfl9h0395yvtn67as0va5jh4tys7r4fkvcj3nr3mhczqkgtjq22ldgp6z38p6vrpg8swyys3zhpk2h3f62cnhep0fgacszf2hw387hh2l9fl7g2xnn30nealp2yjf2p78c6pr2z7t8z2nt3x3r585e8fvpph3lt06t3j3jr7q8ypc5qcgtgqwes4p7m5q6zpd3rcxqvqqqqqqqqqqqhct29ftkcnc4thaxc9uf3nnwlseaddw6xjgr527grgrykwx4wlckqcq0vuz9shz5ejfga0qmy2asyqxq46trlw0fsdpwt3pfy7nnj58nr76cr786mh84tn2ny3mtrtdtqhcv3s7pg79ge77d27l24wus6gpqxy08uxpyfggqvqn5ggaeynqzazzh9s7auyfvxxvzcx4eeuv30qpq7vw3z9wprdmgkvfuu5sk6a2er572akw3ejy5g3jpd69p6svx3q66g3e2z2fjd4twd2jzmc86507qqqqtxzc6g", transitions = [{ id = "au1asd4yakhjyr33h23g7rfr3c92asfvvgp45agtum5r6w2vyk6d5zq026ahu", program = "test.aleo", function = "blar", tpk = "3799610506753791489024227829056721662926165766885057829340654836571656198907group", tcm = "8422095191401974672486511590100277560428887825686219882565189426866724050672field", scm = "3485439459481036133352532602732182585496911077377516820785828075714062083236field", inputs = [ + { type = "private", id = "333240788508823663119022065957227305071000160370206942500101621845009252141field", value = "ciphertext1qyqr3f84dt0zzldpkpaanttckt5fg5f728jc75j7gvt56jgd0paduzgc7ztmq" }, + { type = "private", id = "1351618911997237413600303033742171660297924183224159184462483312968959978783field", value = "ciphertext1qyqy432trmjgjwd88ygl06ct57j5pjys5jsqn40346c5ys4dffx9jrqma3t0g" }, + { type = "private", id = "5559995181095980412464671739723623236786414593644620450902996652424353276335field", value = "ciphertext1qyqph8z9862qegtxwpuny5wmrdmvkrqhdzqhzwesld0melgv64uuzrsd6gp4w" }, + { type = "private", id = "8144095864856337487181599613054717684669512345208336912962249052359492757559field", value = "ciphertext1qyqpqehpqumzn2auxm5vzudrwxms9h82pyd2dw5zsalwyv8g8lhrspqdxuc76" }, +], outputs = [ + { type = "private", id = "8158859939165745692397654554466947727092031897545110147341509991426444960320field", value = "ciphertext1qyq8qa8gywj8wrzfd9nzka5r0mz0ea7v259c0g3gtn4r2jhumx7cqqcuzl0u8" }, + { type = "private", id = "3901038351107548613556868016247173210046028422317370707776191243234553963064field", value = "ciphertext1qyqw3ktk2zjxunxv08qnt07ymnnrrx49hls2udx8v68r72vh6aa8xqs0rcykn" }, + { type = "private", id = "1742890302828375226240075375887667357026432056309893856623417834858728712947field", value = "ciphertext1qyqfnpmfe553f8kap9u2wnxavqcua9sv5k8y8xgwnjyklw97065xgqcfmcqvg" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqfvq7p3h66f38paj5f6aafch0xnkwkkx9w5qma0cx0wxts0pkvmpt6jcm5qunc73cedjm80zutq7cqq8y9ddzkle05klmznv6j98mj3wp3zhnjth63zck8sfrspc5lc0fxlepdyfvr80eq39kecc7y3t83lqqw0j2mtzs9y4cz5tygwt8wphe8fhtylqrd00wclkpzv68cdzxlqsqxgw3tqup0489pml6lpdq9dxqs4mt0wq6jeu5zkrn5hh2fjpeaul6fxn8tx2v30shp9hyyqt7r0jxvhj7syacx8p3ztsxw3h6lghsq2esga3fxxxngly0at9kaky9ey9e6dhjxm3kyqgfyegam56y4m8pdzrq9ef4tzs3zjnja9r66349qqwg25pjkmv2wqyzem22x0jeuhax4x43t06h2yxscye6zcg54cmd3llgd00a27xwm5z60yvl0vzz3sxus57ltaczsmgqlpt72eq7me0lsxm0j6pd8jzr3ra9cxpjgmuc9lvthp6h3qgg3jds6y8vvfry37qvjkxdrpw7dnj2kq4n773jvd0y9carqn5v7nhrku3n55l3lqu8cutx4cdq9r765lh8sc8scm3e987qm96vl9t5mdkwfpyen5jr7lmq9t5vnj5l0cmltm7jhax4nnd7hxt3qxnx5trdcgexzscd926wx6pcpj7rcw0ewmxtyhcy92c0asw5k4fzaqzs78yttxskmlta97pmdrq8szq8qwj7tux0lrcshqddcl6xgrm6vudsppycvhddnlgl4pr0fuzuf4wc8duzhehg9rlyehgtcfng8pp0khymkdtwjmf3vs6zm8xv7qwnkqv2h2vxu9yunvgvd3rasy9tuka0usw9h2fwfrknzsuz9hwzqzkp5ky2qahkvca4jd92tm7nv8kjwgryg6c5dxj29qlkg27njqrs9kl779mwvzpqvttj8zpf3gr9v2nfce4382d9vvrfvcmalsanlvspdueave8mfcg55228m0yyrj6guvesdqqcdvkc9yqe8znk0fmnmkrdsuqvt52hlpzalu3ltaj8vk08ka0ysyjr38cj3264gu063wvlzpkx0rgqaj5lqsjuqwd5f8fy5adqn96xjx9ludq0zemwurysj23vqy7yxd7e5mu3dsjujq4gjzthnv7ktnluy6ygy4juathta58fy5hczqvqqqqqqqqqqpfk3upvuqmwdhktt6sq8c0a2r4dqkzakdglcpyxv9lcvdvw97lc8d7xnnugly0d6qun8x9j5md24syqqph5mdn0adq8l6qkx3lgrtq75sn2k7ztuzfy4dgkl6d7v797n9yh2sn4cc3h0xt9qwjcs406hdf5pq9tx387w0smzlmxwcegcjvscn63zlxza64hmgsu3cjt3wk5s2vaqwdphqdckt7r9rw9j2mcl44yfw2jxlqw9y5pnax9nq40ggcdztvdad84ct54ckv8z6r76d8450k5wsyqquax3yd", transitions = [{ id = "au1nkrgj9mznl9c2um8khetnrxtrd0unfka04zu2q3np7804ft5duzqzvc3rv", program = "test.aleo", function = "blar", tpk = "1614497634966638487486927110803206043656694929299212296645507506466461637534group", tcm = "807478729098784023738225782857759953511710786825856565720626997470966640387field", scm = "7241024063474589397454714213926031552234806608756675668290912035388481323184field", inputs = [ + { type = "private", id = "7146147781995275262218007191938132479688511456532951093213026313748124162899field", value = "ciphertext1qyqgfmux5m56u58ltmhzcjdeulat9ercfshts3kc0wjxzjr5vhz7uzckhr3qx" }, + { type = "private", id = "4185336389149887434274243302514444585874074396165008578307310910132224887204field", value = "ciphertext1qyq8c6lrkkf34h0h30vtxmyh4n5ndhf5rguqzk8denwmrft92ymkzrqp04t43" }, + { type = "private", id = "6995132823004216347016424269628472301873492453665157312990954485718251723524field", value = "ciphertext1qyq0rwv8atlyyamgcg9eg806jxkvt6dt63thur47vfzqfznuuc7a2zguhnwq5" }, + { type = "private", id = "7618023183185085383117671622914713923468183505957196368493311493279394670973field", value = "ciphertext1qyqprvt0auhdw0cnann0ejyj4485uw8dfqlr4hd08a42kdmrx8pcsysnlvqmu" }, +], outputs = [ + { type = "private", id = "4156513222742350649395748362175144699444114293994307416134481690298294210250field", value = "ciphertext1qyqpdt84fqf6d7tlg4ydwlfte28tedmge3crthn88jvmzetfwjtavqsc3mdmf" }, + { type = "private", id = "2117320247145559245888560175866933354402533306479755535668236806655249589724field", value = "ciphertext1qyq964gv456mth400lwcwcgdq5pzdl9r22zqgjrexgm7kc0ldx46kpqctfjns" }, + { type = "private", id = "7375810463402459717951739708591084249892854266112192714623818396183731330867field", value = "ciphertext1qyqv5aw0gr03cq2m6dvpg7zfj3838cy09739xdzxc8zqcmz5cwnwkygskfpe5" }, +] }] } }, +] }]] diff --git a/tests/expectations/execution/group_operations.out b/tests/expectations/execution/group_operations.out index 9234192bac..f2f8b744c1 100644 --- a/tests/expectations/execution/group_operations.out +++ b/tests/expectations/execution/group_operations.out @@ -1,69 +1,12 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 454cfafcd0058981ee306ef97e8be62c1dc21fd77cc43f7947d4f0e96cf8939f - type_checked_symbol_table: 1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930 - unrolled_symbol_table: 1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930 - initial_ast: ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a - unrolled_ast: ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a - ssa_ast: 34bf93dd7701246f7905a79239543071b9e83e4b54312b287cde6233396bd7b8 - flattened_ast: 7c7a7642738b57f1cc0bde5abaf2f292ae4afc4e993b5fbf5a50e0ecd25bdc93 - destructured_ast: d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b - inlined_ast: d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b - dce_ast: d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b - bytecode: 5c20fda21a40464a1462524cf913438776a39383a671949312f48ce8ceb2dd16 - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au187rdc4puukgm858grjen9hlju98zsxchjlp70qcnst4mqa50pvgsdm5c6z - program: test.aleo - function: main - inputs: - - type: private - id: 786516318711484326613495654243100207572155770400750643552404887917704296823field - value: ciphertext1qgqqgyhkhuszf3uq6cay2cxah9zwksh5y7nz5dvj4p5csln5jrl4vynzf025kty8qhrdyqdudrxaakmfqvg03p7zw09qf679kr59wdtrpqvpmfrg - outputs: - - type: private - id: 4920504549694252467898887871291311869682793258770415339727943050319280424047field - value: ciphertext1qgqy93faa4epx3wp3pw3gsqyn84mrky595skqa4h623nwkxpffvagqgpkyw6czjq2zhw880ymgw39m8n5kzf2amsucgc69dr8t5nzf3mqc56ylrd - - type: private - id: 6907416366855981672604353773902525944445124252525136965525426148151909017079field - value: ciphertext1qgqzup20c94akxu99q5yhy7es79gdhf0atp5efaml7qhve0v9mtvqrh6pgx7cmtdx8eafj23vdz7vprxe5c3la0de97tmkdxjgn5e5ucp556zgc7 - tpk: 7188069057750201933901557007451835366414439173171544553468899428394116031625group - tcm: 3844470742177765790277948503279806454368346487809526349970596034872755219279field - scm: 2327679852219863520750135973975927612406245355707501973328033844670451201794field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq29jr5ux67v48knthj09ydltn9au9ullvvkm0eegp00g285w6j4ge8pv5yn9wa60v3vhtlca0ydqgqqxkr6srpqnmex0fym4hwuup3nkfe94v0w3nmtzrrcjgx6t2n395rqlswq48vzy7ytzpemm2vmn726qtm2x0s56mqsxgn82ecy6chfqvr978232g6fyy2p9le7d0m4guegrwklrgrpxkyrfg978qayn92rcq6z7uxszhsq5v942m25ddhzvw25xu5wfa80tvxf2azf4ncwlnskctnew8yxw8mfhlpp49x5dgflfuqtzu9pgurrrwy284yuu0qr3rkp873qyvc29082cj8envmlkwy93kwh96qa4x9k4gsfx7sy2pznycgr3fxd75ft6chdj2fnws6p602nqvy4c0nuzn4glcrw4gu766mu49ajwdcl8hnxq4meaee0xzzqm2uqrpzsqgz69hezj3zqv0eg6u2rq6egks45gm6hf8452r3z76f9edyxaqvnsrj56fusageknc5ku47jqyvdgsra5wwxnlg42g4nrh2tykfgqgryd2ve0g2dpypde97gfq7p5tuvq3qh936vumqs9u9e68evzq5cvjvqa780tkzl759zlcfm6jkcg7xap62k660frpg4unwy72m6lmn2v6qu0hms00t3rzer4g0vz5pylg9wu8k0yek5323xhj3cu3cdpllmuccppnnkhh323a8vj8qwc8xmn4mwx4j3rll7r8ctvfs5zp2y3jaupa52tjmh9kegdh8n4qgjrdux0dae47szq4sj4hu97nvz4u2jaewh0apr9ypxwszckx9a45mq378cuxxzt0n7hy8cgq8c4y6vluj7h5jc8skcxhdjykeym6cezrqmea8xyldp2salm8crf5v9rwuyz3d9xlq3muqs7j4askrhm8suzgpfa70389mrvthlfcw68ryxw6vw8dthdfhcatqg3srl0c8sygkdgrah3kd32v29zvwwhxqjgqcytza5hn6tgyqjr67xuyugy3p66q4wpt7ngmu9y9c2wg4rq8pdps7yp2qgvhglq3dmv58gfzkx68yjkkzzyw86xhfnx76acstsvwkz6jzaaq99l9hpqjg3vg53ducgyamxfvsezwh7er2yvhw6vv07d65rfgvzsw3an6hzu3pnsfqk6a74a6gegcqqvqqqqqqqqqqqd6dud2mpvw35xcdcjhk290qj7a0dd6kjzjv6xzvs9apgdvfrs6mg0qluk7tpjxfvwdx3v8d7gjyqqqzewwm0zu7fkw68upkyu2vjynsnkd608054u5y5e4udzecqkemftszt7wr6u760atzztpr7pwmaxvpqyjneeejsrptj89cxt0e8u588lcdcs6949zv9a7y20r28jg5e8wqw66lsgqktsn8dpdgzg775nf5j7f40ws4svl5aj5mxt7cxyxetnes8nfxrkfy84eqanvrf20jht65qqqqkrgzhe - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1ef87wyskx0z3u084qw86fjfs0rsre5w9ws7nvqjd6qmmtmlq8vpqpr6tmt - program: test.aleo - function: main - inputs: - - type: private - id: 1637454552755176980862910197943395960553505097717709308123539403675084565938field - value: ciphertext1qgqddeqyqa80ausmx43708dxcpge8l46s8vl4884h4uds3kndlzyjq59demsm90jk3d0cujgmyxxlntek4ylfa0dy83a8gmluuk9x63xqgtauwde - outputs: - - type: private - id: 4721401248047083734996727836242901880233665578858403731540649829686575024538field - value: ciphertext1qgqyd4m59q4mhuvwrpdan5cpvupymh6dg83fanyga5aa3rm5z3a9kz29vrqzk4rf46dzvprlp0sqdvvfr62gamkmnkfuj9fjrujz7nyjqyr08mq6 - - type: private - id: 3571528730236834184890546504125138126547784028415605331112433715073463762226field - value: ciphertext1qgq906pdhkkl6xft6pnmr0amy4jse32fmfw0zrvr5a4czy4ptf93cq3v7l0pld0fxy3je7gq8aj3r4crt90hlyzvj70xr9ctd6mumvfmqvrhfxfg - tpk: 5519085888920099236118707566338799534410744926449944379075199777429800722420group - tcm: 557069662110635176623513712403293038131117598506617254634800464907103524031field - scm: 7860007946661723024353588806286552677630514994711027507458131672129463829307field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzh2zjklvdzzyem7uj428r0wwecaz3e9d3d48c7vh6fuehuffjfx3849un5p490ntc275enzfxqhcqq9vt85578hvd6wgskyz7azkww6gafdulp20l9aj0udsjhf50stdydss8rw2hrjaenep04u9tnejyqqydysl53xh8xttcnu6numpydpy8u7tfrtekneaxwpl8p8ahrqpvapwc3gmrywpk8njr50n6wy8ff7qmnf5vlvcya8yfypzh24cwfu9p507fu33736tex5qypp4k6psgcv8yatxdtgr3accklr9ch5cspayqjf62z8zn45mpytf0u9hgk089kkyftq9e3jlhuawwe648w3w3ntkyjc5wpyuxjzgtzqc59xklw9hsz7a9j0dlj2ypn7ps6r56gjgnyufgtktxa9dst42fvma90t8xvhh9vlldlkcnc20qjmraqgph77s5qyzdr2xt4e0egazv982ahlldz2zuq46c76lyd42z7a8fhm7amr5vt9qvz73wd9vpjx5cx6zayen4cq2ut9wd20ctyv973j0v7k44qtrkkcupdrn68j8qc9mnhuqqauphyxzrf5jjfdhe50kc7nlmqltrg7qq04gcyhk22x58l8k3u433umrw9vl7qtlwflphjw6mk7pyqynse8ld7hzsvqxjcjagkazn9gurrdqqum9x9zhhqgpchrxlfpvw8jgc0ns2ssfyu9f8dfuq577yftl4xv92l9krzdg5ycrq6vh0ssfdxtvtlg50s2eefucz3j3u36yv35awkr8t2wqda6u8smjvtfl0a3lswhfnytjxqdejhumlpt6y3wctz56cp4d684tc428gmnlmvyzdmgppxuydad82hwx84pyk8s8s23csky2s9w53u2pxhwrvhlgl674a72fx8r9cun0c0w9r0rwe6dthgakgtjgsk2fx0jzwvvz8hq46khfzmg758ne3nxlzh4hw4wd2yy26wlyldqp9eun4v20f6ck002ek2vdjfd43u2eunnfdrnsz3uwl7tyh4au8uzrjcdp2zxm5rc7xvx0mmsznjsmnzyvq64y2j7drtrntduaj6wgmqjm5fvqc6eectxdx332w5xar7v7uut2tnf7l5furqnwpsmx76m4q8r76dhrs2v00u3pl5w9rhd4y98laxdfge4mrt7k58565qfwg4xsgqvqqqqqqqqqqq6swd82tll6uh3cqvrslezafjg3crasnq43e6s4wkt7whqdh5jr2mdhzk4w9wp0qzrq8ztrhd3gsqyqyvr428svfela48lh2hzg0654yemlck8kprmpa5z52fup776esq68ygf08wy2a5k4v4auneulc2eyqqxk36xhp3a66stmyzwmdx3yf7d0u80jfmzfjrx934gsvlgxqgnss5d23q45y5jm55gy558fcppmvk0lc43ujjfdrarswff58n92h0uj3ztdf00tecev8uqc22yywf3p8syqq9wjz26 - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "454cfafcd0058981ee306ef97e8be62c1dc21fd77cc43f7947d4f0e96cf8939f", type_checked_symbol_table = "1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930", unrolled_symbol_table = "1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930", initial_ast = "ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a", unrolled_ast = "ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a", ssa_ast = "34bf93dd7701246f7905a79239543071b9e83e4b54312b287cde6233396bd7b8", flattened_ast = "7c7a7642738b57f1cc0bde5abaf2f292ae4afc4e993b5fbf5a50e0ecd25bdc93", destructured_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", inlined_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", dce_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", bytecode = "5c20fda21a40464a1462524cf913438776a39383a671949312f48ce8ceb2dd16", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq29jr5ux67v48knthj09ydltn9au9ullvvkm0eegp00g285w6j4ge8pv5yn9wa60v3vhtlca0ydqgqqxkr6srpqnmex0fym4hwuup3nkfe94v0w3nmtzrrcjgx6t2n395rqlswq48vzy7ytzpemm2vmn726qtm2x0s56mqsxgn82ecy6chfqvr978232g6fyy2p9le7d0m4guegrwklrgrpxkyrfg978qayn92rcq6z7uxszhsq5v942m25ddhzvw25xu5wfa80tvxf2azf4ncwlnskctnew8yxw8mfhlpp49x5dgflfuqtzu9pgurrrwy284yuu0qr3rkp873qyvc29082cj8envmlkwy93kwh96qa4x9k4gsfx7sy2pznycgr3fxd75ft6chdj2fnws6p602nqvy4c0nuzn4glcrw4gu766mu49ajwdcl8hnxq4meaee0xzzqm2uqrpzsqgz69hezj3zqv0eg6u2rq6egks45gm6hf8452r3z76f9edyxaqvnsrj56fusageknc5ku47jqyvdgsra5wwxnlg42g4nrh2tykfgqgryd2ve0g2dpypde97gfq7p5tuvq3qh936vumqs9u9e68evzq5cvjvqa780tkzl759zlcfm6jkcg7xap62k660frpg4unwy72m6lmn2v6qu0hms00t3rzer4g0vz5pylg9wu8k0yek5323xhj3cu3cdpllmuccppnnkhh323a8vj8qwc8xmn4mwx4j3rll7r8ctvfs5zp2y3jaupa52tjmh9kegdh8n4qgjrdux0dae47szq4sj4hu97nvz4u2jaewh0apr9ypxwszckx9a45mq378cuxxzt0n7hy8cgq8c4y6vluj7h5jc8skcxhdjykeym6cezrqmea8xyldp2salm8crf5v9rwuyz3d9xlq3muqs7j4askrhm8suzgpfa70389mrvthlfcw68ryxw6vw8dthdfhcatqg3srl0c8sygkdgrah3kd32v29zvwwhxqjgqcytza5hn6tgyqjr67xuyugy3p66q4wpt7ngmu9y9c2wg4rq8pdps7yp2qgvhglq3dmv58gfzkx68yjkkzzyw86xhfnx76acstsvwkz6jzaaq99l9hpqjg3vg53ducgyamxfvsezwh7er2yvhw6vv07d65rfgvzsw3an6hzu3pnsfqk6a74a6gegcqqvqqqqqqqqqqqd6dud2mpvw35xcdcjhk290qj7a0dd6kjzjv6xzvs9apgdvfrs6mg0qluk7tpjxfvwdx3v8d7gjyqqqzewwm0zu7fkw68upkyu2vjynsnkd608054u5y5e4udzecqkemftszt7wr6u760atzztpr7pwmaxvpqyjneeejsrptj89cxt0e8u588lcdcs6949zv9a7y20r28jg5e8wqw66lsgqktsn8dpdgzg775nf5j7f40ws4svl5aj5mxt7cxyxetnes8nfxrkfy84eqanvrf20jht65qqqqkrgzhe", transitions = [{ id = "au187rdc4puukgm858grjen9hlju98zsxchjlp70qcnst4mqa50pvgsdm5c6z", program = "test.aleo", function = "main", tpk = "7188069057750201933901557007451835366414439173171544553468899428394116031625group", tcm = "3844470742177765790277948503279806454368346487809526349970596034872755219279field", scm = "2327679852219863520750135973975927612406245355707501973328033844670451201794field", inputs = [{ type = "private", id = "786516318711484326613495654243100207572155770400750643552404887917704296823field", value = "ciphertext1qgqqgyhkhuszf3uq6cay2cxah9zwksh5y7nz5dvj4p5csln5jrl4vynzf025kty8qhrdyqdudrxaakmfqvg03p7zw09qf679kr59wdtrpqvpmfrg" }], outputs = [ + { type = "private", id = "4920504549694252467898887871291311869682793258770415339727943050319280424047field", value = "ciphertext1qgqy93faa4epx3wp3pw3gsqyn84mrky595skqa4h623nwkxpffvagqgpkyw6czjq2zhw880ymgw39m8n5kzf2amsucgc69dr8t5nzf3mqc56ylrd" }, + { type = "private", id = "6907416366855981672604353773902525944445124252525136965525426148151909017079field", value = "ciphertext1qgqzup20c94akxu99q5yhy7es79gdhf0atp5efaml7qhve0v9mtvqrh6pgx7cmtdx8eafj23vdz7vprxe5c3la0de97tmkdxjgn5e5ucp556zgc7" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzh2zjklvdzzyem7uj428r0wwecaz3e9d3d48c7vh6fuehuffjfx3849un5p490ntc275enzfxqhcqq9vt85578hvd6wgskyz7azkww6gafdulp20l9aj0udsjhf50stdydss8rw2hrjaenep04u9tnejyqqydysl53xh8xttcnu6numpydpy8u7tfrtekneaxwpl8p8ahrqpvapwc3gmrywpk8njr50n6wy8ff7qmnf5vlvcya8yfypzh24cwfu9p507fu33736tex5qypp4k6psgcv8yatxdtgr3accklr9ch5cspayqjf62z8zn45mpytf0u9hgk089kkyftq9e3jlhuawwe648w3w3ntkyjc5wpyuxjzgtzqc59xklw9hsz7a9j0dlj2ypn7ps6r56gjgnyufgtktxa9dst42fvma90t8xvhh9vlldlkcnc20qjmraqgph77s5qyzdr2xt4e0egazv982ahlldz2zuq46c76lyd42z7a8fhm7amr5vt9qvz73wd9vpjx5cx6zayen4cq2ut9wd20ctyv973j0v7k44qtrkkcupdrn68j8qc9mnhuqqauphyxzrf5jjfdhe50kc7nlmqltrg7qq04gcyhk22x58l8k3u433umrw9vl7qtlwflphjw6mk7pyqynse8ld7hzsvqxjcjagkazn9gurrdqqum9x9zhhqgpchrxlfpvw8jgc0ns2ssfyu9f8dfuq577yftl4xv92l9krzdg5ycrq6vh0ssfdxtvtlg50s2eefucz3j3u36yv35awkr8t2wqda6u8smjvtfl0a3lswhfnytjxqdejhumlpt6y3wctz56cp4d684tc428gmnlmvyzdmgppxuydad82hwx84pyk8s8s23csky2s9w53u2pxhwrvhlgl674a72fx8r9cun0c0w9r0rwe6dthgakgtjgsk2fx0jzwvvz8hq46khfzmg758ne3nxlzh4hw4wd2yy26wlyldqp9eun4v20f6ck002ek2vdjfd43u2eunnfdrnsz3uwl7tyh4au8uzrjcdp2zxm5rc7xvx0mmsznjsmnzyvq64y2j7drtrntduaj6wgmqjm5fvqc6eectxdx332w5xar7v7uut2tnf7l5furqnwpsmx76m4q8r76dhrs2v00u3pl5w9rhd4y98laxdfge4mrt7k58565qfwg4xsgqvqqqqqqqqqqq6swd82tll6uh3cqvrslezafjg3crasnq43e6s4wkt7whqdh5jr2mdhzk4w9wp0qzrq8ztrhd3gsqyqyvr428svfela48lh2hzg0654yemlck8kprmpa5z52fup776esq68ygf08wy2a5k4v4auneulc2eyqqxk36xhp3a66stmyzwmdx3yf7d0u80jfmzfjrx934gsvlgxqgnss5d23q45y5jm55gy558fcppmvk0lc43ujjfdrarswff58n92h0uj3ztdf00tecev8uqc22yywf3p8syqq9wjz26", transitions = [{ id = "au1ef87wyskx0z3u084qw86fjfs0rsre5w9ws7nvqjd6qmmtmlq8vpqpr6tmt", program = "test.aleo", function = "main", tpk = "5519085888920099236118707566338799534410744926449944379075199777429800722420group", tcm = "557069662110635176623513712403293038131117598506617254634800464907103524031field", scm = "7860007946661723024353588806286552677630514994711027507458131672129463829307field", inputs = [{ type = "private", id = "1637454552755176980862910197943395960553505097717709308123539403675084565938field", value = "ciphertext1qgqddeqyqa80ausmx43708dxcpge8l46s8vl4884h4uds3kndlzyjq59demsm90jk3d0cujgmyxxlntek4ylfa0dy83a8gmluuk9x63xqgtauwde" }], outputs = [ + { type = "private", id = "4721401248047083734996727836242901880233665578858403731540649829686575024538field", value = "ciphertext1qgqyd4m59q4mhuvwrpdan5cpvupymh6dg83fanyga5aa3rm5z3a9kz29vrqzk4rf46dzvprlp0sqdvvfr62gamkmnkfuj9fjrujz7nyjqyr08mq6" }, + { type = "private", id = "3571528730236834184890546504125138126547784028415605331112433715073463762226field", value = "ciphertext1qgq906pdhkkl6xft6pnmr0amy4jse32fmfw0zrvr5a4czy4ptf93cq3v7l0pld0fxy3je7gq8aj3r4crt90hlyzvj70xr9ctd6mumvfmqvrhfxfg" }, +] }] } }, +] }]] diff --git a/tests/expectations/execution/metadata.out b/tests/expectations/execution/metadata.out index 89b63c818d..8802d38d73 100644 --- a/tests/expectations/execution/metadata.out +++ b/tests/expectations/execution/metadata.out @@ -1,195 +1,68 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 10998586280d1ca360372389b512bc2af12c88a4bcfd4f7e2c99756ddf1b04e8 - type_checked_symbol_table: 2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767 - unrolled_symbol_table: 2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767 - initial_ast: 2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63 - unrolled_ast: 2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63 - ssa_ast: a90f345a4a71399b2e61dddfa5c5ec22826bba09fb1828cbb68708b84f17c472 - flattened_ast: 537d17595b4dea625a8e46cf3b28307963ba74f75bff3b028d8162463c5fc280 - destructured_ast: 2994c3f5f24c6b2b6e7d9804511b5c90fff8f3f2f048ef0ddbe7a9809aef219b - inlined_ast: 1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6 - dce_ast: 1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6 - bytecode: c5fbc61b3a7b1400dda65dc947a495d14f1b43986550cd889efd4cc653912355 - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au1mdg84h5sf70jd3jcz5ly6v7d2d65jthy2c9mp00ftsd7d7wasq9sywmyl4 - program: metadata.aleo - function: is_block_height - inputs: - - type: private - id: 6254483773873152836214079053344956162296914127394184523955489854019104782235field - value: ciphertext1qyqg8xn2lx3ukujrthuh67jazc3h5v96hhc7zacwef08y7a9lpu92pq3dsj78 - outputs: - - type: future - id: 3584812567307540139221803946418691936915110293757497103263084678323624798088field - value: "{\n program_id: metadata.aleo,\n function_name: is_block_height,\n arguments: [\n 2u32\n ]\n}" - tpk: 4174266389141840694112770464623549736508472115786023137592436699114609405528group - tcm: 8338099097402671626408038034858578087638496090147697571937791628404909729345field - scm: 1980270338266624580494901677581519840423416572710948745278059423752506827747field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwnt9kc7w5mlsy92749ly00s3d8aje529f6qrun8ra8utk7dse49ezfwj8erxuclwetdthkz20z9uqqylhezq3dmrqm3cm4tawnuznt5gc2fv8psgvswzavf79my3t8ahzhj9x5epa9k6s9vznyh8mp4qsnqg8n8aza9sfw3kryelnz8k0p7sx375kzu754wlhy3k5rdq3vz0gnxs0dh0pcz5nchj72ug77suxnxqe20ln5arx2lrvykq6ela5tfzajjew2jmr2e2nfjzafrt3alsplf2llm62deuq02xa4406r5heqhvpp30p46fjt7u7xc3mhv6j65l5cdnmuxzu9d9ngewapqs3d4ad9jpq42ltsmdt9gtv8utv9hqywe4gp9jw4dsapm4nlmeu02hhn6tj44065j5k6l3lrjksmhfletr6kvu92usrlgqdwvhnv87g36afl7hcsrwepsc8nlepqngw2q4r3kpyq20avfgrnft528axwr7e9jjr66dmt63ylatjvh65rc69uqz3nkvemqtqlzescl08dx3xjy36a5u7x89vh5vjkvkpfz5edep3av8f2p37f7d9vjnq3zfrn3p85zx7gjyqg7qyqrqh5hg70a7klgy5eq0vrth7pz7e7g8t57pkju5k9z6xwexvg4uz2svry0mk7latuz3z6ynyc9cprfmcjkjwmezs4vl7w3kk4hlhumkzm2v3jvzqahx2m9e86p557c8pjtudkgd499geem5jf5u9qxuz5mcpdvegqm43x4dn6uyrdzjmzz6mgcadv0y0gced4dh20t757kgms6u45ma5kezmc6ghf9n538arp076gjrkp9y7lggntqr2v8aqvpuyw7szd0f9d8hrlsyff6re23xpp288aeadrh8lwqdjkpgwhdv95vn8araf5t8tgrtm22w8r7turzcqtyllzl8s9cfeczzst6ec4narg7da76fcq5neycd6slgx68g63yyv6g63ae9m7ztepxvxw4852aadryfy49zemrzhqquypkaehrf66qwwjhf3gwnm5aamtv79v4zeps0xf5urc5cw8xlaltapg0pm54kjplc3udlz587zkd82qzj7vlzljeup57t4hggmafzf303yx8l3ypvq25cvm4jfympct84an2f7q53pqymcgzgxwln29ga909uhv2c6nss0qvqqqqqqqqqqq4ydt9dssx08jcecc7lpc8x4npzm45nzx4gjeepzltl42xqtu6ljaegs3vmkyp9gmcxejarwucjysyq9gjdqfq9ugcxqc2dlwxzhgw6ltxctn0gva6m6hz9a5lm8la0fm2nctmj3kksdal53ktu3wffgmfypq9sp749hfxy8wvdnsagqs4w3hxr83qkpdacm92er3htljzqz4yzss8valjgymcql5xm5uqxwuar3549jrkl577ww5mxvxarkcs97jpulpht09q6w4axjxj254ezzahy4sqqq7sy9wf - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1kajlhp3am5km6qs3w8turpajy92jll8h5du8xahl38lrju42ryqscpf7qs - program: metadata.aleo - function: is_block_height - inputs: - - type: private - id: 7722322839839951421026301806812591976215758329272280293651204384239373811149field - value: ciphertext1qyqf8p8usl6w5w7nmsquncjs36gjxeaxpkkuvl4h6jfqntenutrykrgr87gjt - outputs: - - type: future - id: 3909450722149817926760252005945160002086204331713328859672090569802582231538field - value: "{\n program_id: metadata.aleo,\n function_name: is_block_height,\n arguments: [\n 3u32\n ]\n}" - tpk: 6826075503536703408877015806866676888464978285285642759889480649615825407885group - tcm: 2184261592989300536746165496548115475812152687244578178115561569274734999038field - scm: 407281751932047584685189018244827210538163428192377398266270897182443379767field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx7vnw2caxnpn2mxquhz760v6g2ncehepcdlg7y8hsdp9f8thtz6e7xs4yfddcy7w8969xlhufx7spq9na6qs3klshmquwdhuja5z67tvxswtmytsceyqtsd3vqk227suywajtjjef694w8c6df4my4mjjqqrwvyaz8vxtqekmn2uvdw59l6eqfa95s45fnfkgllz73xv4armyrweal4g6ctfqphecew3g5evzauqy0epstlxvstdukgynsr9c80202ywk22aztjncctlljzv6dp9k4kjjafsswjnhp0x3pw38md5dr9vqkucck0925lwlf930jd0963d368wuh43qtwvstzu45lnpx7ltsq42dr42nteu7le72xyhtfyryt3sqlpnn2n5gz9ke4extnay75kytrq6e0qfysllv9qpd5grq9pq2wppdxs438g6zjysmj4zkwp58wmrsqn3de3ge33m9yduj5cu3j8qazthdkfy7uqppxpym43wnsk2536q6fer0tghyutavchmmatm94jfaqvqvcr06hcy70zcfz0kgjvxs6rt9ncs4c887uhgnwxdmvxspz2vyzvnxzxn5jn3e3medrutlwfpyzq2a2qxs2f0e020auqsp7gujuzk8cl56rvqqytq56pxyec90nwqkk3vfhafuz4wlqx583fuwsxyh75qfl8q4cchgedng7gd8ju6u8a9s8xstd2gjznxc5rcaeule3qeeyr05rtyj8zhxwvgh08r2wfnkpjerwpl33lj7mvehm2vjhqf7akaqrse392u0v9hfrrp9954hwzhqe35e7z44exkexr5zlth7wf7a5nkqdqcq5e4q5a2u8894j0fnfjrk80g864fgrv3ttu4zleplw89575qzp8s8jkflf7ncjqzy806tef5sxavkfdrl385tza80cjegd6609gjdrf9mjyhvj5hxm2rhgsslsavmpxtt0f34q32nk9lln3t7ljmayrltqz8etsxfzsslyre8usx2emndkxtxpdpfrms0y5x9fsf69kg5zyu54r2vezw949pyzdyfzaqh8v2t0rpxltgd2unttd80k26kacdqc6zvf36pqztqx9w3df2964uq976ar9jfyjrdke0e73mzfvwezuqvvul6v0nk9cpln9nxdxadvpdre4ct9cdm2wqvytzm5ny3xv2hdcrqvqqqqqqqqqqpejt6mlphm76wza29mm0pys6uxwf82mqcatm3yu9zkraqujm0yymgpxcuttq3f8680jrdznavlfvqqqwj9g9hx3qyfevvu3y3xjmn6vtpek0sfwyaqdjre4lgu833k40aeqq07xrecaj6a2whft3rc97y3qpqy25r7zgfr0kq2jmk73vxsumypw09rg4qqdaxftyfn3hlpm6fuasmtkmtfq87ewhy0ggvjvgq6fjjeszsmchmuqqy7rz3w9rnjeepzj5w96wk9g2ffpktzwcvgn6pqgvqyqqxp7l8u - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1f247mhakw2ac486n8shjpe9cczyevyyy6yfahku5rfehjh99uv9sh642wk - program: metadata.aleo - function: is_block_height - inputs: - - type: private - id: 3045860458496390867694070088198301599250184717892350776505560963236032378259field - value: ciphertext1qyqrkdwe5qpgp7vqqv5tvnt7nvumr5w553pq5lwjntjeuavh3re7cqqyqfw39 - outputs: - - type: future - id: 3385728006652327570493585525511743343760587719990357436071125793263092737280field - value: "{\n program_id: metadata.aleo,\n function_name: is_block_height,\n arguments: [\n 4u32\n ]\n}" - tpk: 5961719084867262658611365638360766420582791439974047595680459060088949753734group - tcm: 6626624319880809262391967868024871859050942736550513386256577389697770634318field - scm: 1709184858721614245415770013947709782814544370016004415745981136924726103130field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqqevkrn0qlq2nquvu6xc43jqgdpl8rfpk4hnzugwch6qraag292tzkar3vlp0q5wl088t25txgrdqqq880k0f7kg9mhl9f3nqerjwsv28v57anx2qcvxqsndd0wuhldwwh5cj0cj2rm24vk40u5le0gkz8qqqc3339959e6xz768zwvu9mcp4ruv8mhd3twdxzyqur768fwmngazy33dqadrc2un9v3z206fmtf2qj6jd6txax9pe75jasd0xf49u32r9ran9n2q7lyachszqnm2uf6dvyrwgvg4xshtv2jjsnv4v6cqvp2u0k8hwv4n5df6rhz9p6ehjfkuggfvthfuukr2ex95wfyf4gasfky576q284q9jgl7naf3253t2qpnwfj0jeme7xhegaw9r3lywgpa5fp9qsx9m96n5865l90v9sumwquk9t6stse5dw845rtknud0skq89qgza5mkn0fdgzhrprrxjz0f62vstvq25kfy2e7lgzs9pk2ujkkathgv024g7vezmzvczggmwc0qdjpg4ddmzwx2k5fe353lhmcjpupfuazj6w80hj37pt64wjswz0f8cug8n8rfux76xtc5lkxw4cjjqazwsrafxyfp7pxjj42l4rn6uauujkx8qk79y0dp4830j9893kz8thz250jsag662869k83g8p06uqx9f5tlpfcwg8pat5y98dqvmm4lqu3htzhxd0y0gzzk902nc49vqyyl669c37zp7umpquj08vu7z0sesrv0cwmy3c7fytp23zh47pcrl4nsn6kxv9qe92hujj3vz8k548zdkkk4d8z5k5p0qtp69p4mq2zg2qeq52j6a6l9nu2qnmj78zhk85k7r6nl9lgearrqv9y9nvf96qcj3lsq7er983rvlsw2ykjclhj6dsxc3dg8j3k0vs584rjn9986cdd7t6rr4jalzfrfwf8r8v9leq3ct4m49v8tj9qed0ay9jq5kklqz9nxa9uchyl7zxq0d05cqk7m0p9mcqzpgk24wrfy7ucx34n3wuyp4y7qz2hgt823d2p6mdvu3jkz5wu7auds884d3drsgdell4z3kgqn5hy7y7q38zwxznha2w3qezkhtxutkv8pgg3my353xgenpa4ttqqtk3af9qn6dwvcdv2vnylchnxk7mzumcys26a0lqelrm9lc3ztsfqvqqqqqqqqqqqjhnc7wfnqwkzul45rtxd04y9md9j8qfger8d3juve9syvk23tz40eahw3k3kp7nz49ex0hts9q6syqrq22xng0ecwpycpvp6zqf90l7asfnrqzyznskqsqftgrc36cnx0cxxkwkekp8kkmvtd8hnzv8qmgqqyp3rea3knhscdjh39yardx2u2e5lz508jh8trugnqfqc4ct5mlswf4j7uu7tkgsl6tkd0jttd4zqnp3xdwlx2t9r6m8mgvqsdz7c4gkxkwkjnt2s7jyul2mzglsktvxqqqq8jtpwc - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au14wkt0uwdeqr3rtyanm34w05erz09e5pz3vefsras92gw7mg9ruyq2cjhs0 - program: metadata.aleo - function: is_block_height - inputs: - - type: private - id: 995875758905348650887838336071398965006340013590388127329542388661760814042field - value: ciphertext1qyqy0udrzx2za49wpc2p3cdu5gnx7wrgxgdazmkxev7w52kk50m4crqjmwyfr - outputs: - - type: future - id: 7062753008479587970728813912297002098956298483699113034949808175760398051196field - value: "{\n program_id: metadata.aleo,\n function_name: is_block_height,\n arguments: [\n 0u32\n ]\n}" - tpk: 1444729407522809558323470265213923228766243452572825861150604562994526846724group - tcm: 6605683873534110561518205917497290187071187934421726209194585939237041100572field - scm: 6386290422692476953856701959340582555742652888613812253698770682334976467968field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq97zr4fk2uw9lljltrjq8xdrxgzrwx365yywak3key90jepew79znyxpupzmqwjm8pwesa42knzd5pq8vawxkgvfuqnppmz6zjmjfjjtyvlqjl3uks5x3fprdmc8vzy6ueea4ndqkxv22fq5p9flh590zvvqzkys72k46wn8hn089nlpu5a9qxypm6m4m5a98p07vq38ye6n7vvce8sqcu935z9k6kk8ljm95v32qkfflma302wclmclz07y5r4skts6vlqcsxjwd2cxygyrn77y29w04283av6266s228vhv0hz6gm05qzrcf0ravlp382uegjg8z85fypgykgqst9dsde435nv3jx82xsg3608nxjl299vvuu4xdlmk6jyrqrf83tvpx9w3ezfunw4umtudmrugz5ms2d42a055jl2fv5v75q3p5lsdvvlhe66c38su7w2k82jeas94e3sgjsrsyh42ac75pksrhcqnya6hqh9l3cv28ggrty88mwhgrphc7s5ugnpnzuvztnprcv45cfqrs8l2798l30pej8d4xkme2hxmdyjrkch47al54xyawdps5ql07ghj38wrsazgyaek2dckhgev7xvqxhc6ulvdrzvps7jues4sh70eamp7stt3ugk5tmtvpd4f3l5py4r2f773938gsxgd200ux8r8k9kgqxeectjylau580wghtwkyq8usgyjwpmvummmqws04cgjt5zec0v8kzycn6xk3w0qxxshak8saly0287ttklsmcjzj9kqsec03fjswvrk2jkqtfwwej48z7apv29jmkt2rvjas9y4unhzcpv9z9ns2fgqfpj3jp3yqasm4srywrjs5jzcskvez6vxkh7ndaey6p4gdvwdvkptprh03rg5kscuhawl4v74axkq8fc50f5tfd92dprt6l6td2p5h6fs8jwcsjgjvucrtwgw6ejhup3jd7j5rq6xqtavzh0mv0zg36tmh0u95435c4cux7t007yz3jeeugv4nzvrsmp7u8wj07wjtzcp6h44jkp4wxcrp9zgvy3jnz75pj9tzzqqvckttk2ggpngle9xrv6ufswalq9t7xp4ykwvq0qe4wrfvefvqfqnmwen4m92f07r8vtzc5ahgamnsxxzz3l7yz0er7smk6eqae22ve8m8vkt34g0wwywr4qtggnh5j2cvqvqqqqqqqqqqpj9lr2ngqgqxl9r6ga9wscx2a20szgfdta4ssq2namc6e06nguc4h9shcusug9r4jr408npszjuksyqwdd2d53vjrv4ajjkmyeu8kvd9dav08ulzcfdlclyjupau83udcga8xdg43djuqkfyvljf56wghngqqxzam6r7zh3klkp0jdda60zx9hkzeepzsetvzezhdk7qtcpncl2qt6el68lz56q22qzvlfrx83yj92hqukc9hnxhwpa734jk0adaed4pxe8l737hzh8t9f2r6d4d4x0fsqqqfe3ct3 - verified: true - status: rejected - errors: "" - warnings: "" - - execution: - transitions: - - id: au1a2leejxweztp26wle5ppu4d38g7cy834qyjg68nde5sztyvkwy9sn3s0zp - program: metadata.aleo - function: is_network_id - inputs: - - type: private - id: 1668253572722249004754550111746806543734709237973262206564980341309666489114field - value: ciphertext1qyqrya4v7lv7j5gpldaneyaj3hpl79n9nawlt085kunwlqm2s2a2kqsg9c3l3 - outputs: - - type: future - id: 1539677279749963537807733780953347200083489102040081905411697663081843666141field - value: "{\n program_id: metadata.aleo,\n function_name: is_network_id,\n arguments: [\n 0u16\n ]\n}" - tpk: 1340232995313789889707870100633828614952994697713322419253213356280424596637group - tcm: 8217955983468310915175130532526952797051163869431616512626964240444177287740field - scm: 5286852775688099827771180960665525889691546224120923411174520720536024854359field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq09e76wddnurkycfduqt5jj7hafhxxdsl8k3dsgz5s99859gwg0tkvxg56hdy0puu48hxvkfzgxagqqyxwv9q32sm0hdewcfr5qvdfawq7cdld64haa8k4mh4nhl3wv99g9jrnar265pw0zvmza2sj4dzedq8dzke0lexr5xaypug5dg9qt2ptc9s63dcfl42vq33ncwjaeudetyfwxdvpyq6fwv3lchath3lgd5qunj6zpxtmf6jpjt5yzl9l606eycun3madcsah50zamp94a6ykvnyt4pavlwtazkyp75u72pzy2tsqk2wxv2cwa8rxjpsvnts5dsl2a93l9ejmxxmvqgsdmm92h44hyaqw2uw9xh9c7qcf98pvp2tqck3cpdrmd3puahfpn4vv4e4hpnnj5yzv2wg4jes9cpttx3gpatme3tzdttp0mdjsqtye2tz3lkmcwhufs9ffg7nne7wnh8e2tr5gujevpr0g4gyxp4jejt89k0rry0ah9p3suu0guekf8q2zrjhz99hr6j946qrqyh4w4xe97p0ac0635q6q5m6xutdz3t53harjr5tukqgvt9r0n36y0ek2eg0cfq4sdzm8q4452vqxkmmc23v8x47jxn7ky2hx0gdsnrqc9pwuhap8rtr0dqjskwl2nata0we62lkue6z84akr9v8d8svqjusjyxcevyte989pafx23m0jt2hg94pl28k4uj4fnwnqgq4j4580a99ndkyrhym3kh3uwdufymy8879kxfqtm43v84jlnaqm6qhk6q7p4frl3t22zgrt6sfkf5hlvcypljdhfxczx5h9vggk0pwxjgatpdc4f5yav85sxwy9fyfjq0z77zkxzruhetyk80d3v72efr3ycscqsvzfy4p0mh64wz2mhtzcj9wr83tevaag5t0975zs0hfupxnqylqflpgdg6cfu6ylxhp7w4xvwwnwac24n2cfnvk5pnsmyeut8n4fwq9cj36wsu7faag77epqcw6dkzsvc0cv9lvkj5xnc0u53v3kjsm65pjd557l0pyudch4646fkz45vsqy8xz7dcg86aqdgcv6q3mv6etpzrs0dxtcnz7uapehary54unwk8p9f57pz2ywvx8wjf7qs2rjtpzsca98hjwu9uuyhyw45zzy59vn7xn385ml7q2k9yuw27kqpeznm7q9qvqqqqqqqqqqpucfrq24alwu3lv7k8srg7ht00vus65afdl4dqxeqgsw45epn2tnjv7slu828djrs0hzfhge4xpkqqq275wp5guxrxjc7rpfu8mkk9wz0k7qsy7fz2nglfkjv83u6clxq73v5z6782er0zvd2ektcj844fgqq9tg36fyg8ypra2xq9an4gafntkq048le295xwaksepvlhgahypqtdrtu0mxrxhpmmvlzuy5d477k3ddncn42yk64wyl66nxd3ps8vv5teylrzsrf7gkgfx8h957g4m7syqqhlhwmj - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1p6dnfh03zklzzs9geuav7wv7setuzqdutchu5y3v2mextejcquzqkqwrsm - program: metadata.aleo - function: is_network_id - inputs: - - type: private - id: 2502240154805122913754950482164060205713010124319839564435072682062878840162field - value: ciphertext1qyqxt75s26szy43jyfepy39w4d73djcs3m5zy32d3x97pzq4tz6yvrc6krhwf - outputs: - - type: future - id: 3510883460457420092377029532012709622763897279943796296090819877739355135729field - value: "{\n program_id: metadata.aleo,\n function_name: is_network_id,\n arguments: [\n 1u16\n ]\n}" - tpk: 1241422812750809040633541710935659167182171861372164882434451533657783900235group - tcm: 5101387774266692927046996997659568586960496233365914098412457384845133261795field - scm: 2058887597321544003446839824871525583138282285522439768552503536778673854175field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqw2mpt4vp2kdrt6z0lryx0e32t9ngsldqzumnu08u7wak3csj55e7qnnfa4sv5wh2a2w9g6x0xttgqq9wlv87swn8kyk4durjwzdxlmtuj8tdu5nvmvxm26ddv6f3v77dqxhkqma5pa2z993zl5k4m4mlgaqvaadfpuceedmfclvru99al2wma6dtqrq8hll8x2fepflwght6h3a893exxs2kcvuqd9yv7exxpf2qlu90ssgywlpl3yaqdqj92a2n7dhwmt6mugs2vvc0g82x4lvv53yfcpnjpu6h6096hxvcwx6uenlcqnccvpkjlphettnkp4kl0m2zhnwsd29d2vv9lmrs7q3xwph4auz5ndxm4u7jk24kcum7f36lykrhsp7d0ezu2550s5spm4ngxq0alhyea9rj02apntqszclhq2mdnddm8pjg7mdzxfd90ypswy82tz456qx8esjhvf7mczznfagsdhmm4w3ks3jv86qunvdp2evtsn7zzfw54jxsnv7h40jvqlqdt2y6cg4gemq0ack7zd4cswrg825s6ekuh03pj0nnue0zexfkd5q6mrqfwwgc6vsv6z0dqwcm0k7p23fp92sekwvq60xcf6f4ukhazzpq65kxj2ydk790td9ea03xpdu287gxmax376ranc08vmy6sm2g5m9x5j45y59vpm7u0y0gxnnhw75mzq5cwqq3uyg5ah3j9ma6f7gxl9nc0rmnxwcqey0uz5hcksuj0vye0hua3yylnpf452syphap27d988a3f2r2gkqqs69pj7vp4pf364v4rjn54f3hu9lyg2e895ka28m7fp6cm0zmeq86svehealsspweg6vtl9dvr4d6cpp0fvfr3pllx4hrfdnr7jh5sfdy6rwemk9y990nfn5uu9mlyvlzs3thd8aywmwzpezkzdnvkx3gxt5m0940ffg3wfsll2akg2dxv90ct335nk47ucvenmlmzudq77ypq82f3yr9x92tmt5mfh5xpg55c099ujm0ycqtz3r8q58ynakdnkyvxgf8s43ce54qr955q44n2rsvnlhd7cs3r728agmxc0sencdldpyx36hypekceg8p0qwhh2yjcfyd5e92v50lgh46lpna7gemkhwsqpsga7dyuaxduf4ze57dqk582clp88m8sud60mz8wckck6uqj56cwqvqqqqqqqqqqpmqg85894svzenmckslpej8fe0q8taszeh37cvs6fswnguypddfew4wuwdfz7hucesl4czp7ckfzsyq88kaun7e2r9hff74tmj84jjaxv385s57nw2hddeekanq653k6xu37w93y50mqhn02y0eaq5sc9qspq8mjtdrx7cskcwpwvulfw96yhds3smrgjh3qz0w0h0xk5qead6xqequ37nnunjglfpwauyg52xy0f7a85sc970mwg53aa7a0r3uhkh4ts672peqc07ykj52h86zn9dmesyqqfd8ktz - verified: true - status: rejected - errors: "" - warnings: "" - - execution: - transitions: - - id: au1jll9jpzf2280nvn3kzt8y6637n5ez8pa0fyg0v8qpz4dn42sdsgszgyfd8 - program: metadata.aleo - function: is_network_id - inputs: - - type: private - id: 3818594322984197536201841623343353965535635040024778735947422566750518631238field - value: ciphertext1qyqdhlds6hmnj75076e8rp439d2w0kkhlehqwpxyna4ermue25k77pc7vd0t8 - outputs: - - type: future - id: 7537178816451179749955293921141073144829691758346850600262417117569051950256field - value: "{\n program_id: metadata.aleo,\n function_name: is_network_id,\n arguments: [\n 2u16\n ]\n}" - tpk: 3020628155079738676029341956864028183556220726126818119892843813515945814634group - tcm: 5092678026348501787479712092206654928057371516556014317181185415850075250455field - scm: 6698525472848186851972463463758579475375335023496196068921682192475550867475field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqdw66a0r389tve06r3hfuadzhcerz9maumqm53zyyvly9vh8n89l76syecwfvft3jpzepnj9znn0gqq9rjtyudv2826svlgz7wg2q98z80jg6utafa8a826munh5k772hdtmq57e7p5gc57n8q6m0j5ghy7qrmpr2sqhgfydnxw3esncpryz6d4l68y6kjdjr887gmma28s4253wllq796avhhthnv962h2jejtyqderr37zt3pkzexdmxhnjtpgeymn86s0mr87jfn0jfr3dxepc8yr8l27tws4dl65aema34mnxdrzspx3adzxl6vzffaceuhe574u9aptx86e9xkkay2qdg46vf7qykwehaqfkx7ync5dw0rg3gp53fxu7sqgdf8ntq2lehfj0w890n7hmqtda79xjhw5mgrqx6p82ff9f8v6xwrthu0rsgycxzz9nkzwuseez0sqmjqkenlm93cmqnnzp388kkh5rne27prhj2zmshe2xmtn3mvz7c4mu2x5yp9z3k7ksmtvj2ekcfzqfs5jy6z4pvk7p9h6q0lx59ry3m3dfv0hwvfdw6r5g37n8aau687f9ex4tv3787v92zatsl3sg8nqq7y6ullw7eg45ygg6cx3cc7unqp3jdgswp7yepjr3r8nhdgxskuvv8ewkcng0aq98aqf40z0w93fsqzh343luxdrlwd3ugz0xpyf26m4yx38h60pvrawp6gst0zuvkzcq2dscf42dg3t5qxuskvjncd6e6uzlt2nfu06s6tyhq8c2yr578kqmmqpnfj3kt6q5rhctdpgf0h32fwckzhv3y45fxw38p4envheptq2elwgjewcgjevcr8svwtd6zrmzemjrwl8g7l64a39yz6e22kn3sjqa7wfk4md4jeh0fp5wyyl5n0537qttvuzpaqqc07dtw00cj0kq32xxcuxwagrhq054kd9q0kfn4atgw05cn750yg0y5mdtlfk2ufgqw9epe4a877mm3wnezctnxvzwz00vsjlrktlevefyqxuyzl7hw2pzvh8nxc727haul228ll2h379trd6778lpfl28q0dfv8r3dudt4qmpdnse7vtc9cre96k8vkp2wk6mkzgsp2paruf0sfzxn3tn3gqrsxu3q5e6ttfa3z36t7xz76fq4v79d0t78euu775eyn20sd7mwzyc8qvqqqqqqqqqqqp6q072lqns9g6fve53lfc7tqvmly2wp7rvzyefvsy9zn9t2f8espt3ucaud8d88w454ht2vfrg0qqqylkclqswxj0wn830heygjy3qdl5qvjycddttke3gh9y2wlvvsv0trngx8wmmh6fjzac7dgusa5vgqqxgdada0y88jjhzgh5wr3prhqr72jrwd7t8ll5f7ne765m65y6nq3ufguxmap9javwg33yfl7vdhfcx0y295rfjm90tujr2klhysh5lh63069er00h3t8wksdnpq0ze5qqqqqc3q64 - verified: true - status: rejected - errors: "" - warnings: "" - - execution: - transitions: - - id: au1v7d5emm5qv92eulwzug07zef3jtulz0wtx327sgneuxwwq2n3ygqff5xtv - program: metadata.aleo - function: is_network_id - inputs: - - type: private - id: 427388127841120656445243905080318759102213861603935015273048542880171276770field - value: ciphertext1qyqvszj42vuw5mrh26jse5x6x9nr4shv4t7spvjy93586dyksftaczsj2mmc5 - outputs: - - type: future - id: 2214372592663363501000356836064875093257329610279266518247128855554701148078field - value: "{\n program_id: metadata.aleo,\n function_name: is_network_id,\n arguments: [\n 3u16\n ]\n}" - tpk: 5166995774473884857353890834507697003252798886819763885458919875879302699010group - tcm: 2857269466509252429260393571916264430248634027864154552164266119325455448664field - scm: 5015898762287590171698086886227097532893513313055100890056714442595417776693field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqxjnzalspm3ge54g3u64k46ajew68hfgjrvw4rwpq5uv8yvlzn092gzfpw9d4zww8cq85uteu2cpsqqy8qrgcldyw90hrcgefx0hf5wzrrl0z4e3la75xlmrvykh9nxzqu7jpwv3p5mqwjegz0mhphx4eynqxpl02fsw9ttvfnrdgeylj8tnezkpj62wyks49q0dmzkxld8l2h8x6ycxx4cd0aedlhgj7t2pa6g5qwldagqet4gdrtm4jrj8alfutly5kklcs8c57dnc3n8v0p5e942maln69mv9qzyh5cypkkpvhw3zvqmp6u7qvehd6m5hqa6kzynyvr03x597ydckuex89plhtcj60fxypkdcegpgsd4kh5pknhvyjtqpusqv5z9jx20yaae740gnjhwad78ujmsjz3qrt2mf82kg4qh8s57pzff20ekcv5qy7vlmq4qt40el8aqqtgkjvlcdwhzhs8md3d8wz5jw2w0fkmdwa2qu5rz6penct0hfjucyq4626hlvhtrhpfsg53lc483qr09t69t5gk2t3k46z3dzsul85vkc77fturpr3rjd9lwlg5dr8h7m808uucvm9xvhkfugdd3vpul7q9eeug3cqz3g39y445vvrssn3nrdsl6xm6t660wxe368ne60nwsf93z6ydynjjkz0qr56d36xq5pgqz895z3aep3u06exfc3m2d24yewfmvzzcnlf8mcekge0q3fd49qq4czy6drge0fggv58hcyhdk8l2c77sxk4qt9k2klfukepnrjg76zttljvan85k87e2utgn6t7p20y6zs8r6x3v85p72q954agcdhuxp8cpgyt3ahunyluulat3qxeggcsjy87mda4uzf3ffs8n4w5usszq6mjf4qpsgjf5g8cum9vv4zl5pz8jwzzqpqczgdh9fwnvrtnlnhgv65xpekee7djetwtcevxxmm97pgtjtk0yuesjnr2swg4890k6rgptu20jkc0wuw8a3kfvl9anlngf3krmctjlwyw5k93aq9amum3rczet800tch2ngx0ay29hdrnkfdpa6hj0xegx35fa4np69ug800j2qp6t87r59zmfhnst7qdsf0ej46dcupnt7jcfazjyvxwnwype6p7qrs0p0fj38zkamm5y4fl8uvejl2pmh6nqjnkqf72vlepx3uans8s9qvqqqqqqqqqqp28js6ex4tk2ds9txma659n6rexsj7acgh6k8z95jgc6r3lc839ufjmf6ftk8h6p6xddnuf5h5r3syq9az5k7yml7wvuu2ukrmgwfz4qym075nz2pdqn3wwl4ukyhyuk7qy3e2su75wyfg26t7vwxtuzwtgqq86crh5xvpt730q448vpc9fwjwmauzu80fx44nmrrq992pjh479q8xmdral0gm45xdfej7sh65eqtuen2pvdnqwxhvxzurcuq5jznlt5fx06v43a0tp2wwlek3xycmdlqqqq2kj9ar - verified: true - status: rejected - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "10998586280d1ca360372389b512bc2af12c88a4bcfd4f7e2c99756ddf1b04e8", type_checked_symbol_table = "2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767", unrolled_symbol_table = "2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767", initial_ast = "2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63", unrolled_ast = "2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63", ssa_ast = "a90f345a4a71399b2e61dddfa5c5ec22826bba09fb1828cbb68708b84f17c472", flattened_ast = "537d17595b4dea625a8e46cf3b28307963ba74f75bff3b028d8162463c5fc280", destructured_ast = "2994c3f5f24c6b2b6e7d9804511b5c90fff8f3f2f048ef0ddbe7a9809aef219b", inlined_ast = "1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6", dce_ast = "1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6", bytecode = "c5fbc61b3a7b1400dda65dc947a495d14f1b43986550cd889efd4cc653912355", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwnt9kc7w5mlsy92749ly00s3d8aje529f6qrun8ra8utk7dse49ezfwj8erxuclwetdthkz20z9uqqylhezq3dmrqm3cm4tawnuznt5gc2fv8psgvswzavf79my3t8ahzhj9x5epa9k6s9vznyh8mp4qsnqg8n8aza9sfw3kryelnz8k0p7sx375kzu754wlhy3k5rdq3vz0gnxs0dh0pcz5nchj72ug77suxnxqe20ln5arx2lrvykq6ela5tfzajjew2jmr2e2nfjzafrt3alsplf2llm62deuq02xa4406r5heqhvpp30p46fjt7u7xc3mhv6j65l5cdnmuxzu9d9ngewapqs3d4ad9jpq42ltsmdt9gtv8utv9hqywe4gp9jw4dsapm4nlmeu02hhn6tj44065j5k6l3lrjksmhfletr6kvu92usrlgqdwvhnv87g36afl7hcsrwepsc8nlepqngw2q4r3kpyq20avfgrnft528axwr7e9jjr66dmt63ylatjvh65rc69uqz3nkvemqtqlzescl08dx3xjy36a5u7x89vh5vjkvkpfz5edep3av8f2p37f7d9vjnq3zfrn3p85zx7gjyqg7qyqrqh5hg70a7klgy5eq0vrth7pz7e7g8t57pkju5k9z6xwexvg4uz2svry0mk7latuz3z6ynyc9cprfmcjkjwmezs4vl7w3kk4hlhumkzm2v3jvzqahx2m9e86p557c8pjtudkgd499geem5jf5u9qxuz5mcpdvegqm43x4dn6uyrdzjmzz6mgcadv0y0gced4dh20t757kgms6u45ma5kezmc6ghf9n538arp076gjrkp9y7lggntqr2v8aqvpuyw7szd0f9d8hrlsyff6re23xpp288aeadrh8lwqdjkpgwhdv95vn8araf5t8tgrtm22w8r7turzcqtyllzl8s9cfeczzst6ec4narg7da76fcq5neycd6slgx68g63yyv6g63ae9m7ztepxvxw4852aadryfy49zemrzhqquypkaehrf66qwwjhf3gwnm5aamtv79v4zeps0xf5urc5cw8xlaltapg0pm54kjplc3udlz587zkd82qzj7vlzljeup57t4hggmafzf303yx8l3ypvq25cvm4jfympct84an2f7q53pqymcgzgxwln29ga909uhv2c6nss0qvqqqqqqqqqqq4ydt9dssx08jcecc7lpc8x4npzm45nzx4gjeepzltl42xqtu6ljaegs3vmkyp9gmcxejarwucjysyq9gjdqfq9ugcxqc2dlwxzhgw6ltxctn0gva6m6hz9a5lm8la0fm2nctmj3kksdal53ktu3wffgmfypq9sp749hfxy8wvdnsagqs4w3hxr83qkpdacm92er3htljzqz4yzss8valjgymcql5xm5uqxwuar3549jrkl577ww5mxvxarkcs97jpulpht09q6w4axjxj254ezzahy4sqqq7sy9wf", transitions = [{ id = "au1mdg84h5sf70jd3jcz5ly6v7d2d65jthy2c9mp00ftsd7d7wasq9sywmyl4", program = "metadata.aleo", function = "is_block_height", tpk = "4174266389141840694112770464623549736508472115786023137592436699114609405528group", tcm = "8338099097402671626408038034858578087638496090147697571937791628404909729345field", scm = "1980270338266624580494901677581519840423416572710948745278059423752506827747field", inputs = [{ type = "private", id = "6254483773873152836214079053344956162296914127394184523955489854019104782235field", value = "ciphertext1qyqg8xn2lx3ukujrthuh67jazc3h5v96hhc7zacwef08y7a9lpu92pq3dsj78" }], outputs = [{ type = "future", id = "3584812567307540139221803946418691936915110293757497103263084678323624798088field", value = """ +{ + program_id: metadata.aleo, + function_name: is_block_height, + arguments: [ + 2u32 + ] +}""" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx7vnw2caxnpn2mxquhz760v6g2ncehepcdlg7y8hsdp9f8thtz6e7xs4yfddcy7w8969xlhufx7spq9na6qs3klshmquwdhuja5z67tvxswtmytsceyqtsd3vqk227suywajtjjef694w8c6df4my4mjjqqrwvyaz8vxtqekmn2uvdw59l6eqfa95s45fnfkgllz73xv4armyrweal4g6ctfqphecew3g5evzauqy0epstlxvstdukgynsr9c80202ywk22aztjncctlljzv6dp9k4kjjafsswjnhp0x3pw38md5dr9vqkucck0925lwlf930jd0963d368wuh43qtwvstzu45lnpx7ltsq42dr42nteu7le72xyhtfyryt3sqlpnn2n5gz9ke4extnay75kytrq6e0qfysllv9qpd5grq9pq2wppdxs438g6zjysmj4zkwp58wmrsqn3de3ge33m9yduj5cu3j8qazthdkfy7uqppxpym43wnsk2536q6fer0tghyutavchmmatm94jfaqvqvcr06hcy70zcfz0kgjvxs6rt9ncs4c887uhgnwxdmvxspz2vyzvnxzxn5jn3e3medrutlwfpyzq2a2qxs2f0e020auqsp7gujuzk8cl56rvqqytq56pxyec90nwqkk3vfhafuz4wlqx583fuwsxyh75qfl8q4cchgedng7gd8ju6u8a9s8xstd2gjznxc5rcaeule3qeeyr05rtyj8zhxwvgh08r2wfnkpjerwpl33lj7mvehm2vjhqf7akaqrse392u0v9hfrrp9954hwzhqe35e7z44exkexr5zlth7wf7a5nkqdqcq5e4q5a2u8894j0fnfjrk80g864fgrv3ttu4zleplw89575qzp8s8jkflf7ncjqzy806tef5sxavkfdrl385tza80cjegd6609gjdrf9mjyhvj5hxm2rhgsslsavmpxtt0f34q32nk9lln3t7ljmayrltqz8etsxfzsslyre8usx2emndkxtxpdpfrms0y5x9fsf69kg5zyu54r2vezw949pyzdyfzaqh8v2t0rpxltgd2unttd80k26kacdqc6zvf36pqztqx9w3df2964uq976ar9jfyjrdke0e73mzfvwezuqvvul6v0nk9cpln9nxdxadvpdre4ct9cdm2wqvytzm5ny3xv2hdcrqvqqqqqqqqqqpejt6mlphm76wza29mm0pys6uxwf82mqcatm3yu9zkraqujm0yymgpxcuttq3f8680jrdznavlfvqqqwj9g9hx3qyfevvu3y3xjmn6vtpek0sfwyaqdjre4lgu833k40aeqq07xrecaj6a2whft3rc97y3qpqy25r7zgfr0kq2jmk73vxsumypw09rg4qqdaxftyfn3hlpm6fuasmtkmtfq87ewhy0ggvjvgq6fjjeszsmchmuqqy7rz3w9rnjeepzj5w96wk9g2ffpktzwcvgn6pqgvqyqqxp7l8u", transitions = [{ id = "au1kajlhp3am5km6qs3w8turpajy92jll8h5du8xahl38lrju42ryqscpf7qs", program = "metadata.aleo", function = "is_block_height", tpk = "6826075503536703408877015806866676888464978285285642759889480649615825407885group", tcm = "2184261592989300536746165496548115475812152687244578178115561569274734999038field", scm = "407281751932047584685189018244827210538163428192377398266270897182443379767field", inputs = [{ type = "private", id = "7722322839839951421026301806812591976215758329272280293651204384239373811149field", value = "ciphertext1qyqf8p8usl6w5w7nmsquncjs36gjxeaxpkkuvl4h6jfqntenutrykrgr87gjt" }], outputs = [{ type = "future", id = "3909450722149817926760252005945160002086204331713328859672090569802582231538field", value = """ +{ + program_id: metadata.aleo, + function_name: is_block_height, + arguments: [ + 3u32 + ] +}""" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqqevkrn0qlq2nquvu6xc43jqgdpl8rfpk4hnzugwch6qraag292tzkar3vlp0q5wl088t25txgrdqqq880k0f7kg9mhl9f3nqerjwsv28v57anx2qcvxqsndd0wuhldwwh5cj0cj2rm24vk40u5le0gkz8qqqc3339959e6xz768zwvu9mcp4ruv8mhd3twdxzyqur768fwmngazy33dqadrc2un9v3z206fmtf2qj6jd6txax9pe75jasd0xf49u32r9ran9n2q7lyachszqnm2uf6dvyrwgvg4xshtv2jjsnv4v6cqvp2u0k8hwv4n5df6rhz9p6ehjfkuggfvthfuukr2ex95wfyf4gasfky576q284q9jgl7naf3253t2qpnwfj0jeme7xhegaw9r3lywgpa5fp9qsx9m96n5865l90v9sumwquk9t6stse5dw845rtknud0skq89qgza5mkn0fdgzhrprrxjz0f62vstvq25kfy2e7lgzs9pk2ujkkathgv024g7vezmzvczggmwc0qdjpg4ddmzwx2k5fe353lhmcjpupfuazj6w80hj37pt64wjswz0f8cug8n8rfux76xtc5lkxw4cjjqazwsrafxyfp7pxjj42l4rn6uauujkx8qk79y0dp4830j9893kz8thz250jsag662869k83g8p06uqx9f5tlpfcwg8pat5y98dqvmm4lqu3htzhxd0y0gzzk902nc49vqyyl669c37zp7umpquj08vu7z0sesrv0cwmy3c7fytp23zh47pcrl4nsn6kxv9qe92hujj3vz8k548zdkkk4d8z5k5p0qtp69p4mq2zg2qeq52j6a6l9nu2qnmj78zhk85k7r6nl9lgearrqv9y9nvf96qcj3lsq7er983rvlsw2ykjclhj6dsxc3dg8j3k0vs584rjn9986cdd7t6rr4jalzfrfwf8r8v9leq3ct4m49v8tj9qed0ay9jq5kklqz9nxa9uchyl7zxq0d05cqk7m0p9mcqzpgk24wrfy7ucx34n3wuyp4y7qz2hgt823d2p6mdvu3jkz5wu7auds884d3drsgdell4z3kgqn5hy7y7q38zwxznha2w3qezkhtxutkv8pgg3my353xgenpa4ttqqtk3af9qn6dwvcdv2vnylchnxk7mzumcys26a0lqelrm9lc3ztsfqvqqqqqqqqqqqjhnc7wfnqwkzul45rtxd04y9md9j8qfger8d3juve9syvk23tz40eahw3k3kp7nz49ex0hts9q6syqrq22xng0ecwpycpvp6zqf90l7asfnrqzyznskqsqftgrc36cnx0cxxkwkekp8kkmvtd8hnzv8qmgqqyp3rea3knhscdjh39yardx2u2e5lz508jh8trugnqfqc4ct5mlswf4j7uu7tkgsl6tkd0jttd4zqnp3xdwlx2t9r6m8mgvqsdz7c4gkxkwkjnt2s7jyul2mzglsktvxqqqq8jtpwc", transitions = [{ id = "au1f247mhakw2ac486n8shjpe9cczyevyyy6yfahku5rfehjh99uv9sh642wk", program = "metadata.aleo", function = "is_block_height", tpk = "5961719084867262658611365638360766420582791439974047595680459060088949753734group", tcm = "6626624319880809262391967868024871859050942736550513386256577389697770634318field", scm = "1709184858721614245415770013947709782814544370016004415745981136924726103130field", inputs = [{ type = "private", id = "3045860458496390867694070088198301599250184717892350776505560963236032378259field", value = "ciphertext1qyqrkdwe5qpgp7vqqv5tvnt7nvumr5w553pq5lwjntjeuavh3re7cqqyqfw39" }], outputs = [{ type = "future", id = "3385728006652327570493585525511743343760587719990357436071125793263092737280field", value = """ +{ + program_id: metadata.aleo, + function_name: is_block_height, + arguments: [ + 4u32 + ] +}""" }] }] } }, + { verified = true, status = "rejected", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq97zr4fk2uw9lljltrjq8xdrxgzrwx365yywak3key90jepew79znyxpupzmqwjm8pwesa42knzd5pq8vawxkgvfuqnppmz6zjmjfjjtyvlqjl3uks5x3fprdmc8vzy6ueea4ndqkxv22fq5p9flh590zvvqzkys72k46wn8hn089nlpu5a9qxypm6m4m5a98p07vq38ye6n7vvce8sqcu935z9k6kk8ljm95v32qkfflma302wclmclz07y5r4skts6vlqcsxjwd2cxygyrn77y29w04283av6266s228vhv0hz6gm05qzrcf0ravlp382uegjg8z85fypgykgqst9dsde435nv3jx82xsg3608nxjl299vvuu4xdlmk6jyrqrf83tvpx9w3ezfunw4umtudmrugz5ms2d42a055jl2fv5v75q3p5lsdvvlhe66c38su7w2k82jeas94e3sgjsrsyh42ac75pksrhcqnya6hqh9l3cv28ggrty88mwhgrphc7s5ugnpnzuvztnprcv45cfqrs8l2798l30pej8d4xkme2hxmdyjrkch47al54xyawdps5ql07ghj38wrsazgyaek2dckhgev7xvqxhc6ulvdrzvps7jues4sh70eamp7stt3ugk5tmtvpd4f3l5py4r2f773938gsxgd200ux8r8k9kgqxeectjylau580wghtwkyq8usgyjwpmvummmqws04cgjt5zec0v8kzycn6xk3w0qxxshak8saly0287ttklsmcjzj9kqsec03fjswvrk2jkqtfwwej48z7apv29jmkt2rvjas9y4unhzcpv9z9ns2fgqfpj3jp3yqasm4srywrjs5jzcskvez6vxkh7ndaey6p4gdvwdvkptprh03rg5kscuhawl4v74axkq8fc50f5tfd92dprt6l6td2p5h6fs8jwcsjgjvucrtwgw6ejhup3jd7j5rq6xqtavzh0mv0zg36tmh0u95435c4cux7t007yz3jeeugv4nzvrsmp7u8wj07wjtzcp6h44jkp4wxcrp9zgvy3jnz75pj9tzzqqvckttk2ggpngle9xrv6ufswalq9t7xp4ykwvq0qe4wrfvefvqfqnmwen4m92f07r8vtzc5ahgamnsxxzz3l7yz0er7smk6eqae22ve8m8vkt34g0wwywr4qtggnh5j2cvqvqqqqqqqqqqpj9lr2ngqgqxl9r6ga9wscx2a20szgfdta4ssq2namc6e06nguc4h9shcusug9r4jr408npszjuksyqwdd2d53vjrv4ajjkmyeu8kvd9dav08ulzcfdlclyjupau83udcga8xdg43djuqkfyvljf56wghngqqxzam6r7zh3klkp0jdda60zx9hkzeepzsetvzezhdk7qtcpncl2qt6el68lz56q22qzvlfrx83yj92hqukc9hnxhwpa734jk0adaed4pxe8l737hzh8t9f2r6d4d4x0fsqqqfe3ct3", transitions = [{ id = "au14wkt0uwdeqr3rtyanm34w05erz09e5pz3vefsras92gw7mg9ruyq2cjhs0", program = "metadata.aleo", function = "is_block_height", tpk = "1444729407522809558323470265213923228766243452572825861150604562994526846724group", tcm = "6605683873534110561518205917497290187071187934421726209194585939237041100572field", scm = "6386290422692476953856701959340582555742652888613812253698770682334976467968field", inputs = [{ type = "private", id = "995875758905348650887838336071398965006340013590388127329542388661760814042field", value = "ciphertext1qyqy0udrzx2za49wpc2p3cdu5gnx7wrgxgdazmkxev7w52kk50m4crqjmwyfr" }], outputs = [{ type = "future", id = "7062753008479587970728813912297002098956298483699113034949808175760398051196field", value = """ +{ + program_id: metadata.aleo, + function_name: is_block_height, + arguments: [ + 0u32 + ] +}""" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq09e76wddnurkycfduqt5jj7hafhxxdsl8k3dsgz5s99859gwg0tkvxg56hdy0puu48hxvkfzgxagqqyxwv9q32sm0hdewcfr5qvdfawq7cdld64haa8k4mh4nhl3wv99g9jrnar265pw0zvmza2sj4dzedq8dzke0lexr5xaypug5dg9qt2ptc9s63dcfl42vq33ncwjaeudetyfwxdvpyq6fwv3lchath3lgd5qunj6zpxtmf6jpjt5yzl9l606eycun3madcsah50zamp94a6ykvnyt4pavlwtazkyp75u72pzy2tsqk2wxv2cwa8rxjpsvnts5dsl2a93l9ejmxxmvqgsdmm92h44hyaqw2uw9xh9c7qcf98pvp2tqck3cpdrmd3puahfpn4vv4e4hpnnj5yzv2wg4jes9cpttx3gpatme3tzdttp0mdjsqtye2tz3lkmcwhufs9ffg7nne7wnh8e2tr5gujevpr0g4gyxp4jejt89k0rry0ah9p3suu0guekf8q2zrjhz99hr6j946qrqyh4w4xe97p0ac0635q6q5m6xutdz3t53harjr5tukqgvt9r0n36y0ek2eg0cfq4sdzm8q4452vqxkmmc23v8x47jxn7ky2hx0gdsnrqc9pwuhap8rtr0dqjskwl2nata0we62lkue6z84akr9v8d8svqjusjyxcevyte989pafx23m0jt2hg94pl28k4uj4fnwnqgq4j4580a99ndkyrhym3kh3uwdufymy8879kxfqtm43v84jlnaqm6qhk6q7p4frl3t22zgrt6sfkf5hlvcypljdhfxczx5h9vggk0pwxjgatpdc4f5yav85sxwy9fyfjq0z77zkxzruhetyk80d3v72efr3ycscqsvzfy4p0mh64wz2mhtzcj9wr83tevaag5t0975zs0hfupxnqylqflpgdg6cfu6ylxhp7w4xvwwnwac24n2cfnvk5pnsmyeut8n4fwq9cj36wsu7faag77epqcw6dkzsvc0cv9lvkj5xnc0u53v3kjsm65pjd557l0pyudch4646fkz45vsqy8xz7dcg86aqdgcv6q3mv6etpzrs0dxtcnz7uapehary54unwk8p9f57pz2ywvx8wjf7qs2rjtpzsca98hjwu9uuyhyw45zzy59vn7xn385ml7q2k9yuw27kqpeznm7q9qvqqqqqqqqqqpucfrq24alwu3lv7k8srg7ht00vus65afdl4dqxeqgsw45epn2tnjv7slu828djrs0hzfhge4xpkqqq275wp5guxrxjc7rpfu8mkk9wz0k7qsy7fz2nglfkjv83u6clxq73v5z6782er0zvd2ektcj844fgqq9tg36fyg8ypra2xq9an4gafntkq048le295xwaksepvlhgahypqtdrtu0mxrxhpmmvlzuy5d477k3ddncn42yk64wyl66nxd3ps8vv5teylrzsrf7gkgfx8h957g4m7syqqhlhwmj", transitions = [{ id = "au1a2leejxweztp26wle5ppu4d38g7cy834qyjg68nde5sztyvkwy9sn3s0zp", program = "metadata.aleo", function = "is_network_id", tpk = "1340232995313789889707870100633828614952994697713322419253213356280424596637group", tcm = "8217955983468310915175130532526952797051163869431616512626964240444177287740field", scm = "5286852775688099827771180960665525889691546224120923411174520720536024854359field", inputs = [{ type = "private", id = "1668253572722249004754550111746806543734709237973262206564980341309666489114field", value = "ciphertext1qyqrya4v7lv7j5gpldaneyaj3hpl79n9nawlt085kunwlqm2s2a2kqsg9c3l3" }], outputs = [{ type = "future", id = "1539677279749963537807733780953347200083489102040081905411697663081843666141field", value = """ +{ + program_id: metadata.aleo, + function_name: is_network_id, + arguments: [ + 0u16 + ] +}""" }] }] } }, + { verified = true, status = "rejected", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqw2mpt4vp2kdrt6z0lryx0e32t9ngsldqzumnu08u7wak3csj55e7qnnfa4sv5wh2a2w9g6x0xttgqq9wlv87swn8kyk4durjwzdxlmtuj8tdu5nvmvxm26ddv6f3v77dqxhkqma5pa2z993zl5k4m4mlgaqvaadfpuceedmfclvru99al2wma6dtqrq8hll8x2fepflwght6h3a893exxs2kcvuqd9yv7exxpf2qlu90ssgywlpl3yaqdqj92a2n7dhwmt6mugs2vvc0g82x4lvv53yfcpnjpu6h6096hxvcwx6uenlcqnccvpkjlphettnkp4kl0m2zhnwsd29d2vv9lmrs7q3xwph4auz5ndxm4u7jk24kcum7f36lykrhsp7d0ezu2550s5spm4ngxq0alhyea9rj02apntqszclhq2mdnddm8pjg7mdzxfd90ypswy82tz456qx8esjhvf7mczznfagsdhmm4w3ks3jv86qunvdp2evtsn7zzfw54jxsnv7h40jvqlqdt2y6cg4gemq0ack7zd4cswrg825s6ekuh03pj0nnue0zexfkd5q6mrqfwwgc6vsv6z0dqwcm0k7p23fp92sekwvq60xcf6f4ukhazzpq65kxj2ydk790td9ea03xpdu287gxmax376ranc08vmy6sm2g5m9x5j45y59vpm7u0y0gxnnhw75mzq5cwqq3uyg5ah3j9ma6f7gxl9nc0rmnxwcqey0uz5hcksuj0vye0hua3yylnpf452syphap27d988a3f2r2gkqqs69pj7vp4pf364v4rjn54f3hu9lyg2e895ka28m7fp6cm0zmeq86svehealsspweg6vtl9dvr4d6cpp0fvfr3pllx4hrfdnr7jh5sfdy6rwemk9y990nfn5uu9mlyvlzs3thd8aywmwzpezkzdnvkx3gxt5m0940ffg3wfsll2akg2dxv90ct335nk47ucvenmlmzudq77ypq82f3yr9x92tmt5mfh5xpg55c099ujm0ycqtz3r8q58ynakdnkyvxgf8s43ce54qr955q44n2rsvnlhd7cs3r728agmxc0sencdldpyx36hypekceg8p0qwhh2yjcfyd5e92v50lgh46lpna7gemkhwsqpsga7dyuaxduf4ze57dqk582clp88m8sud60mz8wckck6uqj56cwqvqqqqqqqqqqpmqg85894svzenmckslpej8fe0q8taszeh37cvs6fswnguypddfew4wuwdfz7hucesl4czp7ckfzsyq88kaun7e2r9hff74tmj84jjaxv385s57nw2hddeekanq653k6xu37w93y50mqhn02y0eaq5sc9qspq8mjtdrx7cskcwpwvulfw96yhds3smrgjh3qz0w0h0xk5qead6xqequ37nnunjglfpwauyg52xy0f7a85sc970mwg53aa7a0r3uhkh4ts672peqc07ykj52h86zn9dmesyqqfd8ktz", transitions = [{ id = "au1p6dnfh03zklzzs9geuav7wv7setuzqdutchu5y3v2mextejcquzqkqwrsm", program = "metadata.aleo", function = "is_network_id", tpk = "1241422812750809040633541710935659167182171861372164882434451533657783900235group", tcm = "5101387774266692927046996997659568586960496233365914098412457384845133261795field", scm = "2058887597321544003446839824871525583138282285522439768552503536778673854175field", inputs = [{ type = "private", id = "2502240154805122913754950482164060205713010124319839564435072682062878840162field", value = "ciphertext1qyqxt75s26szy43jyfepy39w4d73djcs3m5zy32d3x97pzq4tz6yvrc6krhwf" }], outputs = [{ type = "future", id = "3510883460457420092377029532012709622763897279943796296090819877739355135729field", value = """ +{ + program_id: metadata.aleo, + function_name: is_network_id, + arguments: [ + 1u16 + ] +}""" }] }] } }, + { verified = true, status = "rejected", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqdw66a0r389tve06r3hfuadzhcerz9maumqm53zyyvly9vh8n89l76syecwfvft3jpzepnj9znn0gqq9rjtyudv2826svlgz7wg2q98z80jg6utafa8a826munh5k772hdtmq57e7p5gc57n8q6m0j5ghy7qrmpr2sqhgfydnxw3esncpryz6d4l68y6kjdjr887gmma28s4253wllq796avhhthnv962h2jejtyqderr37zt3pkzexdmxhnjtpgeymn86s0mr87jfn0jfr3dxepc8yr8l27tws4dl65aema34mnxdrzspx3adzxl6vzffaceuhe574u9aptx86e9xkkay2qdg46vf7qykwehaqfkx7ync5dw0rg3gp53fxu7sqgdf8ntq2lehfj0w890n7hmqtda79xjhw5mgrqx6p82ff9f8v6xwrthu0rsgycxzz9nkzwuseez0sqmjqkenlm93cmqnnzp388kkh5rne27prhj2zmshe2xmtn3mvz7c4mu2x5yp9z3k7ksmtvj2ekcfzqfs5jy6z4pvk7p9h6q0lx59ry3m3dfv0hwvfdw6r5g37n8aau687f9ex4tv3787v92zatsl3sg8nqq7y6ullw7eg45ygg6cx3cc7unqp3jdgswp7yepjr3r8nhdgxskuvv8ewkcng0aq98aqf40z0w93fsqzh343luxdrlwd3ugz0xpyf26m4yx38h60pvrawp6gst0zuvkzcq2dscf42dg3t5qxuskvjncd6e6uzlt2nfu06s6tyhq8c2yr578kqmmqpnfj3kt6q5rhctdpgf0h32fwckzhv3y45fxw38p4envheptq2elwgjewcgjevcr8svwtd6zrmzemjrwl8g7l64a39yz6e22kn3sjqa7wfk4md4jeh0fp5wyyl5n0537qttvuzpaqqc07dtw00cj0kq32xxcuxwagrhq054kd9q0kfn4atgw05cn750yg0y5mdtlfk2ufgqw9epe4a877mm3wnezctnxvzwz00vsjlrktlevefyqxuyzl7hw2pzvh8nxc727haul228ll2h379trd6778lpfl28q0dfv8r3dudt4qmpdnse7vtc9cre96k8vkp2wk6mkzgsp2paruf0sfzxn3tn3gqrsxu3q5e6ttfa3z36t7xz76fq4v79d0t78euu775eyn20sd7mwzyc8qvqqqqqqqqqqqp6q072lqns9g6fve53lfc7tqvmly2wp7rvzyefvsy9zn9t2f8espt3ucaud8d88w454ht2vfrg0qqqylkclqswxj0wn830heygjy3qdl5qvjycddttke3gh9y2wlvvsv0trngx8wmmh6fjzac7dgusa5vgqqxgdada0y88jjhzgh5wr3prhqr72jrwd7t8ll5f7ne765m65y6nq3ufguxmap9javwg33yfl7vdhfcx0y295rfjm90tujr2klhysh5lh63069er00h3t8wksdnpq0ze5qqqqqc3q64", transitions = [{ id = "au1jll9jpzf2280nvn3kzt8y6637n5ez8pa0fyg0v8qpz4dn42sdsgszgyfd8", program = "metadata.aleo", function = "is_network_id", tpk = "3020628155079738676029341956864028183556220726126818119892843813515945814634group", tcm = "5092678026348501787479712092206654928057371516556014317181185415850075250455field", scm = "6698525472848186851972463463758579475375335023496196068921682192475550867475field", inputs = [{ type = "private", id = "3818594322984197536201841623343353965535635040024778735947422566750518631238field", value = "ciphertext1qyqdhlds6hmnj75076e8rp439d2w0kkhlehqwpxyna4ermue25k77pc7vd0t8" }], outputs = [{ type = "future", id = "7537178816451179749955293921141073144829691758346850600262417117569051950256field", value = """ +{ + program_id: metadata.aleo, + function_name: is_network_id, + arguments: [ + 2u16 + ] +}""" }] }] } }, + { verified = true, status = "rejected", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqxjnzalspm3ge54g3u64k46ajew68hfgjrvw4rwpq5uv8yvlzn092gzfpw9d4zww8cq85uteu2cpsqqy8qrgcldyw90hrcgefx0hf5wzrrl0z4e3la75xlmrvykh9nxzqu7jpwv3p5mqwjegz0mhphx4eynqxpl02fsw9ttvfnrdgeylj8tnezkpj62wyks49q0dmzkxld8l2h8x6ycxx4cd0aedlhgj7t2pa6g5qwldagqet4gdrtm4jrj8alfutly5kklcs8c57dnc3n8v0p5e942maln69mv9qzyh5cypkkpvhw3zvqmp6u7qvehd6m5hqa6kzynyvr03x597ydckuex89plhtcj60fxypkdcegpgsd4kh5pknhvyjtqpusqv5z9jx20yaae740gnjhwad78ujmsjz3qrt2mf82kg4qh8s57pzff20ekcv5qy7vlmq4qt40el8aqqtgkjvlcdwhzhs8md3d8wz5jw2w0fkmdwa2qu5rz6penct0hfjucyq4626hlvhtrhpfsg53lc483qr09t69t5gk2t3k46z3dzsul85vkc77fturpr3rjd9lwlg5dr8h7m808uucvm9xvhkfugdd3vpul7q9eeug3cqz3g39y445vvrssn3nrdsl6xm6t660wxe368ne60nwsf93z6ydynjjkz0qr56d36xq5pgqz895z3aep3u06exfc3m2d24yewfmvzzcnlf8mcekge0q3fd49qq4czy6drge0fggv58hcyhdk8l2c77sxk4qt9k2klfukepnrjg76zttljvan85k87e2utgn6t7p20y6zs8r6x3v85p72q954agcdhuxp8cpgyt3ahunyluulat3qxeggcsjy87mda4uzf3ffs8n4w5usszq6mjf4qpsgjf5g8cum9vv4zl5pz8jwzzqpqczgdh9fwnvrtnlnhgv65xpekee7djetwtcevxxmm97pgtjtk0yuesjnr2swg4890k6rgptu20jkc0wuw8a3kfvl9anlngf3krmctjlwyw5k93aq9amum3rczet800tch2ngx0ay29hdrnkfdpa6hj0xegx35fa4np69ug800j2qp6t87r59zmfhnst7qdsf0ej46dcupnt7jcfazjyvxwnwype6p7qrs0p0fj38zkamm5y4fl8uvejl2pmh6nqjnkqf72vlepx3uans8s9qvqqqqqqqqqqp28js6ex4tk2ds9txma659n6rexsj7acgh6k8z95jgc6r3lc839ufjmf6ftk8h6p6xddnuf5h5r3syq9az5k7yml7wvuu2ukrmgwfz4qym075nz2pdqn3wwl4ukyhyuk7qy3e2su75wyfg26t7vwxtuzwtgqq86crh5xvpt730q448vpc9fwjwmauzu80fx44nmrrq992pjh479q8xmdral0gm45xdfej7sh65eqtuen2pvdnqwxhvxzurcuq5jznlt5fx06v43a0tp2wwlek3xycmdlqqqq2kj9ar", transitions = [{ id = "au1v7d5emm5qv92eulwzug07zef3jtulz0wtx327sgneuxwwq2n3ygqff5xtv", program = "metadata.aleo", function = "is_network_id", tpk = "5166995774473884857353890834507697003252798886819763885458919875879302699010group", tcm = "2857269466509252429260393571916264430248634027864154552164266119325455448664field", scm = "5015898762287590171698086886227097532893513313055100890056714442595417776693field", inputs = [{ type = "private", id = "427388127841120656445243905080318759102213861603935015273048542880171276770field", value = "ciphertext1qyqvszj42vuw5mrh26jse5x6x9nr4shv4t7spvjy93586dyksftaczsj2mmc5" }], outputs = [{ type = "future", id = "2214372592663363501000356836064875093257329610279266518247128855554701148078field", value = """ +{ + program_id: metadata.aleo, + function_name: is_network_id, + arguments: [ + 3u16 + ] +}""" }] }] } }, +] }]] diff --git a/tests/expectations/execution/mint.out b/tests/expectations/execution/mint.out index e788196e91..97f9158e25 100644 --- a/tests/expectations/execution/mint.out +++ b/tests/expectations/execution/mint.out @@ -1,71 +1,12 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: b1030d2b7e1dc433bcd3691ff89d35caa81dfd394c85f9aa93632c6fdd8ab4b6 - type_checked_symbol_table: 231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b - unrolled_symbol_table: 231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b - initial_ast: bbdd126cd1b3eaeaa719c45b93549653529addb4edd833d367c362e981cdc3e4 - unrolled_ast: daf988283c1682dbbaa69c9588be2654d0d8f161918e696d7a9609854b9e5311 - ssa_ast: 92d71ac22b15e4595e2805ead2085b705bdc72550563ef46024e234ceb17e0b8 - flattened_ast: f99c95ce74a5e971118299b787c572047809ea6b45dc7b7d83f6cdb08979e21d - destructured_ast: 3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8 - inlined_ast: 3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8 - dce_ast: 3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8 - bytecode: d47819ba59e730eb159ee9e33fef5a35aac6062e70c743a749157d54824a45d9 - errors: "" - warnings: "" - execute: - - execution: - transitions: - - id: au1sghrqk9s5998jacu40qw6nwpvkxj9wfqlyus2rymu7cm9lewu5psgwe7zf - program: test.aleo - function: mint - inputs: - - type: private - id: 7855253885486279710229453851594786218259580934362540680646828300595665281202field - value: ciphertext1qgqf7p64udkc2uzcsemzy2k4p6q0h6arl68ujpmva4dqllyte8wwjrhdnldv5w6c9rxuxz55xge5czjzqrdqhk884hgvzmqlqmlpncldzqwl8x46 - - type: private - id: 5426061205580372303096592424694483165889188915103920753208915604989483184458field - value: ciphertext1qyqxqzkt4kvyxgc53dfat7kvmr2z4d4v9q2dyklu2528hq7ehamfsqq8zekty - outputs: - - type: record - id: 5156109004448482223886765801400602131902167907109479580649173486324388601701field - checksum: 6631273458056610182110899788137838579552744841132751630640564497915769728001field - value: record1qyqsq2ry8wy8gu5g5l9qn4d9gn6ghm3335gd4tax9vp7ezpg6v27urszqgrxzmt0w4h8ggcqqgqspw2flhglu9mjcael80sfn9qu5ru70xjp7lt0e2cceasna3apx6sjq3nxcct8q5qqqqqpqqqhmtc2yyklch49fcfj086pen5u4fa8p8m5ygjnlqy70nmq80fmkrsta4lnt - tpk: 7835567325899127550325463306228588669553911215612671657187814910151824399315group - tcm: 4346953566447634214157280385182045626270093194427104596054934347800656899000field - scm: 976314679729564700856316609545716173163081344239778489091042818470177990760field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqpv7w3dzev6sak90ly70mwxydt494x88tuyym6pfw8sr5fy9y0zdkru4j4vvxmudjy4da22mczmzcpqyphrfleuraudqzcyuxf8acjvm2t4ctdd8eqq0rhjrcq9s5hmnzuk977q64mg8lynee7hrf5lm7a2qq7tv3axyrdqjapj4su7k7rjm6rh3k8kmt4n0zjhmwhpm7a2yaq7q6wu3gw2ucnmnqrkdcxna8yjcqt8fujq8t6wdfc20aplwx0pezgzt3q3agw6maprc6dlfmdetk9c4c6ay6hlvw8xf83dx7j36klu4cquyypq6wj78x2p8aqrsqsfanhr3h229jagmptrtpy9hjetf7qsue97ga6scqqgx4lyxd3nqqt9akqry27am87yuyqpsafcsjnuu603jujxtepc70xm0pd3uxwyzp0qv2a7swaan4ys08gvljq2mncsurksxysac8k6hdx7c0jalrc5sf9qjgmc49pw4y4jaxnuca6wqd52mxzeya39gtyjl0py3prut3lj6r98qzwx4v6ar6f9m4mxsrv0nsy9twzh80xnf7xcjur6fjm43j3at5h9nha29l3rq7csdrvp9wkefhzj7q8zueluz0u4n5g8wf6ne5050jslg448x3eca39yg6x7eru79tqzle4lay6v8464hqc3n660j4tlruph9uhvdsugh47f4sl6f0grwk8txvle7whdlcwn8mmvcpu2d3lhv9zmqd06kswypdm5th9h0dw4qt67x4l2l9vpvqs0r7shg7adnezjr8yfrzvqzr387ttvq7c27nrlr2xf78wg0f3726z398v8l4mpvxcquqs4rjn0kffspkxe8u8qhkzcs2fnptc28zkja3wsufee9t5p0us6q6mfsgplsnhq5akyftdnjeatnjfhhqp8fckhu39033367yw7jg0k065882yu0e3pafnsttngwymcmmg9j9e24htqrt2rllrngzd3spdkhefjn878wt3r9t79kn99ygrmd6tlqd3zkw4rpwvvhvc6fw2cy2gl4tp3h3kr6h6f3nrwnyuerhvv2vkt2ly0ch6vtyy33vfzeyap0wp3ud280xrm376ua7sy95d96p438q8lhh5at6e6x0qg3yfs2aqz072s8y8m80y7dh93tqgn57c72md76zrdkuus3t2ax3uedfnskqfqvqqqqqqqqqqpa4q4lhjg8smyty9e8g8cy2zdn6revlv9nu5dt7mndkeh4jgk7nsae2jvtll62q0m8dl9rsjzlwfqqqf66rhr2q6wx5qdutj8g3zvttuv24q9xjslwc68fewd2et4snf6pnreyz768fruazvq06x6p2xj8sqqxek9cqtcwr2dg39ry6e89cmufadcvxmwmc4wl2c37vprhnm40hsjuflplcytsgkpd3fchzy3j8q2cjqtu0vr0arngfwlwj4zj3ch38vj2879wqvguecfkw97nadf7zhsqqqydj89c - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1q7cn99pj98csjpryjd6fefw6zcyf77e3cpap57d43te85jah7qyq5jdzhc - program: test.aleo - function: mint - inputs: - - type: private - id: 6730929765050256935131413115079497253893797874472297867388825716189063567410field - value: ciphertext1qgqqzq928k2872d66d7k9zkzd0m52kxef9krlkmflhh8aml44gmk6zs3lasm9rt0wcz5xz2fnlvumqh2mxtvka0nvs5v3shjuk8kjy9rqq6gqtd9 - - type: private - id: 1160054742237664112419375728847164579142461361507682016019441823665217033756field - value: ciphertext1qyq8tv4faxh7jueaqsa5zf5tz4dfhkkd93y549ptv7086dkd23ersrqncphtw - outputs: - - type: record - id: 2929280752260107947662198927576949125139231236899314499375998902130530917471field - checksum: 5762314365757678834769222473754019500197499076330024014226967001882125847829field - value: record1qyqspjfrvhsy4afvrrm8768vc6c2rhhvlj89g46te60xyncdshve0lsxqgrxzmt0w4h8ggcqqgqsqk0tn9epcmd5pmd335sd8xj0kmxw3vw5eanw7r6c4dglpxgdvvswq3nxcct8q5qqqqqpqqqsmsycrhpge0gehscgwy4qytq6nheu4rmv35dmgcpe8r253rh6vpslr8g0c - tpk: 6904969259225128751995976548992869286903312087922998632983110930201370009484group - tcm: 1887301650610134708252289372252548020774617682790454757735490012823528293268field - scm: 3370159836456331654922196424392966409340715478105148393215190674557013391093field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq07ttgtczc5ucqcevg9r5pxwahyrnfyc24evqhs4tjngqlv0eduvtm7qmsmfjp2yvl5knkncnvd7gqq80wp8r0gewsnlpjwzwe83ahrmgf0t6rzjja34wk7m7e8fm5syk9csrlrhyrd6kp6kqpfrzgywg35q0uye0u56jdlz74h9vl8afxekgwt7kcfpylk7h3ghkw5aqswx5pp6sq6nnz4q657ss9fj2nywrw26q28dnqdegkln7h439mq4keflhdtgay69tqc4muhpcpchtcu689gslssssc8qd38rk3dt8azal2zl5pry3hg8nvxjx3m9s50rjkx5twkvuf28wkwzelhcfm5k8h7ymd2hyy89wk3dxsed7lw39sldsky6fsp6pydrlfd7jhp2tj58dm9astywz44vpl4fy28dnu3j9mfcvh9ckmd84vmkxhfcquhle8pt9zj2eus83nanlls37wpkp7a7hn3fgpjz3d4tf2dd5nzvqs0k69ukdvwu8qyd8ptvj9z2zt0hz428gxdfhaxqzhr5xslfmytp8uffl8xczuurscum920ly4xuzazdtyxfkxtxhy309uv7ud2z6cfgylxqu7qwdk2zqa03lfxg76a3a746r4zs6a3dwly5aa98ngh4csnfmvykxhje07qdzh4ufqcrrlnx5qmvk46zd8znupc40gjnt3jnrnmsuw56ya2q36r8x5vm0gdkghmu7j9wgpjuhmscrvz8ckc0retftvwdvrvl9ek92ak55lyd4u2ynxz6fx8th4gv4fgzs9wxpwlezj7rx8xhggwvhfds8znqtk2rfuczfmfuq34aju3ppmzgnnj2t7axc48rn3nagf35rc3wq9x63yxkj7d9wkkm6nw2nx8u9q84ds9mrvw0x4q5wrh06m2534hct5v3xusq0kqax9wck983w2krgwk9rm8e2pykm5tu3taek9dchh9vu5rwmtmzwq6y3zm5c6uneaag9dtcf59xhjyqp697ap2xy8klg5qsuxpeps9pcavfyuw42ymqwwqzznlqjp0m4ul2auz2wdf25rhflxgedv2e0n57ea5dney85v57knqfmw37w8rlufzjyr57cpswz7hjpwgdd2lk92vgrfu7ar4umhkvaq5uqwkprnyv4l9txuf2w0wqcsckmn0tx6kjse958z7x4ugjcxjlszqvqqqqqqqqqqptkajeerh5rn5wujx6afstdfll7y2dv0enl5xtkqzrn8ey6u4feue98ctfcv86uw304m8kj6awnqsqq9auk7vac2uyyxt3pafq43zxzcs44s8cdsg57jzsv2ny6ct3ccqnhvapskr2e70vpussa6u628p8cqq9seppd8jkulf6l8le0am00vvrl8z5r0lz0putpkpenq586lu0uqak8ww82g3el8l4tsqfq52ulzzjud9yytfxf7y3e5m20mfn56gjsdrn8nlncaxe7mhjxtk70l4y7ysqqqvyhg5q - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "b1030d2b7e1dc433bcd3691ff89d35caa81dfd394c85f9aa93632c6fdd8ab4b6", type_checked_symbol_table = "231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b", unrolled_symbol_table = "231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b", initial_ast = "bbdd126cd1b3eaeaa719c45b93549653529addb4edd833d367c362e981cdc3e4", unrolled_ast = "daf988283c1682dbbaa69c9588be2654d0d8f161918e696d7a9609854b9e5311", ssa_ast = "92d71ac22b15e4595e2805ead2085b705bdc72550563ef46024e234ceb17e0b8", flattened_ast = "f99c95ce74a5e971118299b787c572047809ea6b45dc7b7d83f6cdb08979e21d", destructured_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", inlined_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", dce_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", bytecode = "d47819ba59e730eb159ee9e33fef5a35aac6062e70c743a749157d54824a45d9", errors = "", warnings = "" }], execute = [ + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqpv7w3dzev6sak90ly70mwxydt494x88tuyym6pfw8sr5fy9y0zdkru4j4vvxmudjy4da22mczmzcpqyphrfleuraudqzcyuxf8acjvm2t4ctdd8eqq0rhjrcq9s5hmnzuk977q64mg8lynee7hrf5lm7a2qq7tv3axyrdqjapj4su7k7rjm6rh3k8kmt4n0zjhmwhpm7a2yaq7q6wu3gw2ucnmnqrkdcxna8yjcqt8fujq8t6wdfc20aplwx0pezgzt3q3agw6maprc6dlfmdetk9c4c6ay6hlvw8xf83dx7j36klu4cquyypq6wj78x2p8aqrsqsfanhr3h229jagmptrtpy9hjetf7qsue97ga6scqqgx4lyxd3nqqt9akqry27am87yuyqpsafcsjnuu603jujxtepc70xm0pd3uxwyzp0qv2a7swaan4ys08gvljq2mncsurksxysac8k6hdx7c0jalrc5sf9qjgmc49pw4y4jaxnuca6wqd52mxzeya39gtyjl0py3prut3lj6r98qzwx4v6ar6f9m4mxsrv0nsy9twzh80xnf7xcjur6fjm43j3at5h9nha29l3rq7csdrvp9wkefhzj7q8zueluz0u4n5g8wf6ne5050jslg448x3eca39yg6x7eru79tqzle4lay6v8464hqc3n660j4tlruph9uhvdsugh47f4sl6f0grwk8txvle7whdlcwn8mmvcpu2d3lhv9zmqd06kswypdm5th9h0dw4qt67x4l2l9vpvqs0r7shg7adnezjr8yfrzvqzr387ttvq7c27nrlr2xf78wg0f3726z398v8l4mpvxcquqs4rjn0kffspkxe8u8qhkzcs2fnptc28zkja3wsufee9t5p0us6q6mfsgplsnhq5akyftdnjeatnjfhhqp8fckhu39033367yw7jg0k065882yu0e3pafnsttngwymcmmg9j9e24htqrt2rllrngzd3spdkhefjn878wt3r9t79kn99ygrmd6tlqd3zkw4rpwvvhvc6fw2cy2gl4tp3h3kr6h6f3nrwnyuerhvv2vkt2ly0ch6vtyy33vfzeyap0wp3ud280xrm376ua7sy95d96p438q8lhh5at6e6x0qg3yfs2aqz072s8y8m80y7dh93tqgn57c72md76zrdkuus3t2ax3uedfnskqfqvqqqqqqqqqqpa4q4lhjg8smyty9e8g8cy2zdn6revlv9nu5dt7mndkeh4jgk7nsae2jvtll62q0m8dl9rsjzlwfqqqf66rhr2q6wx5qdutj8g3zvttuv24q9xjslwc68fewd2et4snf6pnreyz768fruazvq06x6p2xj8sqqxek9cqtcwr2dg39ry6e89cmufadcvxmwmc4wl2c37vprhnm40hsjuflplcytsgkpd3fchzy3j8q2cjqtu0vr0arngfwlwj4zj3ch38vj2879wqvguecfkw97nadf7zhsqqqydj89c", transitions = [{ id = "au1sghrqk9s5998jacu40qw6nwpvkxj9wfqlyus2rymu7cm9lewu5psgwe7zf", program = "test.aleo", function = "mint", tpk = "7835567325899127550325463306228588669553911215612671657187814910151824399315group", tcm = "4346953566447634214157280385182045626270093194427104596054934347800656899000field", scm = "976314679729564700856316609545716173163081344239778489091042818470177990760field", inputs = [ + { type = "private", id = "7855253885486279710229453851594786218259580934362540680646828300595665281202field", value = "ciphertext1qgqf7p64udkc2uzcsemzy2k4p6q0h6arl68ujpmva4dqllyte8wwjrhdnldv5w6c9rxuxz55xge5czjzqrdqhk884hgvzmqlqmlpncldzqwl8x46" }, + { type = "private", id = "5426061205580372303096592424694483165889188915103920753208915604989483184458field", value = "ciphertext1qyqxqzkt4kvyxgc53dfat7kvmr2z4d4v9q2dyklu2528hq7ehamfsqq8zekty" }, +], outputs = [{ type = "record", id = "5156109004448482223886765801400602131902167907109479580649173486324388601701field", checksum = "6631273458056610182110899788137838579552744841132751630640564497915769728001field", value = "record1qyqsq2ry8wy8gu5g5l9qn4d9gn6ghm3335gd4tax9vp7ezpg6v27urszqgrxzmt0w4h8ggcqqgqspw2flhglu9mjcael80sfn9qu5ru70xjp7lt0e2cceasna3apx6sjq3nxcct8q5qqqqqpqqqhmtc2yyklch49fcfj086pen5u4fa8p8m5ygjnlqy70nmq80fmkrsta4lnt" }] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq07ttgtczc5ucqcevg9r5pxwahyrnfyc24evqhs4tjngqlv0eduvtm7qmsmfjp2yvl5knkncnvd7gqq80wp8r0gewsnlpjwzwe83ahrmgf0t6rzjja34wk7m7e8fm5syk9csrlrhyrd6kp6kqpfrzgywg35q0uye0u56jdlz74h9vl8afxekgwt7kcfpylk7h3ghkw5aqswx5pp6sq6nnz4q657ss9fj2nywrw26q28dnqdegkln7h439mq4keflhdtgay69tqc4muhpcpchtcu689gslssssc8qd38rk3dt8azal2zl5pry3hg8nvxjx3m9s50rjkx5twkvuf28wkwzelhcfm5k8h7ymd2hyy89wk3dxsed7lw39sldsky6fsp6pydrlfd7jhp2tj58dm9astywz44vpl4fy28dnu3j9mfcvh9ckmd84vmkxhfcquhle8pt9zj2eus83nanlls37wpkp7a7hn3fgpjz3d4tf2dd5nzvqs0k69ukdvwu8qyd8ptvj9z2zt0hz428gxdfhaxqzhr5xslfmytp8uffl8xczuurscum920ly4xuzazdtyxfkxtxhy309uv7ud2z6cfgylxqu7qwdk2zqa03lfxg76a3a746r4zs6a3dwly5aa98ngh4csnfmvykxhje07qdzh4ufqcrrlnx5qmvk46zd8znupc40gjnt3jnrnmsuw56ya2q36r8x5vm0gdkghmu7j9wgpjuhmscrvz8ckc0retftvwdvrvl9ek92ak55lyd4u2ynxz6fx8th4gv4fgzs9wxpwlezj7rx8xhggwvhfds8znqtk2rfuczfmfuq34aju3ppmzgnnj2t7axc48rn3nagf35rc3wq9x63yxkj7d9wkkm6nw2nx8u9q84ds9mrvw0x4q5wrh06m2534hct5v3xusq0kqax9wck983w2krgwk9rm8e2pykm5tu3taek9dchh9vu5rwmtmzwq6y3zm5c6uneaag9dtcf59xhjyqp697ap2xy8klg5qsuxpeps9pcavfyuw42ymqwwqzznlqjp0m4ul2auz2wdf25rhflxgedv2e0n57ea5dney85v57knqfmw37w8rlufzjyr57cpswz7hjpwgdd2lk92vgrfu7ar4umhkvaq5uqwkprnyv4l9txuf2w0wqcsckmn0tx6kjse958z7x4ugjcxjlszqvqqqqqqqqqqptkajeerh5rn5wujx6afstdfll7y2dv0enl5xtkqzrn8ey6u4feue98ctfcv86uw304m8kj6awnqsqq9auk7vac2uyyxt3pafq43zxzcs44s8cdsg57jzsv2ny6ct3ccqnhvapskr2e70vpussa6u628p8cqq9seppd8jkulf6l8le0am00vvrl8z5r0lz0putpkpenq586lu0uqak8ww82g3el8l4tsqfq52ulzzjud9yytfxf7y3e5m20mfn56gjsdrn8nlncaxe7mhjxtk70l4y7ysqqqvyhg5q", transitions = [{ id = "au1q7cn99pj98csjpryjd6fefw6zcyf77e3cpap57d43te85jah7qyq5jdzhc", program = "test.aleo", function = "mint", tpk = "6904969259225128751995976548992869286903312087922998632983110930201370009484group", tcm = "1887301650610134708252289372252548020774617682790454757735490012823528293268field", scm = "3370159836456331654922196424392966409340715478105148393215190674557013391093field", inputs = [ + { type = "private", id = "6730929765050256935131413115079497253893797874472297867388825716189063567410field", value = "ciphertext1qgqqzq928k2872d66d7k9zkzd0m52kxef9krlkmflhh8aml44gmk6zs3lasm9rt0wcz5xz2fnlvumqh2mxtvka0nvs5v3shjuk8kjy9rqq6gqtd9" }, + { type = "private", id = "1160054742237664112419375728847164579142461361507682016019441823665217033756field", value = "ciphertext1qyq8tv4faxh7jueaqsa5zf5tz4dfhkkd93y549ptv7086dkd23ersrqncphtw" }, +], outputs = [{ type = "record", id = "2929280752260107947662198927576949125139231236899314499375998902130530917471field", checksum = "5762314365757678834769222473754019500197499076330024014226967001882125847829field", value = "record1qyqspjfrvhsy4afvrrm8768vc6c2rhhvlj89g46te60xyncdshve0lsxqgrxzmt0w4h8ggcqqgqsqk0tn9epcmd5pmd335sd8xj0kmxw3vw5eanw7r6c4dglpxgdvvswq3nxcct8q5qqqqqpqqqsmsycrhpge0gehscgwy4qytq6nheu4rmv35dmgcpe8r253rh6vpslr8g0c" }] }] } }, +] }]] diff --git a/tests/expectations/execution/primitive_casts.out b/tests/expectations/execution/primitive_casts.out index 227167bd8e..7a7523c1d6 100644 --- a/tests/expectations/execution/primitive_casts.out +++ b/tests/expectations/execution/primitive_casts.out @@ -1,911 +1,240 @@ ---- -namespace: Execute -expectation: Pass -outputs: - - - compile: - - initial_symbol_table: 9e7d17a4e02b7e7daff030ee0600a9284c49c15fa1a2843c367d31e71286f343 - type_checked_symbol_table: b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093 - unrolled_symbol_table: b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093 - initial_ast: 0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676 - unrolled_ast: 0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676 - ssa_ast: fa4b2aee6af80d118660d054c70bb7eaf68fbcdd9eea92ce7391b34af8c422bb - flattened_ast: 596e90d7e1c8160687c1ce1079c1cf8871ed89aca9326104f73c41610ffbd1c7 - destructured_ast: 2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5 - inlined_ast: 2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5 - dce_ast: 2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5 - bytecode: 558400159426d4e89eb78e174a495d3dd2816aa4e78e5988d58a62d3c4d39392 - errors: "" - warnings: "" - execute: - - execution: ~ - verified: false - status: none - errors: "SnarkVMError(Failed to evaluate instruction (cast r0 into r2 as boolean;): Failed to convert field to boolean: field element is not zero or one)" - warnings: "" - - execution: - transitions: - - id: au1vxsqq85uzyxvy2k0qylq8s2gsd3etuu4ckfa6wy8rrny3dcdgyqszln7hm - program: test.aleo - function: bool_cast - inputs: - - type: private - id: 3652773017842723677695414936555553623545505167243357822542337827471217256094field - value: ciphertext1qyqzvs3wx8nhw7nes3c4m09yxuq60e3fqrpsyzqkrwn2yczyr35agzcxhzwnd - outputs: - - type: private - id: 1489903468267774922477104600233457150822527790489645507079505097147284139318field - value: ciphertext1qgqd7qgs5hnngcm7fefm5h5ch4yc7ln86k78j35xfqjx3n7jvx79jqdnh0lzv3ntqjccdw5nj8lhz50cwuf6acufdpnuhyhj7fee8k2lqvgga0ym - - type: private - id: 6470727271276497435292306716398398989713755341916071386555165147653400541284field - value: ciphertext1qyqzw23lev777j4jga9a5p7pxc7dj20khwvkyn59e4xy4p35w96lyzqllr05z - - type: private - id: 6668435747150019325711935604937065304868113677631918372717417889744598345554field - value: ciphertext1qgq2y3drtgq0y4ux2s2gvy5xaqsv0prueut8xxjsf656mqpkd7zl7rwtuwp5tnhgffc9pwdnkfhh5gptgst8nqspfan0u02v5sgnv24mpse6k8jv - - type: private - id: 1924615496325791107154171552052135892346769453386180072211284570148086735661field - value: ciphertext1qgqf9tugqs6cz7jlwx5m0npxn9zrj5jg860q25dljnejryfqxd8r2r3rzjthwsselm4smmymmstm9ktjc7w50ljg9x6c2plup9p6hxerqce4hsx3 - - type: private - id: 5211821926682599370233774985314120051535201327050983006603930156913232303394field - value: ciphertext1qyqtftasjhxndvnyjrpf0a5v77yv2nyl53la5ug42pm4ylsm7yyv6zqy0rgtx - - type: private - id: 4531598380078638967500870027002445350281193635458286451403047434261532816319field - value: ciphertext1qyqven00vkukf0hr90n6g8sl46dcpkt6fhlww0c9h0lhk7n0527a5pscxgxfr - - type: private - id: 6479460187469349994561537450888623356191296912501681038381069805254961630351field - value: ciphertext1qyqfpjcsn2v3txgkrstee8qn739nrj2vlmldczyvzl8ddktxp0ywkqcg9nzdx - - type: private - id: 6526767347563710986002002097644292447208013459013791712515143818251868909265field - value: ciphertext1qyq9ncnhfzjl4klh8d99vk06qf59wa0l5yzqsxa7wxcn9e4enay3yqgza892h - - type: private - id: 5985617292067968432560534277131732391365325310808401971854913326891871548608field - value: ciphertext1qyq84acxld9ea3fke94ulnf3ph49dkah3r32yukkd6uerefxfcrd5rgudjnry - - type: private - id: 8169045623774000390226654448652020752183526050250467621253658652241057724562field - value: ciphertext1qyq9hwa9g6mme0r74pthh9wzuqjganks76u9xhlw0y5vkk0sm7kr7qcf28ygl - - type: private - id: 7883766732799295437300817997973639782941240557038794986182383880805881340034field - value: ciphertext1qyqfmfkklrevcudwkneng0r7rzckp5rswp0njtrjdeuad5kndtfrcrs3rt9jp - - type: private - id: 1189329855555163001730625647475280297422003858628293318974735497457829648530field - value: ciphertext1qyqz370g6dj3thckajp606utcsx2edetfepjc6uhjujxqgrfcagf6pqhqpkc2 - - type: private - id: 7612135962619195115092943749060298652077167840678126412735903215217701417529field - value: ciphertext1qyq0r23rzw7s57ynv5gc20l2tl8zemwnvjwcxxwfmx9sw60e2u49xrsg4et2k - - type: private - id: 363818532532093804484349747307277478562615543498838178519589271916174866955field - value: ciphertext1qyqyeu5r2es7zj84f2xh42fnq2uqegcc9qzqr3hzgn0krf3vyck6zrc0lwv8t - - type: private - id: 3479993534249828408448025809227276988316448670490442346168803463778184679043field - value: ciphertext1qgqtsgkmg0rhr5y5g5yqjd5vh4e9zda68sm5d3nfufamkc25p9352r4xegtz7kex9p9xksthz6pmald6zsh6n9j5f3eg609njt5zl4gjpg78p9et - tpk: 1840775000742132221378217470390403415772894197711079446698402298218210582564group - tcm: 4997724197499109479392119364652053918729566448250116943429037180294488682414field - scm: 2273075582360443326451938231856015807711165656796230579989764810685688490856field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqr9t73c7ur3wphtpfxmugwau2krnqz7zvppqsc6xjaq03mkvc6y8ce5yx67jzv4j7vyak4h548y2uqqy0s7fz947x6ycthac9jpe06lzuzd9yydl7lvpe4lgxap86x4tcan3pt5jy4hqs89myqljrwne9ycqte7pnv2saqzv8zguwm0k0v05l3r6xlcdj4p27qt43j44w7kkx5tpqlhq65a5p6x358uspz7836a5q22jxdxdhrf3cfvjuwsrdq5wphfg0yljyuf0eh866s98ldlf8dan53jjcapldf2lm9cxac70p2lsyqpqkm85csyupnfaefwgce8pwk92x0l9khtec7ksp2ylyt9f4ngk590lmmacmsueurc8y20f8s894qzv0gc6k5fh0mmeh43pufleqtpwluu9a7van0f943f8wpenlgwdju3t75ckacw5rs2pedc5yndd4fqywmkr0mwdjn0f9f29nf5hccy8wzmemnyhargy5r7swnan4jk2quxsv66kykq8nh8m6y86dkeg85qqqc4p0rs2tq9dzk0qa7r6s203ad7kn3xpagek3fsuzah5plh9d50l2a5ghxmnt6m63sr9xpr26sd2qcl7edp2vw8l67dskwem2ktxk9tsmupga4xcyr3n5awqc0t0c6eqj322gh3ut398xml2asxx2w575ppm3am3um9da957cu4yqtlgklaae35zd67kmtwg57d5a2a25xju846dx9ytvj0953wwyh5ezly4l42mgmmga88q0g7eyf80w54t2wvpj0d72uvc8hg3ahzdtpd5lpshn23fnzyfhjqd5qkxg5tf404pjup9snrj25frwr6586zuuke3dk0zx20mvnxnypjysn4hz4n4ejscuqrcjenkunqk9ungezprd77m20u99kn7p7xwpk27c4ef9sfhanpnc0xrc847zqcwfyasz58d6gvg2clh7ppfwcgfh8npxdezujgzzywsyfjgh4wuvvz4zadzpk3ncf069ulm8w8q3lsmxh4xauszma349nwre87s0tgezt0l7392qdg45n6zsen3whdy2cx4ahqufjmsrjmn7upna75jh8euyp55cxrrlkx8jta9hq9txdc7klhg9tw2sqnkr5eydqr26vf8te2u0jtlf3w3nvlh2ewutp0qedyltdz3gqcq9du82wttcsqvqqqqqqqqqqp2vytpxkm66stlawctz7s0py8cdy5p58kq72e3wzjk3qxll6u79mdpwfdfjq6ksj29nu6fk0vcegqqqy4r3y734ckuvdk4svg2nzemncrd9z8w3976ptnjlwf4qpryax639et2sdshqftkazg064zj6h5hgqq93x7fh828m59eyxwaqad7en8al6gkryavfkawsv4tfqyd4yuras339g68wejexp25vxgzdfzf87ra99645kll99cs7p5963m86yave58fugucjq63qehlpwn80ff4emsyqqjsrxwh - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1h5jy3m2lzvstrt5rcjparu2a99rln2zm5kumuqdpdy3fpxa9mvxq5fpcwh - program: test.aleo - function: field_casts - inputs: - - type: private - id: 5210374845398586757087052114862693332138814411639228172287665297220002247177field - value: ciphertext1qgq0229cgmhyel68w3teg6hpsv32qpmn3xsl6jqvjl2kdvg8ajc7vyv457zne96akyrpw889dnknggxv6qw7nr0ka5s7d0vggqxv3q0uzy2dr30w - outputs: - - type: private - id: 5278258430260892246335134042144232775702111505862550740943441260010089085572field - value: ciphertext1qyqf0jtmu934x4mmvrp6wtjcvpdwtadxwkqye7mmt5h9kymx6m72jzcdwn4md - - type: private - id: 1719215645204668812556355656460747426127816069605731617057929706052866655464field - value: ciphertext1qgq9dw5njnfzukdm96n7qhkmd9l7yysgf4jte5ymmwq92yrny0f0yzac2cuhm25ud8mysqnkr0jfx4jf7hpakkprmjjdc772ltvmdzwpqcsm32rp - - type: private - id: 110166698649293698991959794306224065391937528233960754667121415702617815287field - value: ciphertext1qgqxlsrf6xerrpu9w6llsjvvt4xh7a7kr84m4d69mvxamyeuhfrywpenydzgaf2gpe8345vjadqdawz06e5d403qpjhtqr9hrct4dagypq26vkkt - - type: private - id: 7572489065431414763195567326987677213700731367406493412605628927105745401635field - value: ciphertext1qyqxrsq8w0qa6vh3rpk840yqjnvsz92xraumt2t0ugd9yxvj6f94krgn73gmu - - type: private - id: 5382210913027712904660208108217238098797028387509177353601403241425806325012field - value: ciphertext1qyqddqdwn2enuuy2n7270ky46ppnw8yqhewznq3uarwunep365nu6zszukah9 - - type: private - id: 7293641798010741552890532176945733070989613940244056734794959936785555089785field - value: ciphertext1qyqw0dvyumprdcfj5w03dsfj7lcme0kdhnl4qqueqxesxk8efjyhuzqzrgvxk - - type: private - id: 8417802662482873710108448254630274678561085383114549724041761026003730678243field - value: ciphertext1qyq9srs03fakdvzfcnfy79fcuq4pznuuk5zcdg04praxsx4fwnl0wzgpn4fsl - - type: private - id: 62794799572197680293623223635450821678347779377298064193240440895421535255field - value: ciphertext1qyqttf2y5j0n9p47ug0z6kmc338dfnfxaas3zh9m4xjqlrrmunq3jzcxytxx4 - - type: private - id: 6732900562595240142071527053929099794472546843472434495316070899912406569510field - value: ciphertext1qyqfl4plsevqhq6ug80lykwy7t6atafgacl5ntf27xak9y05yae4yrgzqe06m - - type: private - id: 895763204984015326271645820601789841628070668730587774683000031319385076239field - value: ciphertext1qyqrqtl39hnnmptk2hyjlqn9fprl046sl9ajj3n9na229ly2039xkpguk3zpw - - type: private - id: 3849895332605103361406563677401902204802792952238298150467327985405368378555field - value: ciphertext1qyqfdmzkarwttfx070yr8mwmegdq752rjjryul46ndw24khppqk9wrqxk9584 - - type: private - id: 3887676660638685387601010110924346674000730951368505262404752588989549289137field - value: ciphertext1qyqg5d6r034jkqvdzc0kfdhnlvsefflhhxh555vcgmszp0zr0t7r6rsnuevuy - - type: private - id: 601408292144689947075592721610996990971030099818402319972337531893774340464field - value: ciphertext1qyqz6046gqpvzmfxjcv0uncg3kcrjhsaermjrnws4jl8unh4rwjwuqg6dexs0 - tpk: 5491774800262074356986972099480113726718247733795663254909096160261026198520group - tcm: 4352063585194955097288785276019664277306359837895843021663731039351530762235field - scm: 1186234034511247786303570657553653137233632959157804093887150332336721533308field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq0xf2vddenq7m5l5g3mds3dmvgeln80uwrcgxy3gxujkyhs9904rx8qfv5wnqzz7qan78ha3k2v8spqxzvnp2shuc5uxhd7vx3grhp06s62nu24nm8qh8s26rvay0msj43s9crusla9sh7309de7a0leh5kqxdyjhdt4yt3txd22tqrwse73wzy9jf9xe0elc5tdfy3f2fe9jlzh44h2xaxxyhc2zp5k9kamp4d2q00ynhad60w2wgj7epfkjhycthsum2c9tfacwrcr6fdlmevw767lglrae6yt5naflqfdjl26qhqu5pdzyk8at7e7k7sprmpk7dp3pmy0vf55zh7w4dcpjmhwyg5zxp6vazqy66882usd7e0uhpf3nstu4qpv2p24nnam0gk38drjclsmvpj8vluxynnhzjed3vd02vvpu5jk2mh94w65spplpjs393zmc0s96gqqclwhqrakc3p6ntxnlsnw9mztfja8xj49kep27ahagxswa86y9w3cqanxlkwj2wrupywf3wzlss9qyv99xecrswwnlpkvp9dpwylw6wa6wsjus8wxq8wjr3y0f8sfhqwx30dt2jcynts84y0zcy54evhuqzdzup0vzfjryyljx2zaj2njsyw7pd4dmt2y6yd8suylu0f4fv5pmrze6supwak8r0gmg9lhr5a2qp0zp3ja9047nmsjymalqxcccse0kz288k97fttvvf8nfy5teyesy8wr7hlwmeyq29z4k88uvksc6gn2qlyv0zgct4nxdreh3waj05jz3g5ddsw38020ufg8928g9h9rz2vp9vl76wc9jureksg6y0sqh9pwgkw9l64klgrmqzhnd53uhcl66s7n90s8fgx0vd5zcvudc8cv0sm9ml7k2rwk8qjxgkluv96k937u68syr59240su3medstwew4fpcgv8pudq5qg6mctr69fry4grz45ampt3vx3vp9453ld2usar7a4vr4ygfr2fgpepzn5zrswx3ene65gartw8y7x2pen075uylay35rcywvhwgerpu7s79hlku7h5el0nung4vlju2wwl3ypdnmc4qeaazcpyufnvhr5t40f0km9n9py8vjs5u4ygku5qa6gl5tvha4375ywffqksjqm3atscag68a59mx285cutfakn2xpu89sgk7p4lvfqauxv6cjqvqqqqqqqqqqq34at2k2pmgahzz5ypl4xwjuw3ggr09dkdafrptya55utj9zs3uw80jemptqx0edv9rqe8283xnfqyq2ys5zu077g04d3dw9xnvaj202pxk9d96rvjeyl89lacnse9qzahu5cznrewehg85mvaplhl00fkuqqyjc4nm7d94vpynzmyw95ks6l30qljjkhvn32chlrfcctnlv0fyqjfmlrq38vm332t6dd7eh3xwatl4dnl2hel76uv75tjtww99se9mqljh4ctv5nl27qx4hvx47t498syqqf92xyh - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1e0t3y7rc7gr0j6k222798hp7uflrhjwjwrc9pxrj7m9gkgdnzqrqv97t46 - program: test.aleo - function: group_casts - inputs: - - type: private - id: 6047919528819724518261953093839721009920189729561004772409666834087862737321field - value: ciphertext1qgqq3x0f6suky6hgqq96nved8c0t46ayv6j9q3zndzg9mw2wgax4vzaw7ncry9mcgcmaaz5yufe70rg4x0dsak30nzq0vulz6k9yputmpqyhtn5n - outputs: - - type: private - id: 5390958595866299016981879465494258598782475949892972984168670195655423244352field - value: ciphertext1qgqvga2ex4gxnm3yp8kfhv4n6857stxt3v4k8c774yl2p487srdqur5cfcr4dautca8dvetrd50hzprtc79wm2w5af7kfkaj8arweyqtp5zt7mz0 - - type: private - id: 1658691687489460280691038742423596937959863641455406518498440414796390984078field - value: ciphertext1qyqga7qyncyxunyan52gy7rcx3agmk257naak6cnrvu2vw8tm9qfcrsmh2f7k - - type: private - id: 7833751787700523719752852257678365342415529777242497376479148230452315155379field - value: ciphertext1qgqgrl7xflvgqg0ug5wyrtg8uj659yhkl796rzl5k6m3ay576jfk5q69ux52xp7tszwttu0542teecmr0wyfy04jeamwysj4jfptxwg2zgkmygft - - type: private - id: 4355925641591206163613748452037671333659936439097359706891326715655948217250field - value: ciphertext1qgqryflz23wz8ew7dqv0yt3nfxsguhtr5fe85g59tml4lsfgv2g3cpmaan3rsg67srjym8rvwwzeezzff6zjvkenqlwga4kvlva4ph32qgszy5ll - - type: private - id: 7725179896852886829423635874628706361504594160040792481492809455184566110385field - value: ciphertext1qyq20umptgc7x7nhfxxv5y7q8wfa7emtejepc99l46mq8g8exd8djrq4x96lj - - type: private - id: 7031346938597706473625535917086380275290855626159936888082835688587610524568field - value: ciphertext1qyq26ygqzq6uuqplh3z0wdwttscu3j3hj7yun3aa5aduhl8hhwx5jzcndvq85 - - type: private - id: 736636217873495100141644777861153402029932195420533497218897714306551553154field - value: ciphertext1qyq0fdfuj3etpazukt6t8sypqckjftt2pnr45atzdaf8tj6y0d9ugpqdfnzh2 - - type: private - id: 5939671728519347996694539781992135817201045071018656021039535307914974964928field - value: ciphertext1qyqrvaw7pa6xvp642s3r5yjtegahfmad45a7ja4twkk52p3v8h98qpgr2hrhq - - type: private - id: 1598475547702120508873157726969578713983298827265990464273655738253522765472field - value: ciphertext1qyq23flaqdvcade3vt4qc2x0ww5upgfk7nyj6yurc8ntrk6uze5fjpg8nhj73 - - type: private - id: 4035968324113977072722571883580817697381423012022522308661519668633105348047field - value: ciphertext1qyq9vx8gcl4u2ffym0s7jkyhyds7pjk5l25lgmh5fp8lyx23w0jw2yqzuv9x5 - - type: private - id: 8066473890353433542167449562163681613578294228720277880834737669994231457227field - value: ciphertext1qyqqk2qdtjx9fc694ersmlrhd9kj6navl0ed73hh26v23k6ydmjxvys4nswek - - type: private - id: 7840459542567953051792355690724931488583516072837528083185994069698348835445field - value: ciphertext1qyqts4ayssme4z4v3r2sjlm9slwgva349m83zvjmcarp5rslk4g2ypsptalqf - - type: private - id: 5679817976381420488503085061224893871297313376741283390962199379423423824606field - value: ciphertext1qyqyyc87eeake8tem4act3y80trscjn9yhtrz55wtc7ska6m08y6yyswkz6qr - - type: private - id: 2052150932021866893696812900018230319266946300764291750289047016514413420161field - value: ciphertext1qyqq3yklqt9ttnpus36lqrcug4t5fq06tmd3t7z80cqwcumsn64sqzgv9f7xw - tpk: 728114682469578779973698472052033745018663825798513594321489428902992271362group - tcm: 2765448070469725682919989665175738849472816260509360910283076274375023385884field - scm: 4214297499099292408383362391452874787279607064869796639221252080330562387246field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzrfyvj9znsw3yv6ccdwxn9ejucpt3xrpkk8h4r7nztkysg7vhlvg4xx9kuupyc48dda67xnwwxfspq9pmr5u9cmdlvpqf9gvwxpw3yad83r55ayyyv8lvcahxf0y94jka9uvj9e5pghexcdr5pxznmapx7qr36lqm324eg89hksesw9sguq5lk90xdkeq53kmamtjzam28jht5uwqwl36cztjjfzya96etzlrxyq04j076zpg8x0t0q27jkqq9ak7tt68uvvufpgzk6zyu5j64phvhke0kyd3rxqjhzg8d6fe8yptctup6epl8m8l3uskpxm42hnqupwufykec5v554f5f0pp5v8dctsdxf20c6q0h4fhsrhctn3dem6jwzncpw33h2eflphywys9uxaszuygt9g4c0hnqtqyzpsfxd3qwan4n93j5ssyh6wukn8y6ptdl3y8me3js8mmget4r24sqrd89867gg063nmpa9jwswsc9s0r8c3jrt2js638ftextu7tf5g8jmnwplv9l7pw2qplcsp6l2awf0twt0tffkm6tn3zaf79mapl3kx908y7qwg9n28yc3xxwtqmj99p2fe4f9zs0flwnvqr67vtrdaf543mk9lck6f4e533nx82lewu9glpnjlv5pf0pzaaa5f4ux0ts9ht0zcuwe5q8n405ggqcpm52ugflrlly4pleq2ljz40ghkla99ztqwutyvq7j90jvjlpug8cr64m28g6sans50qlayrx74wu5l0eqf49x23tcyn263jdm6fgzlnv8kmqla8lhc6a2na2c5akcm3weersm8z80hwfsdkjl6djet6qmj8wd3qmvrytnjqxl8rx74lzeeqwra4uk5c79nxmuj5p5f97ezs7qg8jzd4q5cxrpj7mkhcexexlu0rgeeqvj2jegs4xw6445xm4yqts8cd7ddzutsmkzdsjtsr9rr28sacryju33qcud7mutp25uru4gpqua5lwuvtqrf5rqg432lew937x4mrxnrunmwn2fuvacznf5sjvq465eskd4ks2gcz9s0nvws3zpyg8e94dn9wt770sah6f75a77q9pev6g2mkl9d6h9c5gxd7gyxnfg87m7d37xewpadl682cqy7280aseptm6ep9sdylvqpfrvfaaswf0rgt6ll5w99suuvhepgcmd47x3crqvqqqqqqqqqqqwqm8h5q0q0znkv6h6rsguu6mv0wu5lqd5eujk0dkszrumfa9x9megk972gcxltkyc0dltpcff4ysqqt8m9hc7dgat5f7v0mezq2xmedcujwnzdczm2u3m9fqws5fav03mtz3jxs6we60tcewavfzjcx7nsqq84lstkx3g396v6yct8qq4l5mevk80m3vsyuk4ad5t75lu4824fqrsqjejp6j794fjq99af9m9t80z3f6ekhu0ut9my9mf5n6296kuv4u853gwgh0sg0au2404f2swt6qqqq555ej9 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au15j63znxspzemaeryetj7d7xsp4dxncfvquudxa9kyns4c8c6m5gsg9k4h3 - program: test.aleo - function: i8_casts - inputs: - - type: private - id: 4155885456086681657303137194430985450120457877033177326597038491857583702610field - value: ciphertext1qyqymugdx9mpfgun4jqd52nf5vva5pxlyscf38f6v25dyaar8tk7zzchljlsy - outputs: - - type: private - id: 6652794398734528396416265939467702235480678863073141731609765593509710799553field - value: ciphertext1qgqqaf9yhdje9lup4jtmtteycr64spqlyv2scyka220uhvpenjj67rtu3v0q6j0wqtnnprxtm355x9l3qewe5whekfrcuexfqdqjtyt3qyatw709 - - type: private - id: 5632224872262535522325664094131417379369553530419846410441714449294096263691field - value: ciphertext1qyq2chmd4n8rd73xrv7z4c7ndcpv3ll4k0lhymqpee77950z0kanuqc67vpv9 - - type: private - id: 5225010152376104717255364791409052362941470251408340309917318312052379816839field - value: ciphertext1qgq8sgwrzvvpzuthumn7sq8f2zewkym4yyqwgy62xqw54z33rcrruqa2sxvxnj595le56zm70n4v36a7q8rpgwkrwgtnja72xp5re3ccps7257qy - - type: private - id: 2896401641675434051360265777740009904376639185566623210349973622405039134438field - value: ciphertext1qgq8vkjr9auq7zcvfydxk4tgvl6p8zteyk07278r6vkartc7k70ejzcuadnv9yq4pw2p3av9k7snulyq999sfwxsh2r403aqnhf6qd27p5vrc4h5 - - type: private - id: 1794544335099995312413495560451690080933119802214293703136978933954844091300field - value: ciphertext1qyqyj7yxytqwfllntg5rqqlddpnd2s0sq3t5ede3qdcm40v5a92qyqsu5cmgt - - type: private - id: 8135738898180449272230748704206344603530590300746964536073486238264160032784field - value: ciphertext1qyqq7z76qfy9tdfrgx2tlpx9v5een6478tsylq2vscjrnt0m5e237qc7kdfff - - type: private - id: 2446684192106831227614931619271062786483661215699846930491559865271709707814field - value: ciphertext1qyqw0xg6krsdv4urq0n02yph8al99x9kqe5exc3hereywe8t28qvzqq0d2dh2 - - type: private - id: 2472757923239834652661335085211444893562612125651397875852265830517100251079field - value: ciphertext1qyqyjr79jd3pxy573c3nrf43dg0zxe5h7wla35mkft3698um3gwr2yqq3tqv6 - - type: private - id: 1067053772935476130765573940199078754377961229772166823477753450384106354797field - value: ciphertext1qyqrsxtckwp36ru84cxvdkl95mfwswydh8tkuduunlwh8rx4ks2ckysh7kqt2 - - type: private - id: 7292011557196616734434052012319410968975874482877033073802133537425272044134field - value: ciphertext1qyqrlwpy3tk4ea03279t0dc8ly2r64mgu6zsrn99wgehshk0srpnkpcfukx02 - - type: private - id: 6345263167851061359894490208543843257980355912877002622246805400727233865615field - value: ciphertext1qyqf4cs0vlerk9u3nuj7j94pa97j5k4rt20kqwlpk7gzvqu7athguqqvwghsw - - type: private - id: 2906764309903804334232665906136994755000823302876377380142748483659459013684field - value: ciphertext1qyq83pdnu227ppxvtvmgkm9se2mlkfx88p8kcsjjc3ep7707a5rk7qs5p2v3q - - type: private - id: 6326730751616529545808380672472911128302550403229328228187517534013039408502field - value: ciphertext1qyqpzmzans7egqk4wqv9clnedfu5vexf23ph8sa4u9f4tuha4gpuwqglrf4cg - - type: private - id: 8014647798761716191483703657220657397942480242874102498811929819381801972164field - value: ciphertext1qyqwpsfrw3ewzy7akjfvm0fwadt9h4v8c40cwscr9vl2wgca0qvxwygghju2m - - type: private - id: 15263798646124190666316202026150909515835989433382555196347330349616918717field - value: ciphertext1qgqprx0mtan9duznq4crphgzultdahyhdvstqfndksrlk00zp8sr5r944pjk4u5ftaa7mh9pvfr0fatt0u0y4qd6qeyj4g5me0zhjj2lp52lf8ru - tpk: 4372226529974761555640565569344545740210713355087448530436398720140173918382group - tcm: 87471416445146461817271413863063763516742622275092161031328139766985697665field - scm: 3748635610467633626373027029195045557554871560225380208637006499081585410786field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq85r75x6q0qe462pkj54p9jt6luq6elvrv6hntx3ut8ux92vyvdg7pcuk3tve7rrsw2ny5lvtkhavqq9zerrqwqlsp0dzy79m4thf4826dm6axtfznu7w36rzfrgwj45aa8uu289qnwvss3qvlpeq25q4cmqt5pllxwllnjmen8gpua7kju9x2vc0wmmqmjmfkh78x5amry03lz0crnzwedzlpk2dw59hygdkdqkqec20m3q8fq5s7l0h0evp9k365v42l8k68ezkdj5rrr7lmcvhxzvtjqvgr7ta9rw9eytjdmyf0wsyp6s7epjq258p563y09az0n6revm6chrf8u7e0v59d9a2axgsxlhgyqqdqsr0n2tc0fjaps66sa77sp4mk58va5dz628hfd9q858s569352z3suhhqa0l2r475l96f67fvd8928cye4s8h7uwv7d9nmuafsy0q8k4reqmd3x5wnpcxx7xvr7hrxwpqha85tgl30mtkadftn2k4fn6vasdf8sevgr876t8ljtvz5qxjkc7ey8txswwejsanh5daeh5c5km8u4s75dcw9fjw4xp97cy600kghe459cq6jf0fnfjwug9x4wq4807s3szawmt7demkcwvxkglx7lc7vtnkgkrq3kfc6e6d3x5v89qpzkggztq9dymr630rr43kxxyqmdndc7ear2ctf5s74pdchsksfe06hyrdlpj99qw6d5fttnc3cczzeq09czv29ttzw06y489gv73metx9s9zx4rtk7v4x6xz3w6wvjr9gfxfufa8uvlerzj69wkhkgufz6nh9m45lu3clh9926ecclgrcq7xjknp0h89f0a80r09j5wff3d6gszc9re4g3v5tc5wg2ajcf5hsrc737n6myct4kadkdw4m7zm7vymkyswvl0ckswfnszc92ajvh2qtdq4s4xvns95wj5j0s8rnm0ygcd80g4c8z94m7cmjnvhv55f7acrj5cjtlh2re5ml3efvwzuchs5njz4rrwq3egmxrurfj7m0skdmgr7e68pqcjfkds8f8gcscv3kr73slzy2r3ezar0nfh3wngq0xuveqe2gwf68gaqd7uwuw0tm3eqhyxusfue07pcw04uts8wfddnpykkqqqw92ujs89f3pu59tpt0fysj870p86utrkk4glpmn438up0ae5syqvqqqqqqqqqqp5n23nuncukrsjm0ff6us5er4fgl89j77skawj30c092tqucu00p3h2j5pjgjphcplaf6uc2ll4rsqqd3xv8qq7raaet644n06fq7c4hz3pfs3p6alrujfvh463nsw377nj0jsqpn0kgc5qnl475r5mfndyqq9y5quael9hfnl9wj9264dewqv02dhst86kse58txu4u7hrhsq4qnw6mxnruj9udmaqe8gttaxg4fart9fk8narfrcfqs04yjz5kfz6n4u0ekdlc6atfkquzfndlddyasqqq2dyfr3 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au15zzrwyn65cdhm5tnpqgn5kdg0kdaldvljjpelncyfxk6e07xs5xs40lwfg - program: test.aleo - function: i16_casts - inputs: - - type: private - id: 709239522981830157174120969535087277114398890127903454261613249862652342781field - value: ciphertext1qyqv2lqhaxpn9xay03qscjesfwuwkjhlpx96p78ekvc24827f707wrcqcltd8 - outputs: - - type: private - id: 1128658904378894057836842347060980083688623398679575199182421893822648901477field - value: ciphertext1qgqfmgced2zk9gkekm5c329hh7vtk2hyls5de3flgtfzymr6yh8z6zztxaldz3pp3jexerr5tzhvr02dsqr66wzrq903kaad2hjjlsdhqg7uh4fa - - type: private - id: 4159818653120147885018644152212191860183985326314314939049422985090569537066field - value: ciphertext1qyqw8mkphrjvduax80xklfun8kmvz32y2xhfc88j3krqsav59lpxvrgvheycs - - type: private - id: 7274712923474415697812693269118229102377622852641711457681251809631804727979field - value: ciphertext1qgqthc6fhzqfjzg43q073r0f9h5thukwkatllx0n5ystrd58jpc2srpxeknje03enj2hqajan29w0rd2qejlrjtzarz6gney8ssqcyfwqc5qmhwn - - type: private - id: 1458071382113033199792359738711741144325257255528662975938644442392219598291field - value: ciphertext1qgq9fjqcttfjpgw79yrdm9705yyndpazg3dm9z37d8xu97vmgxgr2ysgu8unh8c6n90tdvz8q0yv3ng9qcrqhh3mf55jp93qkj7hnxdzqcdr9qyq - - type: private - id: 3499314672950317280023767742074215205154828847987462904612632666689560128631field - value: ciphertext1qyqd09cte077hr6a66u6n0jfsyc5keq3uf0gtmjlm4hnr83c3cykuzgenx4t2 - - type: private - id: 4017358216139940641958470148062458204853048655352359506851107557558137630089field - value: ciphertext1qyq8qht2dl7uvkwfyr4g3cakq3ct4d0v9axzmy440f3dxf28nflygrgu5uua0 - - type: private - id: 2432029018634418986761647916073793398658500860597052941466460456487107124012field - value: ciphertext1qyqqefy5t9c2xzfz7kj5fwftc7ym96jxtszdkr7lvukgx4e42vzl2rgvkf2a8 - - type: private - id: 6255146470088264057646921081105401960910662678888031499032438013684420356100field - value: ciphertext1qyqq37f84l6wle055zt4mej6vxy3suwfh77t2ragc6ap9c46wgca5zsal0efr - - type: private - id: 2143528797865441341517595586547238099077844882062506389911451350959837111486field - value: ciphertext1qyqq3nv7d0y9jahxudvlxv94v39dgwr67d3c6l0cvk7mmvdzuf7ezqq34w8mp - - type: private - id: 4726948320405347624980450976595673871768523811436891536511049786268228612798field - value: ciphertext1qyq2exvn2ty6tmwpfzk0ndtnzkm8v7jmr9haa2ay7waf5sctl2z22zglq752z - - type: private - id: 3249120604367186250673026202092793253309118142418291605224043311484256913514field - value: ciphertext1qyq8gh4pamadx4jely8rakjec2jkn0sy835f2j54f40hrthdk3yr2pqmqmakm - - type: private - id: 1591386612353956434474320461231595038363410928406899918956396088303644868052field - value: ciphertext1qyqvrejt29wu5j7phktcgnls6cennzjwp2hypj04fczhyllwgjdhuzgsy545w - - type: private - id: 6998280811804784834368323823787008142819889230859964979917730257559537104387field - value: ciphertext1qyq8gzljpqntt9qfhee76x9dy6zyvxsg5lzada4c5htfe8pmz3necpcuw5rgh - - type: private - id: 2386203387441405930726513029846107814907176759585834985452466405691485917852field - value: ciphertext1qyqpg947edch9h57n8ndwwwhz7dz4vw28penx4z7eerm6d2gmfpfjpgc0u2x3 - - type: private - id: 8419729864805884384232897137724031541273894279956787387700599109796440997435field - value: ciphertext1qgqy7c9cxctp02c3x0wmgh4vzs0lphf8wljs9rp8y893vknscqwewywxjc8v5tn4n487y2f7q5w9dy5z8vdj2h8kvpy3pjzjcc7wu32jqymn7lde - tpk: 1213861759131860038802144795575223099446804856530236039077951918747211475027group - tcm: 3153957805692566272385021192552128539510854605550609622339754753894009060700field - scm: 4509867301644343629060083558943040638497926339382734700899714022802519762005field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwpqm5y9r5ag0u4gkun5mfh02sn6mcvnqclexc0mc92fs83ys2lemeqlqefq5kq8zjr23saxa67qvqq9syr9z07gylsh5hxgvwy0r435m5s2j228fqx506jsgx4kvw2xxxpw87mynmy005azd4h3sk7agzcqvuemdjxsptekt6zm2jn85k3qhd9zs3ld7eumxa0n9cafg0l3hac0spzr4flsvdhpaylpr2wvqtekq02ylqmxem5xpxrspqkfn9h9rfmu99ar7tke6pkcaj2jzq9wp4zdgp2gf3jndqq852uh4lqdf2g0cpswtgf3mlt6r7mhmj9ftjf23geurkyp8rasscsys9ek5djh0a48r04557lzcj4rkyvve60x6hxansz34jyn5e9y26sqq8yufgz92vn4dtsqkp0cua80vmdv4rzkrtaavmyj8fd6veuz7g2defw98ywtsns98y633cwp00n9ezmtpqrrswfdxjnaw048ujds6cfdkknrxr0waarqysc0r0rsgdhc2dvv4e8wk7hqqehfhpywahx562h8lhcgr6kuqwt5x8qw4qaeth5ysshqq68vcezgzagvn753dujg4f2px7ldcj3xq7rk7e4949akesspcm52mjlvsm6wr9qzmxlc7svun87740lvmd3g2mhvqac6jcduscxs33jq75hxuqyjrvcmhwyqln0gessuhxdhck0k5phac2e4mjr2da7hrulelpcgpctm78zj95xxlppdhegnuxx9x4k2fm3pv4u2ygzedphs49q3sczpge5narhgxapwmagwxpwvccupjhdk8ceg9yamse5edcc0z9cyj0p0ttqapl925rvr7shu0q09lklrf497fqn3zm3krp5dvl84rqlthqmjg0tf6um98kd9s4sppzwtflc34elssfxjpwwyvmcmdx27h6sgs9mqnpkk0v8l5zt0g6jqrg52u0vjr2d2jetkekjg2vzu3e20axsu8fftvaav7gw9stl93k8mjugp4gcsapmy7pk03gav58r4gg7fc57p0a2ramtnx44772l75lhvqjn70a3m6466c8hqej5frzk9zc060qzzfktu5mcs5dp09ajtmk6pqh4rn2c7je0tq95r7uy29ckjjrkvjqkatufnj8yhne9ngunkc42xh0a8mzytvyalkucfyhjteh3quju9q8qvqqqqqqqqqqphy422wapdetj7qn84tydxra3z5zxcwtv2mg87uum7pmmykurrz3nh0kx4ec5e8jnulzftgpk2mdsqqw3jt6k434z2l0v4yxgypfc209yj33cd4rulnl47w6v8n7yyjgfpza36nnk5slz2u677njsuaueq5pqxnyu9wc06q4ljg8jssmcxpggjkfpc0ld56gufqnq05kcmu7c8xsxn6mfp5t7yeeu64t9pev9r8sawcjanj0tzdkec23clwjm3dq6pca227lztcvf6yzuflaqatuj6hcqqqqc7xfnh - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1x3u5w4ukcf55qcn0q29je0fqfmnfskwjzjhg39haeptjjy4vgupslk35w9 - program: test.aleo - function: i32_casts - inputs: - - type: private - id: 4568191054245543000152080513855711828251144376451259999037868499246917655752field - value: ciphertext1qyqyvxsadjudcz50tmre4vzymv6rl0zde5lk6rjdkc636ej84kvegzgjfn53f - outputs: - - type: private - id: 7172975816742365477288572054642261135417240717816845606402316226087685736935field - value: ciphertext1qgq055u9d05ckjc93n5rjumrwgw90z3e028sd9e5n632ulp83qfkvz97yrrgmg0npvla4r3cq39xsu2n6qxnpergfyr77v70xkw3tny9qc8atcaj - - type: private - id: 6224570467500212346877163366408672913199882494511958554557648739392881171658field - value: ciphertext1qyq9uwfwn95effsygl63m3aeaxlt5pkgpatrzcs5m8arqk70ev4fupsj2pnx4 - - type: private - id: 3661123898656651993365105520873330044085683538943095324685985192663712485294field - value: ciphertext1qgqr2dxns2pem7lnh9cz4zypjr0hhf0lfcawjn40at0g4pc63l7q6rxtm5ntku32llmm5p6xda5jnr4kx8p9tlf3re0fw25ch2sl9q6apym8420u - - type: private - id: 1683717272772828155339397857200635261266963449547380245617293554690127845392field - value: ciphertext1qgqpd78ad5vf8qyuxj9nl4lw3tuy9r29rmmdkqwd6svdlvx5glctcqkc5u8j9jdg6evjcyhryhsxxht856mey8r99jc9nzyv29u05kdyq5twc5uj - - type: private - id: 5024047362910507401201391248253303525678187406007077961603930388422044321275field - value: ciphertext1qyqvlsqqfqvf4zlus9s438pgwvvwyhdjtyj72shhkrwne9e6dyd86rgw6wh7w - - type: private - id: 1457625996700569357581874165807714521319334597784478206886609394802487905966field - value: ciphertext1qyqgckdxd4ns9raz82erjlye5xv085ccfnz3p3433e98khke2sd0jpg4n2sy9 - - type: private - id: 2697290672274719133073600706375503613198745436049751654601388988668247764731field - value: ciphertext1qyq27gadexuhq3xhx52a80ahmc4quqf4d8afgq769uk5zy6yghhyxyqhmjmse - - type: private - id: 4066917082367600122790385883864625363794311073193447776639230566864093521323field - value: ciphertext1qyq0jfmvacv2967ay3p9km4lxcgsh7g4wdw6gal4epusu38lhyd2szgk5p0c2 - - type: private - id: 7178423935127996293617849005865553643320616955819341674708394984668202068823field - value: ciphertext1qyqpqk4wvlz5w3n7p7q5q5890ldeantl3549dq9d59s3c4agf6aqzpsxdarc6 - - type: private - id: 7116939588400365342507466847132747114668695333598727414096277657690297558767field - value: ciphertext1qyq94zndgryddmsusj7zdp2r33zj2v3dsrcq02qvp5strxe0nfezvrqyvfh0u - - type: private - id: 1792138721066234094735131463834241160891154207549741347952019015395731432980field - value: ciphertext1qyqqx67aa4pkwpa2tml9nka2aam0jnymjexndw9yxzp796mg28ptgpgvprvdy - - type: private - id: 5141930332934964714874817589159616938553012262739595355653498694553829171276field - value: ciphertext1qyqykk0hlvu22ljlhuvt3k7j80m4rzt5qqsvv40ye25mx0hqytykyzqq5qwfq - - type: private - id: 2505080359426031165348399067518268782011915297791941280275236241463795382917field - value: ciphertext1qyqqf4vdpcsngpzuysusahyyps32sccyyw9c5eguf3dkhfnlvv86kpgw9ssm4 - - type: private - id: 4317952058365122871287905661455873964995293877227002528879093350634004707283field - value: ciphertext1qyq07s32swhd4gag2s0pz7ypm4ppkjdxjwqh9fr79effz6z7mj0vsrswd4e0d - - type: private - id: 2660481975655556848125999055752061746463625400528425910109909557746085606353field - value: ciphertext1qgqq92whktrx663cxaeleqk5wf8uslx464vs3cgm43f76x86sm6z7ywfhgtvv3vzgy84eptlqkgfw7d7clzsqtztpmytsk4cmymkrwkxpqau0ycj - tpk: 928505881701830923193997693893631369892518162311700268026556672298358995343group - tcm: 6085686045277413790252413297749978933841357934342394371934264358422288022389field - scm: 5553563308839435009049014254861229799657519103115679838126261955409031885925field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqqjxwhq8z926dlfa0nyahsys2h6h88wh5huxp5ldygxxxug27wmv9atpn2ppk566cuh9cuax6q2rcqq8ne8n24pyacl8qrchrspercuv8zelkekd2v9d0nu8pd2g5kj3vyzxzq4vhsc2f7573edwd3u2acmqpa7kglrde7sqazkanmn7jqutzcyfkdxe2qaq47vuaweg2hfa5dmtsc05p5wdz5t4ht2t4kkgtjz5qdpwy6t3rdttlxwe070mrq5thyym7h5hjr87l88zmdq0lcu3u53grn9dmsv78y4zqf2psu6jumntypalpyyt7m6rfchqwjgrpaxs2r74a37eutzf8h6ljj0swrc6297fdsdm0965pecrfjrtauyzytgr3gqg75543y0xpfp5yn4jelm2lppqat6w3w0reamstk4crmsyy5574zrud42xnpc95xthyz9r02rph2sr2hfdrcpsajp8v5qqh30p6e3cca64e0puq0ww7zl36503cu4v02f6h5t4qwm40t02xptlw3emjkdqfhv0qejm2vuedzmvpzyjs20lgzwra9944aylduaxqsrdtl7qpxacwvydv67wc3hc4w3r0afmlcqwqxp43qvyz0ug3794468kyskxd62k8g0989ugpdttvh3qq565nwesqngmvef86avm7q20r5khas5fvqqze5r8g7mdzeque4s9q5cg65ar6psjec2f4lun44xfdcg7adzqzjtgp9ugag3p36smkpc8sk6v0pvdmc48d3phva7n3ffr8e9slc6qexncjvmma2xssptg6wz6psz3katmhup2cylqqnde4k0wu4fd9fqamulq49twjft24335rn44gmdjvtwqrewgxhazrvu8gahc2srgksc7gmny7calr9n6fdp552xaj5tnujjz9upvjd56xwphyz7afqaxqj6avjuv5hytnxfnfzzj7sq80lmay5t56ras3d57z6kak669hxavgpkl4ewrk2w75msqmkyhs4x8n923wmrjytcpzuq495gfhglv73kydpn4pn57raknqttmlf2ecgrrkjf3sqm5tmr8ppe5v8l6a9re7jqxpdlgcp9w4sm2naywcwmyfcwrzge0dcjkrej4mw6cxcv637gaeq29nar9chzhq78x6ssxsh2exu3vgu7s0ewkmjaf7yhrhanqarm7cvqvqqqqqqqqqqqyxxrjjyvtgqss7jvum4vfwgf6mzvg5adeehrg69slwsqc9q3agm0d4hg6wr9h02zs43wmafzaussyqxjpwrp4ghel5g23snagsassmc46dwnmutuz94u26fj4mk938guy256r02h2mdrwqrzqnggt5um5gqqyknr4p4lnjt26k6d79tt5eldc9pyph96zjkm4pqufy24ajmmvws5494rskvadyad5zcps4m4hvnct5g4wh3w6zt7mpzlzvhsatd864xux7sl5j9evxvxysmhyz6mwf5sqqq799cr9 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1yphp05az5tnyhc0pdpvyfctymznlz53wvu3fvtqcfa7epldvesys6vylkn - program: test.aleo - function: i64_casts - inputs: - - type: private - id: 6669452956021221302497033690251110801362156516617761000131729768331641348653field - value: ciphertext1qyqwh3e74vztn7u8rypxg4krxjfljmxvkkc0e6dgw234g5zswrhjyzsnz5zc7 - outputs: - - type: private - id: 4947670911772566057764087002956860596458025617268472458670918478308962714908field - value: ciphertext1qgqgpu5tl3hqx77q798d004jgrsc7stcsrxm7pnccju69ddksy6c5z5j4yz9s8tplqtgked93qnt4f42mzhp63mctf86f42j586eyfzczg62t0yu - - type: private - id: 2541979234779654197065455710109336465013583955707204560386806691285721837412field - value: ciphertext1qyqyx49twd2jacrmzdmj6uk2u77cdj5zpayl07zlaufajast8h5yxzqkyu00q - - type: private - id: 438660502582133888376813817824867319887063666062423793730651023893082702369field - value: ciphertext1qgq860sfhnhm03ne3jrj3pjpdnunnf72fgy8ze3x4cw4xen3j452vzt5k2dms8u8spf3pkj4dgvdwrwwxzjjtz8n99p6mfm9j2cwjtd6quudxf2q - - type: private - id: 2446261120775479824942557229943079097042085371442195447816136915845831027913field - value: ciphertext1qgq2j8q2k5py64asrcg22zsmsq2df8ye3ldqs9ng8378mfrdlxndvqvtc9xvx2wlj49yyu252ytfkf3kp0jw8n45gh4q3c8s8c05e4clqgc9q8gc - - type: private - id: 2363745014909309165868436896814300460662689235227403476795669880576642372609field - value: ciphertext1qyqrlxpqcw4dxz0t9wzy08u0yrdm6kf4zn0ff8gkelddj5uzety5zqghndxzd - - type: private - id: 4961614801892837103743119291334519976088253676893196573076743793528160845078field - value: ciphertext1qyqftfmhs8d6lxfqnsfte7cxxptss72fzz8q7jv0yc4qyrt2055n2rg9gcx9s - - type: private - id: 5543079007594203619461979031641518521847857192135605759718268808434036115560field - value: ciphertext1qyq8wr5x3cuv9m933p9tmtn0p4xma7j4jqxty95k9uhtuytdwejekzgwxggqz - - type: private - id: 2691845048754710561571317950897660544230358134973777664068007743076697218295field - value: ciphertext1qyqzu53ec9ze0vda6vg6vkl5q27473nc4gpkwula2r3qevrav6s0jzqczqgvr - - type: private - id: 669286808638260128148770252618734960113187715390336484910321317145538284726field - value: ciphertext1qyqrkcmqyxg4a083naw5en0ng2qm4g2cmrzjurzsfg3l0qte8q7uzpgpf0zh6 - - type: private - id: 5583755252418196658772146990770034116332843407703651556332485703924483787212field - value: ciphertext1qyq9rflvq3f6qxdl0fn73w874yz0e525pff0v9t7s6y5tsjanwq2yzsxgv49h - - type: private - id: 5272359617498207819444202551177270882159359070894601985728441718012302200355field - value: ciphertext1qyqg6l6pushr5mzr0lcxc2ku94wh7rqcfy43mja3elgau0f6sv6axzs2amtxk - - type: private - id: 6274071856672143942157396507770515201250798194631062413648649859404672919091field - value: ciphertext1qyqvmawf8yfgpx6n3ewww7wqaa0js9yffa7w5jnmn0yzdnxrup8uqqqtuwk20 - - type: private - id: 3095836498792639305924547402444295944638854535130475416206274698917845974277field - value: ciphertext1qyqy4qzhevs4ceaw4m4uqg8xykzgue52d0h4n63y9ddvtg4p347nxrsjny46r - - type: private - id: 7811946254529182673243604418199562043036624021050412704324727084297976407700field - value: ciphertext1qyqgjafjjweluynrrr28pehsfazqnjwh83dwfxp8cr8ta083na3jcqsc574fc - - type: private - id: 8430049017098674945040394704318615929733272668232684220898665879281015185888field - value: ciphertext1qgqzafaw4kgrczydqu6x97znzzentggfpy7sfj8c3r80qkkwk7gxqzm93p6vj6q0ul7tns63xu9jv70u60feq60hyfs484gceutym668pu4vyfhr - tpk: 8206038478661734211441224791664252520788845808272489393135777840197344623185group - tcm: 5906020054372050809752874336573252214410239220674691446370008229687932918582field - scm: 6300717335516143963150281333706623140629229548339583953914695376947454649031field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq0n4mkcka7c5xh6qspsr9mjl3700gh2mqes0w430d55kl78t6d8xfhuv9tyvgt5avg7d8njjqfxpqpq9yvmme55na7cnf2f7cmmas32edsgkm6s9av6wdpxzdfc3sdkltx2kcq5nk040ftq3ztjyrfkyx2dq2k3mjfcdk80pa2daq6stp4pez0n5v88ycq4zt8xe7v6tdkq3n9kzapv6w50em86ejm0z36t5mejcqjzlzzsc7jtke0q03ttsre0asza9jj6e6f6sxruewg624ur43ryp4mfpsfxh8wlcr4uekh84fj9kuq2arczqtwya8dhgtp5qap87784cmyghxm5qys52qgrezzqjla6j7zuu58v6323uz4ly6exdfc7f7cz3uy7avwcdak73qcam48xsvhe3ykqekechq6vd2nu06tfyak6yhzyjwg49ssfnppr680fvfpc3ghqxez997209gce9f30lcqest7s224q3eu4hdxpa7aumu2lxjvmm4xmepk0p5qmkp4q53gzrj0ah5mpq9rzdvwhxaj0y9xm07000a6u5egeqxh2qdg0tpay3qnxlxpp3rzj88nztn3c5fa3dsshdtzm0kf4zq4faxw4stp6ts8427gfq0v3l8h73nzug9zmjukueqswpw7qjdwg35txml70yg4tguay8y36av2gjgpkew5gu694uvcqugyv8jt4sc0n6vsdmefsr8845fwgcl9p965mgzxxxhsudvm8zraryjlgnq7t7knapsx07mlvkszexl88qls0t5dup4a6723pfy5fzgcm0296qnh5t38rj7wprsnnll7hvxcwfruvrayqx5d2eqn22vetl060fymv9rlhwgswfhq0aedu8k3647h4qnxp00ql5u3evtntlhczus67jxpt2eh7a2cdnrd56m5ym9083x7huexlag3dz04pgp2r9ef4hjtwe59khlytkkk0vj37xdw7y5dzfc4kulzwvpnkmkscuctnkwq8lc6w322jtw8rgewgf98jmzz8qjx6qepd44zzr4cl63epagq3w0cwxv7pzrqssesvvcrc98c8n0gfzcvhgup6zdqzfgjnxt8a6tf50n2t6wd30rnd4968yqy2g0zqvs6ek9ndmzw5l2q0kv5z6f2fsywhw3fxlqwfpcq83jhrvwsqm0qjq85z6zvrhu5hnspqvqqqqqqqqqqq8ustmnqd2qjshwp6s7gawa63dnnr7qz0l93ds840v9q00mmyy6t7sn2xhjexzstn42qvsg9ss43sqqyp37azss53z54sk8jz97v8yevzq8l6edjr4t9kfyyutd8zez2clrwyw7tj0mkxg5hwr6lvcnl005qq8wrlhg3xp3pnwx7klhcdtxeqjan33f7x7eu3220d7sq049navcsc00tgfesrrap6x9u654elyfgrzlpv6jk7mf6xfu503wsjhf4fsff70tc8upzax6jcz0j6u44zqd8sqqq3yewhs - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au18hx37l6m0ed0pt3vuhvxygna9gjuvxpqx4tq33h3js3v5avhjqrq5hxsxl - program: test.aleo - function: i128_casts - inputs: - - type: private - id: 92615778798768578008821520348584934955821847917874997294113145487703627819field - value: ciphertext1qyqt9e24ncll4qse6zfnky62prnn2a3hqplnjh7h943xgldanh7dgrg88x25y - outputs: - - type: private - id: 5190122387829303905070927723374602026363692692103916245567657140663799833440field - value: ciphertext1qgqpa037u9dk0xeh44u7w9cajh8rmt46gfxcjrjfe4k3vdg6rjkykqnvs93q0x30rfn45x87mhlpxc86wdy6quvhm2ej2crh5nxhlj5rpqz62qqw - - type: private - id: 7477694288964369503431395523027218942747071807275512014410469809002406952273field - value: ciphertext1qyqd9vxx6zav65jvgtq5vamxkl7djdrc7rfvsktna2rlhsgmw3dm2zg3jsvct - - type: private - id: 5962393508960028885589137516577477933292191493961724701443767766208903779625field - value: ciphertext1qgqtxqpnvlfy8zzxgavt8sat8hd4xltsmjnfkms46jzfuqemm6pxsyr583nlg7eqkzenpz7ak7htapvj3x3z2rh20prpfkjevpg7awz3quns5trf - - type: private - id: 7407790755882603040432585405291266948759186394866850911916606860771353025873field - value: ciphertext1qgqycrezvj8z6cxa7sgcrey4u3yza6emh8207w5cqdq684uudp2y7r58vtp4x45wzvh5m7lcx37lgewxj432k4yw9e6auw8ck2m6rt9wpv82hk7p - - type: private - id: 4349681272621067430065692144265069294427459665906713317005499573229301172367field - value: ciphertext1qyqq6mew0jdthmhrukcjhj3d5y2c86pdfdtpmdrerhhfj4l83l2rkqgrpphja - - type: private - id: 4746516539560635567846862696585543369667831963584829836527283525701053665633field - value: ciphertext1qyq868dvvf24vl843jw86kx4ne9twczgajpd56hj73zrlsugrsvespgrzq3uk - - type: private - id: 1068552728953128338891975149292989961192631877197470547932849240257950711037field - value: ciphertext1qyq858sc4myf990wzp9n0a8s85n4qexlp4nmp4awvgcm0g6jva6ykygnj25vk - - type: private - id: 27721015115634650692006514954350295525619382858028792360015946395585713338field - value: ciphertext1qyqd9zuwfyq0t8jh5963q6lpz452v7d4uhkwwd7y3389hkz7gz9qsqq67qgzl - - type: private - id: 3732525410992044901878696324265027398278958809806860313102912153147283182645field - value: ciphertext1qyqff9aqf6f6gfqr2q89px4kzgyetcmkc060f4eva6wag7kextr66qgxaz73d - - type: private - id: 5809887163667621846446027855577176422944942671286297726644193575002720266129field - value: ciphertext1qyqxkr0l4wengkd3fk3gltn77mxvchzvh9xkw4knqp08h6ycqlh7spqp9e530 - - type: private - id: 3317604165393767260122861083309037209122275937208121653252094801723292157806field - value: ciphertext1qyqy2afqfvx5cy6xwt893l2w3m6a0lc3rzh5pc0hdu3qh6uqxya6qzg42m4x9 - - type: private - id: 5300572783028530210668052666184550020346774664057245669211169056391897455845field - value: ciphertext1qyqgyvezpzlnq5azjhacgnlpemrj7uvwj6qsfq9n3kd0v3aacgckuqcj0376f - - type: private - id: 5498354775272565394197298654651136473879966350473508489990599781324692975977field - value: ciphertext1qyqqvaxmyn5kpv0s47tymk7upssg4n2px4w8803cwjpvndlk2hfr5pcahkn5s - - type: private - id: 4097368961329339836909183442555087758404239121979555922149419965772460659960field - value: ciphertext1qyqxjwvp2wgrwnpxmqcrguu9dwlqtt586fjz9cl7pl320qyz0852sqskvkkdy - - type: private - id: 1553304933604909176948872480137693694300486912564461041308024672770849027803field - value: ciphertext1qgq0j5hr2usjw8urg0jrepa6dgczplpt6rhanpd2757nfdsmvs0gcpxz662209skzxxmt4yjxzd3qgse2z5hm22dzyndj0cs03smsd8lquuwe9u2 - tpk: 8156763663702306810684705193636343798317187042436166669762806719899728537469group - tcm: 56012702324315682932058463216251097181391851113471575292806789298210473251field - scm: 2537360011450924557035228483064263700550704922168773502685189000695683707009field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqy0xqj4tu5vmx9d86apvt9v23gk2xqmm9euyng47e277sgujlz2c76awgn0pdnnaasepspzptmejvqq9yzrtfxusdk7hlhvrzuxkxgelwems6zrppegfsx5d4qheygj90aq9vwlpmjgtmhkjn33s9duexq7qf3xjxwqg9cqzgrqn2u92ywxymw7v8llnkxmske0wpvw3cufv4ajwc3cu2ckpgfu32crtj8el2v2jqyn96a4kxcfftdv0v0xpppsf9eup9tq8lhjttvqgvdcy9tckrlhrmqxf4e2wrmaghmeh27qanceeyqxzyhy32ayu4t6zc5zxejhrjkk9nf38nwv8le6j52a4sqttwdew9q37h040wwqd2zjpp0l8vftyzcrrtcsr9alw7va9wcnvm9mepzkmjws0fy5e3kh4jt4wk43nf9kgvh39avztqeuj6hzhxh2r7awe26q93xzer558ly8azdpelalwdmz5phgqwxvl2g0vhd40adkkwv8dyzws3vntzfn4cu87spws2ad5l45qzdpp44s6narwc367hecfldkkcn0yl42q9x994muh272q7ah6n00ktqy08xg4auw3khuzxy2vxx3vqtq6lkg42xtp8h70xh5fug6nfc9t6g6pxz8uujtwltd6g6aw9j2nqdhjdytz3ph5e3j3dp2fc9s2vqsq757c9h096pjtu44ur6qu2reej78c5ldl9074xk7u5uwp9wasymnun3pm6jf7a5sthu8a63kjfl8a7zhan2xg200tz407w933myyp7aeyvv92rrjka2mg49ywuf0sz9qx7ktd2x8l0ctq6y7lmw6mrhqgn6dd9ju444fjuu2z7a7qp8c820ga8kkne6yyx0sdgkrw0zwm5pq2yta3rx3z2s5pj7p60hks7k9ka2yj9lpphxyy5zzquugvuxxsc0p6xcud26gaah7ttj63h0uxwfdhqeje48x6q2y47jepxj8exhgsyzu5zrteglp32gpz6v5lhr0fsvvhljac7qhv35umzm68e2gvf9jq9ya6e5vh63lk2lv0jsvh6ka7qjvhemrs62junvfrykdphkjyltqn55szw98xzenmvzvvkgam6nhwtvkplyyqrqmq6p5vgd23z5nv5s0xd8ma23z6kvx0c2rlhrj4njk4ez9ue42kl3m6f7h7tx9spprqcwqvqqqqqqqqqqqa46y2tvsffd6zvppw0cm520mfhae8qaz432mqv6px7upj5fc6tqhezfxnzs5kkc92w5sycmcv5ksyqfju5m06mfzu2zge6egle8n53gzantdlwqzlumj9wwzpznx382mf85zaup8d5n4pfp954m57p9zlgpqxlytqfnjf0snw32a7zkha6t4jpxyha78pwkcn6yxseq8lwtvw53rrnzph77whyr2h4uzjsza6mqej66ynj8x564yjhwuxh2996ja5yrdefd9c8fluv60v8f5em4rlyysqqqr9ed00 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1p934w9maa08c97w594p0jgvj8q6h322v6hc7mx0txl7s7ec4ecrsulltzd - program: test.aleo - function: u8_casts - inputs: - - type: private - id: 4207470104081423652955704350354918727810718868369540621089438862306317377368field - value: ciphertext1qyqxluvvv4nd5mdv4m7rnrch8vmweedk9dwc6v9lpum4dg2s4qm92zgrnm279 - outputs: - - type: private - id: 8430683363844925910481436631834220089532633248716555283992447416442435719588field - value: ciphertext1qgqd29mav6693f5nkqkcg0d0z90th8t6hmv75jyhpxpthqyzmlvskrxk8epe9lp8g7xaw98z5sdlpy45uqmnx2c9tlf4epsehu7cuss8zqkdt6dm - - type: private - id: 7896643751615647964655544408752952233809677757523535240770586806285834842978field - value: ciphertext1qyq0nu4scvyxa0vqjjnc07hq4l5caaftz7du3ywvwnxw3t8wv69fqygluc4zl - - type: private - id: 757985530954838588728550239979830761763477837683260832557017370774961961158field - value: ciphertext1qgqzgaqma7gu03yhw8z7glgdyufcr3wx70xgxw9kuq347w9sta45uq3mlmfh2874uwztjyda370af8rhqjwz5gzv8l6dtut5ngwj4h4apylzys95 - - type: private - id: 6122525602846206505255832943614109302365300546302830911593314235829493592183field - value: ciphertext1qgqycx4m4crjh9hr3qf4evdarncmyyjtwufc0uant70u78csd3cnjzggkf55y9w0nksztt2qxxsfy2kq706xm6494gmj9wekmfx5qlwzzyyfwz5w - - type: private - id: 4804385289060251930515022237706596958696057567838517210176282730841841509438field - value: ciphertext1qyq8595jgdq6dfju7qwx74mntulusa94uc5q9r7p6unqhuy44vtpvzcey9vyl - - type: private - id: 6048359281949285039521206482410967064749681534575595012061464097968872888998field - value: ciphertext1qyq0zlhj8x5zu8cemk9x7ucq3tt4fzvemvjflzrtkyt74tf3gfll2rsx5mnq4 - - type: private - id: 3434338540941393865136035015277087030306783513663324127899477214742096182309field - value: ciphertext1qyqvvxnw5z5wp6kfs8rygsruyarrzjeznvwhf8xm2l5ut5kyhdvagqgc56c0f - - type: private - id: 5673595341943370870348316014687844043440067780032934201060614504394030225972field - value: ciphertext1qyqv7grzka6x82wxt4ehpj4h23t50j7lnt70rzngsv6jlpeq67epkrcmx90hn - - type: private - id: 1571090903922717364867921262208196514463645465984800811684209740862631630793field - value: ciphertext1qyqxy68wnenzx55t0sg39jzxprvxfz3d43g9u5wnx8qmm2g0w9xpszc4fl2xu - - type: private - id: 3181459706715905886363921491639967041780728804653526355315882094506877065846field - value: ciphertext1qyqy6p4259r2g42jj939spu7fghcn5mqnjtvqwfk3frv9mywwmzt2rgcgln7g - - type: private - id: 1559543461740817960078908732099556385081795187576566023848847047153584081939field - value: ciphertext1qyqdgxh4w5hws0w6c9qk8slah9qxrumuqvyc4x7x6syfq6rg9fpxyrs4utnj2 - - type: private - id: 1773769576513274927467710966495701825096059395687642681679849161209422721254field - value: ciphertext1qyq8kjt0v43ut8vjmg6prvr00r032mjqvfagnjj6l45k586zm7lhxqs5tnp07 - - type: private - id: 5675927442516469654425389584158575072914512364984969806253407806718591538450field - value: ciphertext1qyqttamlyqvrsgrc2lvttr5xdtdx6rumr22r4v4ft5fs3xx605uqjzq26d9ey - - type: private - id: 4693679553268447390387939889273003904510261683296383922960039215511459578402field - value: ciphertext1qyqxy2etk8ye4s3whxs2d62fhkkrmnsg4e7yat9vt25fuenwafsyypc8ujxvt - - type: private - id: 4077004477930596383079227187512941327641553078450585855415557785995939922319field - value: ciphertext1qgqq788a3995t7c97aq43gqjga83cs60kwa6pphg3hdl3d5h5hdgvqml9wtppgqn2kry6hms88mmhdg3lp36vzdgf24388vq8g5g9mw5pg9acys4 - tpk: 6554039838403596361741978869473470646930445174187654858729585682731612723126group - tcm: 2675286312291248681064763208848233023188759519533201623692984329348544624558field - scm: 8073365660269175434530671232964065692861683350411808430867951874159165517216field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq93uf0acqpw4gdla3mynmpd6pjlfpz22znzrrvw0xjh9tt29dzxrax99x2hhf9k5uf24p84qahj9qpqxw3pwm2x4jl05732htfrhmzkqvsxqfnwjtlpnxnvzktnh7j7sz5fma8sq29l3ma8p845t73wwfnsqfzmssvspddxjpxpmz6esuxzfmgukq6h73h35wuh5whk8fg23qwx3hlktch84hsx73yxcesfmmys6qnl6yktpy70ye9dg3rdw0qhnv0ujxuv8rptw0e20xu3djnlk4v8alyasqxy0nzqrl3y28srxedrxsqs2tyrgpq7nanwvl6hka65czjyxwe20ng5frvspd6444xfjm2zaf0cjzy0t32gthld59w8gzgqtegp7msgq3sesjksret5rszwzzdfy5wrvkzc2nrfz52vw6r9l9pjvalx08uxekl20k6esed5kp9rcexspf5nerv5sfzvpajvwmm27l63kklqp2ukpmchssr5z38dv8cw0te0u4rps3wkudpxnuz95gy0rpzgq2rehw4z6fw50javnjvr4l5d03z4qafp4r3ez5pgan0mtxkfgunzv98ptfa8h0nvuyrpdc0unxxwcq3m7y3k8rhflzuz70gesgpzxvw5ellnsmfqy0vsnp5h5nw45fhcyvtmx22jaf7l06ws4hgu2pvv2qq4uvuzjzaqkrcky29kp3kyx6ujz5s5wj73zk467na8grjwvalkvpcsjmznku8y5ap0pwef3u9n60ful086nde2qs4r9arp693z6w46zrmvzeyenahp0jhgylkrh0ma0hsurr4vtksnpuekqxchpe8pnu3phxygk42zflgkx9kjdr8qn28pqyu8rl5x47jm36nkuej24p8jfpst6s6xnzx6rcnqugd9fqxhmjhlmhflfsxf5xq3p0uc4aylhjxduqd054v4lw2933ecq63q07cvgjqsg2rcxqdvk3mg9lryvfe2ydfssy3flthcjr9kq2gqyf4lsdaxzrddhx0n5gqv3t0jvvqxk43u4x4sz4tzdnkhxcgy7tklghtnd8zhdx5gekp64g2fqjuxkqdtjqljat4pfwr00vamncvksv0naxyj0yta66lu2y2ff9f9qe6e6dveycxurhqlqhhjxj7x6tnp0xnpjw3q4spqrkmsx2dl30zslprhgq9jfxjvcs8qvqqqqqqqqqqp2709pt89tx60v5s8e5ywusmw6xk5l9tgzkc39vls6e5yjt2pd2z8f7j0479cu6fg0xn3vgdqk3csyqd8yq29xzfzr852medm7encq8vl3ax6xrjxjcneas3q8ngxl5an9uklr98kfm6u2swf5ppun8r3x5pqxy7pqxehda9ksc9w5kffdlt8dsk8yz27qyfngy4yu28l7d6lmusy22wflswe34agt9u5c0jk0nn4nls9heuseg3t7cv63f5ta2y0h6k247gnk2x5hlwfgaglcc3schxqqqqatm504 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1djp5vurnwlrmzkp0e7j338r453h3a9kxp34x9acnan5hvt78k5psa08lfc - program: test.aleo - function: u16_casts - inputs: - - type: private - id: 454972658861538061733932831923363987633401398883034528125501372597691093870field - value: ciphertext1qyqgsq2ewxxhye7quwxpm2kqjy4yxhz4u7axkv0ykx9fwgvt374lsrqzvzjkf - outputs: - - type: private - id: 2779927503527096539101631858117641337141292496410442460767126657687308637871field - value: ciphertext1qgqgsw4ueakjdnxe5kleemgfh73tn8v4ruwtn78c2r5kpu7zuqte2qagvxv64w5wjr6h5zek309yn06zshvdahke52eqp8q80q63uq9fqy4c74n9 - - type: private - id: 4852952502345064203731257164941693729422063569681626313320953246603102748566field - value: ciphertext1qyqymfk6c6zre2537yugqn9l4cxynppjqe26gjtrh0yz5zxh594gjzs70enq3 - - type: private - id: 6723586516815856456387067306357455085364799163118966937279712962946428515095field - value: ciphertext1qgqtcvr7dcfpdj96cfungtycgmmmwdg4l3wsmehcaf5yq8w4ssupxr4r8vjczrmjqxys2yedrcc0fz6yj02m8hztkfvfa7lm0lf97qfvzqq0ysn6 - - type: private - id: 5402152978264194305889312187617843679725548396474685738245902130553427397179field - value: ciphertext1qgqr37nppgf25x939d57c6z6mrjl870k0vvvrz62fusvn67zesppcrzu3hx5xlup4p5ffz0384sud5t0n3j2f6y5pr3v4x4eeqkjrv75psjgngds - - type: private - id: 6200362911051276772795524558563684713145435934955426614920757143145051664592field - value: ciphertext1qyqrhuypvwplejxz0e7s8ume5kne9c4t4gn4zvkkarfeqtkx0v45zyqyjwkg0 - - type: private - id: 3535311510178030178508530976740918930540174888948642010106181936223026911840field - value: ciphertext1qyqrvt5xhsauex0tgf2t6ug2yukew6ffxzmplc7v80lzkr9wnjw05qc7see7q - - type: private - id: 7630601574272740047374725998508133649472639568066148399206849065287185733169field - value: ciphertext1qyqtn8zmtpshkv45klthwau58j74yvg963hg0zak2y3vnd6nk5g9grcw3qvlh - - type: private - id: 1952265371748246862123729410879491067066172310462559056097073336857505824552field - value: ciphertext1qyqwkkxg6uznezkhzs8ue5p4jdd3l9cw90dv0w5mh39sm7ddck50syq6j866d - - type: private - id: 2268200849717684574302976136963012450276178427617524569873221437626197457800field - value: ciphertext1qyqpyv64979ykkx9hm5lxwsv0hmc93whd7uf45w3gmh8t4fcug05srch950lq - - type: private - id: 8311915129159141004949849823089050588583636819414079937772566981063981064644field - value: ciphertext1qyqxu0cxtvqs8h9eq4f8tg4h76wx668k5pyxleva5wgppnr8r7mzxrcnckcq8 - - type: private - id: 3638794729657478988667896507914678627964996745091278000058897333338972009836field - value: ciphertext1qyqv8xywwrnj3llw7tfe706ux8fa3s6ta8kjny2ujl9w747958xnvpcqw3rc4 - - type: private - id: 1068991395721323496537380755139583379476134140436009916086395243387331434186field - value: ciphertext1qyqrzlzt2h7tda24s6026v0hars6zq5dpxj7ju5s36q0lg2sp6neczgewxf2m - - type: private - id: 2712620534459607871517270643804424311198623081070079120130821059199798866840field - value: ciphertext1qyqp4z2p8qtcv6nledsntcdxjpgd60s22zw5vnwd3px7n5u3acp7qpsaf0kj8 - - type: private - id: 5947908744143678119040403635878030818971878879763718194507593909220750846078field - value: ciphertext1qyqdjt3uz7jqwa5pfzexvrjfqm06dcashjvcd65zqrr8l87t7ns0gqcaamdz0 - - type: private - id: 6127329576662473091411564079480911934262561346518707737327537487411088478414field - value: ciphertext1qgqrdnwpa87jy89zh9pt4mu75xqkhfu4qqn8jk5yuj0mqksncez5vqvazte39zcc830k2tt9aj02g3n63yqjpr0c85qrprzsft2c55fdzycuqwvh - tpk: 7612200935950667542410695643593751759260512999478554044051967794779482441492group - tcm: 2532022596762302513357804736701302019394889038609020263247001359589065620385field - scm: 3070415774776780049079718647134541099142962012356392084078350059894643535202field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqy5eyj0e4569zvqh2avgp8rw6vfty33flh54zwtz0ud099alkx6lwqcl7axnhtm3vernmgtzzxz2vpq84rrnl9v6ryvm4efyz3e938x00vxhsy3vxphau9tmhpq8gq0tq9vjsyqxrerft49ttvjvgzlvjqvqv3wmqucdlqk59yvlthst36mhrvre7e0kttscc59zr5duccetqknwp95tdzs3hkhpg2cqg7n0mg7xqgurjfkhy8y3sqe04au62jhgljtmtfnjc4g2mhnndpznd4q5rtcq5nswnht6p4swdrw6fazcu6g0up6x5tvmduznn75vkh7m2gkm4xkr95rj4l6qzl5dwvzurqpxg0s3hsxpcc4mvqvu0khvf370nkhssqzrlppvhye4wnndpd72ve7gqznx0228ll4vcxqqsx0vj5t2ur7wsqgy9r6lmh06w66yd3m9qk7em8s9pzeq2pkcsldtv0vqt4k6342yy30p3yhace74wyrx6s47lxw7848wtgvgf6q65p3mj76yp23gnjuqxpn6lcfkh9ugfnwm9mewew46c3smycmp0d3ukqgg4wrrfx0q2957naq524e6jnfg3nhma2vrpd96q0zafj3n5cg2yj2p92de3uvgpqdtc4rdzcq7kk79aqwkwpv4z0kuvk7dmyf87q9frahm24czlvq4gqx7km8wx8y73fnhcdrja456mec3emvzm3x05pz67h7fy6yf85hc9uz67fysl0xavd7j8xuh330sdc70p0kfrdvpwkf605tjs3gef3up2205a88dmy030w47szu8e4kshceyastylf0jszctdrce20q7zkpx96ft70cgy0axlj9kx9mqf578jt4da7sljuwskfqrmntctj5ahqup6k6wa5auaznvh5cjvzes5vvfq6nzp6gd7fxwahn4h873vl9nczsg02flgtdfv9hlexyg936z633a7zk7897tfsukzmvd703av8kyqm7kj6dr4f682rn6ehsuug2ukj8k992um4jhsk3700fcvks9322y2vuvc8f686v8qtfnqq5sg3u3vr596pxry9whzvrre5uwa9zld8qcv6lncufrga5qckkx5e5l2ke4f0d59sgsm4gu5ez9hxky5rj5xq0zn0nx7j95zy722aj0mu77pvthh0sk0laceu5he5e2f79tmz04sqqvqqqqqqqqqqp3w86s64r5v53m8sy2ggk25nl3x0amnx8f7cgtq20nmslhz56z9gp8fc9u49a774x7vcg308zwgfqyq0au040tannkuv375rtv6u8y8847xzgqczqa29ez97v46jdy28n6s0k3juqllet0jrxygutt8cesyqqx2ajrpkthy97mlnn0nlqs9x9pwgrhx2nf5v5psqrke24jchzlnq3dd3tvg7yestywfktp8dvwwt3m5dqcp2mx9q5c0gu24527uuttl03x4twmuyynczk0w54r9m6shsqqqqrn27ks - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1jqun9ptawuuvsyydg8ccekleg4jfdq8z7657y8f3v3ese443guzsqvxtmx - program: test.aleo - function: u32_casts - inputs: - - type: private - id: 5341880213327092775410772188875624390569945041812619627634831143227756936637field - value: ciphertext1qyqpn4v33pqxmpk5hw6h9c8y636dlg8y5aawtructxyleq8k44ruqrgs5pfgn - outputs: - - type: private - id: 6432954851916767934782038297033724306952200516562951945220536825572590181718field - value: ciphertext1qgqtymxlmu4rp5lftur9zp74s67p8zx98exnv23rskrzmas04z6m6zc0rms2sg3pyexcvlvt6kmch2wafknyctva0j5kwfsqzkkamzndpv09ys5n - - type: private - id: 2235541357068151739409115899595231417693890731001089797448020614949062382904field - value: ciphertext1qyqz4azyun7pzthmtvsapfy26450tya3vsct3k6kqmseyv44xcdgxqs9k8pkz - - type: private - id: 4277964647352693710062591397260706064283086683538125722549877599929133517466field - value: ciphertext1qgqfxm80pa07r2ly9459q40gt0qw6tk8g0y0mcd9xa378qh8gzq3xrdhg5nscdrp0pfzlztj4zv0yfnkynu75tu0ntqgyj8p8qmmjzpfpgkv7y3z - - type: private - id: 5646515446173029106938694240351155068122156069727057407983145793422437184207field - value: ciphertext1qgqzhlruqw5gdngvhrv50dcg4qzqhna9gvfyqkux2nul5fflfygjcy4qje5kn5c3xz3wtfjs2r3xec9ejjpwpuwwkepsddwc7j8esyywqyw5u75a - - type: private - id: 5273363551227253784918272870483321358476737732630932926217435444007930611744field - value: ciphertext1qyqv29xkezsyxqkmeurd8wf7nrrdkq7vfekvlu3xqhqrthwnv28tgzc5u9g6j - - type: private - id: 5227797732669607270113467168348735329400423487410147477900189070785783980155field - value: ciphertext1qyqv3utaxmuzy9vsdjs48g6zm6w0l20eg28emfvafh29pgheka8gqpqlkdcp2 - - type: private - id: 7160288361503262937402689225643168808717404166035021042495175736038114941237field - value: ciphertext1qyq889ek6jp65ck7kv64uey60qvxwmsv7gxmdz57jp7glm9uxcyxjysrxlekq - - type: private - id: 6098531282350111453327935810223459296953553718271825645592458877675968904968field - value: ciphertext1qyq9pfcrjh3sztkl9mhxyxlmtc2n9zfn5aqahnklcmn2q2gdywuwgpscs6ev0 - - type: private - id: 4815629509776526941092178331893144485334271893107184803977099972756323706885field - value: ciphertext1qyqvd4mawth50q9gmn58e6k73ddx3ph2zqn87pupc09mqsyqzufnypce0wung - - type: private - id: 7943801659291832479549376910043277588880616580264125289731407048818916862147field - value: ciphertext1qyqq5axlufcuu2963sspgcsv6y5yf265lesjpjguryxj276nmtugsyqce4078 - - type: private - id: 5242525243269357304526032305413817649779944021491215121464665971146242739407field - value: ciphertext1qyqfj8kzfgsxwjy34h044ue0vh0apusghf8e0d5fzhycje5srgysjqg0as0df - - type: private - id: 6249747318536458263453021653569723861046019103555082468017397868914210243743field - value: ciphertext1qyqdc84kul9vf36a4wg935pzusku0d99lh43v8ef4l6q663kthyvqrsswh7zt - - type: private - id: 1402738690524401748606994258397786819752535350876072695536684228280740833107field - value: ciphertext1qyqy2nkrd3regczl9mps5278cn00p4hgwa4kcgstfasfxl5xdms6szguv5z9l - - type: private - id: 1444654876791034993476897565760766164482627914547384466066790880166385569594field - value: ciphertext1qyqp2xhjgfm9jasuqqcnvgs2k9pa3qz986c83n29mhdd2qq93calurqfv5sa0 - - type: private - id: 5154541117973251193774377482449595038045152024159294528512964402282181655949field - value: ciphertext1qgqpd3akjwe8vyntazln5x9lf5f5srqsx58rwkx2hqltd9w8mkqvkznelup6gtyzyg8cpvejgeclfmse8wzphyt2dtwfjppe95j2c595p5jctzmt - tpk: 7031645795696678664887360955791035421665224896731838275440834532599529098316group - tcm: 6638564412695363819051589428923640785785058478134534150340007380608208669511field - scm: 6807076226833024718707916350075540492967104942621411865849016594371250311031field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwh06q6hcmr978mu308vvy9ufkvk7m9wg8dp53r7w46szf8z5sf7frh44lml7nc7yujmerc4lzrgypq90pr265f2x5sgmyplx42823qy43zpxy2q85fhqnytrl2v2a4v72zc0gj74p9mfwqg3rw2m8dg09lqp3huhexru9ntsse4w9ful5ypjzeuv0d82gzgx2lklndse7jqymtje0ajagfq6hu9w88fu0uryz0jqntvasketv2yzg2u82shusclqd543wv4qdxj2lv5ydmgfvkmktj65a6v30ghjhuhgwuvxzyrqwk2uqqvmn282hzjqw7tt8pzykpxsmc8am5j5tskk90l3f7n9j0nspz48wwqqhdlk3qu4jz4snwaaqge6sqcy6guwq8dthwla3264fzfysgrxvjuamms54ggm66uavx8gz5fxcucu3k0a572wu0hdxl4e04jvusqmdnlmpdt7unxxwrulzcj730m3smdkleztzpl5srttx2anxl620ays2xvwpqwr7yck45r7yr5ruyqxrk3yrznjf3ahjyntca8ymhqwjl22hmh2a49ay9xjdqjq6jytx40e80mn3txqxvd9543mqu4jysuqu694qkea0wctq9wys44k3s8q0ldksqp4apmygqj0pcmw52qs7pdvrxht6wzahvd7xwwjmx436xgvp27ecypgktn7h4qu2tvhwwsdttlmlpj5swwr5r9qyqwgqfn666cq25a26g76xacmn4ldksy8lax6u8qam86vyuh8f5fkkg2wrnl7wqp4nm5cv89fu3nnm8hhpvxcqqn8zzevl9ajl9nczynvg9an4a5ppplkejxdzvkkzpygefdm0hrmzqm5dfrjl9r5djm8mfljes0v99u7sg4xpn5f76yqvr9g3e007zt5n526r99wd3aqfjat8767u3fcu44cx2znjz536l7d8k02kdrm7sl6xl5q6920jupe4dv6awfdnjn8cpy8yucvxzdude3sts2d5ezjtl7y8pljrmyavfp8zfn9rpvtqd4y8zp0445tggegl72trhnqt8aa2r37qsfcefe6wtet6x0ysu5fh98cxqge6pcsksv0enzu40htf9ej3jdysjg4ahych3shjwzw4kcsd745szphs4ythk05g862kvd4ccu2s3ma67ghqdqg7z2vmnlw9ddzhtwgdqvqqqqqqqqqqp3sw5p5md9revtwemtgv3ksqwmfv7j7cymkg09g4k9w8lt79j68p9sva2ra4saw46da0uc5veyrfsqqwlsamtenr5meyumsu2d9jx5flxqrxpwcyh7hph094cxl5eppvxyagr58mfzftngkpn3hgz40w2vspq8sfztl74auwnxwwlh686a8rn470jtyjx72z2p50ye4sl8vfzlsskunyqm407kerlmpz5hggknrstagvlqar2k8yw56eqr29gz3gfp04v67qlc3h0qtcspv70dx2jvd8qyqqgeh4x2 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1r39prdqj85znuu9davzeryd78wayaas4l35zwfjupnq0ul945g8suqscqu - program: test.aleo - function: u64_casts - inputs: - - type: private - id: 382963509525760086083864789738008719814243483000375168801246697652668618529field - value: ciphertext1qyqp5hzlvq77y2vw2ka0fytzp9h2crg4xrtq2272lq8qzxqj2msfcysvxchhx - outputs: - - type: private - id: 4034779271901269457390858615495137974772309714942818835343713887014430017830field - value: ciphertext1qgqr9gfjwphvrhsfkd2u0gj3nzky5wke0ejfxjtv8y9j0z4gw67lwzpan0j80dm0hrnl5stxmwtqpe5pdntuamu06zc2hum8n6j47u84q5eadcxe - - type: private - id: 2522089509056696339386315808805561468873947213412639224503032561297815304836field - value: ciphertext1qyqvejhky8gk4tqukdsj2hj8yywtd3lhhd8ff8emmhl39hgs72vwsqq452s3n - - type: private - id: 422598683569146889042302529948879023417233601831914107332979818947857628944field - value: ciphertext1qgq0e4xx3uajrm0uvsk33z7f2km7keknfnn66m5ujng6ak9t3wqsxp3jfltxqjtvrwqc2lmqjht889t6h6tu55ftrkkvnrwalsdp9ht4py3032vm - - type: private - id: 5956369576197355644300768561555271308546006807710081164060395131481863341546field - value: ciphertext1qgqxtzfk9ghyy6um9dx299ph5079h5pspxq4xfnrfqa9gwdy9h25wzjq370csxmgr2rapk862q03gk2jjxmuzxnd9u392j7dmwuflppkpvsnf7vv - - type: private - id: 5892535247988840296553216720110959426896103153394966957777065556380194903650field - value: ciphertext1qyqg25gxggaq3jw2lywxkfp252tcfqc0srutn0j9m0wnm6jzv338urgeru029 - - type: private - id: 3813470515987412484901068879158662650634379771827196404069130181465955189988field - value: ciphertext1qyqqlu4ggm72c85vlpc6yng4kgprezeharsdh2kp9hnn62e3ktyxyqqmhpyza - - type: private - id: 2177908072780266940882405413820433368004098326249169227380589817581950978229field - value: ciphertext1qyq97kq24vjt5vksdp8ta5p9xf0ldxkq7vse5zaed0djha5kmxctgpcr8rmcw - - type: private - id: 3260141877520044601637666981004738056665425332217170916524663378449498665328field - value: ciphertext1qyqvn4g66ptng8sgk9sscvkz54na4a9363xxz6ke4afwf8twx2awvqgxth087 - - type: private - id: 6142814243742194077521086306767808226697841750544433933724007174625881274068field - value: ciphertext1qyqyc2hugy5z2jtrzz8y2yqzzcja0rul0ytp5p33zz3safp3lkes6rsrm5lhr - - type: private - id: 3444610823660792248164707835306538208937134390212019620479574283959223030069field - value: ciphertext1qyqd88h5yyzc4xn8put9w46d66j3s9pc09vppzr60v298py4wm22yqsyzjhnd - - type: private - id: 2893119172007205321137814200338362331793356690420552557532445030566847806947field - value: ciphertext1qyqpr5qur0d8wk3gdkd3u030yv9ap208euae7dyrxr50etl0fswycps8c7hkn - - type: private - id: 412513903164208176036211344100406655989732813690120145475549574763770953896field - value: ciphertext1qyq2q0y0efffl4k4jgverexdesh83p2cjtcga2jjpqlshusj457cgyq8c0h47 - - type: private - id: 2080501672768473754540814464835896115056314208162787104300541909559136714137field - value: ciphertext1qyqrh3kqnzn2n3j2jh3dj8dxvlkefx3jw7v0nmhxztc0rfcarlwqkygazcuwc - - type: private - id: 4704990349418206099867849827113835516270130944334140449112881462713952997060field - value: ciphertext1qyqqae0pw5xu4y34lgzg6t3l44cy76dg02ema4xarl3z8ze4524ucrg5dn6sa - - type: private - id: 1670443334002183115591730071892400319582747721688600487590729480533754054502field - value: ciphertext1qgqy6v7dk4ecdqvqhlaqgcdq2tdlq5fpddgn9y3turcj23ru8p2cuzlr9gjru3rmhs6ewalg9dgrs33g43jjq74t6n0chywu5qt072g8zygyy4af - tpk: 5841256488612555327082710891297972193588875040551104345119820589286956701183group - tcm: 4960527721278587806360375204001997620068678225063865758232689572936437892276field - scm: 7374530139159496131979906726351561737283228971106635229157847908478653191302field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqqj7sz0d3enza9st78wm5d49gak4556qm8myyj20zmjnc3q36k3xec2aeck550yd3dzermzc933zcqq8x5e2hy3295rlzg5dgwlgs9k32jpjh8g4d4zm8q2nlnp4plekpdtuvgwapy7kezy4vvzeyzhzmy7q2gaqespmsg0m67nwth0m5ct69m3pra22qtu6xwjkkxlt9mg80ghhaslzkehvw8y49qw8ncm0h63qq0x7ew6l5rqxpgu3ljt3h2a4flydu6882s2n5jrvzh496xff9p8grsjz4nurhrh82fm4vcl55ekgqp5v5w0l265r5f76h3vqrsn6x4qgy6hzuf0t2ngkhurxnay8leau4ql4z2qacz6vxkhg4jh4pxhrhqqcew4cpc3w9s2d5s87f3uqks7w0pru5rg8wswh3ep9ezwqeznsy7x4rme95xx763ld7z7wvga7clsq77wh96v7404rm7yetn94ne58f8yjp2xeshumd6ajq7e3q3rax3mg7fqyexjcjl93rpp4qq5kefqqxncgz24hmh7wy5junmdx8qknrssdn53s28xmacejcc98g483cknl4jw33adhztyt0ueuzlltk2jxqzuzcr840kmehkpp4nqwpyyjvugcexcxa2r6tkgf9t4707zzgnfxcx46at4ktnw2zpjza37xv9vecp3e66ttnzluar2mv7phq497vgpkv5mx6swlre4jf6p5dpr6gnk5ze4p0wqz5dfda66sajf6na3fqpx0xlgzsp4m5xsrc4s8exlmav7zprzf85v728wcfd2kafkm6yjw5dqmgzvanlmtvwmmafucn7kegqpdrhq43qufmznzhch6mup62a49gjxjzfadetantv6894f0lmqgasg0r5rjqvs2fj28demtuu2vang7n9vp2csykc2a0nlgngwprjv4sf0m4hyhmhfjrdaw9syls6r9vgr2xnt6tx2d2wrnr0geknj5pl45pruxx5dwd87ravxp8rpv7zur9ynen0cr2ec88ma3d3rp7enu2gzydlj4vmknyg2hwzugjae9w5p6ne4g6xrupmyl9cs9dr3grquxflqv8c0w4a4lmfym8hqvsvfx908xm36t9fy5ehmalumkf539awp0hqrlrnzq4sdlmvr4velvvg32u2jte0zyzqztqnv6gvqymzytldvdq8qvqqqqqqqqqqpfxmm0g7d4lgxjn0dqdgcp3zz99nsjasttce4cyr6m33de4f86sz0x0v0l5q6zujuhy4v5yvdpd6sqqwzp88442v4ahg72z30h0u2lvmzg9zzk4ktr2jsjxefrvemv73f9356vfa3cw0t5zj68laef43zy5pqylpvf50u2xvuvvm2qmfnttsxg4qqp4jya02nanruxm35c7xvcmqmn09xuvx4nqse3npkgwdyzn6cvahhm2x9javxg6w45ucp6t6t3me5zykka7ydm9zz2pa99y444atqyqq9p7we5 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au16mc65weeatdkwsuqaysj8wp9xvjkcrp7yjqnmvuymcvf375yzgrsfvp94u - program: test.aleo - function: u128_casts - inputs: - - type: private - id: 7420937751368987088493805566759361862861956887147715734688656136709633601814field - value: ciphertext1qyqz700khnlhyw3d902luzh42wpke5fw6zaqmqw4thywdjc58uzwgzcnc9fhr - outputs: - - type: private - id: 289779818711888030698653843227082016813170474429293546430033711487087900647field - value: ciphertext1qgqp3f3tcfrlmqyvgzsnjahfas3vl6nq2y0gacm79ppdke88pq7dkz73nuxwdknp6qn7es0w4ftzc6nw2pk3x633fkclkhmda43lxjc7q5e0f825 - - type: private - id: 2511167185212305263884852732736724849425682302478465415810805912602192759108field - value: ciphertext1qyq95wvvy5v5lvgdrpwypn23uvhshe0rpc966ag5mls569pha2yr6zgsfqnpe - - type: private - id: 6262677208312868364236476908100929951301903687299373882515773283213466985575field - value: ciphertext1qgqdf0w65qmt3zs2pcr0r92efnvt9sm2k7lvz5hh4kxkwmwqclps7pdw05zp4a4lgzyc097xwdpakeawtzutxghcn2tfapvptyh5r6g4py2gzmuk - - type: private - id: 7195245280257721305408123038240592794117629846726612403461801422699516185910field - value: ciphertext1qgq9r2k74ktt7lqj9z0797h9yua0pwlx8vxk736y2879uc4uespdypc0zeygcagm4tctmjc69z8f3lmcrnv6pmhzfaacj48ecuezqrwfzy7qh4lt - - type: private - id: 7677757218201444433551354247412720067054664249641253382707173433370919352106field - value: ciphertext1qyq2n6eakujq2wzmpl6vkkjtachjej6yre5u6ak83cwgc5c4rmz4gyqszh7n5 - - type: private - id: 1557440867722201575658111174477636180589068719027401027104155570496112789617field - value: ciphertext1qyqxpmujfqk94tpj8knwvmesxn2tf7jytpd8wweau49l73vr944agzq4s4wpc - - type: private - id: 1589645872875274532475399260722758784798262372557567771404270876057365958620field - value: ciphertext1qyqx507hd9d5ehxy9t692lxac8nnhcxxsvv32gkj9ytwrnqua4gfzqc5p2p7p - - type: private - id: 7924637801023995387054886594903465205685250207040884129777568556349365012716field - value: ciphertext1qyqqn6gzwpymlm3ytu97vf5tea2wx72e66kr4spx6r02luz2jqyhgqsanm6sv - - type: private - id: 6556432653574619702089782855604753568252909128084861339201699207602509068789field - value: ciphertext1qyqw3a59pu4k4ujxzkp7fncq5ashr2d5wh0xhwl3qfn5gvq7mncsvpq79vx9e - - type: private - id: 5375729622042488746285982243461971719171578032293110891841241136846790143207field - value: ciphertext1qyq8hw8vcjdpnmnrr26g9lha25sf2vnd5hddlxajgtl5wrr6taxyuzq2fc88x - - type: private - id: 2274723391041187642148175739445068506088925585774978103406293579388750054603field - value: ciphertext1qyqd8t33yj8qz85z3980yz2azjgk7j3rw87s02dg798dqh3754ld7rsg4r7gx - - type: private - id: 6170149536954249430827387466567924937360241332562704936659141555169263814049field - value: ciphertext1qyq9rkfqzm5njk7cvgc3vkqstsxsx2stl5602f0e7lywrsfhrspgwyquq2542 - - type: private - id: 6335099796425419664380644594305772943744245654822441282024403590573610425564field - value: ciphertext1qyqg7s9my6rf86etk2az9ewt5vq25jm9ppp7he4r3y9vv73af6mx5rg9w2qk8 - - type: private - id: 1923851695350082112347287311383192367293285433030883059997864457444398752270field - value: ciphertext1qyqwde5v2h4qmwgd57g5tk9jd5rfzk7y35d0g36azhuwhk3u8muh5rqza9ctv - - type: private - id: 7633833029937156726094967407841675698590708116909321378441613447960057297131field - value: ciphertext1qgqffh5q09dgjm395xgv0w2xld999fdzrkmethch0su52w7v5e085p8qsg4w85zqp3cd4zxa4ksy6l3qjn07y6arwr7kyjpv3reccwjuqgkpv3q5 - tpk: 2643138657837375312299702324173211615493723194095026551721986600394014900539group - tcm: 2927329604626649329173022278354960460759763764809108654995952828140958408476field - scm: 4090946982896384018736336389290246009590436732246468304296151367624587199180field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqrp8tgles78a0f34np2m3achhrz2m7dptvyzwkvcjuxvgdrmqdulhp7qwx26n48ecv7plh2xmhy7sqqxjnr8p5awpjuzwla4vjumvkj683ae59s5u05d3ckw7am80vhvq0wfuwq5zq258snlcsa3dwqgt2tqvhr4y3jy9f3tlukle5e999smmrfvysqaq9lwx2eewsjqk8as24nhjr5xx4e2r7tp2cdl32pvj2cqq82anus9p3lcmw3szyd4f2ulxwvdeavlqk653my6wrhw3kds48txa0fjc0ea88rtcmsrh5cp9tx3vpwpmz7cehhdddrkg879apa94jr9ufdc0qw4r7nzqqlwnxmzkw00heej2szye77axc9ql6yu6m93xsr37czmmjgyvq9rqk26d5f2nvrc7n90p7ze4n7he6e5gw9yfen49ghj0zs2zxgvwzr59zx3v6v49gqqeyxdwmtycnr4fndlang7hnjaytqmv398y74nd6n9c35x835wgn5xd467mgyyzej3vfnluskys96q0amugtkxr0jnw0l5kxa0fn6n8wn4047hmy6tr3zp8pjd2z2kye90xcrncf3vkmnx2slck8u89xl6qw3ajzy6n5ctjn09sr32llzsvn4cyc5um2carg6rf83w0wd07hm7nq86qdds34h2r3vd9hk8r282yqdd2uqa9pu0qkzzr7lw7memyn8ts8s0a70nedlyvrymwae25zjyrscr59jpu5qgzgw0j9ewhmh5s2nmychy0g4dme6eyu4640645gxzlxkwr48efl0j83wdfammurafujjke9gd93s4k4hwea4nnek8y6p6nqaw6qqzqcj54m7njq4zaxsc9jffza9wn82quz70yxmm6ne26s060zzzuqktthfe72lqj78em8r98fmke0ydtwdqcmnlqjhps26msgwy2nr83dme4y9nv3w58fahxamatqsamqnl7k3u4tr42lzuuqvyphng9lm9e368whujmdq05sd66emvuusl4vxgyzku837m30hfkl6pxp3r9lyxh77wpkrrvphxnrnk3vhvrepts2h35vpmvprhf68t4apkzzclsghaypm4exncjhyjl8eczxamsurl6fgaptr7wcec8jdvrqejga6urg6jvcynwch3lslnxljcf9gxz6duy3d7m4juut9lay69ggqvqqqqqqqqqqqy4x0k6qfuguhj322uj0gmwvxruzhsy4euszf3crcrpad2rk52hzwy9arer08eaurrw0hs78jzf7qqqg06xljpwcvr43hd6qe82nquq8gv364cy7qghmmptcw660pnxnwsxjllucjl2jm3wct722klf70x5qqyejpwv3crcuedthzexe36g9escemycglr9wnj3dmrhh006y4jrs0edpsgayfwwacmf9xqrrjl2xc69x845pkqpv8zjl4p5rawqy30tgh09dl6895qrx2r9dym6vqd3qqqqqaq3ef0 - verified: true - status: accepted - errors: "" - warnings: "" - - execution: - transitions: - - id: au1hp3thp64u920w9j0urr0a94xnmnj6a7zeux3ht8jj90g9dd9pq9slv9c48 - program: test.aleo - function: scalar_cast - inputs: - - type: private - id: 3648657768712497591257819273061772006062629597726079188533339371952053789287field - value: ciphertext1qgqxf389tm6x3a4qzwng9x0q5zhztvuq3sk0pqp99vkq4xc80xnw7yg7suz6szvu95xqashrjtkykynrhwc35w8p22s0xlcv0pyx9976qgjc7a2v - outputs: - - type: private - id: 3819742772301217437194005083200102796625777424121491883872996713563023302832field - value: ciphertext1qgqxze4juy7uerkd3fnuqe357q7p9suz4rs09eq5xpk8sqn0xyusjqzg8j34s63t857uy7dnynan0jp86kl97rc6dcsasc3papsupkwgqgveu9y2 - - type: private - id: 6886664329045759310816172722080195298475484728931133903786336346750722492148field - value: ciphertext1qyq03e7mujz996pufhc8mhrqfm2007hrpctz4w9wx7h66p7nrc7l6zs4t0elc - - type: private - id: 1139468113048739647926227222535008493413747657065381255508551059587900370091field - value: ciphertext1qgqyvxcrh40suw68xtgwavxx8u2qf0k6ss7ztdhjf76v5c52549wuqvmwmcaqae5urlp9cf7pmzp46jupqppm72w2yxud8dmspjzp9x3p5n7xx0t - - type: private - id: 3509693323681884307989757599037949472125485447692289273580525926984739717158field - value: ciphertext1qgqtf6zjlhnkct2292nfe3hrfxg80pk0376mrs0la6d2waj58pyr7pr8k7jffmanuyz9yzga9x3z9t4fxtvsr336m0ta8muh5dccsypeqgjrk393 - - type: private - id: 3437077999424725548773563860227208007043475014088521899481918137521920351801field - value: ciphertext1qyqf9jfzf2clpy0d2wyfd3u4tp6dtkjv9u4flu9pwvlkplpexav7syg0vkrtt - - type: private - id: 1349139718747340037264338256859090769383539286549553160136661186417933505410field - value: ciphertext1qyqd52l8d03yz43y808urgmen33x3v8vg33n6qdjqzleturag7u4vzcf507zw - - type: private - id: 6728385044319665265067814798190525148317947280919440122231975423306783149811field - value: ciphertext1qyqghjcffh764dj7hhdak74knsakuvry84eswzqzdlvt693caxz3zqgrxqtgt - - type: private - id: 8354365572111288901825215417118215098751154605419638819915520410516315393666field - value: ciphertext1qyqyd8pguqch3ln232aw4qn84mg7wqa7py3qxz4qcf65dt6pxxee5zq23e9s3 - - type: private - id: 6312175192598710984363644089222676912310187682504092983031459706523017055371field - value: ciphertext1qyq0lpr9sp74kyqxlfyasua0rfnrvghkwyp68qxasncmfkd72992wygnaderd - - type: private - id: 6032578344061547868475599629396883497263179878482264268336251967314805480119field - value: ciphertext1qyqgzt498wkkwphk5ags7ydwdjun5l640efs0emu8vqxna7tvc5pcyges8wgf - - type: private - id: 5228202429425579981014430746453582970263509328276228161085096054266455416227field - value: ciphertext1qyq8dukyw95rnltc68dh95yx5jc2tgq8x83p6vug6zf4ad6nh00ujrsce6xvc - - type: private - id: 6337466632829335007608860894523280327034663895916620245693099805257750149684field - value: ciphertext1qyqq724s56dgufdlu032dre0lguez6mccgxm6784u0t0vg9yzns75pg4rr5nj - - type: private - id: 5041840878505997323558077016124662639098763116625826998921070987807711513505field - value: ciphertext1qyqgdfq6mu99kjr9hgrtz82zx262nll5r0z3eeqwqdc0337anacq5qc9n8wde - - type: private - id: 8362199922345889186505325098568283846757964127298602771383510565131934717445field - value: ciphertext1qyq047z0u6j0885e4r8yzzydlxxyem6ac94wdvdf5anqrg49l3307zcggqjvn - - type: private - id: 7659620848175078694579869114170870496872809742776174409243635581600262525456field - value: ciphertext1qgqtw2gxzz4e5cq39th8wqr6q0fetkwn65alluazrnslwglpgu6v5zyzd5pu3hsr088zwr6nfl0p0ttx8mh0dcqksdx45rgq4mvgsa4uqsrgjvjq - tpk: 7606758994613328146663843488338137362576344482026781014300614710921474877831group - tcm: 6633377565267251888541994228693892051755756524881593936628828895637749149871field - scm: 5838656049541417049480027475687302888887873882918370294289233667427609104673field - global_state_root: sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu - proof: proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqywfgumylz53cj65x9zp4v9ttr6nq2gr4yrm9yxkha8nsn29r08nlzknuesvfn229z9tekrp3aasgqqytu2veny50e0eu9nld94y69xjjy67m0h8vgyn2v5c2ptya0lvg9gtjexy09nkl98pk2u56ue7xffq8jj5hujs5uxjlx3h34478c6ky62yv3djlgjprq9lxuuyqqcedx28ljhfcc5c0mf5ls22jhj8nadwqfkwqpjgu5mllcydfcf6ensfythy5xqxqnpmr8pass8h3huzhgl3rsxckxag5lwffg4al7c4u53vcqjp20e3slt6mn3xfpkrxaaaxt043awr2xrmnp23ategjxkvdwshw4y0fpvznqvy2874a6dvkmzpccpx8ntkckvhc6v0hpl5tagmerkp8l55ulpq437cl7n4mwpdhry5nmc26uqm0cg3ksxvksegmagm3ys9e2hg4ew4zly2wukh4zsjqgegjdvytz58c4kxkfh96e5p20rng9emapsyuuxpsmvswdt8g65nus5q96362tyugxhgt7kw97tzkmpvfcucpua537tlnzxy0rpdr4dncfvyay5vcsvp6qkva86hyhhyfq6qqq4at5lcamx69eaxm5v3j8mqp0qmvdn0wq5tyrjhu4yzzmllc297mcgmr6fa6y38xz992h73vjkmqp78ckvuz9wkjqpk82wqtdrcyfys0c7ryy8e0safq4m2cee8900g999zuhnl7v2fweenx5vmxf6ndh7lrky25l55m0r260h2n7yjfyky5jzg9dzz72x8ftj6u52y2wrccp2fu9f884fytvq8duves8uggypjltd08ceq74ndfu5rlt7pheykavvs6sd920u23ap8a2047xfd2s8fg5lmh8dp02tkm9ka6c79ye047kmxydzzmc498layrw5gzjjtq049s7yp905jeg3gv0ta9dz32mnayal835vrdvxv7x0twdcxf4avg07qtnekjazhej4f9kt5a75lwejnepxr6jnq4kgt3eu22ymvd6cphjhyq3zx24ecf6tqjrrzll7hqhxmrt3028swufw4rse27g942pp7x47hzg2wu0l27g6e7n6d6pwpwtuhe9cycp4gu9xjx4y4w7tqzszjwf5l8lln7kur2avpsju5tdne5gjkfg3tyemena4yjgktexuvqyqvqqqqqqqqqqppjgfqw495symrkv3qclxxraftzs97yyh6rjwam885rznch2yykwutut4xkmlg7664dh4v87xvudqqqxljd0ujgl9mgmd2r6tj3magqeftv3aagfralwt3uhgyx29f90lg3d6ftkpy64luns4wlutlznm4cqq83uz3j2jmupr3tk3c4cy6tn9jzqsjtk9hm0dkxd3wvu9eclt44saneqrmn58hnarmkgvd322ktx2xh55c9eugt5nrnxazgd7dtvgd0m0g6nnm5g994vps2swhyaur30sqqq9cvxnc - verified: true - status: accepted - errors: "" - warnings: "" +namespace = "Execute" +expectation = "Pass" +outputs = [[{ compile = [{ initial_symbol_table = "9e7d17a4e02b7e7daff030ee0600a9284c49c15fa1a2843c367d31e71286f343", type_checked_symbol_table = "b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093", unrolled_symbol_table = "b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093", initial_ast = "0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676", unrolled_ast = "0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676", ssa_ast = "fa4b2aee6af80d118660d054c70bb7eaf68fbcdd9eea92ce7391b34af8c422bb", flattened_ast = "596e90d7e1c8160687c1ce1079c1cf8871ed89aca9326104f73c41610ffbd1c7", destructured_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", inlined_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", dce_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", bytecode = "558400159426d4e89eb78e174a495d3dd2816aa4e78e5988d58a62d3c4d39392", errors = "", warnings = "" }], execute = [ + { verified = false, status = "none", errors = "SnarkVMError(Failed to evaluate instruction (cast r0 into r2 as boolean;): Failed to convert field to boolean: field element is not zero or one)", warnings = "" }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqr9t73c7ur3wphtpfxmugwau2krnqz7zvppqsc6xjaq03mkvc6y8ce5yx67jzv4j7vyak4h548y2uqqy0s7fz947x6ycthac9jpe06lzuzd9yydl7lvpe4lgxap86x4tcan3pt5jy4hqs89myqljrwne9ycqte7pnv2saqzv8zguwm0k0v05l3r6xlcdj4p27qt43j44w7kkx5tpqlhq65a5p6x358uspz7836a5q22jxdxdhrf3cfvjuwsrdq5wphfg0yljyuf0eh866s98ldlf8dan53jjcapldf2lm9cxac70p2lsyqpqkm85csyupnfaefwgce8pwk92x0l9khtec7ksp2ylyt9f4ngk590lmmacmsueurc8y20f8s894qzv0gc6k5fh0mmeh43pufleqtpwluu9a7van0f943f8wpenlgwdju3t75ckacw5rs2pedc5yndd4fqywmkr0mwdjn0f9f29nf5hccy8wzmemnyhargy5r7swnan4jk2quxsv66kykq8nh8m6y86dkeg85qqqc4p0rs2tq9dzk0qa7r6s203ad7kn3xpagek3fsuzah5plh9d50l2a5ghxmnt6m63sr9xpr26sd2qcl7edp2vw8l67dskwem2ktxk9tsmupga4xcyr3n5awqc0t0c6eqj322gh3ut398xml2asxx2w575ppm3am3um9da957cu4yqtlgklaae35zd67kmtwg57d5a2a25xju846dx9ytvj0953wwyh5ezly4l42mgmmga88q0g7eyf80w54t2wvpj0d72uvc8hg3ahzdtpd5lpshn23fnzyfhjqd5qkxg5tf404pjup9snrj25frwr6586zuuke3dk0zx20mvnxnypjysn4hz4n4ejscuqrcjenkunqk9ungezprd77m20u99kn7p7xwpk27c4ef9sfhanpnc0xrc847zqcwfyasz58d6gvg2clh7ppfwcgfh8npxdezujgzzywsyfjgh4wuvvz4zadzpk3ncf069ulm8w8q3lsmxh4xauszma349nwre87s0tgezt0l7392qdg45n6zsen3whdy2cx4ahqufjmsrjmn7upna75jh8euyp55cxrrlkx8jta9hq9txdc7klhg9tw2sqnkr5eydqr26vf8te2u0jtlf3w3nvlh2ewutp0qedyltdz3gqcq9du82wttcsqvqqqqqqqqqqp2vytpxkm66stlawctz7s0py8cdy5p58kq72e3wzjk3qxll6u79mdpwfdfjq6ksj29nu6fk0vcegqqqy4r3y734ckuvdk4svg2nzemncrd9z8w3976ptnjlwf4qpryax639et2sdshqftkazg064zj6h5hgqq93x7fh828m59eyxwaqad7en8al6gkryavfkawsv4tfqyd4yuras339g68wejexp25vxgzdfzf87ra99645kll99cs7p5963m86yave58fugucjq63qehlpwn80ff4emsyqqjsrxwh", transitions = [{ id = "au1vxsqq85uzyxvy2k0qylq8s2gsd3etuu4ckfa6wy8rrny3dcdgyqszln7hm", program = "test.aleo", function = "bool_cast", tpk = "1840775000742132221378217470390403415772894197711079446698402298218210582564group", tcm = "4997724197499109479392119364652053918729566448250116943429037180294488682414field", scm = "2273075582360443326451938231856015807711165656796230579989764810685688490856field", inputs = [{ type = "private", id = "3652773017842723677695414936555553623545505167243357822542337827471217256094field", value = "ciphertext1qyqzvs3wx8nhw7nes3c4m09yxuq60e3fqrpsyzqkrwn2yczyr35agzcxhzwnd" }], outputs = [ + { type = "private", id = "1489903468267774922477104600233457150822527790489645507079505097147284139318field", value = "ciphertext1qgqd7qgs5hnngcm7fefm5h5ch4yc7ln86k78j35xfqjx3n7jvx79jqdnh0lzv3ntqjccdw5nj8lhz50cwuf6acufdpnuhyhj7fee8k2lqvgga0ym" }, + { type = "private", id = "6470727271276497435292306716398398989713755341916071386555165147653400541284field", value = "ciphertext1qyqzw23lev777j4jga9a5p7pxc7dj20khwvkyn59e4xy4p35w96lyzqllr05z" }, + { type = "private", id = "6668435747150019325711935604937065304868113677631918372717417889744598345554field", value = "ciphertext1qgq2y3drtgq0y4ux2s2gvy5xaqsv0prueut8xxjsf656mqpkd7zl7rwtuwp5tnhgffc9pwdnkfhh5gptgst8nqspfan0u02v5sgnv24mpse6k8jv" }, + { type = "private", id = "1924615496325791107154171552052135892346769453386180072211284570148086735661field", value = "ciphertext1qgqf9tugqs6cz7jlwx5m0npxn9zrj5jg860q25dljnejryfqxd8r2r3rzjthwsselm4smmymmstm9ktjc7w50ljg9x6c2plup9p6hxerqce4hsx3" }, + { type = "private", id = "5211821926682599370233774985314120051535201327050983006603930156913232303394field", value = "ciphertext1qyqtftasjhxndvnyjrpf0a5v77yv2nyl53la5ug42pm4ylsm7yyv6zqy0rgtx" }, + { type = "private", id = "4531598380078638967500870027002445350281193635458286451403047434261532816319field", value = "ciphertext1qyqven00vkukf0hr90n6g8sl46dcpkt6fhlww0c9h0lhk7n0527a5pscxgxfr" }, + { type = "private", id = "6479460187469349994561537450888623356191296912501681038381069805254961630351field", value = "ciphertext1qyqfpjcsn2v3txgkrstee8qn739nrj2vlmldczyvzl8ddktxp0ywkqcg9nzdx" }, + { type = "private", id = "6526767347563710986002002097644292447208013459013791712515143818251868909265field", value = "ciphertext1qyq9ncnhfzjl4klh8d99vk06qf59wa0l5yzqsxa7wxcn9e4enay3yqgza892h" }, + { type = "private", id = "5985617292067968432560534277131732391365325310808401971854913326891871548608field", value = "ciphertext1qyq84acxld9ea3fke94ulnf3ph49dkah3r32yukkd6uerefxfcrd5rgudjnry" }, + { type = "private", id = "8169045623774000390226654448652020752183526050250467621253658652241057724562field", value = "ciphertext1qyq9hwa9g6mme0r74pthh9wzuqjganks76u9xhlw0y5vkk0sm7kr7qcf28ygl" }, + { type = "private", id = "7883766732799295437300817997973639782941240557038794986182383880805881340034field", value = "ciphertext1qyqfmfkklrevcudwkneng0r7rzckp5rswp0njtrjdeuad5kndtfrcrs3rt9jp" }, + { type = "private", id = "1189329855555163001730625647475280297422003858628293318974735497457829648530field", value = "ciphertext1qyqz370g6dj3thckajp606utcsx2edetfepjc6uhjujxqgrfcagf6pqhqpkc2" }, + { type = "private", id = "7612135962619195115092943749060298652077167840678126412735903215217701417529field", value = "ciphertext1qyq0r23rzw7s57ynv5gc20l2tl8zemwnvjwcxxwfmx9sw60e2u49xrsg4et2k" }, + { type = "private", id = "363818532532093804484349747307277478562615543498838178519589271916174866955field", value = "ciphertext1qyqyeu5r2es7zj84f2xh42fnq2uqegcc9qzqr3hzgn0krf3vyck6zrc0lwv8t" }, + { type = "private", id = "3479993534249828408448025809227276988316448670490442346168803463778184679043field", value = "ciphertext1qgqtsgkmg0rhr5y5g5yqjd5vh4e9zda68sm5d3nfufamkc25p9352r4xegtz7kex9p9xksthz6pmald6zsh6n9j5f3eg609njt5zl4gjpg78p9et" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq0xf2vddenq7m5l5g3mds3dmvgeln80uwrcgxy3gxujkyhs9904rx8qfv5wnqzz7qan78ha3k2v8spqxzvnp2shuc5uxhd7vx3grhp06s62nu24nm8qh8s26rvay0msj43s9crusla9sh7309de7a0leh5kqxdyjhdt4yt3txd22tqrwse73wzy9jf9xe0elc5tdfy3f2fe9jlzh44h2xaxxyhc2zp5k9kamp4d2q00ynhad60w2wgj7epfkjhycthsum2c9tfacwrcr6fdlmevw767lglrae6yt5naflqfdjl26qhqu5pdzyk8at7e7k7sprmpk7dp3pmy0vf55zh7w4dcpjmhwyg5zxp6vazqy66882usd7e0uhpf3nstu4qpv2p24nnam0gk38drjclsmvpj8vluxynnhzjed3vd02vvpu5jk2mh94w65spplpjs393zmc0s96gqqclwhqrakc3p6ntxnlsnw9mztfja8xj49kep27ahagxswa86y9w3cqanxlkwj2wrupywf3wzlss9qyv99xecrswwnlpkvp9dpwylw6wa6wsjus8wxq8wjr3y0f8sfhqwx30dt2jcynts84y0zcy54evhuqzdzup0vzfjryyljx2zaj2njsyw7pd4dmt2y6yd8suylu0f4fv5pmrze6supwak8r0gmg9lhr5a2qp0zp3ja9047nmsjymalqxcccse0kz288k97fttvvf8nfy5teyesy8wr7hlwmeyq29z4k88uvksc6gn2qlyv0zgct4nxdreh3waj05jz3g5ddsw38020ufg8928g9h9rz2vp9vl76wc9jureksg6y0sqh9pwgkw9l64klgrmqzhnd53uhcl66s7n90s8fgx0vd5zcvudc8cv0sm9ml7k2rwk8qjxgkluv96k937u68syr59240su3medstwew4fpcgv8pudq5qg6mctr69fry4grz45ampt3vx3vp9453ld2usar7a4vr4ygfr2fgpepzn5zrswx3ene65gartw8y7x2pen075uylay35rcywvhwgerpu7s79hlku7h5el0nung4vlju2wwl3ypdnmc4qeaazcpyufnvhr5t40f0km9n9py8vjs5u4ygku5qa6gl5tvha4375ywffqksjqm3atscag68a59mx285cutfakn2xpu89sgk7p4lvfqauxv6cjqvqqqqqqqqqqq34at2k2pmgahzz5ypl4xwjuw3ggr09dkdafrptya55utj9zs3uw80jemptqx0edv9rqe8283xnfqyq2ys5zu077g04d3dw9xnvaj202pxk9d96rvjeyl89lacnse9qzahu5cznrewehg85mvaplhl00fkuqqyjc4nm7d94vpynzmyw95ks6l30qljjkhvn32chlrfcctnlv0fyqjfmlrq38vm332t6dd7eh3xwatl4dnl2hel76uv75tjtww99se9mqljh4ctv5nl27qx4hvx47t498syqqf92xyh", transitions = [{ id = "au1h5jy3m2lzvstrt5rcjparu2a99rln2zm5kumuqdpdy3fpxa9mvxq5fpcwh", program = "test.aleo", function = "field_casts", tpk = "5491774800262074356986972099480113726718247733795663254909096160261026198520group", tcm = "4352063585194955097288785276019664277306359837895843021663731039351530762235field", scm = "1186234034511247786303570657553653137233632959157804093887150332336721533308field", inputs = [{ type = "private", id = "5210374845398586757087052114862693332138814411639228172287665297220002247177field", value = "ciphertext1qgq0229cgmhyel68w3teg6hpsv32qpmn3xsl6jqvjl2kdvg8ajc7vyv457zne96akyrpw889dnknggxv6qw7nr0ka5s7d0vggqxv3q0uzy2dr30w" }], outputs = [ + { type = "private", id = "5278258430260892246335134042144232775702111505862550740943441260010089085572field", value = "ciphertext1qyqf0jtmu934x4mmvrp6wtjcvpdwtadxwkqye7mmt5h9kymx6m72jzcdwn4md" }, + { type = "private", id = "1719215645204668812556355656460747426127816069605731617057929706052866655464field", value = "ciphertext1qgq9dw5njnfzukdm96n7qhkmd9l7yysgf4jte5ymmwq92yrny0f0yzac2cuhm25ud8mysqnkr0jfx4jf7hpakkprmjjdc772ltvmdzwpqcsm32rp" }, + { type = "private", id = "110166698649293698991959794306224065391937528233960754667121415702617815287field", value = "ciphertext1qgqxlsrf6xerrpu9w6llsjvvt4xh7a7kr84m4d69mvxamyeuhfrywpenydzgaf2gpe8345vjadqdawz06e5d403qpjhtqr9hrct4dagypq26vkkt" }, + { type = "private", id = "7572489065431414763195567326987677213700731367406493412605628927105745401635field", value = "ciphertext1qyqxrsq8w0qa6vh3rpk840yqjnvsz92xraumt2t0ugd9yxvj6f94krgn73gmu" }, + { type = "private", id = "5382210913027712904660208108217238098797028387509177353601403241425806325012field", value = "ciphertext1qyqddqdwn2enuuy2n7270ky46ppnw8yqhewznq3uarwunep365nu6zszukah9" }, + { type = "private", id = "7293641798010741552890532176945733070989613940244056734794959936785555089785field", value = "ciphertext1qyqw0dvyumprdcfj5w03dsfj7lcme0kdhnl4qqueqxesxk8efjyhuzqzrgvxk" }, + { type = "private", id = "8417802662482873710108448254630274678561085383114549724041761026003730678243field", value = "ciphertext1qyq9srs03fakdvzfcnfy79fcuq4pznuuk5zcdg04praxsx4fwnl0wzgpn4fsl" }, + { type = "private", id = "62794799572197680293623223635450821678347779377298064193240440895421535255field", value = "ciphertext1qyqttf2y5j0n9p47ug0z6kmc338dfnfxaas3zh9m4xjqlrrmunq3jzcxytxx4" }, + { type = "private", id = "6732900562595240142071527053929099794472546843472434495316070899912406569510field", value = "ciphertext1qyqfl4plsevqhq6ug80lykwy7t6atafgacl5ntf27xak9y05yae4yrgzqe06m" }, + { type = "private", id = "895763204984015326271645820601789841628070668730587774683000031319385076239field", value = "ciphertext1qyqrqtl39hnnmptk2hyjlqn9fprl046sl9ajj3n9na229ly2039xkpguk3zpw" }, + { type = "private", id = "3849895332605103361406563677401902204802792952238298150467327985405368378555field", value = "ciphertext1qyqfdmzkarwttfx070yr8mwmegdq752rjjryul46ndw24khppqk9wrqxk9584" }, + { type = "private", id = "3887676660638685387601010110924346674000730951368505262404752588989549289137field", value = "ciphertext1qyqg5d6r034jkqvdzc0kfdhnlvsefflhhxh555vcgmszp0zr0t7r6rsnuevuy" }, + { type = "private", id = "601408292144689947075592721610996990971030099818402319972337531893774340464field", value = "ciphertext1qyqz6046gqpvzmfxjcv0uncg3kcrjhsaermjrnws4jl8unh4rwjwuqg6dexs0" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzrfyvj9znsw3yv6ccdwxn9ejucpt3xrpkk8h4r7nztkysg7vhlvg4xx9kuupyc48dda67xnwwxfspq9pmr5u9cmdlvpqf9gvwxpw3yad83r55ayyyv8lvcahxf0y94jka9uvj9e5pghexcdr5pxznmapx7qr36lqm324eg89hksesw9sguq5lk90xdkeq53kmamtjzam28jht5uwqwl36cztjjfzya96etzlrxyq04j076zpg8x0t0q27jkqq9ak7tt68uvvufpgzk6zyu5j64phvhke0kyd3rxqjhzg8d6fe8yptctup6epl8m8l3uskpxm42hnqupwufykec5v554f5f0pp5v8dctsdxf20c6q0h4fhsrhctn3dem6jwzncpw33h2eflphywys9uxaszuygt9g4c0hnqtqyzpsfxd3qwan4n93j5ssyh6wukn8y6ptdl3y8me3js8mmget4r24sqrd89867gg063nmpa9jwswsc9s0r8c3jrt2js638ftextu7tf5g8jmnwplv9l7pw2qplcsp6l2awf0twt0tffkm6tn3zaf79mapl3kx908y7qwg9n28yc3xxwtqmj99p2fe4f9zs0flwnvqr67vtrdaf543mk9lck6f4e533nx82lewu9glpnjlv5pf0pzaaa5f4ux0ts9ht0zcuwe5q8n405ggqcpm52ugflrlly4pleq2ljz40ghkla99ztqwutyvq7j90jvjlpug8cr64m28g6sans50qlayrx74wu5l0eqf49x23tcyn263jdm6fgzlnv8kmqla8lhc6a2na2c5akcm3weersm8z80hwfsdkjl6djet6qmj8wd3qmvrytnjqxl8rx74lzeeqwra4uk5c79nxmuj5p5f97ezs7qg8jzd4q5cxrpj7mkhcexexlu0rgeeqvj2jegs4xw6445xm4yqts8cd7ddzutsmkzdsjtsr9rr28sacryju33qcud7mutp25uru4gpqua5lwuvtqrf5rqg432lew937x4mrxnrunmwn2fuvacznf5sjvq465eskd4ks2gcz9s0nvws3zpyg8e94dn9wt770sah6f75a77q9pev6g2mkl9d6h9c5gxd7gyxnfg87m7d37xewpadl682cqy7280aseptm6ep9sdylvqpfrvfaaswf0rgt6ll5w99suuvhepgcmd47x3crqvqqqqqqqqqqqwqm8h5q0q0znkv6h6rsguu6mv0wu5lqd5eujk0dkszrumfa9x9megk972gcxltkyc0dltpcff4ysqqt8m9hc7dgat5f7v0mezq2xmedcujwnzdczm2u3m9fqws5fav03mtz3jxs6we60tcewavfzjcx7nsqq84lstkx3g396v6yct8qq4l5mevk80m3vsyuk4ad5t75lu4824fqrsqjejp6j794fjq99af9m9t80z3f6ekhu0ut9my9mf5n6296kuv4u853gwgh0sg0au2404f2swt6qqqq555ej9", transitions = [{ id = "au1e0t3y7rc7gr0j6k222798hp7uflrhjwjwrc9pxrj7m9gkgdnzqrqv97t46", program = "test.aleo", function = "group_casts", tpk = "728114682469578779973698472052033745018663825798513594321489428902992271362group", tcm = "2765448070469725682919989665175738849472816260509360910283076274375023385884field", scm = "4214297499099292408383362391452874787279607064869796639221252080330562387246field", inputs = [{ type = "private", id = "6047919528819724518261953093839721009920189729561004772409666834087862737321field", value = "ciphertext1qgqq3x0f6suky6hgqq96nved8c0t46ayv6j9q3zndzg9mw2wgax4vzaw7ncry9mcgcmaaz5yufe70rg4x0dsak30nzq0vulz6k9yputmpqyhtn5n" }], outputs = [ + { type = "private", id = "5390958595866299016981879465494258598782475949892972984168670195655423244352field", value = "ciphertext1qgqvga2ex4gxnm3yp8kfhv4n6857stxt3v4k8c774yl2p487srdqur5cfcr4dautca8dvetrd50hzprtc79wm2w5af7kfkaj8arweyqtp5zt7mz0" }, + { type = "private", id = "1658691687489460280691038742423596937959863641455406518498440414796390984078field", value = "ciphertext1qyqga7qyncyxunyan52gy7rcx3agmk257naak6cnrvu2vw8tm9qfcrsmh2f7k" }, + { type = "private", id = "7833751787700523719752852257678365342415529777242497376479148230452315155379field", value = "ciphertext1qgqgrl7xflvgqg0ug5wyrtg8uj659yhkl796rzl5k6m3ay576jfk5q69ux52xp7tszwttu0542teecmr0wyfy04jeamwysj4jfptxwg2zgkmygft" }, + { type = "private", id = "4355925641591206163613748452037671333659936439097359706891326715655948217250field", value = "ciphertext1qgqryflz23wz8ew7dqv0yt3nfxsguhtr5fe85g59tml4lsfgv2g3cpmaan3rsg67srjym8rvwwzeezzff6zjvkenqlwga4kvlva4ph32qgszy5ll" }, + { type = "private", id = "7725179896852886829423635874628706361504594160040792481492809455184566110385field", value = "ciphertext1qyq20umptgc7x7nhfxxv5y7q8wfa7emtejepc99l46mq8g8exd8djrq4x96lj" }, + { type = "private", id = "7031346938597706473625535917086380275290855626159936888082835688587610524568field", value = "ciphertext1qyq26ygqzq6uuqplh3z0wdwttscu3j3hj7yun3aa5aduhl8hhwx5jzcndvq85" }, + { type = "private", id = "736636217873495100141644777861153402029932195420533497218897714306551553154field", value = "ciphertext1qyq0fdfuj3etpazukt6t8sypqckjftt2pnr45atzdaf8tj6y0d9ugpqdfnzh2" }, + { type = "private", id = "5939671728519347996694539781992135817201045071018656021039535307914974964928field", value = "ciphertext1qyqrvaw7pa6xvp642s3r5yjtegahfmad45a7ja4twkk52p3v8h98qpgr2hrhq" }, + { type = "private", id = "1598475547702120508873157726969578713983298827265990464273655738253522765472field", value = "ciphertext1qyq23flaqdvcade3vt4qc2x0ww5upgfk7nyj6yurc8ntrk6uze5fjpg8nhj73" }, + { type = "private", id = "4035968324113977072722571883580817697381423012022522308661519668633105348047field", value = "ciphertext1qyq9vx8gcl4u2ffym0s7jkyhyds7pjk5l25lgmh5fp8lyx23w0jw2yqzuv9x5" }, + { type = "private", id = "8066473890353433542167449562163681613578294228720277880834737669994231457227field", value = "ciphertext1qyqqk2qdtjx9fc694ersmlrhd9kj6navl0ed73hh26v23k6ydmjxvys4nswek" }, + { type = "private", id = "7840459542567953051792355690724931488583516072837528083185994069698348835445field", value = "ciphertext1qyqts4ayssme4z4v3r2sjlm9slwgva349m83zvjmcarp5rslk4g2ypsptalqf" }, + { type = "private", id = "5679817976381420488503085061224893871297313376741283390962199379423423824606field", value = "ciphertext1qyqyyc87eeake8tem4act3y80trscjn9yhtrz55wtc7ska6m08y6yyswkz6qr" }, + { type = "private", id = "2052150932021866893696812900018230319266946300764291750289047016514413420161field", value = "ciphertext1qyqq3yklqt9ttnpus36lqrcug4t5fq06tmd3t7z80cqwcumsn64sqzgv9f7xw" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq85r75x6q0qe462pkj54p9jt6luq6elvrv6hntx3ut8ux92vyvdg7pcuk3tve7rrsw2ny5lvtkhavqq9zerrqwqlsp0dzy79m4thf4826dm6axtfznu7w36rzfrgwj45aa8uu289qnwvss3qvlpeq25q4cmqt5pllxwllnjmen8gpua7kju9x2vc0wmmqmjmfkh78x5amry03lz0crnzwedzlpk2dw59hygdkdqkqec20m3q8fq5s7l0h0evp9k365v42l8k68ezkdj5rrr7lmcvhxzvtjqvgr7ta9rw9eytjdmyf0wsyp6s7epjq258p563y09az0n6revm6chrf8u7e0v59d9a2axgsxlhgyqqdqsr0n2tc0fjaps66sa77sp4mk58va5dz628hfd9q858s569352z3suhhqa0l2r475l96f67fvd8928cye4s8h7uwv7d9nmuafsy0q8k4reqmd3x5wnpcxx7xvr7hrxwpqha85tgl30mtkadftn2k4fn6vasdf8sevgr876t8ljtvz5qxjkc7ey8txswwejsanh5daeh5c5km8u4s75dcw9fjw4xp97cy600kghe459cq6jf0fnfjwug9x4wq4807s3szawmt7demkcwvxkglx7lc7vtnkgkrq3kfc6e6d3x5v89qpzkggztq9dymr630rr43kxxyqmdndc7ear2ctf5s74pdchsksfe06hyrdlpj99qw6d5fttnc3cczzeq09czv29ttzw06y489gv73metx9s9zx4rtk7v4x6xz3w6wvjr9gfxfufa8uvlerzj69wkhkgufz6nh9m45lu3clh9926ecclgrcq7xjknp0h89f0a80r09j5wff3d6gszc9re4g3v5tc5wg2ajcf5hsrc737n6myct4kadkdw4m7zm7vymkyswvl0ckswfnszc92ajvh2qtdq4s4xvns95wj5j0s8rnm0ygcd80g4c8z94m7cmjnvhv55f7acrj5cjtlh2re5ml3efvwzuchs5njz4rrwq3egmxrurfj7m0skdmgr7e68pqcjfkds8f8gcscv3kr73slzy2r3ezar0nfh3wngq0xuveqe2gwf68gaqd7uwuw0tm3eqhyxusfue07pcw04uts8wfddnpykkqqqw92ujs89f3pu59tpt0fysj870p86utrkk4glpmn438up0ae5syqvqqqqqqqqqqp5n23nuncukrsjm0ff6us5er4fgl89j77skawj30c092tqucu00p3h2j5pjgjphcplaf6uc2ll4rsqqd3xv8qq7raaet644n06fq7c4hz3pfs3p6alrujfvh463nsw377nj0jsqpn0kgc5qnl475r5mfndyqq9y5quael9hfnl9wj9264dewqv02dhst86kse58txu4u7hrhsq4qnw6mxnruj9udmaqe8gttaxg4fart9fk8narfrcfqs04yjz5kfz6n4u0ekdlc6atfkquzfndlddyasqqq2dyfr3", transitions = [{ id = "au15j63znxspzemaeryetj7d7xsp4dxncfvquudxa9kyns4c8c6m5gsg9k4h3", program = "test.aleo", function = "i8_casts", tpk = "4372226529974761555640565569344545740210713355087448530436398720140173918382group", tcm = "87471416445146461817271413863063763516742622275092161031328139766985697665field", scm = "3748635610467633626373027029195045557554871560225380208637006499081585410786field", inputs = [{ type = "private", id = "4155885456086681657303137194430985450120457877033177326597038491857583702610field", value = "ciphertext1qyqymugdx9mpfgun4jqd52nf5vva5pxlyscf38f6v25dyaar8tk7zzchljlsy" }], outputs = [ + { type = "private", id = "6652794398734528396416265939467702235480678863073141731609765593509710799553field", value = "ciphertext1qgqqaf9yhdje9lup4jtmtteycr64spqlyv2scyka220uhvpenjj67rtu3v0q6j0wqtnnprxtm355x9l3qewe5whekfrcuexfqdqjtyt3qyatw709" }, + { type = "private", id = "5632224872262535522325664094131417379369553530419846410441714449294096263691field", value = "ciphertext1qyq2chmd4n8rd73xrv7z4c7ndcpv3ll4k0lhymqpee77950z0kanuqc67vpv9" }, + { type = "private", id = "5225010152376104717255364791409052362941470251408340309917318312052379816839field", value = "ciphertext1qgq8sgwrzvvpzuthumn7sq8f2zewkym4yyqwgy62xqw54z33rcrruqa2sxvxnj595le56zm70n4v36a7q8rpgwkrwgtnja72xp5re3ccps7257qy" }, + { type = "private", id = "2896401641675434051360265777740009904376639185566623210349973622405039134438field", value = "ciphertext1qgq8vkjr9auq7zcvfydxk4tgvl6p8zteyk07278r6vkartc7k70ejzcuadnv9yq4pw2p3av9k7snulyq999sfwxsh2r403aqnhf6qd27p5vrc4h5" }, + { type = "private", id = "1794544335099995312413495560451690080933119802214293703136978933954844091300field", value = "ciphertext1qyqyj7yxytqwfllntg5rqqlddpnd2s0sq3t5ede3qdcm40v5a92qyqsu5cmgt" }, + { type = "private", id = "8135738898180449272230748704206344603530590300746964536073486238264160032784field", value = "ciphertext1qyqq7z76qfy9tdfrgx2tlpx9v5een6478tsylq2vscjrnt0m5e237qc7kdfff" }, + { type = "private", id = "2446684192106831227614931619271062786483661215699846930491559865271709707814field", value = "ciphertext1qyqw0xg6krsdv4urq0n02yph8al99x9kqe5exc3hereywe8t28qvzqq0d2dh2" }, + { type = "private", id = "2472757923239834652661335085211444893562612125651397875852265830517100251079field", value = "ciphertext1qyqyjr79jd3pxy573c3nrf43dg0zxe5h7wla35mkft3698um3gwr2yqq3tqv6" }, + { type = "private", id = "1067053772935476130765573940199078754377961229772166823477753450384106354797field", value = "ciphertext1qyqrsxtckwp36ru84cxvdkl95mfwswydh8tkuduunlwh8rx4ks2ckysh7kqt2" }, + { type = "private", id = "7292011557196616734434052012319410968975874482877033073802133537425272044134field", value = "ciphertext1qyqrlwpy3tk4ea03279t0dc8ly2r64mgu6zsrn99wgehshk0srpnkpcfukx02" }, + { type = "private", id = "6345263167851061359894490208543843257980355912877002622246805400727233865615field", value = "ciphertext1qyqf4cs0vlerk9u3nuj7j94pa97j5k4rt20kqwlpk7gzvqu7athguqqvwghsw" }, + { type = "private", id = "2906764309903804334232665906136994755000823302876377380142748483659459013684field", value = "ciphertext1qyq83pdnu227ppxvtvmgkm9se2mlkfx88p8kcsjjc3ep7707a5rk7qs5p2v3q" }, + { type = "private", id = "6326730751616529545808380672472911128302550403229328228187517534013039408502field", value = "ciphertext1qyqpzmzans7egqk4wqv9clnedfu5vexf23ph8sa4u9f4tuha4gpuwqglrf4cg" }, + { type = "private", id = "8014647798761716191483703657220657397942480242874102498811929819381801972164field", value = "ciphertext1qyqwpsfrw3ewzy7akjfvm0fwadt9h4v8c40cwscr9vl2wgca0qvxwygghju2m" }, + { type = "private", id = "15263798646124190666316202026150909515835989433382555196347330349616918717field", value = "ciphertext1qgqprx0mtan9duznq4crphgzultdahyhdvstqfndksrlk00zp8sr5r944pjk4u5ftaa7mh9pvfr0fatt0u0y4qd6qeyj4g5me0zhjj2lp52lf8ru" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwpqm5y9r5ag0u4gkun5mfh02sn6mcvnqclexc0mc92fs83ys2lemeqlqefq5kq8zjr23saxa67qvqq9syr9z07gylsh5hxgvwy0r435m5s2j228fqx506jsgx4kvw2xxxpw87mynmy005azd4h3sk7agzcqvuemdjxsptekt6zm2jn85k3qhd9zs3ld7eumxa0n9cafg0l3hac0spzr4flsvdhpaylpr2wvqtekq02ylqmxem5xpxrspqkfn9h9rfmu99ar7tke6pkcaj2jzq9wp4zdgp2gf3jndqq852uh4lqdf2g0cpswtgf3mlt6r7mhmj9ftjf23geurkyp8rasscsys9ek5djh0a48r04557lzcj4rkyvve60x6hxansz34jyn5e9y26sqq8yufgz92vn4dtsqkp0cua80vmdv4rzkrtaavmyj8fd6veuz7g2defw98ywtsns98y633cwp00n9ezmtpqrrswfdxjnaw048ujds6cfdkknrxr0waarqysc0r0rsgdhc2dvv4e8wk7hqqehfhpywahx562h8lhcgr6kuqwt5x8qw4qaeth5ysshqq68vcezgzagvn753dujg4f2px7ldcj3xq7rk7e4949akesspcm52mjlvsm6wr9qzmxlc7svun87740lvmd3g2mhvqac6jcduscxs33jq75hxuqyjrvcmhwyqln0gessuhxdhck0k5phac2e4mjr2da7hrulelpcgpctm78zj95xxlppdhegnuxx9x4k2fm3pv4u2ygzedphs49q3sczpge5narhgxapwmagwxpwvccupjhdk8ceg9yamse5edcc0z9cyj0p0ttqapl925rvr7shu0q09lklrf497fqn3zm3krp5dvl84rqlthqmjg0tf6um98kd9s4sppzwtflc34elssfxjpwwyvmcmdx27h6sgs9mqnpkk0v8l5zt0g6jqrg52u0vjr2d2jetkekjg2vzu3e20axsu8fftvaav7gw9stl93k8mjugp4gcsapmy7pk03gav58r4gg7fc57p0a2ramtnx44772l75lhvqjn70a3m6466c8hqej5frzk9zc060qzzfktu5mcs5dp09ajtmk6pqh4rn2c7je0tq95r7uy29ckjjrkvjqkatufnj8yhne9ngunkc42xh0a8mzytvyalkucfyhjteh3quju9q8qvqqqqqqqqqqphy422wapdetj7qn84tydxra3z5zxcwtv2mg87uum7pmmykurrz3nh0kx4ec5e8jnulzftgpk2mdsqqw3jt6k434z2l0v4yxgypfc209yj33cd4rulnl47w6v8n7yyjgfpza36nnk5slz2u677njsuaueq5pqxnyu9wc06q4ljg8jssmcxpggjkfpc0ld56gufqnq05kcmu7c8xsxn6mfp5t7yeeu64t9pev9r8sawcjanj0tzdkec23clwjm3dq6pca227lztcvf6yzuflaqatuj6hcqqqqc7xfnh", transitions = [{ id = "au15zzrwyn65cdhm5tnpqgn5kdg0kdaldvljjpelncyfxk6e07xs5xs40lwfg", program = "test.aleo", function = "i16_casts", tpk = "1213861759131860038802144795575223099446804856530236039077951918747211475027group", tcm = "3153957805692566272385021192552128539510854605550609622339754753894009060700field", scm = "4509867301644343629060083558943040638497926339382734700899714022802519762005field", inputs = [{ type = "private", id = "709239522981830157174120969535087277114398890127903454261613249862652342781field", value = "ciphertext1qyqv2lqhaxpn9xay03qscjesfwuwkjhlpx96p78ekvc24827f707wrcqcltd8" }], outputs = [ + { type = "private", id = "1128658904378894057836842347060980083688623398679575199182421893822648901477field", value = "ciphertext1qgqfmgced2zk9gkekm5c329hh7vtk2hyls5de3flgtfzymr6yh8z6zztxaldz3pp3jexerr5tzhvr02dsqr66wzrq903kaad2hjjlsdhqg7uh4fa" }, + { type = "private", id = "4159818653120147885018644152212191860183985326314314939049422985090569537066field", value = "ciphertext1qyqw8mkphrjvduax80xklfun8kmvz32y2xhfc88j3krqsav59lpxvrgvheycs" }, + { type = "private", id = "7274712923474415697812693269118229102377622852641711457681251809631804727979field", value = "ciphertext1qgqthc6fhzqfjzg43q073r0f9h5thukwkatllx0n5ystrd58jpc2srpxeknje03enj2hqajan29w0rd2qejlrjtzarz6gney8ssqcyfwqc5qmhwn" }, + { type = "private", id = "1458071382113033199792359738711741144325257255528662975938644442392219598291field", value = "ciphertext1qgq9fjqcttfjpgw79yrdm9705yyndpazg3dm9z37d8xu97vmgxgr2ysgu8unh8c6n90tdvz8q0yv3ng9qcrqhh3mf55jp93qkj7hnxdzqcdr9qyq" }, + { type = "private", id = "3499314672950317280023767742074215205154828847987462904612632666689560128631field", value = "ciphertext1qyqd09cte077hr6a66u6n0jfsyc5keq3uf0gtmjlm4hnr83c3cykuzgenx4t2" }, + { type = "private", id = "4017358216139940641958470148062458204853048655352359506851107557558137630089field", value = "ciphertext1qyq8qht2dl7uvkwfyr4g3cakq3ct4d0v9axzmy440f3dxf28nflygrgu5uua0" }, + { type = "private", id = "2432029018634418986761647916073793398658500860597052941466460456487107124012field", value = "ciphertext1qyqqefy5t9c2xzfz7kj5fwftc7ym96jxtszdkr7lvukgx4e42vzl2rgvkf2a8" }, + { type = "private", id = "6255146470088264057646921081105401960910662678888031499032438013684420356100field", value = "ciphertext1qyqq37f84l6wle055zt4mej6vxy3suwfh77t2ragc6ap9c46wgca5zsal0efr" }, + { type = "private", id = "2143528797865441341517595586547238099077844882062506389911451350959837111486field", value = "ciphertext1qyqq3nv7d0y9jahxudvlxv94v39dgwr67d3c6l0cvk7mmvdzuf7ezqq34w8mp" }, + { type = "private", id = "4726948320405347624980450976595673871768523811436891536511049786268228612798field", value = "ciphertext1qyq2exvn2ty6tmwpfzk0ndtnzkm8v7jmr9haa2ay7waf5sctl2z22zglq752z" }, + { type = "private", id = "3249120604367186250673026202092793253309118142418291605224043311484256913514field", value = "ciphertext1qyq8gh4pamadx4jely8rakjec2jkn0sy835f2j54f40hrthdk3yr2pqmqmakm" }, + { type = "private", id = "1591386612353956434474320461231595038363410928406899918956396088303644868052field", value = "ciphertext1qyqvrejt29wu5j7phktcgnls6cennzjwp2hypj04fczhyllwgjdhuzgsy545w" }, + { type = "private", id = "6998280811804784834368323823787008142819889230859964979917730257559537104387field", value = "ciphertext1qyq8gzljpqntt9qfhee76x9dy6zyvxsg5lzada4c5htfe8pmz3necpcuw5rgh" }, + { type = "private", id = "2386203387441405930726513029846107814907176759585834985452466405691485917852field", value = "ciphertext1qyqpg947edch9h57n8ndwwwhz7dz4vw28penx4z7eerm6d2gmfpfjpgc0u2x3" }, + { type = "private", id = "8419729864805884384232897137724031541273894279956787387700599109796440997435field", value = "ciphertext1qgqy7c9cxctp02c3x0wmgh4vzs0lphf8wljs9rp8y893vknscqwewywxjc8v5tn4n487y2f7q5w9dy5z8vdj2h8kvpy3pjzjcc7wu32jqymn7lde" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqqjxwhq8z926dlfa0nyahsys2h6h88wh5huxp5ldygxxxug27wmv9atpn2ppk566cuh9cuax6q2rcqq8ne8n24pyacl8qrchrspercuv8zelkekd2v9d0nu8pd2g5kj3vyzxzq4vhsc2f7573edwd3u2acmqpa7kglrde7sqazkanmn7jqutzcyfkdxe2qaq47vuaweg2hfa5dmtsc05p5wdz5t4ht2t4kkgtjz5qdpwy6t3rdttlxwe070mrq5thyym7h5hjr87l88zmdq0lcu3u53grn9dmsv78y4zqf2psu6jumntypalpyyt7m6rfchqwjgrpaxs2r74a37eutzf8h6ljj0swrc6297fdsdm0965pecrfjrtauyzytgr3gqg75543y0xpfp5yn4jelm2lppqat6w3w0reamstk4crmsyy5574zrud42xnpc95xthyz9r02rph2sr2hfdrcpsajp8v5qqh30p6e3cca64e0puq0ww7zl36503cu4v02f6h5t4qwm40t02xptlw3emjkdqfhv0qejm2vuedzmvpzyjs20lgzwra9944aylduaxqsrdtl7qpxacwvydv67wc3hc4w3r0afmlcqwqxp43qvyz0ug3794468kyskxd62k8g0989ugpdttvh3qq565nwesqngmvef86avm7q20r5khas5fvqqze5r8g7mdzeque4s9q5cg65ar6psjec2f4lun44xfdcg7adzqzjtgp9ugag3p36smkpc8sk6v0pvdmc48d3phva7n3ffr8e9slc6qexncjvmma2xssptg6wz6psz3katmhup2cylqqnde4k0wu4fd9fqamulq49twjft24335rn44gmdjvtwqrewgxhazrvu8gahc2srgksc7gmny7calr9n6fdp552xaj5tnujjz9upvjd56xwphyz7afqaxqj6avjuv5hytnxfnfzzj7sq80lmay5t56ras3d57z6kak669hxavgpkl4ewrk2w75msqmkyhs4x8n923wmrjytcpzuq495gfhglv73kydpn4pn57raknqttmlf2ecgrrkjf3sqm5tmr8ppe5v8l6a9re7jqxpdlgcp9w4sm2naywcwmyfcwrzge0dcjkrej4mw6cxcv637gaeq29nar9chzhq78x6ssxsh2exu3vgu7s0ewkmjaf7yhrhanqarm7cvqvqqqqqqqqqqqyxxrjjyvtgqss7jvum4vfwgf6mzvg5adeehrg69slwsqc9q3agm0d4hg6wr9h02zs43wmafzaussyqxjpwrp4ghel5g23snagsassmc46dwnmutuz94u26fj4mk938guy256r02h2mdrwqrzqnggt5um5gqqyknr4p4lnjt26k6d79tt5eldc9pyph96zjkm4pqufy24ajmmvws5494rskvadyad5zcps4m4hvnct5g4wh3w6zt7mpzlzvhsatd864xux7sl5j9evxvxysmhyz6mwf5sqqq799cr9", transitions = [{ id = "au1x3u5w4ukcf55qcn0q29je0fqfmnfskwjzjhg39haeptjjy4vgupslk35w9", program = "test.aleo", function = "i32_casts", tpk = "928505881701830923193997693893631369892518162311700268026556672298358995343group", tcm = "6085686045277413790252413297749978933841357934342394371934264358422288022389field", scm = "5553563308839435009049014254861229799657519103115679838126261955409031885925field", inputs = [{ type = "private", id = "4568191054245543000152080513855711828251144376451259999037868499246917655752field", value = "ciphertext1qyqyvxsadjudcz50tmre4vzymv6rl0zde5lk6rjdkc636ej84kvegzgjfn53f" }], outputs = [ + { type = "private", id = "7172975816742365477288572054642261135417240717816845606402316226087685736935field", value = "ciphertext1qgq055u9d05ckjc93n5rjumrwgw90z3e028sd9e5n632ulp83qfkvz97yrrgmg0npvla4r3cq39xsu2n6qxnpergfyr77v70xkw3tny9qc8atcaj" }, + { type = "private", id = "6224570467500212346877163366408672913199882494511958554557648739392881171658field", value = "ciphertext1qyq9uwfwn95effsygl63m3aeaxlt5pkgpatrzcs5m8arqk70ev4fupsj2pnx4" }, + { type = "private", id = "3661123898656651993365105520873330044085683538943095324685985192663712485294field", value = "ciphertext1qgqr2dxns2pem7lnh9cz4zypjr0hhf0lfcawjn40at0g4pc63l7q6rxtm5ntku32llmm5p6xda5jnr4kx8p9tlf3re0fw25ch2sl9q6apym8420u" }, + { type = "private", id = "1683717272772828155339397857200635261266963449547380245617293554690127845392field", value = "ciphertext1qgqpd78ad5vf8qyuxj9nl4lw3tuy9r29rmmdkqwd6svdlvx5glctcqkc5u8j9jdg6evjcyhryhsxxht856mey8r99jc9nzyv29u05kdyq5twc5uj" }, + { type = "private", id = "5024047362910507401201391248253303525678187406007077961603930388422044321275field", value = "ciphertext1qyqvlsqqfqvf4zlus9s438pgwvvwyhdjtyj72shhkrwne9e6dyd86rgw6wh7w" }, + { type = "private", id = "1457625996700569357581874165807714521319334597784478206886609394802487905966field", value = "ciphertext1qyqgckdxd4ns9raz82erjlye5xv085ccfnz3p3433e98khke2sd0jpg4n2sy9" }, + { type = "private", id = "2697290672274719133073600706375503613198745436049751654601388988668247764731field", value = "ciphertext1qyq27gadexuhq3xhx52a80ahmc4quqf4d8afgq769uk5zy6yghhyxyqhmjmse" }, + { type = "private", id = "4066917082367600122790385883864625363794311073193447776639230566864093521323field", value = "ciphertext1qyq0jfmvacv2967ay3p9km4lxcgsh7g4wdw6gal4epusu38lhyd2szgk5p0c2" }, + { type = "private", id = "7178423935127996293617849005865553643320616955819341674708394984668202068823field", value = "ciphertext1qyqpqk4wvlz5w3n7p7q5q5890ldeantl3549dq9d59s3c4agf6aqzpsxdarc6" }, + { type = "private", id = "7116939588400365342507466847132747114668695333598727414096277657690297558767field", value = "ciphertext1qyq94zndgryddmsusj7zdp2r33zj2v3dsrcq02qvp5strxe0nfezvrqyvfh0u" }, + { type = "private", id = "1792138721066234094735131463834241160891154207549741347952019015395731432980field", value = "ciphertext1qyqqx67aa4pkwpa2tml9nka2aam0jnymjexndw9yxzp796mg28ptgpgvprvdy" }, + { type = "private", id = "5141930332934964714874817589159616938553012262739595355653498694553829171276field", value = "ciphertext1qyqykk0hlvu22ljlhuvt3k7j80m4rzt5qqsvv40ye25mx0hqytykyzqq5qwfq" }, + { type = "private", id = "2505080359426031165348399067518268782011915297791941280275236241463795382917field", value = "ciphertext1qyqqf4vdpcsngpzuysusahyyps32sccyyw9c5eguf3dkhfnlvv86kpgw9ssm4" }, + { type = "private", id = "4317952058365122871287905661455873964995293877227002528879093350634004707283field", value = "ciphertext1qyq07s32swhd4gag2s0pz7ypm4ppkjdxjwqh9fr79effz6z7mj0vsrswd4e0d" }, + { type = "private", id = "2660481975655556848125999055752061746463625400528425910109909557746085606353field", value = "ciphertext1qgqq92whktrx663cxaeleqk5wf8uslx464vs3cgm43f76x86sm6z7ywfhgtvv3vzgy84eptlqkgfw7d7clzsqtztpmytsk4cmymkrwkxpqau0ycj" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq0n4mkcka7c5xh6qspsr9mjl3700gh2mqes0w430d55kl78t6d8xfhuv9tyvgt5avg7d8njjqfxpqpq9yvmme55na7cnf2f7cmmas32edsgkm6s9av6wdpxzdfc3sdkltx2kcq5nk040ftq3ztjyrfkyx2dq2k3mjfcdk80pa2daq6stp4pez0n5v88ycq4zt8xe7v6tdkq3n9kzapv6w50em86ejm0z36t5mejcqjzlzzsc7jtke0q03ttsre0asza9jj6e6f6sxruewg624ur43ryp4mfpsfxh8wlcr4uekh84fj9kuq2arczqtwya8dhgtp5qap87784cmyghxm5qys52qgrezzqjla6j7zuu58v6323uz4ly6exdfc7f7cz3uy7avwcdak73qcam48xsvhe3ykqekechq6vd2nu06tfyak6yhzyjwg49ssfnppr680fvfpc3ghqxez997209gce9f30lcqest7s224q3eu4hdxpa7aumu2lxjvmm4xmepk0p5qmkp4q53gzrj0ah5mpq9rzdvwhxaj0y9xm07000a6u5egeqxh2qdg0tpay3qnxlxpp3rzj88nztn3c5fa3dsshdtzm0kf4zq4faxw4stp6ts8427gfq0v3l8h73nzug9zmjukueqswpw7qjdwg35txml70yg4tguay8y36av2gjgpkew5gu694uvcqugyv8jt4sc0n6vsdmefsr8845fwgcl9p965mgzxxxhsudvm8zraryjlgnq7t7knapsx07mlvkszexl88qls0t5dup4a6723pfy5fzgcm0296qnh5t38rj7wprsnnll7hvxcwfruvrayqx5d2eqn22vetl060fymv9rlhwgswfhq0aedu8k3647h4qnxp00ql5u3evtntlhczus67jxpt2eh7a2cdnrd56m5ym9083x7huexlag3dz04pgp2r9ef4hjtwe59khlytkkk0vj37xdw7y5dzfc4kulzwvpnkmkscuctnkwq8lc6w322jtw8rgewgf98jmzz8qjx6qepd44zzr4cl63epagq3w0cwxv7pzrqssesvvcrc98c8n0gfzcvhgup6zdqzfgjnxt8a6tf50n2t6wd30rnd4968yqy2g0zqvs6ek9ndmzw5l2q0kv5z6f2fsywhw3fxlqwfpcq83jhrvwsqm0qjq85z6zvrhu5hnspqvqqqqqqqqqqq8ustmnqd2qjshwp6s7gawa63dnnr7qz0l93ds840v9q00mmyy6t7sn2xhjexzstn42qvsg9ss43sqqyp37azss53z54sk8jz97v8yevzq8l6edjr4t9kfyyutd8zez2clrwyw7tj0mkxg5hwr6lvcnl005qq8wrlhg3xp3pnwx7klhcdtxeqjan33f7x7eu3220d7sq049navcsc00tgfesrrap6x9u654elyfgrzlpv6jk7mf6xfu503wsjhf4fsff70tc8upzax6jcz0j6u44zqd8sqqq3yewhs", transitions = [{ id = "au1yphp05az5tnyhc0pdpvyfctymznlz53wvu3fvtqcfa7epldvesys6vylkn", program = "test.aleo", function = "i64_casts", tpk = "8206038478661734211441224791664252520788845808272489393135777840197344623185group", tcm = "5906020054372050809752874336573252214410239220674691446370008229687932918582field", scm = "6300717335516143963150281333706623140629229548339583953914695376947454649031field", inputs = [{ type = "private", id = "6669452956021221302497033690251110801362156516617761000131729768331641348653field", value = "ciphertext1qyqwh3e74vztn7u8rypxg4krxjfljmxvkkc0e6dgw234g5zswrhjyzsnz5zc7" }], outputs = [ + { type = "private", id = "4947670911772566057764087002956860596458025617268472458670918478308962714908field", value = "ciphertext1qgqgpu5tl3hqx77q798d004jgrsc7stcsrxm7pnccju69ddksy6c5z5j4yz9s8tplqtgked93qnt4f42mzhp63mctf86f42j586eyfzczg62t0yu" }, + { type = "private", id = "2541979234779654197065455710109336465013583955707204560386806691285721837412field", value = "ciphertext1qyqyx49twd2jacrmzdmj6uk2u77cdj5zpayl07zlaufajast8h5yxzqkyu00q" }, + { type = "private", id = "438660502582133888376813817824867319887063666062423793730651023893082702369field", value = "ciphertext1qgq860sfhnhm03ne3jrj3pjpdnunnf72fgy8ze3x4cw4xen3j452vzt5k2dms8u8spf3pkj4dgvdwrwwxzjjtz8n99p6mfm9j2cwjtd6quudxf2q" }, + { type = "private", id = "2446261120775479824942557229943079097042085371442195447816136915845831027913field", value = "ciphertext1qgq2j8q2k5py64asrcg22zsmsq2df8ye3ldqs9ng8378mfrdlxndvqvtc9xvx2wlj49yyu252ytfkf3kp0jw8n45gh4q3c8s8c05e4clqgc9q8gc" }, + { type = "private", id = "2363745014909309165868436896814300460662689235227403476795669880576642372609field", value = "ciphertext1qyqrlxpqcw4dxz0t9wzy08u0yrdm6kf4zn0ff8gkelddj5uzety5zqghndxzd" }, + { type = "private", id = "4961614801892837103743119291334519976088253676893196573076743793528160845078field", value = "ciphertext1qyqftfmhs8d6lxfqnsfte7cxxptss72fzz8q7jv0yc4qyrt2055n2rg9gcx9s" }, + { type = "private", id = "5543079007594203619461979031641518521847857192135605759718268808434036115560field", value = "ciphertext1qyq8wr5x3cuv9m933p9tmtn0p4xma7j4jqxty95k9uhtuytdwejekzgwxggqz" }, + { type = "private", id = "2691845048754710561571317950897660544230358134973777664068007743076697218295field", value = "ciphertext1qyqzu53ec9ze0vda6vg6vkl5q27473nc4gpkwula2r3qevrav6s0jzqczqgvr" }, + { type = "private", id = "669286808638260128148770252618734960113187715390336484910321317145538284726field", value = "ciphertext1qyqrkcmqyxg4a083naw5en0ng2qm4g2cmrzjurzsfg3l0qte8q7uzpgpf0zh6" }, + { type = "private", id = "5583755252418196658772146990770034116332843407703651556332485703924483787212field", value = "ciphertext1qyq9rflvq3f6qxdl0fn73w874yz0e525pff0v9t7s6y5tsjanwq2yzsxgv49h" }, + { type = "private", id = "5272359617498207819444202551177270882159359070894601985728441718012302200355field", value = "ciphertext1qyqg6l6pushr5mzr0lcxc2ku94wh7rqcfy43mja3elgau0f6sv6axzs2amtxk" }, + { type = "private", id = "6274071856672143942157396507770515201250798194631062413648649859404672919091field", value = "ciphertext1qyqvmawf8yfgpx6n3ewww7wqaa0js9yffa7w5jnmn0yzdnxrup8uqqqtuwk20" }, + { type = "private", id = "3095836498792639305924547402444295944638854535130475416206274698917845974277field", value = "ciphertext1qyqy4qzhevs4ceaw4m4uqg8xykzgue52d0h4n63y9ddvtg4p347nxrsjny46r" }, + { type = "private", id = "7811946254529182673243604418199562043036624021050412704324727084297976407700field", value = "ciphertext1qyqgjafjjweluynrrr28pehsfazqnjwh83dwfxp8cr8ta083na3jcqsc574fc" }, + { type = "private", id = "8430049017098674945040394704318615929733272668232684220898665879281015185888field", value = "ciphertext1qgqzafaw4kgrczydqu6x97znzzentggfpy7sfj8c3r80qkkwk7gxqzm93p6vj6q0ul7tns63xu9jv70u60feq60hyfs484gceutym668pu4vyfhr" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqy0xqj4tu5vmx9d86apvt9v23gk2xqmm9euyng47e277sgujlz2c76awgn0pdnnaasepspzptmejvqq9yzrtfxusdk7hlhvrzuxkxgelwems6zrppegfsx5d4qheygj90aq9vwlpmjgtmhkjn33s9duexq7qf3xjxwqg9cqzgrqn2u92ywxymw7v8llnkxmske0wpvw3cufv4ajwc3cu2ckpgfu32crtj8el2v2jqyn96a4kxcfftdv0v0xpppsf9eup9tq8lhjttvqgvdcy9tckrlhrmqxf4e2wrmaghmeh27qanceeyqxzyhy32ayu4t6zc5zxejhrjkk9nf38nwv8le6j52a4sqttwdew9q37h040wwqd2zjpp0l8vftyzcrrtcsr9alw7va9wcnvm9mepzkmjws0fy5e3kh4jt4wk43nf9kgvh39avztqeuj6hzhxh2r7awe26q93xzer558ly8azdpelalwdmz5phgqwxvl2g0vhd40adkkwv8dyzws3vntzfn4cu87spws2ad5l45qzdpp44s6narwc367hecfldkkcn0yl42q9x994muh272q7ah6n00ktqy08xg4auw3khuzxy2vxx3vqtq6lkg42xtp8h70xh5fug6nfc9t6g6pxz8uujtwltd6g6aw9j2nqdhjdytz3ph5e3j3dp2fc9s2vqsq757c9h096pjtu44ur6qu2reej78c5ldl9074xk7u5uwp9wasymnun3pm6jf7a5sthu8a63kjfl8a7zhan2xg200tz407w933myyp7aeyvv92rrjka2mg49ywuf0sz9qx7ktd2x8l0ctq6y7lmw6mrhqgn6dd9ju444fjuu2z7a7qp8c820ga8kkne6yyx0sdgkrw0zwm5pq2yta3rx3z2s5pj7p60hks7k9ka2yj9lpphxyy5zzquugvuxxsc0p6xcud26gaah7ttj63h0uxwfdhqeje48x6q2y47jepxj8exhgsyzu5zrteglp32gpz6v5lhr0fsvvhljac7qhv35umzm68e2gvf9jq9ya6e5vh63lk2lv0jsvh6ka7qjvhemrs62junvfrykdphkjyltqn55szw98xzenmvzvvkgam6nhwtvkplyyqrqmq6p5vgd23z5nv5s0xd8ma23z6kvx0c2rlhrj4njk4ez9ue42kl3m6f7h7tx9spprqcwqvqqqqqqqqqqqa46y2tvsffd6zvppw0cm520mfhae8qaz432mqv6px7upj5fc6tqhezfxnzs5kkc92w5sycmcv5ksyqfju5m06mfzu2zge6egle8n53gzantdlwqzlumj9wwzpznx382mf85zaup8d5n4pfp954m57p9zlgpqxlytqfnjf0snw32a7zkha6t4jpxyha78pwkcn6yxseq8lwtvw53rrnzph77whyr2h4uzjsza6mqej66ynj8x564yjhwuxh2996ja5yrdefd9c8fluv60v8f5em4rlyysqqqr9ed00", transitions = [{ id = "au18hx37l6m0ed0pt3vuhvxygna9gjuvxpqx4tq33h3js3v5avhjqrq5hxsxl", program = "test.aleo", function = "i128_casts", tpk = "8156763663702306810684705193636343798317187042436166669762806719899728537469group", tcm = "56012702324315682932058463216251097181391851113471575292806789298210473251field", scm = "2537360011450924557035228483064263700550704922168773502685189000695683707009field", inputs = [{ type = "private", id = "92615778798768578008821520348584934955821847917874997294113145487703627819field", value = "ciphertext1qyqt9e24ncll4qse6zfnky62prnn2a3hqplnjh7h943xgldanh7dgrg88x25y" }], outputs = [ + { type = "private", id = "5190122387829303905070927723374602026363692692103916245567657140663799833440field", value = "ciphertext1qgqpa037u9dk0xeh44u7w9cajh8rmt46gfxcjrjfe4k3vdg6rjkykqnvs93q0x30rfn45x87mhlpxc86wdy6quvhm2ej2crh5nxhlj5rpqz62qqw" }, + { type = "private", id = "7477694288964369503431395523027218942747071807275512014410469809002406952273field", value = "ciphertext1qyqd9vxx6zav65jvgtq5vamxkl7djdrc7rfvsktna2rlhsgmw3dm2zg3jsvct" }, + { type = "private", id = "5962393508960028885589137516577477933292191493961724701443767766208903779625field", value = "ciphertext1qgqtxqpnvlfy8zzxgavt8sat8hd4xltsmjnfkms46jzfuqemm6pxsyr583nlg7eqkzenpz7ak7htapvj3x3z2rh20prpfkjevpg7awz3quns5trf" }, + { type = "private", id = "7407790755882603040432585405291266948759186394866850911916606860771353025873field", value = "ciphertext1qgqycrezvj8z6cxa7sgcrey4u3yza6emh8207w5cqdq684uudp2y7r58vtp4x45wzvh5m7lcx37lgewxj432k4yw9e6auw8ck2m6rt9wpv82hk7p" }, + { type = "private", id = "4349681272621067430065692144265069294427459665906713317005499573229301172367field", value = "ciphertext1qyqq6mew0jdthmhrukcjhj3d5y2c86pdfdtpmdrerhhfj4l83l2rkqgrpphja" }, + { type = "private", id = "4746516539560635567846862696585543369667831963584829836527283525701053665633field", value = "ciphertext1qyq868dvvf24vl843jw86kx4ne9twczgajpd56hj73zrlsugrsvespgrzq3uk" }, + { type = "private", id = "1068552728953128338891975149292989961192631877197470547932849240257950711037field", value = "ciphertext1qyq858sc4myf990wzp9n0a8s85n4qexlp4nmp4awvgcm0g6jva6ykygnj25vk" }, + { type = "private", id = "27721015115634650692006514954350295525619382858028792360015946395585713338field", value = "ciphertext1qyqd9zuwfyq0t8jh5963q6lpz452v7d4uhkwwd7y3389hkz7gz9qsqq67qgzl" }, + { type = "private", id = "3732525410992044901878696324265027398278958809806860313102912153147283182645field", value = "ciphertext1qyqff9aqf6f6gfqr2q89px4kzgyetcmkc060f4eva6wag7kextr66qgxaz73d" }, + { type = "private", id = "5809887163667621846446027855577176422944942671286297726644193575002720266129field", value = "ciphertext1qyqxkr0l4wengkd3fk3gltn77mxvchzvh9xkw4knqp08h6ycqlh7spqp9e530" }, + { type = "private", id = "3317604165393767260122861083309037209122275937208121653252094801723292157806field", value = "ciphertext1qyqy2afqfvx5cy6xwt893l2w3m6a0lc3rzh5pc0hdu3qh6uqxya6qzg42m4x9" }, + { type = "private", id = "5300572783028530210668052666184550020346774664057245669211169056391897455845field", value = "ciphertext1qyqgyvezpzlnq5azjhacgnlpemrj7uvwj6qsfq9n3kd0v3aacgckuqcj0376f" }, + { type = "private", id = "5498354775272565394197298654651136473879966350473508489990599781324692975977field", value = "ciphertext1qyqqvaxmyn5kpv0s47tymk7upssg4n2px4w8803cwjpvndlk2hfr5pcahkn5s" }, + { type = "private", id = "4097368961329339836909183442555087758404239121979555922149419965772460659960field", value = "ciphertext1qyqxjwvp2wgrwnpxmqcrguu9dwlqtt586fjz9cl7pl320qyz0852sqskvkkdy" }, + { type = "private", id = "1553304933604909176948872480137693694300486912564461041308024672770849027803field", value = "ciphertext1qgq0j5hr2usjw8urg0jrepa6dgczplpt6rhanpd2757nfdsmvs0gcpxz662209skzxxmt4yjxzd3qgse2z5hm22dzyndj0cs03smsd8lquuwe9u2" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq93uf0acqpw4gdla3mynmpd6pjlfpz22znzrrvw0xjh9tt29dzxrax99x2hhf9k5uf24p84qahj9qpqxw3pwm2x4jl05732htfrhmzkqvsxqfnwjtlpnxnvzktnh7j7sz5fma8sq29l3ma8p845t73wwfnsqfzmssvspddxjpxpmz6esuxzfmgukq6h73h35wuh5whk8fg23qwx3hlktch84hsx73yxcesfmmys6qnl6yktpy70ye9dg3rdw0qhnv0ujxuv8rptw0e20xu3djnlk4v8alyasqxy0nzqrl3y28srxedrxsqs2tyrgpq7nanwvl6hka65czjyxwe20ng5frvspd6444xfjm2zaf0cjzy0t32gthld59w8gzgqtegp7msgq3sesjksret5rszwzzdfy5wrvkzc2nrfz52vw6r9l9pjvalx08uxekl20k6esed5kp9rcexspf5nerv5sfzvpajvwmm27l63kklqp2ukpmchssr5z38dv8cw0te0u4rps3wkudpxnuz95gy0rpzgq2rehw4z6fw50javnjvr4l5d03z4qafp4r3ez5pgan0mtxkfgunzv98ptfa8h0nvuyrpdc0unxxwcq3m7y3k8rhflzuz70gesgpzxvw5ellnsmfqy0vsnp5h5nw45fhcyvtmx22jaf7l06ws4hgu2pvv2qq4uvuzjzaqkrcky29kp3kyx6ujz5s5wj73zk467na8grjwvalkvpcsjmznku8y5ap0pwef3u9n60ful086nde2qs4r9arp693z6w46zrmvzeyenahp0jhgylkrh0ma0hsurr4vtksnpuekqxchpe8pnu3phxygk42zflgkx9kjdr8qn28pqyu8rl5x47jm36nkuej24p8jfpst6s6xnzx6rcnqugd9fqxhmjhlmhflfsxf5xq3p0uc4aylhjxduqd054v4lw2933ecq63q07cvgjqsg2rcxqdvk3mg9lryvfe2ydfssy3flthcjr9kq2gqyf4lsdaxzrddhx0n5gqv3t0jvvqxk43u4x4sz4tzdnkhxcgy7tklghtnd8zhdx5gekp64g2fqjuxkqdtjqljat4pfwr00vamncvksv0naxyj0yta66lu2y2ff9f9qe6e6dveycxurhqlqhhjxj7x6tnp0xnpjw3q4spqrkmsx2dl30zslprhgq9jfxjvcs8qvqqqqqqqqqqp2709pt89tx60v5s8e5ywusmw6xk5l9tgzkc39vls6e5yjt2pd2z8f7j0479cu6fg0xn3vgdqk3csyqd8yq29xzfzr852medm7encq8vl3ax6xrjxjcneas3q8ngxl5an9uklr98kfm6u2swf5ppun8r3x5pqxy7pqxehda9ksc9w5kffdlt8dsk8yz27qyfngy4yu28l7d6lmusy22wflswe34agt9u5c0jk0nn4nls9heuseg3t7cv63f5ta2y0h6k247gnk2x5hlwfgaglcc3schxqqqqatm504", transitions = [{ id = "au1p934w9maa08c97w594p0jgvj8q6h322v6hc7mx0txl7s7ec4ecrsulltzd", program = "test.aleo", function = "u8_casts", tpk = "6554039838403596361741978869473470646930445174187654858729585682731612723126group", tcm = "2675286312291248681064763208848233023188759519533201623692984329348544624558field", scm = "8073365660269175434530671232964065692861683350411808430867951874159165517216field", inputs = [{ type = "private", id = "4207470104081423652955704350354918727810718868369540621089438862306317377368field", value = "ciphertext1qyqxluvvv4nd5mdv4m7rnrch8vmweedk9dwc6v9lpum4dg2s4qm92zgrnm279" }], outputs = [ + { type = "private", id = "8430683363844925910481436631834220089532633248716555283992447416442435719588field", value = "ciphertext1qgqd29mav6693f5nkqkcg0d0z90th8t6hmv75jyhpxpthqyzmlvskrxk8epe9lp8g7xaw98z5sdlpy45uqmnx2c9tlf4epsehu7cuss8zqkdt6dm" }, + { type = "private", id = "7896643751615647964655544408752952233809677757523535240770586806285834842978field", value = "ciphertext1qyq0nu4scvyxa0vqjjnc07hq4l5caaftz7du3ywvwnxw3t8wv69fqygluc4zl" }, + { type = "private", id = "757985530954838588728550239979830761763477837683260832557017370774961961158field", value = "ciphertext1qgqzgaqma7gu03yhw8z7glgdyufcr3wx70xgxw9kuq347w9sta45uq3mlmfh2874uwztjyda370af8rhqjwz5gzv8l6dtut5ngwj4h4apylzys95" }, + { type = "private", id = "6122525602846206505255832943614109302365300546302830911593314235829493592183field", value = "ciphertext1qgqycx4m4crjh9hr3qf4evdarncmyyjtwufc0uant70u78csd3cnjzggkf55y9w0nksztt2qxxsfy2kq706xm6494gmj9wekmfx5qlwzzyyfwz5w" }, + { type = "private", id = "4804385289060251930515022237706596958696057567838517210176282730841841509438field", value = "ciphertext1qyq8595jgdq6dfju7qwx74mntulusa94uc5q9r7p6unqhuy44vtpvzcey9vyl" }, + { type = "private", id = "6048359281949285039521206482410967064749681534575595012061464097968872888998field", value = "ciphertext1qyq0zlhj8x5zu8cemk9x7ucq3tt4fzvemvjflzrtkyt74tf3gfll2rsx5mnq4" }, + { type = "private", id = "3434338540941393865136035015277087030306783513663324127899477214742096182309field", value = "ciphertext1qyqvvxnw5z5wp6kfs8rygsruyarrzjeznvwhf8xm2l5ut5kyhdvagqgc56c0f" }, + { type = "private", id = "5673595341943370870348316014687844043440067780032934201060614504394030225972field", value = "ciphertext1qyqv7grzka6x82wxt4ehpj4h23t50j7lnt70rzngsv6jlpeq67epkrcmx90hn" }, + { type = "private", id = "1571090903922717364867921262208196514463645465984800811684209740862631630793field", value = "ciphertext1qyqxy68wnenzx55t0sg39jzxprvxfz3d43g9u5wnx8qmm2g0w9xpszc4fl2xu" }, + { type = "private", id = "3181459706715905886363921491639967041780728804653526355315882094506877065846field", value = "ciphertext1qyqy6p4259r2g42jj939spu7fghcn5mqnjtvqwfk3frv9mywwmzt2rgcgln7g" }, + { type = "private", id = "1559543461740817960078908732099556385081795187576566023848847047153584081939field", value = "ciphertext1qyqdgxh4w5hws0w6c9qk8slah9qxrumuqvyc4x7x6syfq6rg9fpxyrs4utnj2" }, + { type = "private", id = "1773769576513274927467710966495701825096059395687642681679849161209422721254field", value = "ciphertext1qyq8kjt0v43ut8vjmg6prvr00r032mjqvfagnjj6l45k586zm7lhxqs5tnp07" }, + { type = "private", id = "5675927442516469654425389584158575072914512364984969806253407806718591538450field", value = "ciphertext1qyqttamlyqvrsgrc2lvttr5xdtdx6rumr22r4v4ft5fs3xx605uqjzq26d9ey" }, + { type = "private", id = "4693679553268447390387939889273003904510261683296383922960039215511459578402field", value = "ciphertext1qyqxy2etk8ye4s3whxs2d62fhkkrmnsg4e7yat9vt25fuenwafsyypc8ujxvt" }, + { type = "private", id = "4077004477930596383079227187512941327641553078450585855415557785995939922319field", value = "ciphertext1qgqq788a3995t7c97aq43gqjga83cs60kwa6pphg3hdl3d5h5hdgvqml9wtppgqn2kry6hms88mmhdg3lp36vzdgf24388vq8g5g9mw5pg9acys4" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqy5eyj0e4569zvqh2avgp8rw6vfty33flh54zwtz0ud099alkx6lwqcl7axnhtm3vernmgtzzxz2vpq84rrnl9v6ryvm4efyz3e938x00vxhsy3vxphau9tmhpq8gq0tq9vjsyqxrerft49ttvjvgzlvjqvqv3wmqucdlqk59yvlthst36mhrvre7e0kttscc59zr5duccetqknwp95tdzs3hkhpg2cqg7n0mg7xqgurjfkhy8y3sqe04au62jhgljtmtfnjc4g2mhnndpznd4q5rtcq5nswnht6p4swdrw6fazcu6g0up6x5tvmduznn75vkh7m2gkm4xkr95rj4l6qzl5dwvzurqpxg0s3hsxpcc4mvqvu0khvf370nkhssqzrlppvhye4wnndpd72ve7gqznx0228ll4vcxqqsx0vj5t2ur7wsqgy9r6lmh06w66yd3m9qk7em8s9pzeq2pkcsldtv0vqt4k6342yy30p3yhace74wyrx6s47lxw7848wtgvgf6q65p3mj76yp23gnjuqxpn6lcfkh9ugfnwm9mewew46c3smycmp0d3ukqgg4wrrfx0q2957naq524e6jnfg3nhma2vrpd96q0zafj3n5cg2yj2p92de3uvgpqdtc4rdzcq7kk79aqwkwpv4z0kuvk7dmyf87q9frahm24czlvq4gqx7km8wx8y73fnhcdrja456mec3emvzm3x05pz67h7fy6yf85hc9uz67fysl0xavd7j8xuh330sdc70p0kfrdvpwkf605tjs3gef3up2205a88dmy030w47szu8e4kshceyastylf0jszctdrce20q7zkpx96ft70cgy0axlj9kx9mqf578jt4da7sljuwskfqrmntctj5ahqup6k6wa5auaznvh5cjvzes5vvfq6nzp6gd7fxwahn4h873vl9nczsg02flgtdfv9hlexyg936z633a7zk7897tfsukzmvd703av8kyqm7kj6dr4f682rn6ehsuug2ukj8k992um4jhsk3700fcvks9322y2vuvc8f686v8qtfnqq5sg3u3vr596pxry9whzvrre5uwa9zld8qcv6lncufrga5qckkx5e5l2ke4f0d59sgsm4gu5ez9hxky5rj5xq0zn0nx7j95zy722aj0mu77pvthh0sk0laceu5he5e2f79tmz04sqqvqqqqqqqqqqp3w86s64r5v53m8sy2ggk25nl3x0amnx8f7cgtq20nmslhz56z9gp8fc9u49a774x7vcg308zwgfqyq0au040tannkuv375rtv6u8y8847xzgqczqa29ez97v46jdy28n6s0k3juqllet0jrxygutt8cesyqqx2ajrpkthy97mlnn0nlqs9x9pwgrhx2nf5v5psqrke24jchzlnq3dd3tvg7yestywfktp8dvwwt3m5dqcp2mx9q5c0gu24527uuttl03x4twmuyynczk0w54r9m6shsqqqqrn27ks", transitions = [{ id = "au1djp5vurnwlrmzkp0e7j338r453h3a9kxp34x9acnan5hvt78k5psa08lfc", program = "test.aleo", function = "u16_casts", tpk = "7612200935950667542410695643593751759260512999478554044051967794779482441492group", tcm = "2532022596762302513357804736701302019394889038609020263247001359589065620385field", scm = "3070415774776780049079718647134541099142962012356392084078350059894643535202field", inputs = [{ type = "private", id = "454972658861538061733932831923363987633401398883034528125501372597691093870field", value = "ciphertext1qyqgsq2ewxxhye7quwxpm2kqjy4yxhz4u7axkv0ykx9fwgvt374lsrqzvzjkf" }], outputs = [ + { type = "private", id = "2779927503527096539101631858117641337141292496410442460767126657687308637871field", value = "ciphertext1qgqgsw4ueakjdnxe5kleemgfh73tn8v4ruwtn78c2r5kpu7zuqte2qagvxv64w5wjr6h5zek309yn06zshvdahke52eqp8q80q63uq9fqy4c74n9" }, + { type = "private", id = "4852952502345064203731257164941693729422063569681626313320953246603102748566field", value = "ciphertext1qyqymfk6c6zre2537yugqn9l4cxynppjqe26gjtrh0yz5zxh594gjzs70enq3" }, + { type = "private", id = "6723586516815856456387067306357455085364799163118966937279712962946428515095field", value = "ciphertext1qgqtcvr7dcfpdj96cfungtycgmmmwdg4l3wsmehcaf5yq8w4ssupxr4r8vjczrmjqxys2yedrcc0fz6yj02m8hztkfvfa7lm0lf97qfvzqq0ysn6" }, + { type = "private", id = "5402152978264194305889312187617843679725548396474685738245902130553427397179field", value = "ciphertext1qgqr37nppgf25x939d57c6z6mrjl870k0vvvrz62fusvn67zesppcrzu3hx5xlup4p5ffz0384sud5t0n3j2f6y5pr3v4x4eeqkjrv75psjgngds" }, + { type = "private", id = "6200362911051276772795524558563684713145435934955426614920757143145051664592field", value = "ciphertext1qyqrhuypvwplejxz0e7s8ume5kne9c4t4gn4zvkkarfeqtkx0v45zyqyjwkg0" }, + { type = "private", id = "3535311510178030178508530976740918930540174888948642010106181936223026911840field", value = "ciphertext1qyqrvt5xhsauex0tgf2t6ug2yukew6ffxzmplc7v80lzkr9wnjw05qc7see7q" }, + { type = "private", id = "7630601574272740047374725998508133649472639568066148399206849065287185733169field", value = "ciphertext1qyqtn8zmtpshkv45klthwau58j74yvg963hg0zak2y3vnd6nk5g9grcw3qvlh" }, + { type = "private", id = "1952265371748246862123729410879491067066172310462559056097073336857505824552field", value = "ciphertext1qyqwkkxg6uznezkhzs8ue5p4jdd3l9cw90dv0w5mh39sm7ddck50syq6j866d" }, + { type = "private", id = "2268200849717684574302976136963012450276178427617524569873221437626197457800field", value = "ciphertext1qyqpyv64979ykkx9hm5lxwsv0hmc93whd7uf45w3gmh8t4fcug05srch950lq" }, + { type = "private", id = "8311915129159141004949849823089050588583636819414079937772566981063981064644field", value = "ciphertext1qyqxu0cxtvqs8h9eq4f8tg4h76wx668k5pyxleva5wgppnr8r7mzxrcnckcq8" }, + { type = "private", id = "3638794729657478988667896507914678627964996745091278000058897333338972009836field", value = "ciphertext1qyqv8xywwrnj3llw7tfe706ux8fa3s6ta8kjny2ujl9w747958xnvpcqw3rc4" }, + { type = "private", id = "1068991395721323496537380755139583379476134140436009916086395243387331434186field", value = "ciphertext1qyqrzlzt2h7tda24s6026v0hars6zq5dpxj7ju5s36q0lg2sp6neczgewxf2m" }, + { type = "private", id = "2712620534459607871517270643804424311198623081070079120130821059199798866840field", value = "ciphertext1qyqp4z2p8qtcv6nledsntcdxjpgd60s22zw5vnwd3px7n5u3acp7qpsaf0kj8" }, + { type = "private", id = "5947908744143678119040403635878030818971878879763718194507593909220750846078field", value = "ciphertext1qyqdjt3uz7jqwa5pfzexvrjfqm06dcashjvcd65zqrr8l87t7ns0gqcaamdz0" }, + { type = "private", id = "6127329576662473091411564079480911934262561346518707737327537487411088478414field", value = "ciphertext1qgqrdnwpa87jy89zh9pt4mu75xqkhfu4qqn8jk5yuj0mqksncez5vqvazte39zcc830k2tt9aj02g3n63yqjpr0c85qrprzsft2c55fdzycuqwvh" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwh06q6hcmr978mu308vvy9ufkvk7m9wg8dp53r7w46szf8z5sf7frh44lml7nc7yujmerc4lzrgypq90pr265f2x5sgmyplx42823qy43zpxy2q85fhqnytrl2v2a4v72zc0gj74p9mfwqg3rw2m8dg09lqp3huhexru9ntsse4w9ful5ypjzeuv0d82gzgx2lklndse7jqymtje0ajagfq6hu9w88fu0uryz0jqntvasketv2yzg2u82shusclqd543wv4qdxj2lv5ydmgfvkmktj65a6v30ghjhuhgwuvxzyrqwk2uqqvmn282hzjqw7tt8pzykpxsmc8am5j5tskk90l3f7n9j0nspz48wwqqhdlk3qu4jz4snwaaqge6sqcy6guwq8dthwla3264fzfysgrxvjuamms54ggm66uavx8gz5fxcucu3k0a572wu0hdxl4e04jvusqmdnlmpdt7unxxwrulzcj730m3smdkleztzpl5srttx2anxl620ays2xvwpqwr7yck45r7yr5ruyqxrk3yrznjf3ahjyntca8ymhqwjl22hmh2a49ay9xjdqjq6jytx40e80mn3txqxvd9543mqu4jysuqu694qkea0wctq9wys44k3s8q0ldksqp4apmygqj0pcmw52qs7pdvrxht6wzahvd7xwwjmx436xgvp27ecypgktn7h4qu2tvhwwsdttlmlpj5swwr5r9qyqwgqfn666cq25a26g76xacmn4ldksy8lax6u8qam86vyuh8f5fkkg2wrnl7wqp4nm5cv89fu3nnm8hhpvxcqqn8zzevl9ajl9nczynvg9an4a5ppplkejxdzvkkzpygefdm0hrmzqm5dfrjl9r5djm8mfljes0v99u7sg4xpn5f76yqvr9g3e007zt5n526r99wd3aqfjat8767u3fcu44cx2znjz536l7d8k02kdrm7sl6xl5q6920jupe4dv6awfdnjn8cpy8yucvxzdude3sts2d5ezjtl7y8pljrmyavfp8zfn9rpvtqd4y8zp0445tggegl72trhnqt8aa2r37qsfcefe6wtet6x0ysu5fh98cxqge6pcsksv0enzu40htf9ej3jdysjg4ahych3shjwzw4kcsd745szphs4ythk05g862kvd4ccu2s3ma67ghqdqg7z2vmnlw9ddzhtwgdqvqqqqqqqqqqp3sw5p5md9revtwemtgv3ksqwmfv7j7cymkg09g4k9w8lt79j68p9sva2ra4saw46da0uc5veyrfsqqwlsamtenr5meyumsu2d9jx5flxqrxpwcyh7hph094cxl5eppvxyagr58mfzftngkpn3hgz40w2vspq8sfztl74auwnxwwlh686a8rn470jtyjx72z2p50ye4sl8vfzlsskunyqm407kerlmpz5hggknrstagvlqar2k8yw56eqr29gz3gfp04v67qlc3h0qtcspv70dx2jvd8qyqqgeh4x2", transitions = [{ id = "au1jqun9ptawuuvsyydg8ccekleg4jfdq8z7657y8f3v3ese443guzsqvxtmx", program = "test.aleo", function = "u32_casts", tpk = "7031645795696678664887360955791035421665224896731838275440834532599529098316group", tcm = "6638564412695363819051589428923640785785058478134534150340007380608208669511field", scm = "6807076226833024718707916350075540492967104942621411865849016594371250311031field", inputs = [{ type = "private", id = "5341880213327092775410772188875624390569945041812619627634831143227756936637field", value = "ciphertext1qyqpn4v33pqxmpk5hw6h9c8y636dlg8y5aawtructxyleq8k44ruqrgs5pfgn" }], outputs = [ + { type = "private", id = "6432954851916767934782038297033724306952200516562951945220536825572590181718field", value = "ciphertext1qgqtymxlmu4rp5lftur9zp74s67p8zx98exnv23rskrzmas04z6m6zc0rms2sg3pyexcvlvt6kmch2wafknyctva0j5kwfsqzkkamzndpv09ys5n" }, + { type = "private", id = "2235541357068151739409115899595231417693890731001089797448020614949062382904field", value = "ciphertext1qyqz4azyun7pzthmtvsapfy26450tya3vsct3k6kqmseyv44xcdgxqs9k8pkz" }, + { type = "private", id = "4277964647352693710062591397260706064283086683538125722549877599929133517466field", value = "ciphertext1qgqfxm80pa07r2ly9459q40gt0qw6tk8g0y0mcd9xa378qh8gzq3xrdhg5nscdrp0pfzlztj4zv0yfnkynu75tu0ntqgyj8p8qmmjzpfpgkv7y3z" }, + { type = "private", id = "5646515446173029106938694240351155068122156069727057407983145793422437184207field", value = "ciphertext1qgqzhlruqw5gdngvhrv50dcg4qzqhna9gvfyqkux2nul5fflfygjcy4qje5kn5c3xz3wtfjs2r3xec9ejjpwpuwwkepsddwc7j8esyywqyw5u75a" }, + { type = "private", id = "5273363551227253784918272870483321358476737732630932926217435444007930611744field", value = "ciphertext1qyqv29xkezsyxqkmeurd8wf7nrrdkq7vfekvlu3xqhqrthwnv28tgzc5u9g6j" }, + { type = "private", id = "5227797732669607270113467168348735329400423487410147477900189070785783980155field", value = "ciphertext1qyqv3utaxmuzy9vsdjs48g6zm6w0l20eg28emfvafh29pgheka8gqpqlkdcp2" }, + { type = "private", id = "7160288361503262937402689225643168808717404166035021042495175736038114941237field", value = "ciphertext1qyq889ek6jp65ck7kv64uey60qvxwmsv7gxmdz57jp7glm9uxcyxjysrxlekq" }, + { type = "private", id = "6098531282350111453327935810223459296953553718271825645592458877675968904968field", value = "ciphertext1qyq9pfcrjh3sztkl9mhxyxlmtc2n9zfn5aqahnklcmn2q2gdywuwgpscs6ev0" }, + { type = "private", id = "4815629509776526941092178331893144485334271893107184803977099972756323706885field", value = "ciphertext1qyqvd4mawth50q9gmn58e6k73ddx3ph2zqn87pupc09mqsyqzufnypce0wung" }, + { type = "private", id = "7943801659291832479549376910043277588880616580264125289731407048818916862147field", value = "ciphertext1qyqq5axlufcuu2963sspgcsv6y5yf265lesjpjguryxj276nmtugsyqce4078" }, + { type = "private", id = "5242525243269357304526032305413817649779944021491215121464665971146242739407field", value = "ciphertext1qyqfj8kzfgsxwjy34h044ue0vh0apusghf8e0d5fzhycje5srgysjqg0as0df" }, + { type = "private", id = "6249747318536458263453021653569723861046019103555082468017397868914210243743field", value = "ciphertext1qyqdc84kul9vf36a4wg935pzusku0d99lh43v8ef4l6q663kthyvqrsswh7zt" }, + { type = "private", id = "1402738690524401748606994258397786819752535350876072695536684228280740833107field", value = "ciphertext1qyqy2nkrd3regczl9mps5278cn00p4hgwa4kcgstfasfxl5xdms6szguv5z9l" }, + { type = "private", id = "1444654876791034993476897565760766164482627914547384466066790880166385569594field", value = "ciphertext1qyqp2xhjgfm9jasuqqcnvgs2k9pa3qz986c83n29mhdd2qq93calurqfv5sa0" }, + { type = "private", id = "5154541117973251193774377482449595038045152024159294528512964402282181655949field", value = "ciphertext1qgqpd3akjwe8vyntazln5x9lf5f5srqsx58rwkx2hqltd9w8mkqvkznelup6gtyzyg8cpvejgeclfmse8wzphyt2dtwfjppe95j2c595p5jctzmt" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqqj7sz0d3enza9st78wm5d49gak4556qm8myyj20zmjnc3q36k3xec2aeck550yd3dzermzc933zcqq8x5e2hy3295rlzg5dgwlgs9k32jpjh8g4d4zm8q2nlnp4plekpdtuvgwapy7kezy4vvzeyzhzmy7q2gaqespmsg0m67nwth0m5ct69m3pra22qtu6xwjkkxlt9mg80ghhaslzkehvw8y49qw8ncm0h63qq0x7ew6l5rqxpgu3ljt3h2a4flydu6882s2n5jrvzh496xff9p8grsjz4nurhrh82fm4vcl55ekgqp5v5w0l265r5f76h3vqrsn6x4qgy6hzuf0t2ngkhurxnay8leau4ql4z2qacz6vxkhg4jh4pxhrhqqcew4cpc3w9s2d5s87f3uqks7w0pru5rg8wswh3ep9ezwqeznsy7x4rme95xx763ld7z7wvga7clsq77wh96v7404rm7yetn94ne58f8yjp2xeshumd6ajq7e3q3rax3mg7fqyexjcjl93rpp4qq5kefqqxncgz24hmh7wy5junmdx8qknrssdn53s28xmacejcc98g483cknl4jw33adhztyt0ueuzlltk2jxqzuzcr840kmehkpp4nqwpyyjvugcexcxa2r6tkgf9t4707zzgnfxcx46at4ktnw2zpjza37xv9vecp3e66ttnzluar2mv7phq497vgpkv5mx6swlre4jf6p5dpr6gnk5ze4p0wqz5dfda66sajf6na3fqpx0xlgzsp4m5xsrc4s8exlmav7zprzf85v728wcfd2kafkm6yjw5dqmgzvanlmtvwmmafucn7kegqpdrhq43qufmznzhch6mup62a49gjxjzfadetantv6894f0lmqgasg0r5rjqvs2fj28demtuu2vang7n9vp2csykc2a0nlgngwprjv4sf0m4hyhmhfjrdaw9syls6r9vgr2xnt6tx2d2wrnr0geknj5pl45pruxx5dwd87ravxp8rpv7zur9ynen0cr2ec88ma3d3rp7enu2gzydlj4vmknyg2hwzugjae9w5p6ne4g6xrupmyl9cs9dr3grquxflqv8c0w4a4lmfym8hqvsvfx908xm36t9fy5ehmalumkf539awp0hqrlrnzq4sdlmvr4velvvg32u2jte0zyzqztqnv6gvqymzytldvdq8qvqqqqqqqqqqpfxmm0g7d4lgxjn0dqdgcp3zz99nsjasttce4cyr6m33de4f86sz0x0v0l5q6zujuhy4v5yvdpd6sqqwzp88442v4ahg72z30h0u2lvmzg9zzk4ktr2jsjxefrvemv73f9356vfa3cw0t5zj68laef43zy5pqylpvf50u2xvuvvm2qmfnttsxg4qqp4jya02nanruxm35c7xvcmqmn09xuvx4nqse3npkgwdyzn6cvahhm2x9javxg6w45ucp6t6t3me5zykka7ydm9zz2pa99y444atqyqq9p7we5", transitions = [{ id = "au1r39prdqj85znuu9davzeryd78wayaas4l35zwfjupnq0ul945g8suqscqu", program = "test.aleo", function = "u64_casts", tpk = "5841256488612555327082710891297972193588875040551104345119820589286956701183group", tcm = "4960527721278587806360375204001997620068678225063865758232689572936437892276field", scm = "7374530139159496131979906726351561737283228971106635229157847908478653191302field", inputs = [{ type = "private", id = "382963509525760086083864789738008719814243483000375168801246697652668618529field", value = "ciphertext1qyqp5hzlvq77y2vw2ka0fytzp9h2crg4xrtq2272lq8qzxqj2msfcysvxchhx" }], outputs = [ + { type = "private", id = "4034779271901269457390858615495137974772309714942818835343713887014430017830field", value = "ciphertext1qgqr9gfjwphvrhsfkd2u0gj3nzky5wke0ejfxjtv8y9j0z4gw67lwzpan0j80dm0hrnl5stxmwtqpe5pdntuamu06zc2hum8n6j47u84q5eadcxe" }, + { type = "private", id = "2522089509056696339386315808805561468873947213412639224503032561297815304836field", value = "ciphertext1qyqvejhky8gk4tqukdsj2hj8yywtd3lhhd8ff8emmhl39hgs72vwsqq452s3n" }, + { type = "private", id = "422598683569146889042302529948879023417233601831914107332979818947857628944field", value = "ciphertext1qgq0e4xx3uajrm0uvsk33z7f2km7keknfnn66m5ujng6ak9t3wqsxp3jfltxqjtvrwqc2lmqjht889t6h6tu55ftrkkvnrwalsdp9ht4py3032vm" }, + { type = "private", id = "5956369576197355644300768561555271308546006807710081164060395131481863341546field", value = "ciphertext1qgqxtzfk9ghyy6um9dx299ph5079h5pspxq4xfnrfqa9gwdy9h25wzjq370csxmgr2rapk862q03gk2jjxmuzxnd9u392j7dmwuflppkpvsnf7vv" }, + { type = "private", id = "5892535247988840296553216720110959426896103153394966957777065556380194903650field", value = "ciphertext1qyqg25gxggaq3jw2lywxkfp252tcfqc0srutn0j9m0wnm6jzv338urgeru029" }, + { type = "private", id = "3813470515987412484901068879158662650634379771827196404069130181465955189988field", value = "ciphertext1qyqqlu4ggm72c85vlpc6yng4kgprezeharsdh2kp9hnn62e3ktyxyqqmhpyza" }, + { type = "private", id = "2177908072780266940882405413820433368004098326249169227380589817581950978229field", value = "ciphertext1qyq97kq24vjt5vksdp8ta5p9xf0ldxkq7vse5zaed0djha5kmxctgpcr8rmcw" }, + { type = "private", id = "3260141877520044601637666981004738056665425332217170916524663378449498665328field", value = "ciphertext1qyqvn4g66ptng8sgk9sscvkz54na4a9363xxz6ke4afwf8twx2awvqgxth087" }, + { type = "private", id = "6142814243742194077521086306767808226697841750544433933724007174625881274068field", value = "ciphertext1qyqyc2hugy5z2jtrzz8y2yqzzcja0rul0ytp5p33zz3safp3lkes6rsrm5lhr" }, + { type = "private", id = "3444610823660792248164707835306538208937134390212019620479574283959223030069field", value = "ciphertext1qyqd88h5yyzc4xn8put9w46d66j3s9pc09vppzr60v298py4wm22yqsyzjhnd" }, + { type = "private", id = "2893119172007205321137814200338362331793356690420552557532445030566847806947field", value = "ciphertext1qyqpr5qur0d8wk3gdkd3u030yv9ap208euae7dyrxr50etl0fswycps8c7hkn" }, + { type = "private", id = "412513903164208176036211344100406655989732813690120145475549574763770953896field", value = "ciphertext1qyq2q0y0efffl4k4jgverexdesh83p2cjtcga2jjpqlshusj457cgyq8c0h47" }, + { type = "private", id = "2080501672768473754540814464835896115056314208162787104300541909559136714137field", value = "ciphertext1qyqrh3kqnzn2n3j2jh3dj8dxvlkefx3jw7v0nmhxztc0rfcarlwqkygazcuwc" }, + { type = "private", id = "4704990349418206099867849827113835516270130944334140449112881462713952997060field", value = "ciphertext1qyqqae0pw5xu4y34lgzg6t3l44cy76dg02ema4xarl3z8ze4524ucrg5dn6sa" }, + { type = "private", id = "1670443334002183115591730071892400319582747721688600487590729480533754054502field", value = "ciphertext1qgqy6v7dk4ecdqvqhlaqgcdq2tdlq5fpddgn9y3turcj23ru8p2cuzlr9gjru3rmhs6ewalg9dgrs33g43jjq74t6n0chywu5qt072g8zygyy4af" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqrp8tgles78a0f34np2m3achhrz2m7dptvyzwkvcjuxvgdrmqdulhp7qwx26n48ecv7plh2xmhy7sqqxjnr8p5awpjuzwla4vjumvkj683ae59s5u05d3ckw7am80vhvq0wfuwq5zq258snlcsa3dwqgt2tqvhr4y3jy9f3tlukle5e999smmrfvysqaq9lwx2eewsjqk8as24nhjr5xx4e2r7tp2cdl32pvj2cqq82anus9p3lcmw3szyd4f2ulxwvdeavlqk653my6wrhw3kds48txa0fjc0ea88rtcmsrh5cp9tx3vpwpmz7cehhdddrkg879apa94jr9ufdc0qw4r7nzqqlwnxmzkw00heej2szye77axc9ql6yu6m93xsr37czmmjgyvq9rqk26d5f2nvrc7n90p7ze4n7he6e5gw9yfen49ghj0zs2zxgvwzr59zx3v6v49gqqeyxdwmtycnr4fndlang7hnjaytqmv398y74nd6n9c35x835wgn5xd467mgyyzej3vfnluskys96q0amugtkxr0jnw0l5kxa0fn6n8wn4047hmy6tr3zp8pjd2z2kye90xcrncf3vkmnx2slck8u89xl6qw3ajzy6n5ctjn09sr32llzsvn4cyc5um2carg6rf83w0wd07hm7nq86qdds34h2r3vd9hk8r282yqdd2uqa9pu0qkzzr7lw7memyn8ts8s0a70nedlyvrymwae25zjyrscr59jpu5qgzgw0j9ewhmh5s2nmychy0g4dme6eyu4640645gxzlxkwr48efl0j83wdfammurafujjke9gd93s4k4hwea4nnek8y6p6nqaw6qqzqcj54m7njq4zaxsc9jffza9wn82quz70yxmm6ne26s060zzzuqktthfe72lqj78em8r98fmke0ydtwdqcmnlqjhps26msgwy2nr83dme4y9nv3w58fahxamatqsamqnl7k3u4tr42lzuuqvyphng9lm9e368whujmdq05sd66emvuusl4vxgyzku837m30hfkl6pxp3r9lyxh77wpkrrvphxnrnk3vhvrepts2h35vpmvprhf68t4apkzzclsghaypm4exncjhyjl8eczxamsurl6fgaptr7wcec8jdvrqejga6urg6jvcynwch3lslnxljcf9gxz6duy3d7m4juut9lay69ggqvqqqqqqqqqqqy4x0k6qfuguhj322uj0gmwvxruzhsy4euszf3crcrpad2rk52hzwy9arer08eaurrw0hs78jzf7qqqg06xljpwcvr43hd6qe82nquq8gv364cy7qghmmptcw660pnxnwsxjllucjl2jm3wct722klf70x5qqyejpwv3crcuedthzexe36g9escemycglr9wnj3dmrhh006y4jrs0edpsgayfwwacmf9xqrrjl2xc69x845pkqpv8zjl4p5rawqy30tgh09dl6895qrx2r9dym6vqd3qqqqqaq3ef0", transitions = [{ id = "au16mc65weeatdkwsuqaysj8wp9xvjkcrp7yjqnmvuymcvf375yzgrsfvp94u", program = "test.aleo", function = "u128_casts", tpk = "2643138657837375312299702324173211615493723194095026551721986600394014900539group", tcm = "2927329604626649329173022278354960460759763764809108654995952828140958408476field", scm = "4090946982896384018736336389290246009590436732246468304296151367624587199180field", inputs = [{ type = "private", id = "7420937751368987088493805566759361862861956887147715734688656136709633601814field", value = "ciphertext1qyqz700khnlhyw3d902luzh42wpke5fw6zaqmqw4thywdjc58uzwgzcnc9fhr" }], outputs = [ + { type = "private", id = "289779818711888030698653843227082016813170474429293546430033711487087900647field", value = "ciphertext1qgqp3f3tcfrlmqyvgzsnjahfas3vl6nq2y0gacm79ppdke88pq7dkz73nuxwdknp6qn7es0w4ftzc6nw2pk3x633fkclkhmda43lxjc7q5e0f825" }, + { type = "private", id = "2511167185212305263884852732736724849425682302478465415810805912602192759108field", value = "ciphertext1qyq95wvvy5v5lvgdrpwypn23uvhshe0rpc966ag5mls569pha2yr6zgsfqnpe" }, + { type = "private", id = "6262677208312868364236476908100929951301903687299373882515773283213466985575field", value = "ciphertext1qgqdf0w65qmt3zs2pcr0r92efnvt9sm2k7lvz5hh4kxkwmwqclps7pdw05zp4a4lgzyc097xwdpakeawtzutxghcn2tfapvptyh5r6g4py2gzmuk" }, + { type = "private", id = "7195245280257721305408123038240592794117629846726612403461801422699516185910field", value = "ciphertext1qgq9r2k74ktt7lqj9z0797h9yua0pwlx8vxk736y2879uc4uespdypc0zeygcagm4tctmjc69z8f3lmcrnv6pmhzfaacj48ecuezqrwfzy7qh4lt" }, + { type = "private", id = "7677757218201444433551354247412720067054664249641253382707173433370919352106field", value = "ciphertext1qyq2n6eakujq2wzmpl6vkkjtachjej6yre5u6ak83cwgc5c4rmz4gyqszh7n5" }, + { type = "private", id = "1557440867722201575658111174477636180589068719027401027104155570496112789617field", value = "ciphertext1qyqxpmujfqk94tpj8knwvmesxn2tf7jytpd8wweau49l73vr944agzq4s4wpc" }, + { type = "private", id = "1589645872875274532475399260722758784798262372557567771404270876057365958620field", value = "ciphertext1qyqx507hd9d5ehxy9t692lxac8nnhcxxsvv32gkj9ytwrnqua4gfzqc5p2p7p" }, + { type = "private", id = "7924637801023995387054886594903465205685250207040884129777568556349365012716field", value = "ciphertext1qyqqn6gzwpymlm3ytu97vf5tea2wx72e66kr4spx6r02luz2jqyhgqsanm6sv" }, + { type = "private", id = "6556432653574619702089782855604753568252909128084861339201699207602509068789field", value = "ciphertext1qyqw3a59pu4k4ujxzkp7fncq5ashr2d5wh0xhwl3qfn5gvq7mncsvpq79vx9e" }, + { type = "private", id = "5375729622042488746285982243461971719171578032293110891841241136846790143207field", value = "ciphertext1qyq8hw8vcjdpnmnrr26g9lha25sf2vnd5hddlxajgtl5wrr6taxyuzq2fc88x" }, + { type = "private", id = "2274723391041187642148175739445068506088925585774978103406293579388750054603field", value = "ciphertext1qyqd8t33yj8qz85z3980yz2azjgk7j3rw87s02dg798dqh3754ld7rsg4r7gx" }, + { type = "private", id = "6170149536954249430827387466567924937360241332562704936659141555169263814049field", value = "ciphertext1qyq9rkfqzm5njk7cvgc3vkqstsxsx2stl5602f0e7lywrsfhrspgwyquq2542" }, + { type = "private", id = "6335099796425419664380644594305772943744245654822441282024403590573610425564field", value = "ciphertext1qyqg7s9my6rf86etk2az9ewt5vq25jm9ppp7he4r3y9vv73af6mx5rg9w2qk8" }, + { type = "private", id = "1923851695350082112347287311383192367293285433030883059997864457444398752270field", value = "ciphertext1qyqwde5v2h4qmwgd57g5tk9jd5rfzk7y35d0g36azhuwhk3u8muh5rqza9ctv" }, + { type = "private", id = "7633833029937156726094967407841675698590708116909321378441613447960057297131field", value = "ciphertext1qgqffh5q09dgjm395xgv0w2xld999fdzrkmethch0su52w7v5e085p8qsg4w85zqp3cd4zxa4ksy6l3qjn07y6arwr7kyjpv3reccwjuqgkpv3q5" }, +] }] } }, + { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqywfgumylz53cj65x9zp4v9ttr6nq2gr4yrm9yxkha8nsn29r08nlzknuesvfn229z9tekrp3aasgqqytu2veny50e0eu9nld94y69xjjy67m0h8vgyn2v5c2ptya0lvg9gtjexy09nkl98pk2u56ue7xffq8jj5hujs5uxjlx3h34478c6ky62yv3djlgjprq9lxuuyqqcedx28ljhfcc5c0mf5ls22jhj8nadwqfkwqpjgu5mllcydfcf6ensfythy5xqxqnpmr8pass8h3huzhgl3rsxckxag5lwffg4al7c4u53vcqjp20e3slt6mn3xfpkrxaaaxt043awr2xrmnp23ategjxkvdwshw4y0fpvznqvy2874a6dvkmzpccpx8ntkckvhc6v0hpl5tagmerkp8l55ulpq437cl7n4mwpdhry5nmc26uqm0cg3ksxvksegmagm3ys9e2hg4ew4zly2wukh4zsjqgegjdvytz58c4kxkfh96e5p20rng9emapsyuuxpsmvswdt8g65nus5q96362tyugxhgt7kw97tzkmpvfcucpua537tlnzxy0rpdr4dncfvyay5vcsvp6qkva86hyhhyfq6qqq4at5lcamx69eaxm5v3j8mqp0qmvdn0wq5tyrjhu4yzzmllc297mcgmr6fa6y38xz992h73vjkmqp78ckvuz9wkjqpk82wqtdrcyfys0c7ryy8e0safq4m2cee8900g999zuhnl7v2fweenx5vmxf6ndh7lrky25l55m0r260h2n7yjfyky5jzg9dzz72x8ftj6u52y2wrccp2fu9f884fytvq8duves8uggypjltd08ceq74ndfu5rlt7pheykavvs6sd920u23ap8a2047xfd2s8fg5lmh8dp02tkm9ka6c79ye047kmxydzzmc498layrw5gzjjtq049s7yp905jeg3gv0ta9dz32mnayal835vrdvxv7x0twdcxf4avg07qtnekjazhej4f9kt5a75lwejnepxr6jnq4kgt3eu22ymvd6cphjhyq3zx24ecf6tqjrrzll7hqhxmrt3028swufw4rse27g942pp7x47hzg2wu0l27g6e7n6d6pwpwtuhe9cycp4gu9xjx4y4w7tqzszjwf5l8lln7kur2avpsju5tdne5gjkfg3tyemena4yjgktexuvqyqvqqqqqqqqqqppjgfqw495symrkv3qclxxraftzs97yyh6rjwam885rznch2yykwutut4xkmlg7664dh4v87xvudqqqxljd0ujgl9mgmd2r6tj3magqeftv3aagfralwt3uhgyx29f90lg3d6ftkpy64luns4wlutlznm4cqq83uz3j2jmupr3tk3c4cy6tn9jzqsjtk9hm0dkxd3wvu9eclt44saneqrmn58hnarmkgvd322ktx2xh55c9eugt5nrnxazgd7dtvgd0m0g6nnm5g994vps2swhyaur30sqqq9cvxnc", transitions = [{ id = "au1hp3thp64u920w9j0urr0a94xnmnj6a7zeux3ht8jj90g9dd9pq9slv9c48", program = "test.aleo", function = "scalar_cast", tpk = "7606758994613328146663843488338137362576344482026781014300614710921474877831group", tcm = "6633377565267251888541994228693892051755756524881593936628828895637749149871field", scm = "5838656049541417049480027475687302888887873882918370294289233667427609104673field", inputs = [{ type = "private", id = "3648657768712497591257819273061772006062629597726079188533339371952053789287field", value = "ciphertext1qgqxf389tm6x3a4qzwng9x0q5zhztvuq3sk0pqp99vkq4xc80xnw7yg7suz6szvu95xqashrjtkykynrhwc35w8p22s0xlcv0pyx9976qgjc7a2v" }], outputs = [ + { type = "private", id = "3819742772301217437194005083200102796625777424121491883872996713563023302832field", value = "ciphertext1qgqxze4juy7uerkd3fnuqe357q7p9suz4rs09eq5xpk8sqn0xyusjqzg8j34s63t857uy7dnynan0jp86kl97rc6dcsasc3papsupkwgqgveu9y2" }, + { type = "private", id = "6886664329045759310816172722080195298475484728931133903786336346750722492148field", value = "ciphertext1qyq03e7mujz996pufhc8mhrqfm2007hrpctz4w9wx7h66p7nrc7l6zs4t0elc" }, + { type = "private", id = "1139468113048739647926227222535008493413747657065381255508551059587900370091field", value = "ciphertext1qgqyvxcrh40suw68xtgwavxx8u2qf0k6ss7ztdhjf76v5c52549wuqvmwmcaqae5urlp9cf7pmzp46jupqppm72w2yxud8dmspjzp9x3p5n7xx0t" }, + { type = "private", id = "3509693323681884307989757599037949472125485447692289273580525926984739717158field", value = "ciphertext1qgqtf6zjlhnkct2292nfe3hrfxg80pk0376mrs0la6d2waj58pyr7pr8k7jffmanuyz9yzga9x3z9t4fxtvsr336m0ta8muh5dccsypeqgjrk393" }, + { type = "private", id = "3437077999424725548773563860227208007043475014088521899481918137521920351801field", value = "ciphertext1qyqf9jfzf2clpy0d2wyfd3u4tp6dtkjv9u4flu9pwvlkplpexav7syg0vkrtt" }, + { type = "private", id = "1349139718747340037264338256859090769383539286549553160136661186417933505410field", value = "ciphertext1qyqd52l8d03yz43y808urgmen33x3v8vg33n6qdjqzleturag7u4vzcf507zw" }, + { type = "private", id = "6728385044319665265067814798190525148317947280919440122231975423306783149811field", value = "ciphertext1qyqghjcffh764dj7hhdak74knsakuvry84eswzqzdlvt693caxz3zqgrxqtgt" }, + { type = "private", id = "8354365572111288901825215417118215098751154605419638819915520410516315393666field", value = "ciphertext1qyqyd8pguqch3ln232aw4qn84mg7wqa7py3qxz4qcf65dt6pxxee5zq23e9s3" }, + { type = "private", id = "6312175192598710984363644089222676912310187682504092983031459706523017055371field", value = "ciphertext1qyq0lpr9sp74kyqxlfyasua0rfnrvghkwyp68qxasncmfkd72992wygnaderd" }, + { type = "private", id = "6032578344061547868475599629396883497263179878482264268336251967314805480119field", value = "ciphertext1qyqgzt498wkkwphk5ags7ydwdjun5l640efs0emu8vqxna7tvc5pcyges8wgf" }, + { type = "private", id = "5228202429425579981014430746453582970263509328276228161085096054266455416227field", value = "ciphertext1qyq8dukyw95rnltc68dh95yx5jc2tgq8x83p6vug6zf4ad6nh00ujrsce6xvc" }, + { type = "private", id = "6337466632829335007608860894523280327034663895916620245693099805257750149684field", value = "ciphertext1qyqq724s56dgufdlu032dre0lguez6mccgxm6784u0t0vg9yzns75pg4rr5nj" }, + { type = "private", id = "5041840878505997323558077016124662639098763116625826998921070987807711513505field", value = "ciphertext1qyqgdfq6mu99kjr9hgrtz82zx262nll5r0z3eeqwqdc0337anacq5qc9n8wde" }, + { type = "private", id = "8362199922345889186505325098568283846757964127298602771383510565131934717445field", value = "ciphertext1qyq047z0u6j0885e4r8yzzydlxxyem6ac94wdvdf5anqrg49l3307zcggqjvn" }, + { type = "private", id = "7659620848175078694579869114170870496872809742776174409243635581600262525456field", value = "ciphertext1qgqtw2gxzz4e5cq39th8wqr6q0fetkwn65alluazrnslwglpgu6v5zyzd5pu3hsr088zwr6nfl0p0ttx8mh0dcqksdx45rgq4mvgsa4uqsrgjvjq" }, +] }] } }, +] }]] diff --git a/tests/expectations/parser/expression/access/associated_function.out b/tests/expectations/parser/expression/access/associated_function.out index df6cf4b607..585c2946e9 100644 --- a/tests/expectations/parser/expression/access/associated_function.out +++ b/tests/expectations/parser/expression/access/associated_function.out @@ -1,24 +1,30 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Access: - AssociatedFunction: - variant: "{\"id\":\"0\",\"name\":\"group\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - name: "{\"id\":\"1\",\"name\":\"to_x_coordinate\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":22}\"}" - arguments: - - Identifier: "{\"id\":\"2\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}" - span: - lo: 0 - hi: 25 - id: 3 - - Access: - AssociatedFunction: - variant: "{\"id\":\"0\",\"name\":\"group\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - name: "{\"id\":\"1\",\"name\":\"to_y_coordinate\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":22}\"}" - arguments: - - Identifier: "{\"id\":\"2\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}" - span: - lo: 0 - hi: 25 - id: 3 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Access.AssociatedFunction] +variant = '{"id":"0","name":"group","span":"{\"lo\":0,\"hi\":5}"}' +name = '{"id":"1","name":"to_x_coordinate","span":"{\"lo\":7,\"hi\":22}"}' +id = 3 + +[[outputs.Access.AssociatedFunction.arguments]] +Identifier = '{"id":"2","name":"a","span":"{\"lo\":23,\"hi\":24}"}' + +[outputs.Access.AssociatedFunction.span] +lo = 0 +hi = 25 + +[[outputs]] + +[outputs.Access.AssociatedFunction] +variant = '{"id":"0","name":"group","span":"{\"lo\":0,\"hi\":5}"}' +name = '{"id":"1","name":"to_y_coordinate","span":"{\"lo\":7,\"hi\":22}"}' +id = 3 + +[[outputs.Access.AssociatedFunction.arguments]] +Identifier = '{"id":"2","name":"a","span":"{\"lo\":23,\"hi\":24}"}' + +[outputs.Access.AssociatedFunction.span] +lo = 0 +hi = 25 diff --git a/tests/expectations/parser/expression/access/call.out b/tests/expectations/parser/expression/access/call.out index 41378bcb3a..0419d9dc6e 100644 --- a/tests/expectations/parser/expression/access/call.out +++ b/tests/expectations/parser/expression/access/call.out @@ -1,55 +1,82 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - arguments: [] - program: ~ - span: - lo: 0 - hi: 3 - id: 1 - - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"X\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - arguments: [] - program: ~ - span: - lo: 0 - hi: 3 - id: 1 - - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - program: ~ - span: - lo: 0 - hi: 4 - id: 2 - - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - - Identifier: "{\"id\":\"2\",\"name\":\"z\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - program: ~ - span: - lo: 0 - hi: 7 - id: 3 - - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - - Identifier: "{\"id\":\"3\",\"name\":\"z\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - program: ~ - span: - lo: 0 - hi: 10 - id: 4 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Call] +arguments = [] +id = 1 + +[outputs.Call.function] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Call.span] +lo = 0 +hi = 3 + +[[outputs]] + +[outputs.Call] +arguments = [] +id = 1 + +[outputs.Call.function] +Identifier = '{"id":"0","name":"X","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Call.span] +lo = 0 +hi = 3 + +[[outputs]] + +[outputs.Call] +id = 2 + +[[outputs.Call.arguments]] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Call.function] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Call.span] +lo = 0 +hi = 4 + +[[outputs]] + +[outputs.Call] +id = 3 + +[[outputs.Call.arguments]] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":2,\"hi\":3}"}' + +[[outputs.Call.arguments]] +Identifier = '{"id":"2","name":"z","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Call.function] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Call.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Call] +id = 4 + +[[outputs.Call.arguments]] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[[outputs.Call.arguments]] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":5,\"hi\":6}"}' + +[[outputs.Call.arguments]] +Identifier = '{"id":"3","name":"z","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Call.function] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Call.span] +lo = 0 +hi = 10 diff --git a/tests/expectations/parser/expression/access/method_function.out b/tests/expectations/parser/expression/access/method_function.out index d9d4c87a09..46a3037148 100644 --- a/tests/expectations/parser/expression/access/method_function.out +++ b/tests/expectations/parser/expression/access/method_function.out @@ -1,20 +1,28 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: ToXCoordinate - span: - lo: 0 - hi: 19 - id: 2 - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: ToYCoordinate - span: - lo: 0 - hi: 19 - id: 2 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "ToXCoordinate" +id = 2 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"a","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "ToYCoordinate" +id = 2 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"b","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.span] +lo = 0 +hi = 19 diff --git a/tests/expectations/parser/expression/array_init_fail.out b/tests/expectations/parser/expression/array_init_fail.out index 505433360a..924bfa8d6c 100644 --- a/tests/expectations/parser/expression/array_init_fail.out +++ b/tests/expectations/parser/expression/array_init_fail.out @@ -1,8 +1,28 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:2\n |\n 1 | [...0u8; 1]\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:2\n |\n 1 | [...0; 1]\n | ^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 0.\n --> test:1:2\n |\n 1 | [0; ()]\n | ^" - - "Error [EPAR0370017]: Could not parse the implicit value: 0.\n --> test:1:2\n |\n 1 | [0; (1)]\n | ^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '..' + --> test:1:2 + | + 1 | [...0u8; 1] + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '..' + --> test:1:2 + | + 1 | [...0; 1] + | ^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 0. + --> test:1:2 + | + 1 | [0; ()] + | ^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 0. + --> test:1:2 + | + 1 | [0; (1)] + | ^""", +] diff --git a/tests/expectations/parser/expression/array_inline_fail.out b/tests/expectations/parser/expression/array_inline_fail.out index 046975162d..1b341a4c3f 100644 --- a/tests/expectations/parser/expression/array_inline_fail.out +++ b/tests/expectations/parser/expression/array_inline_fail.out @@ -1,9 +1,34 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,,]\n | ^" - - "Error [EPAR0370017]: Could not parse the implicit value: 0.\n --> test:1:2\n |\n 1 | [0,,]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,0]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | [,0,]\n | ^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:2 + | + 1 | [,] + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:2 + | + 1 | [,,] + | ^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 0. + --> test:1:2 + | + 1 | [0,,] + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:2 + | + 1 | [,0] + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:2 + | + 1 | [,0,] + | ^""", +] diff --git a/tests/expectations/parser/expression/binary/add.out b/tests/expectations/parser/expression/binary/add.out index df174839a4..c05a199227 100644 --- a/tests/expectations/parser/expression/binary/add.out +++ b/tests/expectations/parser/expression/binary/add.out @@ -1,546 +1,652 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: Add - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: Add - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Mul - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 4 - op: Mul - span: - lo: 12 - hi: 21 - id: 5 - op: Add - span: - lo: 0 - hi: 21 - id: 6 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: Sub - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Mul - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 4 - op: Mul - span: - lo: 12 - hi: 21 - id: 5 - op: Add - span: - lo: 0 - hi: 21 - id: 6 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 24 - hi: 27 - - 7 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 30 - hi: 33 - - 8 - op: Mul - span: - lo: 24 - hi: 33 - id: 9 - op: Sub - span: - lo: 0 - hi: 33 - id: 10 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Add - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Add - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Add - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Add - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Add - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Add - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Add - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Add - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Add - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Add - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Add - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Add - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Add - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Add - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Add - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Add - span: - lo: 12 - hi: 20 - id: 7 - op: Add - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: Add - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: Add - span: - lo: 37 - hi: 45 - id: 17 - op: Add - span: - lo: 26 - hi: 45 - id: 18 - op: Add - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 4 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 6 + +[outputs.Binary.left.Binary] +op = "Mul" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Mul" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 12 +hi = 21 + +[outputs.Binary.span] +lo = 0 +hi = 21 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 4 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 10 + +[outputs.Binary.left.Binary] +op = "Add" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Mul" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Mul" +id = 5 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 4, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Mul" +id = 9 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 24, hi = 27 } }, + 7, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 30, hi = 33 } }, + 8, +] + +[outputs.Binary.right.Binary.span] +lo = 24 +hi = 33 + +[outputs.Binary.span] +lo = 0 +hi = 33 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Add" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 9 + +[outputs.Binary.left.Binary] +op = "Add" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Add" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Add" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Add" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Add" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Add" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Add" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Add" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Add" +id = 19 + +[outputs.Binary.left.Binary] +op = "Add" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Add" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Add" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Add" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Add" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "Add" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/add_wrapped.out b/tests/expectations/parser/expression/binary/add_wrapped.out index b66a4a0140..6cb71a717d 100644 --- a/tests/expectations/parser/expression/binary/add_wrapped.out +++ b/tests/expectations/parser/expression/binary/add_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: AddWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - op: Not - span: - lo: 0 - hi: 18 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: AddWrapped - span: - lo: 0 - hi: 16 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: AddWrapped - span: - lo: 0 - hi: 31 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - op: AddWrapped - span: - lo: 0 - hi: 46 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: AddWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Negate - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: AddWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: AddWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: AddWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: AddWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: AddWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: AddWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: AddWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: AddWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: AddWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: AddWrapped - span: - lo: 1 - hi: 17 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":35}\"}" - op: AddWrapped - span: - lo: 20 - hi: 36 - id: 7 - op: Add - span: - lo: 1 - hi: 36 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":64,\\\"hi\\\":65}\"}" - op: AddWrapped - span: - lo: 50 - hi: 66 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":69,\\\"hi\\\":70}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":83,\\\"hi\\\":84}\"}" - op: AddWrapped - span: - lo: 69 - hi: 85 - id: 17 - op: Add - span: - lo: 50 - hi: 85 - id: 18 - op: AddWrapped - span: - lo: 1 - hi: 86 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "AddWrapped" +id = 9 + +[outputs.Binary.left.Binary] +op = "AddWrapped" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 16 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 31 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":44,\"hi\":45}"}' + +[outputs.Binary.span] +lo = 0 +hi = 46 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "AddWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "AddWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "AddWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "AddWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Binary] +op = "AddWrapped" +id = 19 + +[outputs.Binary.left.Binary] +op = "Add" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "AddWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 17 + +[outputs.Binary.left.Binary.right.Binary] +op = "AddWrapped" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":34,\"hi\":35}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 20 +hi = 36 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 36 + +[outputs.Binary.right.Binary] +op = "Add" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "AddWrapped" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":50,\"hi\":51}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":64,\"hi\":65}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 50 +hi = 66 + +[outputs.Binary.right.Binary.right.Binary] +op = "AddWrapped" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":69,\"hi\":70}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":83,\"hi\":84}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 69 +hi = 85 + +[outputs.Binary.right.Binary.span] +lo = 50 +hi = 85 + +[outputs.Binary.span] +lo = 1 +hi = 86 diff --git a/tests/expectations/parser/expression/binary/and.out b/tests/expectations/parser/expression/binary/and.out index 485bb40be5..84ffdbf41e 100644 --- a/tests/expectations/parser/expression/binary/and.out +++ b/tests/expectations/parser/expression/binary/and.out @@ -1,355 +1,455 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Boolean: - - true - - span: - lo: 0 - hi: 4 - - 0 - right: - Literal: - Boolean: - - false - - span: - lo: 8 - hi: 13 - - 1 - op: And - span: - lo: 0 - hi: 13 - id: 2 - - Binary: - left: - Literal: - Boolean: - - false - - span: - lo: 0 - hi: 5 - - 0 - right: - Literal: - Boolean: - - true - - span: - lo: 7 - hi: 11 - - 1 - op: And - span: - lo: 0 - hi: 11 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Boolean: - - true - - span: - lo: 0 - hi: 4 - - 0 - right: - Literal: - Boolean: - - false - - span: - lo: 6 - hi: 11 - - 1 - op: And - span: - lo: 0 - hi: 11 - id: 2 - right: - Literal: - Boolean: - - true - - span: - lo: 13 - hi: 17 - - 3 - op: And - span: - lo: 0 - hi: 17 - id: 4 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: BitwiseAnd - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: BitwiseAnd - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: BitwiseAnd - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: BitwiseAnd - span: - lo: 12 - hi: 20 - id: 7 - op: Add - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: BitwiseAnd - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: BitwiseAnd - span: - lo: 37 - hi: 45 - id: 17 - op: Add - span: - lo: 26 - hi: 45 - id: 18 - op: BitwiseAnd - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "And" +id = 2 + +[outputs.Binary.left.Literal] +Boolean = [ + true, + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.right.Literal] +Boolean = [ + false, + { span = { lo = 8, hi = 13 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Binary] +op = "And" +id = 2 + +[outputs.Binary.left.Literal] +Boolean = [ + false, + { span = { lo = 0, hi = 5 } }, + 0, +] + +[outputs.Binary.right.Literal] +Boolean = [ + true, + { span = { lo = 7, hi = 11 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Binary] +op = "And" +id = 4 + +[outputs.Binary.left.Binary] +op = "And" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Boolean = [ + true, + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Boolean = [ + false, + { span = { lo = 6, hi = 11 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 11 + +[outputs.Binary.right.Literal] +Boolean = [ + true, + { span = { lo = 13, hi = 17 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 9 + +[outputs.Binary.left.Binary] +op = "BitwiseAnd" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 19 + +[outputs.Binary.left.Binary] +op = "Add" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseAnd" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Add" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "BitwiseAnd" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "BitwiseAnd" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/bit_and.out b/tests/expectations/parser/expression/binary/bit_and.out index 2c3301b0ff..b3a6e05c66 100644 --- a/tests/expectations/parser/expression/binary/bit_and.out +++ b/tests/expectations/parser/expression/binary/bit_and.out @@ -1,546 +1,652 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseAnd - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: BitwiseAnd - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseAnd - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: BitwiseAnd - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 2 - op: BitwiseAnd - span: - lo: 6 - hi: 15 - id: 3 - op: BitwiseOr - span: - lo: 0 - hi: 15 - id: 4 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 5 - op: BitwiseOr - span: - lo: 0 - hi: 21 - id: 6 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseAnd - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: BitwiseAnd - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 2 - op: BitwiseAnd - span: - lo: 6 - hi: 15 - id: 3 - op: BitwiseOr - span: - lo: 0 - hi: 15 - id: 4 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 5 - right: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 24 - hi: 27 - - 6 - op: BitwiseAnd - span: - lo: 18 - hi: 27 - id: 7 - op: BitwiseOr - span: - lo: 0 - hi: 27 - id: 8 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 30 - hi: 33 - - 9 - op: BitwiseOr - span: - lo: 0 - hi: 33 - id: 10 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: BitwiseAnd - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: BitwiseAnd - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: BitwiseAnd - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseAnd - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseAnd - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: BitwiseAnd - span: - lo: 12 - hi: 20 - id: 7 - op: BitwiseAnd - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: BitwiseAnd - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: BitwiseAnd - span: - lo: 37 - hi: 45 - id: 17 - op: BitwiseAnd - span: - lo: 26 - hi: 45 - id: 18 - op: BitwiseAnd - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 4 + +[outputs.Binary.left.Binary] +op = "BitwiseAnd" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 6 + +[outputs.Binary.left.Binary] +op = "BitwiseOr" +id = 4 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 2, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 6 +hi = 15 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 5, +] + +[outputs.Binary.span] +lo = 0 +hi = 21 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 4 + +[outputs.Binary.left.Binary] +op = "BitwiseAnd" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 10 + +[outputs.Binary.left.Binary] +op = "BitwiseOr" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseOr" +id = 4 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 2, +] + +[outputs.Binary.left.Binary.left.Binary.right.Binary.span] +lo = 6 +hi = 15 + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseAnd" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 5, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 24, hi = 27 } }, + 6, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 18 +hi = 27 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 27 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 30, hi = 33 } }, + 9, +] + +[outputs.Binary.span] +lo = 0 +hi = 33 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 9 + +[outputs.Binary.left.Binary] +op = "BitwiseAnd" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseAnd" +id = 19 + +[outputs.Binary.left.Binary] +op = "BitwiseAnd" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseAnd" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseAnd" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "BitwiseAnd" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "BitwiseAnd" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "BitwiseAnd" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/bit_or.out b/tests/expectations/parser/expression/binary/bit_or.out index 3aba6b8fb0..6d3dd51a85 100644 --- a/tests/expectations/parser/expression/binary/bit_or.out +++ b/tests/expectations/parser/expression/binary/bit_or.out @@ -1,546 +1,652 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseOr - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: BitwiseOr - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseOr - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: BitwiseOr - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 2 - op: BitwiseOr - span: - lo: 6 - hi: 15 - id: 3 - op: Xor - span: - lo: 0 - hi: 15 - id: 4 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 5 - op: Xor - span: - lo: 0 - hi: 21 - id: 6 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseOr - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: BitwiseOr - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 2 - op: BitwiseOr - span: - lo: 6 - hi: 15 - id: 3 - op: Xor - span: - lo: 0 - hi: 15 - id: 4 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 5 - right: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 24 - hi: 27 - - 6 - op: BitwiseOr - span: - lo: 18 - hi: 27 - id: 7 - op: Xor - span: - lo: 0 - hi: 27 - id: 8 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 30 - hi: 33 - - 9 - op: Xor - span: - lo: 0 - hi: 33 - id: 10 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseOr - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - op: Not - span: - lo: 0 - hi: 9 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - op: BitwiseOr - span: - lo: 0 - hi: 7 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - op: BitwiseOr - span: - lo: 0 - hi: 13 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: BitwiseOr - span: - lo: 0 - hi: 19 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: BitwiseOr - span: - lo: 1 - hi: 8 - id: 3 - op: Negate - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseOr - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseOr - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseOr - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: BitwiseOr - span: - lo: 1 - hi: 16 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: BitwiseOr - span: - lo: 1 - hi: 8 - id: 3 - op: Not - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: BitwiseOr - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseOr - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: BitwiseOr - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: BitwiseOr - span: - lo: 1 - hi: 16 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: BitwiseOr - span: - lo: 1 - hi: 8 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: BitwiseOr - span: - lo: 11 - hi: 18 - id: 7 - op: BitwiseOr - span: - lo: 1 - hi: 18 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}" - op: BitwiseOr - span: - lo: 23 - hi: 30 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}" - op: BitwiseOr - span: - lo: 33 - hi: 40 - id: 17 - op: BitwiseOr - span: - lo: 23 - hi: 40 - id: 18 - op: BitwiseOr - span: - lo: 1 - hi: 41 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 4 + +[outputs.Binary.left.Binary] +op = "BitwiseOr" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 6 + +[outputs.Binary.left.Binary] +op = "Xor" +id = 4 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 2, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 6 +hi = 15 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 5, +] + +[outputs.Binary.span] +lo = 0 +hi = 21 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 4 + +[outputs.Binary.left.Binary] +op = "BitwiseOr" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 10 + +[outputs.Binary.left.Binary] +op = "Xor" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Xor" +id = 4 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 2, +] + +[outputs.Binary.left.Binary.left.Binary.right.Binary.span] +lo = 6 +hi = 15 + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseOr" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 5, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 24, hi = 27 } }, + 6, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 18 +hi = 27 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 27 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 30, hi = 33 } }, + 9, +] + +[outputs.Binary.span] +lo = 0 +hi = 33 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 9 + +[outputs.Binary.left.Binary] +op = "BitwiseOr" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 7 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":11,\"hi\":12}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 13 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Binary] +op = "BitwiseOr" +id = 19 + +[outputs.Binary.left.Binary] +op = "BitwiseOr" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseOr" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 8 + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseOr" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":11,\"hi\":12}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 11 +hi = 18 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right.Binary] +op = "BitwiseOr" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "BitwiseOr" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":23,\"hi\":24}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":28,\"hi\":29}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 23 +hi = 30 + +[outputs.Binary.right.Binary.right.Binary] +op = "BitwiseOr" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":38,\"hi\":39}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 33 +hi = 40 + +[outputs.Binary.right.Binary.span] +lo = 23 +hi = 40 + +[outputs.Binary.span] +lo = 1 +hi = 41 diff --git a/tests/expectations/parser/expression/binary/bit_xor.out b/tests/expectations/parser/expression/binary/bit_xor.out index c51ad41544..01b23429e5 100644 --- a/tests/expectations/parser/expression/binary/bit_xor.out +++ b/tests/expectations/parser/expression/binary/bit_xor.out @@ -1,546 +1,652 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Xor - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: Xor - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Xor - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: Xor - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseAnd - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 4 - op: BitwiseAnd - span: - lo: 12 - hi: 21 - id: 5 - op: Xor - span: - lo: 0 - hi: 21 - id: 6 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Xor - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: Xor - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: BitwiseAnd - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 4 - op: BitwiseAnd - span: - lo: 12 - hi: 21 - id: 5 - op: Xor - span: - lo: 0 - hi: 21 - id: 6 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 24 - hi: 27 - - 7 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 30 - hi: 33 - - 8 - op: BitwiseAnd - span: - lo: 24 - hi: 33 - id: 9 - op: Xor - span: - lo: 0 - hi: 33 - id: 10 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Xor - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Xor - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Xor - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Xor - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Xor - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Xor - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Xor - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Xor - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Xor - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Xor - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Xor - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Xor - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Xor - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Xor - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Xor - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Xor - span: - lo: 12 - hi: 20 - id: 7 - op: Xor - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: Xor - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: Xor - span: - lo: 37 - hi: 45 - id: 17 - op: Xor - span: - lo: 26 - hi: 45 - id: 18 - op: Xor - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 4 + +[outputs.Binary.left.Binary] +op = "Xor" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 6 + +[outputs.Binary.left.Binary] +op = "BitwiseAnd" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "BitwiseAnd" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 12 +hi = 21 + +[outputs.Binary.span] +lo = 0 +hi = 21 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 4 + +[outputs.Binary.left.Binary] +op = "Xor" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 10 + +[outputs.Binary.left.Binary] +op = "Xor" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "BitwiseAnd" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "BitwiseAnd" +id = 5 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 4, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 21 + +[outputs.Binary.right.Binary] +op = "BitwiseAnd" +id = 9 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 24, hi = 27 } }, + 7, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 30, hi = 33 } }, + 8, +] + +[outputs.Binary.right.Binary.span] +lo = 24 +hi = 33 + +[outputs.Binary.span] +lo = 0 +hi = 33 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Xor" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 9 + +[outputs.Binary.left.Binary] +op = "Xor" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Xor" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Xor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Xor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Xor" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Xor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Xor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Xor" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Xor" +id = 19 + +[outputs.Binary.left.Binary] +op = "Xor" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Xor" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Xor" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Xor" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Xor" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "Xor" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/div.out b/tests/expectations/parser/expression/binary/div.out index 074d45a4f3..4eb1f14b69 100644 --- a/tests/expectations/parser/expression/binary/div.out +++ b/tests/expectations/parser/expression/binary/div.out @@ -1,418 +1,520 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Div - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: Div - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Div - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: Div - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Pow - span: - lo: 0 - hi: 10 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 20 - hi: 23 - - 4 - op: Pow - span: - lo: 13 - hi: 23 - id: 5 - op: Div - span: - lo: 0 - hi: 23 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Div - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Div - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Div - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Div - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Div - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Div - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Div - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Div - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Div - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Div - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Div - span: - lo: 12 - hi: 20 - id: 7 - op: Div - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: Div - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: Div - span: - lo: 37 - hi: 45 - id: 17 - op: Div - span: - lo: 26 - hi: 45 - id: 18 - op: Div - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 4 + +[outputs.Binary.left.Binary] +op = "Div" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 6 + +[outputs.Binary.left.Binary] +op = "Pow" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Binary] +op = "Pow" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 20, hi = 23 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 23 + +[outputs.Binary.span] +lo = 0 +hi = 23 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 9 + +[outputs.Binary.left.Binary] +op = "Div" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 19 + +[outputs.Binary.left.Binary] +op = "Div" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Div" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Div" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Div" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "Div" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/div_wrapped.out b/tests/expectations/parser/expression/binary/div_wrapped.out index 6571d10424..c9bd6bd6bf 100644 --- a/tests/expectations/parser/expression/binary/div_wrapped.out +++ b/tests/expectations/parser/expression/binary/div_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Div - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Div - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Div - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Div - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Div - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Div - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Div - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Div - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Div - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Div - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Div - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Div - span: - lo: 12 - hi: 20 - id: 7 - op: Div - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: Div - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: Div - span: - lo: 37 - hi: 45 - id: 17 - op: Div - span: - lo: 26 - hi: 45 - id: 18 - op: Div - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 9 + +[outputs.Binary.left.Binary] +op = "Div" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 19 + +[outputs.Binary.left.Binary] +op = "Div" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Div" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Div" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Div" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Div" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "Div" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/eq.out b/tests/expectations/parser/expression/binary/eq.out index e35b5b0b42..32b370f138 100644 --- a/tests/expectations/parser/expression/binary/eq.out +++ b/tests/expectations/parser/expression/binary/eq.out @@ -1,498 +1,600 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - op: Eq - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 5 - hi: 8 - - 1 - op: Eq - span: - lo: 0 - hi: 8 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Lt - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Lt - span: - lo: 13 - hi: 22 - id: 5 - op: Eq - span: - lo: 0 - hi: 22 - id: 6 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Lt - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Lt - span: - lo: 13 - hi: 22 - id: 5 - op: Eq - span: - lo: 0 - hi: 22 - id: 6 - right: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 26 - hi: 29 - - 7 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 32 - hi: 35 - - 8 - op: Lt - span: - lo: 26 - hi: 35 - id: 9 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 39 - hi: 42 - - 10 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 45 - hi: 48 - - 11 - op: Lt - span: - lo: 39 - hi: 48 - id: 12 - op: Eq - span: - lo: 26 - hi: 48 - id: 13 - op: And - span: - lo: 0 - hi: 48 - id: 14 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Eq - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - op: Not - span: - lo: 0 - hi: 9 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - op: Eq - span: - lo: 0 - hi: 7 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - op: Eq - span: - lo: 0 - hi: 13 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Eq - span: - lo: 0 - hi: 19 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Eq - span: - lo: 1 - hi: 8 - id: 3 - op: Negate - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Eq - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Eq - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Eq - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: Eq - span: - lo: 1 - hi: 16 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Eq - span: - lo: 1 - hi: 8 - id: 3 - op: Not - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Eq - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Eq - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Eq - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: Eq - span: - lo: 1 - hi: 16 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Eq - span: - lo: 1 - hi: 8 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Eq - span: - lo: 12 - hi: 19 - id: 7 - op: Eq - span: - lo: 1 - hi: 19 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":24,\\\"hi\\\":25}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: Eq - span: - lo: 24 - hi: 31 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":40,\\\"hi\\\":41}\"}" - op: Eq - span: - lo: 35 - hi: 42 - id: 17 - op: Eq - span: - lo: 24 - hi: 42 - id: 18 - op: Eq - span: - lo: 1 - hi: 43 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 5, hi = 8 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 6 + +[outputs.Binary.left.Binary] +op = "Lt" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Lt" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Binary] +op = "And" +id = 14 + +[outputs.Binary.left.Binary] +op = "Eq" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Lt" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Lt" +id = 5 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 22 + +[outputs.Binary.right.Binary] +op = "Eq" +id = 13 + +[outputs.Binary.right.Binary.left.Binary] +op = "Lt" +id = 9 + +[outputs.Binary.right.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 26, hi = 29 } }, + 7, +] + +[outputs.Binary.right.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 32, hi = 35 } }, + 8, +] + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Lt" +id = 12 + +[outputs.Binary.right.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 39, hi = 42 } }, + 10, +] + +[outputs.Binary.right.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 45, hi = 48 } }, + 11, +] + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 48 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 48 + +[outputs.Binary.span] +lo = 0 +hi = 48 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Eq" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 9 + +[outputs.Binary.left.Binary] +op = "Eq" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Eq" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 7 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":11,\"hi\":12}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 13 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Eq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Eq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Eq" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Eq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Eq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Eq" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Binary] +op = "Eq" +id = 19 + +[outputs.Binary.left.Binary] +op = "Eq" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Eq" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 8 + +[outputs.Binary.left.Binary.right.Binary] +op = "Eq" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 19 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 19 + +[outputs.Binary.right.Binary] +op = "Eq" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Eq" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":24,\"hi\":25}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 24 +hi = 31 + +[outputs.Binary.right.Binary.right.Binary] +op = "Eq" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":35,\"hi\":36}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":40,\"hi\":41}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 35 +hi = 42 + +[outputs.Binary.right.Binary.span] +lo = 24 +hi = 42 + +[outputs.Binary.span] +lo = 1 +hi = 43 diff --git a/tests/expectations/parser/expression/binary/eq_fail.out b/tests/expectations/parser/expression/binary/eq_fail.out index 409481cfe9..34ddbc8ae8 100644 --- a/tests/expectations/parser/expression/binary/eq_fail.out +++ b/tests/expectations/parser/expression/binary/eq_fail.out @@ -1,5 +1,8 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370017]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 == 2 == 3\n | ^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [""" +Error [EPAR0370017]: Could not parse the implicit value: 1. + --> test:1:1 + | + 1 | 1 == 2 == 3 + | ^"""] diff --git a/tests/expectations/parser/expression/binary/ge.out b/tests/expectations/parser/expression/binary/ge.out index 55c0081ed2..29b2b00380 100644 --- a/tests/expectations/parser/expression/binary/ge.out +++ b/tests/expectations/parser/expression/binary/ge.out @@ -1,378 +1,478 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - op: Gte - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 7 - hi: 10 - - 1 - op: Gte - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Add - span: - lo: 13 - hi: 22 - id: 5 - op: Gte - span: - lo: 0 - hi: 22 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Gte - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Gte - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Gte - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Gte - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gte - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Gte - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Gte - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Gte - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Gte - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gte - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Gte - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Gte - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Gte - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Gte - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gte - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Gte - span: - lo: 13 - hi: 21 - id: 7 - op: Gte - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Gte - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Gte - span: - lo: 39 - hi: 47 - id: 17 - op: Gte - span: - lo: 27 - hi: 47 - id: 18 - op: Gte - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 6 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Gte" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 9 + +[outputs.Binary.left.Binary] +op = "Gte" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Gte" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Gte" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Gte" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Gte" +id = 19 + +[outputs.Binary.left.Binary] +op = "Gte" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Gte" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Gte" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Gte" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Gte" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Gte" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/ge_fail.out b/tests/expectations/parser/expression/binary/ge_fail.out index cb0658f61b..6059174b1d 100644 --- a/tests/expectations/parser/expression/binary/ge_fail.out +++ b/tests/expectations/parser/expression/binary/ge_fail.out @@ -1,7 +1,22 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "did not consume all input: '>=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n" - - "did not consume all input: '>=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n" - - "did not consume all input: '>=' @ 1:24-26\n'5' @ 1:27-28\n'u8' @ 1:28-30\n'+' @ 1:31-32\n'6' @ 1:33-34\n'u8' @ 1:34-36\n" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +did not consume all input: '>=' @ 1:12-14 +'3' @ 1:15-16 +'u8' @ 1:16-18 +""", + """ +did not consume all input: '>=' @ 1:12-14 +'3' @ 1:15-16 +'u8' @ 1:16-18 +""", + """ +did not consume all input: '>=' @ 1:24-26 +'5' @ 1:27-28 +'u8' @ 1:28-30 +'+' @ 1:31-32 +'6' @ 1:33-34 +'u8' @ 1:34-36 +""", +] diff --git a/tests/expectations/parser/expression/binary/gt.out b/tests/expectations/parser/expression/binary/gt.out index c9da17fb8e..da5dc0eb69 100644 --- a/tests/expectations/parser/expression/binary/gt.out +++ b/tests/expectations/parser/expression/binary/gt.out @@ -1,378 +1,478 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Gt - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: Gt - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 4 - op: Add - span: - lo: 12 - hi: 21 - id: 5 - op: Gt - span: - lo: 0 - hi: 21 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gt - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - op: Not - span: - lo: 0 - hi: 9 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - op: Gt - span: - lo: 0 - hi: 7 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - op: Gt - span: - lo: 0 - hi: 13 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Gt - span: - lo: 0 - hi: 19 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Gt - span: - lo: 1 - hi: 8 - id: 3 - op: Negate - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Gt - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gt - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gt - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: Gt - span: - lo: 1 - hi: 16 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Gt - span: - lo: 1 - hi: 8 - id: 3 - op: Not - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Gt - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gt - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Gt - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: Gt - span: - lo: 1 - hi: 16 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Gt - span: - lo: 1 - hi: 8 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Gt - span: - lo: 11 - hi: 18 - id: 7 - op: Gt - span: - lo: 1 - hi: 18 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}" - op: Gt - span: - lo: 23 - hi: 30 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}" - op: Gt - span: - lo: 33 - hi: 40 - id: 17 - op: Gt - span: - lo: 23 - hi: 40 - id: 18 - op: Gt - span: - lo: 1 - hi: 41 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 6 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 12 +hi = 21 + +[outputs.Binary.span] +lo = 0 +hi = 21 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Gt" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 9 + +[outputs.Binary.left.Binary] +op = "Gt" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Gt" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 7 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":11,\"hi\":12}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 13 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Gt" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Gt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Gt" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Binary] +op = "Gt" +id = 19 + +[outputs.Binary.left.Binary] +op = "Gt" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Gt" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 8 + +[outputs.Binary.left.Binary.right.Binary] +op = "Gt" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":11,\"hi\":12}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 11 +hi = 18 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right.Binary] +op = "Gt" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Gt" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":23,\"hi\":24}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":28,\"hi\":29}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 23 +hi = 30 + +[outputs.Binary.right.Binary.right.Binary] +op = "Gt" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":38,\"hi\":39}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 33 +hi = 40 + +[outputs.Binary.right.Binary.span] +lo = 23 +hi = 40 + +[outputs.Binary.span] +lo = 1 +hi = 41 diff --git a/tests/expectations/parser/expression/binary/gt_fail.out b/tests/expectations/parser/expression/binary/gt_fail.out index 87fca2dd48..377e8dc811 100644 --- a/tests/expectations/parser/expression/binary/gt_fail.out +++ b/tests/expectations/parser/expression/binary/gt_fail.out @@ -1,7 +1,22 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "did not consume all input: '>' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n" - - "did not consume all input: '>' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n" - - "did not consume all input: '>' @ 1:23-24\n'5' @ 1:25-26\n'u8' @ 1:26-28\n'+' @ 1:29-30\n'6' @ 1:31-32\n'u8' @ 1:32-34\n" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +did not consume all input: '>' @ 1:11-12 +'3' @ 1:13-14 +'u8' @ 1:14-16 +""", + """ +did not consume all input: '>' @ 1:11-12 +'3' @ 1:13-14 +'u8' @ 1:14-16 +""", + """ +did not consume all input: '>' @ 1:23-24 +'5' @ 1:25-26 +'u8' @ 1:26-28 +'+' @ 1:29-30 +'6' @ 1:31-32 +'u8' @ 1:32-34 +""", +] diff --git a/tests/expectations/parser/expression/binary/le.out b/tests/expectations/parser/expression/binary/le.out index c5439fa8dc..010bd9be26 100644 --- a/tests/expectations/parser/expression/binary/le.out +++ b/tests/expectations/parser/expression/binary/le.out @@ -1,378 +1,478 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - op: Lte - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 7 - hi: 10 - - 1 - op: Lte - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Add - span: - lo: 13 - hi: 22 - id: 5 - op: Lte - span: - lo: 0 - hi: 22 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Lte - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Lte - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Lte - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Lte - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lte - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Lte - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Lte - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Lte - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Lte - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lte - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Lte - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Lte - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Lte - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Lte - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lte - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Lte - span: - lo: 13 - hi: 21 - id: 7 - op: Lte - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Lte - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Lte - span: - lo: 39 - hi: 47 - id: 17 - op: Lte - span: - lo: 27 - hi: 47 - id: 18 - op: Lte - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 6 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Lte" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 9 + +[outputs.Binary.left.Binary] +op = "Lte" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Lte" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Lte" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lte" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Lte" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Lte" +id = 19 + +[outputs.Binary.left.Binary] +op = "Lte" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Lte" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Lte" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Lte" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Lte" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Lte" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/le_fail.out b/tests/expectations/parser/expression/binary/le_fail.out index 2f754fbf41..741d245652 100644 --- a/tests/expectations/parser/expression/binary/le_fail.out +++ b/tests/expectations/parser/expression/binary/le_fail.out @@ -1,7 +1,22 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "did not consume all input: '<=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n" - - "did not consume all input: '<=' @ 1:12-14\n'3' @ 1:15-16\n'u8' @ 1:16-18\n" - - "did not consume all input: '<=' @ 1:24-26\n'5' @ 1:27-28\n'u8' @ 1:28-30\n'+' @ 1:31-32\n'6' @ 1:33-34\n'u8' @ 1:34-36\n" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +did not consume all input: '<=' @ 1:12-14 +'3' @ 1:15-16 +'u8' @ 1:16-18 +""", + """ +did not consume all input: '<=' @ 1:12-14 +'3' @ 1:15-16 +'u8' @ 1:16-18 +""", + """ +did not consume all input: '<=' @ 1:24-26 +'5' @ 1:27-28 +'u8' @ 1:28-30 +'+' @ 1:31-32 +'6' @ 1:33-34 +'u8' @ 1:34-36 +""", +] diff --git a/tests/expectations/parser/expression/binary/lt.out b/tests/expectations/parser/expression/binary/lt.out index 1d7538af9e..d6afa56411 100644 --- a/tests/expectations/parser/expression/binary/lt.out +++ b/tests/expectations/parser/expression/binary/lt.out @@ -1,378 +1,478 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Lt - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: Lt - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 18 - hi: 21 - - 4 - op: Add - span: - lo: 12 - hi: 21 - id: 5 - op: Lt - span: - lo: 0 - hi: 21 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lt - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - op: Not - span: - lo: 0 - hi: 9 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - op: Lt - span: - lo: 0 - hi: 7 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - op: Lt - span: - lo: 0 - hi: 13 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Lt - span: - lo: 0 - hi: 19 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Lt - span: - lo: 1 - hi: 8 - id: 3 - op: Negate - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Lt - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lt - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lt - span: - lo: 2 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: Lt - span: - lo: 1 - hi: 16 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Lt - span: - lo: 1 - hi: 8 - id: 3 - op: Not - span: - lo: 0 - hi: 8 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Lt - span: - lo: 1 - hi: 10 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lt - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Lt - span: - lo: 2 - hi: 9 - id: 3 - op: Not - span: - lo: 1 - hi: 9 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: Lt - span: - lo: 1 - hi: 16 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Lt - span: - lo: 1 - hi: 8 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Lt - span: - lo: 11 - hi: 18 - id: 7 - op: Lt - span: - lo: 1 - hi: 18 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}" - op: Lt - span: - lo: 23 - hi: 30 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}" - op: Lt - span: - lo: 33 - hi: 40 - id: 17 - op: Lt - span: - lo: 23 - hi: 40 - id: 18 - op: Lt - span: - lo: 1 - hi: 41 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 6 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 18, hi = 21 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 12 +hi = 21 + +[outputs.Binary.span] +lo = 0 +hi = 21 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Lt" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 9 + +[outputs.Binary.left.Binary] +op = "Lt" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Lt" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 7 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":11,\"hi\":12}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 13 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Lt" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Lt" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Lt" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 9 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 9 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Binary] +op = "Lt" +id = 19 + +[outputs.Binary.left.Binary] +op = "Lt" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Lt" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 8 + +[outputs.Binary.left.Binary.right.Binary] +op = "Lt" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":11,\"hi\":12}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 11 +hi = 18 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right.Binary] +op = "Lt" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Lt" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":23,\"hi\":24}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":28,\"hi\":29}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 23 +hi = 30 + +[outputs.Binary.right.Binary.right.Binary] +op = "Lt" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":38,\"hi\":39}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 33 +hi = 40 + +[outputs.Binary.right.Binary.span] +lo = 23 +hi = 40 + +[outputs.Binary.span] +lo = 1 +hi = 41 diff --git a/tests/expectations/parser/expression/binary/lt_fail.out b/tests/expectations/parser/expression/binary/lt_fail.out index 76f35f9d39..ca32bd58a8 100644 --- a/tests/expectations/parser/expression/binary/lt_fail.out +++ b/tests/expectations/parser/expression/binary/lt_fail.out @@ -1,7 +1,22 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "did not consume all input: '<' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n" - - "did not consume all input: '<' @ 1:11-12\n'3' @ 1:13-14\n'u8' @ 1:14-16\n" - - "did not consume all input: '<' @ 1:23-24\n'5' @ 1:25-26\n'u8' @ 1:26-28\n'+' @ 1:29-30\n'6' @ 1:31-32\n'u8' @ 1:32-34\n" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +did not consume all input: '<' @ 1:11-12 +'3' @ 1:13-14 +'u8' @ 1:14-16 +""", + """ +did not consume all input: '<' @ 1:11-12 +'3' @ 1:13-14 +'u8' @ 1:14-16 +""", + """ +did not consume all input: '<' @ 1:23-24 +'5' @ 1:25-26 +'u8' @ 1:26-28 +'+' @ 1:29-30 +'6' @ 1:31-32 +'u8' @ 1:32-34 +""", +] diff --git a/tests/expectations/parser/expression/binary/modulo.out b/tests/expectations/parser/expression/binary/modulo.out index 305d8fc1c1..2fcf6d5870 100644 --- a/tests/expectations/parser/expression/binary/modulo.out +++ b/tests/expectations/parser/expression/binary/modulo.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mod - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Mod - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Mod - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Mod - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Mod - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Mod - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mod - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mod - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Mod - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Mod - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Mod - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mod - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mod - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Mod - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Mod - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Mod - span: - lo: 12 - hi: 20 - id: 7 - op: Div - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: Mod - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: Mod - span: - lo: 37 - hi: 45 - id: 17 - op: Div - span: - lo: 26 - hi: 45 - id: 18 - op: Mod - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Mod" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Mod" +id = 9 + +[outputs.Binary.left.Binary] +op = "Mod" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Mod" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mod" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Mod" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mod" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Mod" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Mod" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mod" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Mod" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mod" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Mod" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Mod" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Mod" +id = 19 + +[outputs.Binary.left.Binary] +op = "Div" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Mod" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Mod" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Div" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Mod" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "Mod" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/mul.out b/tests/expectations/parser/expression/binary/mul.out index 97c25a0346..5a8a01f275 100644 --- a/tests/expectations/parser/expression/binary/mul.out +++ b/tests/expectations/parser/expression/binary/mul.out @@ -1,506 +1,610 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Mul - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: Mul - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Mul - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: Mul - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Pow - span: - lo: 0 - hi: 10 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 20 - hi: 23 - - 4 - op: Pow - span: - lo: 13 - hi: 23 - id: 5 - op: Mul - span: - lo: 0 - hi: 23 - id: 6 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Pow - span: - lo: 0 - hi: 10 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 20 - hi: 23 - - 4 - op: Pow - span: - lo: 13 - hi: 23 - id: 5 - op: Mul - span: - lo: 0 - hi: 23 - id: 6 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 26 - hi: 29 - - 7 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 33 - hi: 36 - - 8 - op: Pow - span: - lo: 26 - hi: 36 - id: 9 - op: Div - span: - lo: 0 - hi: 36 - id: 10 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mul - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Mul - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Mul - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Mul - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Mul - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Mul - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mul - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mul - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Mul - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Mul - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Mul - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mul - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Mul - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Mul - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Mul - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Mul - span: - lo: 12 - hi: 20 - id: 7 - op: Mul - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: Mul - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: Mul - span: - lo: 37 - hi: 45 - id: 17 - op: Mul - span: - lo: 26 - hi: 45 - id: 18 - op: Mul - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 4 + +[outputs.Binary.left.Binary] +op = "Mul" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 6 + +[outputs.Binary.left.Binary] +op = "Pow" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Binary] +op = "Pow" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 20, hi = 23 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 23 + +[outputs.Binary.span] +lo = 0 +hi = 23 + +[[outputs]] + +[outputs.Binary] +op = "Div" +id = 10 + +[outputs.Binary.left.Binary] +op = "Mul" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Pow" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.left.Binary.right.Binary] +op = "Pow" +id = 5 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 20, hi = 23 } }, + 4, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 23 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 23 + +[outputs.Binary.right.Binary] +op = "Pow" +id = 9 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 26, hi = 29 } }, + 7, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 33, hi = 36 } }, + 8, +] + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 36 + +[outputs.Binary.span] +lo = 0 +hi = 36 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Mul" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 9 + +[outputs.Binary.left.Binary] +op = "Mul" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Mul" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mul" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mul" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Mul" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mul" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Mul" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Mul" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Mul" +id = 19 + +[outputs.Binary.left.Binary] +op = "Mul" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Mul" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Mul" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Mul" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Mul" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "Mul" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/mul_wrapped.out b/tests/expectations/parser/expression/binary/mul_wrapped.out index faab0fbd86..6a749d0954 100644 --- a/tests/expectations/parser/expression/binary/mul_wrapped.out +++ b/tests/expectations/parser/expression/binary/mul_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: MulWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - op: Not - span: - lo: 0 - hi: 18 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: MulWrapped - span: - lo: 0 - hi: 16 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: MulWrapped - span: - lo: 0 - hi: 31 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - op: MulWrapped - span: - lo: 0 - hi: 46 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: MulWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Negate - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: MulWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: MulWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: MulWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: MulWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: MulWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: MulWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: MulWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: MulWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: MulWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: MulWrapped - span: - lo: 1 - hi: 17 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":35}\"}" - op: MulWrapped - span: - lo: 20 - hi: 36 - id: 7 - op: Mul - span: - lo: 1 - hi: 36 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":64,\\\"hi\\\":65}\"}" - op: MulWrapped - span: - lo: 50 - hi: 66 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":69,\\\"hi\\\":70}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":83,\\\"hi\\\":84}\"}" - op: MulWrapped - span: - lo: 69 - hi: 85 - id: 17 - op: Mul - span: - lo: 50 - hi: 85 - id: 18 - op: MulWrapped - span: - lo: 1 - hi: 86 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "MulWrapped" +id = 9 + +[outputs.Binary.left.Binary] +op = "MulWrapped" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 16 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 31 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":44,\"hi\":45}"}' + +[outputs.Binary.span] +lo = 0 +hi = 46 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "MulWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "MulWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "MulWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "MulWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Binary] +op = "MulWrapped" +id = 19 + +[outputs.Binary.left.Binary] +op = "Mul" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "MulWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 17 + +[outputs.Binary.left.Binary.right.Binary] +op = "MulWrapped" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":34,\"hi\":35}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 20 +hi = 36 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 36 + +[outputs.Binary.right.Binary] +op = "Mul" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "MulWrapped" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":50,\"hi\":51}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":64,\"hi\":65}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 50 +hi = 66 + +[outputs.Binary.right.Binary.right.Binary] +op = "MulWrapped" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":69,\"hi\":70}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":83,\"hi\":84}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 69 +hi = 85 + +[outputs.Binary.right.Binary.span] +lo = 50 +hi = 85 + +[outputs.Binary.span] +lo = 1 +hi = 86 diff --git a/tests/expectations/parser/expression/binary/nand.out b/tests/expectations/parser/expression/binary/nand.out index dbd8827619..4dd3b84b0a 100644 --- a/tests/expectations/parser/expression/binary/nand.out +++ b/tests/expectations/parser/expression/binary/nand.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Nand - span: - lo: 2 - hi: 11 - id: 3 - op: Negate - span: - lo: 1 - hi: 11 - id: 4 - op: Not - span: - lo: 0 - hi: 11 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Nand - span: - lo: 0 - hi: 9 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: Nand - span: - lo: 0 - hi: 17 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}" - op: Nand - span: - lo: 0 - hi: 25 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nand - span: - lo: 1 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":11}\"}" - op: Nand - span: - lo: 1 - hi: 12 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Nand - span: - lo: 2 - hi: 11 - id: 3 - op: Negate - span: - lo: 0 - hi: 11 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Nand - span: - lo: 2 - hi: 11 - id: 3 - op: Negate - span: - lo: 1 - hi: 11 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Nand - span: - lo: 1 - hi: 20 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nand - span: - lo: 1 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":11}\"}" - op: Nand - span: - lo: 1 - hi: 12 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Nand - span: - lo: 2 - hi: 11 - id: 3 - op: Not - span: - lo: 0 - hi: 11 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Nand - span: - lo: 2 - hi: 11 - id: 3 - op: Not - span: - lo: 1 - hi: 11 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Nand - span: - lo: 1 - hi: 20 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nand - span: - lo: 1 - hi: 10 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Nand - span: - lo: 13 - hi: 22 - id: 7 - op: BitwiseAnd - span: - lo: 1 - hi: 22 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":36,\\\"hi\\\":37}\"}" - op: Nand - span: - lo: 29 - hi: 38 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":48,\\\"hi\\\":49}\"}" - op: Nand - span: - lo: 41 - hi: 50 - id: 17 - op: BitwiseAnd - span: - lo: 29 - hi: 50 - id: 18 - op: Nand - span: - lo: 1 - hi: 51 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Nand" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 11 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 11 + +[outputs.Unary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Binary] +op = "Nand" +id = 9 + +[outputs.Binary.left.Binary] +op = "Nand" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Nand" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 17 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":23,\"hi\":24}"}' + +[outputs.Binary.span] +lo = 0 +hi = 25 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nand" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Nand" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":10,\"hi\":11}"}' + +[outputs.Binary.span] +lo = 1 +hi = 12 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nand" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 11 + +[outputs.Unary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Binary] +op = "Nand" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Nand" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 11 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 11 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.span] +lo = 1 +hi = 20 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nand" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Nand" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":10,\"hi\":11}"}' + +[outputs.Binary.span] +lo = 1 +hi = 12 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nand" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 11 + +[outputs.Unary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Binary] +op = "Nand" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Nand" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 11 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 11 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.span] +lo = 1 +hi = 20 + +[[outputs]] + +[outputs.Binary] +op = "Nand" +id = 19 + +[outputs.Binary.left.Binary] +op = "BitwiseAnd" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Nand" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 10 + +[outputs.Binary.left.Binary.right.Binary] +op = "Nand" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 22 + +[outputs.Binary.right.Binary] +op = "BitwiseAnd" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Nand" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":36,\"hi\":37}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 29 +hi = 38 + +[outputs.Binary.right.Binary.right.Binary] +op = "Nand" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":41,\"hi\":42}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":48,\"hi\":49}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 41 +hi = 50 + +[outputs.Binary.right.Binary.span] +lo = 29 +hi = 50 + +[outputs.Binary.span] +lo = 1 +hi = 51 diff --git a/tests/expectations/parser/expression/binary/neq.out b/tests/expectations/parser/expression/binary/neq.out index bb548d9262..e540ec0285 100644 --- a/tests/expectations/parser/expression/binary/neq.out +++ b/tests/expectations/parser/expression/binary/neq.out @@ -1,498 +1,600 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - op: Neq - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 5 - hi: 8 - - 1 - op: Neq - span: - lo: 0 - hi: 8 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Lt - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Lt - span: - lo: 13 - hi: 22 - id: 5 - op: Neq - span: - lo: 0 - hi: 22 - id: 6 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Lt - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Lt - span: - lo: 13 - hi: 22 - id: 5 - op: Neq - span: - lo: 0 - hi: 22 - id: 6 - right: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 26 - hi: 29 - - 7 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 32 - hi: 35 - - 8 - op: Lt - span: - lo: 26 - hi: 35 - id: 9 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 39 - hi: 42 - - 10 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 45 - hi: 48 - - 11 - op: Lt - span: - lo: 39 - hi: 48 - id: 12 - op: Neq - span: - lo: 26 - hi: 48 - id: 13 - op: Or - span: - lo: 0 - hi: 48 - id: 14 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Neq - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Neq - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Neq - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Neq - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Neq - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Neq - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Neq - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Neq - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Neq - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Neq - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Neq - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Neq - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Neq - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Neq - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Neq - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Neq - span: - lo: 13 - hi: 21 - id: 7 - op: Neq - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Neq - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Neq - span: - lo: 39 - hi: 47 - id: 17 - op: Neq - span: - lo: 27 - hi: 47 - id: 18 - op: Neq - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 5, hi = 8 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 6 + +[outputs.Binary.left.Binary] +op = "Lt" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Lt" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Binary] +op = "Or" +id = 14 + +[outputs.Binary.left.Binary] +op = "Neq" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Lt" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Lt" +id = 5 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 22 + +[outputs.Binary.right.Binary] +op = "Neq" +id = 13 + +[outputs.Binary.right.Binary.left.Binary] +op = "Lt" +id = 9 + +[outputs.Binary.right.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 26, hi = 29 } }, + 7, +] + +[outputs.Binary.right.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 32, hi = 35 } }, + 8, +] + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Lt" +id = 12 + +[outputs.Binary.right.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 39, hi = 42 } }, + 10, +] + +[outputs.Binary.right.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 45, hi = 48 } }, + 11, +] + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 48 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 48 + +[outputs.Binary.span] +lo = 0 +hi = 48 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Neq" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 9 + +[outputs.Binary.left.Binary] +op = "Neq" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Neq" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Neq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Neq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Neq" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Neq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Neq" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Neq" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Neq" +id = 19 + +[outputs.Binary.left.Binary] +op = "Neq" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Neq" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Neq" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Neq" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Neq" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Neq" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/neq_fail.out b/tests/expectations/parser/expression/binary/neq_fail.out index bd982be8b1..dfd0f75c82 100644 --- a/tests/expectations/parser/expression/binary/neq_fail.out +++ b/tests/expectations/parser/expression/binary/neq_fail.out @@ -1,5 +1,8 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370017]: Could not parse the implicit value: 1.\n --> test:1:1\n |\n 1 | 1 != 2 != 3\n | ^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [""" +Error [EPAR0370017]: Could not parse the implicit value: 1. + --> test:1:1 + | + 1 | 1 != 2 != 3 + | ^"""] diff --git a/tests/expectations/parser/expression/binary/nor.out b/tests/expectations/parser/expression/binary/nor.out index 895cbe7685..8929e97457 100644 --- a/tests/expectations/parser/expression/binary/nor.out +++ b/tests/expectations/parser/expression/binary/nor.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nor - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Nor - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Nor - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Nor - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Nor - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Nor - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nor - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nor - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Nor - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Nor - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Nor - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nor - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Nor - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Nor - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Nor - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Nor - span: - lo: 13 - hi: 21 - id: 7 - op: Neq - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Nor - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Nor - span: - lo: 39 - hi: 47 - id: 17 - op: Neq - span: - lo: 27 - hi: 47 - id: 18 - op: Nor - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Nor" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Nor" +id = 9 + +[outputs.Binary.left.Binary] +op = "Nor" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Nor" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Nor" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Nor" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Nor" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Nor" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Nor" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Nor" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Nor" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Nor" +id = 19 + +[outputs.Binary.left.Binary] +op = "Neq" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Nor" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Nor" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Neq" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Nor" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Nor" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/or.out b/tests/expectations/parser/expression/binary/or.out index 566a111b1b..69f790d38b 100644 --- a/tests/expectations/parser/expression/binary/or.out +++ b/tests/expectations/parser/expression/binary/or.out @@ -1,189 +1,197 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Boolean: - - true - - span: - lo: 0 - hi: 4 - - 0 - right: - Literal: - Boolean: - - true - - span: - lo: 8 - hi: 12 - - 1 - op: Or - span: - lo: 0 - hi: 12 - id: 2 - - Binary: - left: - Literal: - Boolean: - - false - - span: - lo: 0 - hi: 5 - - 0 - right: - Literal: - Boolean: - - true - - span: - lo: 7 - hi: 11 - - 1 - op: Or - span: - lo: 0 - hi: 11 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Boolean: - - true - - span: - lo: 0 - hi: 4 - - 0 - right: - Literal: - Boolean: - - false - - span: - lo: 6 - hi: 11 - - 1 - op: Or - span: - lo: 0 - hi: 11 - id: 2 - right: - Literal: - Boolean: - - false - - span: - lo: 15 - hi: 20 - - 3 - op: Or - span: - lo: 0 - hi: 20 - id: 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Boolean: - - true - - span: - lo: 0 - hi: 4 - - 0 - right: - Literal: - Boolean: - - false - - span: - lo: 8 - hi: 13 - - 1 - op: Or - span: - lo: 0 - hi: 13 - id: 2 - right: - Literal: - Boolean: - - true - - span: - lo: 17 - hi: 21 - - 3 - op: Or - span: - lo: 0 - hi: 21 - id: 4 - right: - Literal: - Boolean: - - false - - span: - lo: 25 - hi: 30 - - 5 - op: Or - span: - lo: 0 - hi: 30 - id: 6 - - Binary: - left: - Binary: - left: - Literal: - Boolean: - - true - - span: - lo: 0 - hi: 4 - - 0 - right: - Binary: - left: - Literal: - Boolean: - - true - - span: - lo: 9 - hi: 13 - - 1 - right: - Literal: - Boolean: - - false - - span: - lo: 17 - hi: 22 - - 2 - op: Or - span: - lo: 9 - hi: 22 - id: 3 - op: Or - span: - lo: 0 - hi: 22 - id: 4 - right: - Literal: - Boolean: - - true - - span: - lo: 27 - hi: 31 - - 5 - op: Or - span: - lo: 0 - hi: 31 - id: 6 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Or" +id = 2 + +[outputs.Binary.left.Literal] +Boolean = [ + true, + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.right.Literal] +Boolean = [ + true, + { span = { lo = 8, hi = 12 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 12 + +[[outputs]] + +[outputs.Binary] +op = "Or" +id = 2 + +[outputs.Binary.left.Literal] +Boolean = [ + false, + { span = { lo = 0, hi = 5 } }, + 0, +] + +[outputs.Binary.right.Literal] +Boolean = [ + true, + { span = { lo = 7, hi = 11 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Binary] +op = "Or" +id = 4 + +[outputs.Binary.left.Binary] +op = "Or" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Boolean = [ + true, + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Boolean = [ + false, + { span = { lo = 6, hi = 11 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 11 + +[outputs.Binary.right.Literal] +Boolean = [ + false, + { span = { lo = 15, hi = 20 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 20 + +[[outputs]] + +[outputs.Binary] +op = "Or" +id = 6 + +[outputs.Binary.left.Binary] +op = "Or" +id = 4 + +[outputs.Binary.left.Binary.left.Binary] +op = "Or" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Boolean = [ + true, + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Boolean = [ + false, + { span = { lo = 8, hi = 13 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 13 + +[outputs.Binary.left.Binary.right.Literal] +Boolean = [ + true, + { span = { lo = 17, hi = 21 } }, + 3, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 21 + +[outputs.Binary.right.Literal] +Boolean = [ + false, + { span = { lo = 25, hi = 30 } }, + 5, +] + +[outputs.Binary.span] +lo = 0 +hi = 30 + +[[outputs]] + +[outputs.Binary] +op = "Or" +id = 6 + +[outputs.Binary.left.Binary] +op = "Or" +id = 4 + +[outputs.Binary.left.Binary.left.Literal] +Boolean = [ + true, + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Binary] +op = "Or" +id = 3 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Boolean = [ + true, + { span = { lo = 9, hi = 13 } }, + 1, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Boolean = [ + false, + { span = { lo = 17, hi = 22 } }, + 2, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 9 +hi = 22 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 22 + +[outputs.Binary.right.Literal] +Boolean = [ + true, + { span = { lo = 27, hi = 31 } }, + 5, +] + +[outputs.Binary.span] +lo = 0 +hi = 31 diff --git a/tests/expectations/parser/expression/binary/pow.out b/tests/expectations/parser/expression/binary/pow.out index 0b1d6e92ba..84610f3b46 100644 --- a/tests/expectations/parser/expression/binary/pow.out +++ b/tests/expectations/parser/expression/binary/pow.out @@ -1,362 +1,462 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - op: Pow - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 5 - hi: 8 - - 1 - op: Pow - span: - lo: 0 - hi: 8 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Pow - span: - lo: 0 - hi: 10 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 14 - hi: 17 - - 3 - op: Pow - span: - lo: 0 - hi: 17 - id: 4 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Pow - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Pow - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Pow - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Pow - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Pow - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Pow - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Pow - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Pow - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Pow - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Pow - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Pow - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Pow - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Pow - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Pow - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Pow - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Pow - span: - lo: 13 - hi: 21 - id: 7 - op: Pow - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Pow - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Pow - span: - lo: 39 - hi: 47 - id: 17 - op: Pow - span: - lo: 27 - hi: 47 - id: 18 - op: Pow - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 5, hi = 8 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 4 + +[outputs.Binary.left.Binary] +op = "Pow" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 14, hi = 17 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Pow" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 9 + +[outputs.Binary.left.Binary] +op = "Pow" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Pow" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Pow" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Pow" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Pow" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Pow" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Pow" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Pow" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Pow" +id = 19 + +[outputs.Binary.left.Binary] +op = "Pow" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Pow" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Pow" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Pow" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Pow" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Pow" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/pow_wrapped.out b/tests/expectations/parser/expression/binary/pow_wrapped.out index d39406d38d..7a49957401 100644 --- a/tests/expectations/parser/expression/binary/pow_wrapped.out +++ b/tests/expectations/parser/expression/binary/pow_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: PowWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - op: Not - span: - lo: 0 - hi: 18 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: PowWrapped - span: - lo: 0 - hi: 16 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: PowWrapped - span: - lo: 0 - hi: 31 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - op: PowWrapped - span: - lo: 0 - hi: 46 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: PowWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Negate - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: PowWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: PowWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: PowWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: PowWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: PowWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: PowWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: PowWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: PowWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: PowWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: PowWrapped - span: - lo: 1 - hi: 17 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}" - op: PowWrapped - span: - lo: 21 - hi: 37 - id: 7 - op: Pow - span: - lo: 1 - hi: 37 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}" - op: PowWrapped - span: - lo: 51 - hi: 67 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}" - op: PowWrapped - span: - lo: 71 - hi: 87 - id: 17 - op: Pow - span: - lo: 51 - hi: 87 - id: 18 - op: PowWrapped - span: - lo: 1 - hi: 88 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "PowWrapped" +id = 9 + +[outputs.Binary.left.Binary] +op = "PowWrapped" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 16 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 31 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":44,\"hi\":45}"}' + +[outputs.Binary.span] +lo = 0 +hi = 46 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "PowWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "PowWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "PowWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "PowWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Binary] +op = "PowWrapped" +id = 19 + +[outputs.Binary.left.Binary] +op = "Pow" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "PowWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 17 + +[outputs.Binary.left.Binary.right.Binary] +op = "PowWrapped" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":21,\"hi\":22}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":35,\"hi\":36}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 21 +hi = 37 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 37 + +[outputs.Binary.right.Binary] +op = "Pow" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "PowWrapped" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":51,\"hi\":52}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":65,\"hi\":66}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 51 +hi = 67 + +[outputs.Binary.right.Binary.right.Binary] +op = "PowWrapped" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":71,\"hi\":72}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":85,\"hi\":86}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 71 +hi = 87 + +[outputs.Binary.right.Binary.span] +lo = 51 +hi = 87 + +[outputs.Binary.span] +lo = 1 +hi = 88 diff --git a/tests/expectations/parser/expression/binary/rem.out b/tests/expectations/parser/expression/binary/rem.out index bec8858a97..dc5e79b76c 100644 --- a/tests/expectations/parser/expression/binary/rem.out +++ b/tests/expectations/parser/expression/binary/rem.out @@ -1,418 +1,520 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Rem - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 4 - hi: 7 - - 1 - op: Rem - span: - lo: 0 - hi: 7 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Rem - span: - lo: 0 - hi: 9 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 12 - hi: 15 - - 3 - op: Rem - span: - lo: 0 - hi: 15 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Pow - span: - lo: 0 - hi: 10 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 20 - hi: 23 - - 4 - op: Pow - span: - lo: 13 - hi: 23 - id: 5 - op: Rem - span: - lo: 0 - hi: 23 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Rem - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Rem - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Rem - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Rem - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Rem - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Rem - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Rem - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Rem - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Rem - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Rem - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Rem - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Rem - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Rem - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Rem - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Rem - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - op: Rem - span: - lo: 12 - hi: 20 - id: 7 - op: Rem - span: - lo: 1 - hi: 20 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":27}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: Rem - span: - lo: 26 - hi: 34 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}" - op: Rem - span: - lo: 37 - hi: 45 - id: 17 - op: Rem - span: - lo: 26 - hi: 45 - id: 18 - op: Rem - span: - lo: 1 - hi: 46 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 4, hi = 7 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 4 + +[outputs.Binary.left.Binary] +op = "Rem" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 12, hi = 15 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 6 + +[outputs.Binary.left.Binary] +op = "Pow" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Binary] +op = "Pow" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 20, hi = 23 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 23 + +[outputs.Binary.span] +lo = 0 +hi = 23 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Rem" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 9 + +[outputs.Binary.left.Binary] +op = "Rem" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Rem" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Rem" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Rem" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Rem" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Rem" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Rem" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Rem" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Rem" +id = 19 + +[outputs.Binary.left.Binary] +op = "Rem" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Rem" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Rem" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 12 +hi = 20 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 20 + +[outputs.Binary.right.Binary] +op = "Rem" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Rem" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":26,\"hi\":27}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 26 +hi = 34 + +[outputs.Binary.right.Binary.right.Binary] +op = "Rem" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":37,\"hi\":38}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":43,\"hi\":44}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 37 +hi = 45 + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 45 + +[outputs.Binary.span] +lo = 1 +hi = 46 diff --git a/tests/expectations/parser/expression/binary/rem_wrapped.out b/tests/expectations/parser/expression/binary/rem_wrapped.out index 63f0e4cd91..c43cbabdae 100644 --- a/tests/expectations/parser/expression/binary/rem_wrapped.out +++ b/tests/expectations/parser/expression/binary/rem_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: RemWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - op: Not - span: - lo: 0 - hi: 18 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: RemWrapped - span: - lo: 0 - hi: 16 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: RemWrapped - span: - lo: 0 - hi: 31 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - op: RemWrapped - span: - lo: 0 - hi: 46 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: RemWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Negate - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: RemWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: RemWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: RemWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: RemWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: RemWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: RemWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: RemWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: RemWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: RemWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: RemWrapped - span: - lo: 1 - hi: 17 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":35}\"}" - op: RemWrapped - span: - lo: 20 - hi: 36 - id: 7 - op: Div - span: - lo: 1 - hi: 36 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":64,\\\"hi\\\":65}\"}" - op: RemWrapped - span: - lo: 50 - hi: 66 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":69,\\\"hi\\\":70}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":83,\\\"hi\\\":84}\"}" - op: RemWrapped - span: - lo: 69 - hi: 85 - id: 17 - op: Div - span: - lo: 50 - hi: 85 - id: 18 - op: RemWrapped - span: - lo: 1 - hi: 86 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "RemWrapped" +id = 9 + +[outputs.Binary.left.Binary] +op = "RemWrapped" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 16 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 31 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":44,\"hi\":45}"}' + +[outputs.Binary.span] +lo = 0 +hi = 46 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "RemWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "RemWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "RemWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "RemWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Binary] +op = "RemWrapped" +id = 19 + +[outputs.Binary.left.Binary] +op = "Div" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "RemWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 17 + +[outputs.Binary.left.Binary.right.Binary] +op = "RemWrapped" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":34,\"hi\":35}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 20 +hi = 36 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 36 + +[outputs.Binary.right.Binary] +op = "Div" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "RemWrapped" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":50,\"hi\":51}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":64,\"hi\":65}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 50 +hi = 66 + +[outputs.Binary.right.Binary.right.Binary] +op = "RemWrapped" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":69,\"hi\":70}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":83,\"hi\":84}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 69 +hi = 85 + +[outputs.Binary.right.Binary.span] +lo = 50 +hi = 85 + +[outputs.Binary.span] +lo = 1 +hi = 86 diff --git a/tests/expectations/parser/expression/binary/shl.out b/tests/expectations/parser/expression/binary/shl.out index afebc8d9ac..f672c10266 100644 --- a/tests/expectations/parser/expression/binary/shl.out +++ b/tests/expectations/parser/expression/binary/shl.out @@ -1,546 +1,652 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - op: Shl - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 5 - hi: 8 - - 1 - op: Shl - span: - lo: 0 - hi: 8 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Shl - span: - lo: 0 - hi: 10 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 14 - hi: 17 - - 3 - op: Shl - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Add - span: - lo: 13 - hi: 22 - id: 5 - op: Shl - span: - lo: 0 - hi: 22 - id: 6 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Shl - span: - lo: 0 - hi: 10 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 14 - hi: 17 - - 3 - op: Shl - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Add - span: - lo: 13 - hi: 22 - id: 5 - op: Shl - span: - lo: 0 - hi: 22 - id: 6 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 26 - hi: 29 - - 7 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 32 - hi: 35 - - 8 - op: Add - span: - lo: 26 - hi: 35 - id: 9 - op: Shl - span: - lo: 0 - hi: 35 - id: 10 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shl - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Shl - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Shl - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Shl - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Shl - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Shl - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shl - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shl - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Shl - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Shl - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Shl - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shl - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shl - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Shl - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Shl - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Shl - span: - lo: 13 - hi: 21 - id: 7 - op: Shl - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Shl - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Shl - span: - lo: 39 - hi: 47 - id: 17 - op: Shl - span: - lo: 27 - hi: 47 - id: 18 - op: Shl - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 5, hi = 8 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 4 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 14, hi = 17 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 6 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 4 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 14, hi = 17 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 10 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 22 + +[outputs.Binary.right.Binary] +op = "Add" +id = 9 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 26, hi = 29 } }, + 7, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 32, hi = 35 } }, + 8, +] + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 35 + +[outputs.Binary.span] +lo = 0 +hi = 35 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Shl" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 9 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Shl" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shl" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shl" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Shl" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shl" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shl" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Shl" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Shl" +id = 19 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Shl" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Shl" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Shl" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Shl" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Shl" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/shl_wrapped.out b/tests/expectations/parser/expression/binary/shl_wrapped.out index 3978fe1747..1f1e86994d 100644 --- a/tests/expectations/parser/expression/binary/shl_wrapped.out +++ b/tests/expectations/parser/expression/binary/shl_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShlWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - op: Not - span: - lo: 0 - hi: 18 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: ShlWrapped - span: - lo: 0 - hi: 16 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: ShlWrapped - span: - lo: 0 - hi: 31 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - op: ShlWrapped - span: - lo: 0 - hi: 46 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: ShlWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Negate - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: ShlWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShlWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShlWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: ShlWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: ShlWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: ShlWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShlWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShlWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: ShlWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: ShlWrapped - span: - lo: 1 - hi: 17 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}" - op: ShlWrapped - span: - lo: 21 - hi: 37 - id: 7 - op: Shl - span: - lo: 1 - hi: 37 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}" - op: ShlWrapped - span: - lo: 51 - hi: 67 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}" - op: ShlWrapped - span: - lo: 71 - hi: 87 - id: 17 - op: Shl - span: - lo: 51 - hi: 87 - id: 18 - op: ShlWrapped - span: - lo: 1 - hi: 88 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "ShlWrapped" +id = 9 + +[outputs.Binary.left.Binary] +op = "ShlWrapped" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 16 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 31 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":44,\"hi\":45}"}' + +[outputs.Binary.span] +lo = 0 +hi = 46 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "ShlWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "ShlWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "ShlWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "ShlWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Binary] +op = "ShlWrapped" +id = 19 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "ShlWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 17 + +[outputs.Binary.left.Binary.right.Binary] +op = "ShlWrapped" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":21,\"hi\":22}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":35,\"hi\":36}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 21 +hi = 37 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 37 + +[outputs.Binary.right.Binary] +op = "Shl" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "ShlWrapped" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":51,\"hi\":52}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":65,\"hi\":66}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 51 +hi = 67 + +[outputs.Binary.right.Binary.right.Binary] +op = "ShlWrapped" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":71,\"hi\":72}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":85,\"hi\":86}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 71 +hi = 87 + +[outputs.Binary.right.Binary.span] +lo = 51 +hi = 87 + +[outputs.Binary.span] +lo = 1 +hi = 88 diff --git a/tests/expectations/parser/expression/binary/shr.out b/tests/expectations/parser/expression/binary/shr.out index 926a822d48..1eb1af7417 100644 --- a/tests/expectations/parser/expression/binary/shr.out +++ b/tests/expectations/parser/expression/binary/shr.out @@ -1,546 +1,652 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - op: Shr - span: - lo: 0 - hi: 10 - id: 2 - - Binary: - left: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 5 - hi: 8 - - 1 - op: Shr - span: - lo: 0 - hi: 8 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Shr - span: - lo: 0 - hi: 10 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 14 - hi: 17 - - 3 - op: Shr - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Add - span: - lo: 13 - hi: 22 - id: 5 - op: Shr - span: - lo: 0 - hi: 22 - id: 6 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 7 - hi: 10 - - 1 - op: Shr - span: - lo: 0 - hi: 10 - id: 2 - right: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 14 - hi: 17 - - 3 - op: Shr - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 6 - hi: 9 - - 1 - op: Add - span: - lo: 0 - hi: 9 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "3" - - span: - lo: 13 - hi: 16 - - 3 - right: - Literal: - Integer: - - U8 - - "4" - - span: - lo: 19 - hi: 22 - - 4 - op: Add - span: - lo: 13 - hi: 22 - id: 5 - op: Shr - span: - lo: 0 - hi: 22 - id: 6 - right: - Binary: - left: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 26 - hi: 29 - - 7 - right: - Literal: - Integer: - - U8 - - "6" - - span: - lo: 32 - hi: 35 - - 8 - op: Add - span: - lo: 26 - hi: 35 - id: 9 - op: Shr - span: - lo: 0 - hi: 35 - id: 10 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shr - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Shr - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Shr - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Shr - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Shr - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Shr - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shr - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shr - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Shr - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Shr - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Shr - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shr - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Shr - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Shr - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Shr - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Shr - span: - lo: 13 - hi: 21 - id: 7 - op: Shr - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Shr - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Shr - span: - lo: 39 - hi: 47 - id: 17 - op: Shr - span: - lo: 27 - hi: 47 - id: 18 - op: Shr - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 5, hi = 8 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 4 + +[outputs.Binary.left.Binary] +op = "Shr" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 14, hi = 17 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 6 + +[outputs.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 4 + +[outputs.Binary.left.Binary] +op = "Shr" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 14, hi = 17 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 10 + +[outputs.Binary.left.Binary] +op = "Shr" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Add" +id = 2 + +[outputs.Binary.left.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.left.Binary.right.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Add" +id = 5 + +[outputs.Binary.left.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 13, hi = 16 } }, + 3, +] + +[outputs.Binary.left.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "4", + { span = { lo = 19, hi = 22 } }, + 4, +] + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 22 + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 22 + +[outputs.Binary.right.Binary] +op = "Add" +id = 9 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 26, hi = 29 } }, + 7, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "U8", + "6", + { span = { lo = 32, hi = 35 } }, + 8, +] + +[outputs.Binary.right.Binary.span] +lo = 26 +hi = 35 + +[outputs.Binary.span] +lo = 0 +hi = 35 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Shr" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 9 + +[outputs.Binary.left.Binary] +op = "Shr" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Shr" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Shr" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Shr" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Shr" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Shr" +id = 19 + +[outputs.Binary.left.Binary] +op = "Shr" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Shr" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Shr" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Shr" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Shr" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Shr" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/shr_wrapped.out b/tests/expectations/parser/expression/binary/shr_wrapped.out index b86ed152b5..324f16a016 100644 --- a/tests/expectations/parser/expression/binary/shr_wrapped.out +++ b/tests/expectations/parser/expression/binary/shr_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShrWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - op: Not - span: - lo: 0 - hi: 18 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: ShrWrapped - span: - lo: 0 - hi: 16 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: ShrWrapped - span: - lo: 0 - hi: 31 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - op: ShrWrapped - span: - lo: 0 - hi: 46 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: ShrWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Negate - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: ShrWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShrWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShrWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: ShrWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: ShrWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: ShrWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShrWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: ShrWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: ShrWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: ShrWrapped - span: - lo: 1 - hi: 17 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}" - op: ShrWrapped - span: - lo: 21 - hi: 37 - id: 7 - op: Shr - span: - lo: 1 - hi: 37 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}" - op: ShrWrapped - span: - lo: 51 - hi: 67 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}" - op: ShrWrapped - span: - lo: 71 - hi: 87 - id: 17 - op: Shr - span: - lo: 51 - hi: 87 - id: 18 - op: ShrWrapped - span: - lo: 1 - hi: 88 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "ShrWrapped" +id = 9 + +[outputs.Binary.left.Binary] +op = "ShrWrapped" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 16 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 31 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":44,\"hi\":45}"}' + +[outputs.Binary.span] +lo = 0 +hi = 46 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "ShrWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "ShrWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "ShrWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "ShrWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Binary] +op = "ShrWrapped" +id = 19 + +[outputs.Binary.left.Binary] +op = "Shr" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "ShrWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 17 + +[outputs.Binary.left.Binary.right.Binary] +op = "ShrWrapped" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":21,\"hi\":22}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":35,\"hi\":36}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 21 +hi = 37 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 37 + +[outputs.Binary.right.Binary] +op = "Shr" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "ShrWrapped" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":51,\"hi\":52}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":65,\"hi\":66}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 51 +hi = 67 + +[outputs.Binary.right.Binary.right.Binary] +op = "ShrWrapped" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":71,\"hi\":72}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":85,\"hi\":86}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 71 +hi = 87 + +[outputs.Binary.right.Binary.span] +lo = 51 +hi = 87 + +[outputs.Binary.span] +lo = 1 +hi = 88 diff --git a/tests/expectations/parser/expression/binary/sub.out b/tests/expectations/parser/expression/binary/sub.out index dc6e6e994f..c6cb88e757 100644 --- a/tests/expectations/parser/expression/binary/sub.out +++ b/tests/expectations/parser/expression/binary/sub.out @@ -1,418 +1,520 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 6 - hi: 9 - - 1 - op: Sub - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Literal: - Integer: - - U16 - - "2" - - span: - lo: 0 - hi: 4 - - 0 - right: - Literal: - Integer: - - U64 - - "3" - - span: - lo: 5 - hi: 9 - - 1 - op: Sub - span: - lo: 0 - hi: 9 - id: 2 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U32 - - "1" - - span: - lo: 0 - hi: 4 - - 0 - right: - Literal: - Integer: - - U32 - - "2" - - span: - lo: 7 - hi: 11 - - 1 - op: Sub - span: - lo: 0 - hi: 11 - id: 2 - right: - Literal: - Integer: - - U32 - - "3" - - span: - lo: 14 - hi: 18 - - 3 - op: Sub - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 0 - hi: 3 - - 0 - right: - Literal: - Integer: - - U16 - - "2" - - span: - lo: 6 - hi: 10 - - 1 - op: Mul - span: - lo: 0 - hi: 10 - id: 2 - right: - Binary: - left: - Literal: - Integer: - - U32 - - "3" - - span: - lo: 13 - hi: 17 - - 3 - right: - Literal: - Integer: - - I64 - - "4" - - span: - lo: 20 - hi: 24 - - 4 - op: Mul - span: - lo: 13 - hi: 24 - id: 5 - op: Sub - span: - lo: 0 - hi: 24 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Sub - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - op: Not - span: - lo: 0 - hi: 10 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Sub - span: - lo: 0 - hi: 8 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - op: Sub - span: - lo: 0 - hi: 15 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Sub - span: - lo: 0 - hi: 22 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Sub - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Sub - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Sub - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Sub - span: - lo: 2 - hi: 10 - id: 3 - op: Negate - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Sub - span: - lo: 1 - hi: 18 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Sub - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - op: Sub - span: - lo: 1 - hi: 11 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Sub - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 0 - hi: 10 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - op: Sub - span: - lo: 2 - hi: 10 - id: 3 - op: Not - span: - lo: 1 - hi: 10 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Sub - span: - lo: 1 - hi: 18 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - op: Sub - span: - lo: 1 - hi: 9 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - op: Sub - span: - lo: 13 - hi: 21 - id: 7 - op: Shl - span: - lo: 1 - hi: 21 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":27,\\\"hi\\\":28}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - op: Sub - span: - lo: 27 - hi: 35 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - op: Sub - span: - lo: 39 - hi: 47 - id: 17 - op: Shl - span: - lo: 27 - hi: 47 - id: 18 - op: Sub - span: - lo: 1 - hi: 48 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 6, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 2 + +[outputs.Binary.left.Literal] +Integer = [ + "U16", + "2", + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.right.Literal] +Integer = [ + "U64", + "3", + { span = { lo = 5, hi = 9 } }, + 1, +] + +[outputs.Binary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 4 + +[outputs.Binary.left.Binary] +op = "Sub" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U32", + "1", + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U32", + "2", + { span = { lo = 7, hi = 11 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 11 + +[outputs.Binary.right.Literal] +Integer = [ + "U32", + "3", + { span = { lo = 14, hi = 18 } }, + 3, +] + +[outputs.Binary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 6 + +[outputs.Binary.left.Binary] +op = "Mul" +id = 2 + +[outputs.Binary.left.Binary.left.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 0, hi = 3 } }, + 0, +] + +[outputs.Binary.left.Binary.right.Literal] +Integer = [ + "U16", + "2", + { span = { lo = 6, hi = 10 } }, + 1, +] + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 10 + +[outputs.Binary.right.Binary] +op = "Mul" +id = 5 + +[outputs.Binary.right.Binary.left.Literal] +Integer = [ + "U32", + "3", + { span = { lo = 13, hi = 17 } }, + 3, +] + +[outputs.Binary.right.Binary.right.Literal] +Integer = [ + "I64", + "4", + { span = { lo = 20, hi = 24 } }, + 4, +] + +[outputs.Binary.right.Binary.span] +lo = 13 +hi = 24 + +[outputs.Binary.span] +lo = 0 +hi = 24 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "Sub" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 9 + +[outputs.Binary.left.Binary] +op = "Sub" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "Sub" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 8 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 15 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Binary.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Sub" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Sub" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Sub" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Sub" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Binary.span] +lo = 1 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "Sub" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "Sub" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 10 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 10 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "Sub" +id = 19 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "Sub" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 9 + +[outputs.Binary.left.Binary.right.Binary] +op = "Sub" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 13 +hi = 21 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 21 + +[outputs.Binary.right.Binary] +op = "Shl" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "Sub" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":27,\"hi\":28}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 27 +hi = 35 + +[outputs.Binary.right.Binary.right.Binary] +op = "Sub" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":39,\"hi\":40}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":45,\"hi\":46}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 39 +hi = 47 + +[outputs.Binary.right.Binary.span] +lo = 27 +hi = 47 + +[outputs.Binary.span] +lo = 1 +hi = 48 diff --git a/tests/expectations/parser/expression/binary/sub_wrapped.out b/tests/expectations/parser/expression/binary/sub_wrapped.out index 3b94073874..242bc43ffa 100644 --- a/tests/expectations/parser/expression/binary/sub_wrapped.out +++ b/tests/expectations/parser/expression/binary/sub_wrapped.out @@ -1,274 +1,368 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: SubWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - op: Not - span: - lo: 0 - hi: 18 - id: 5 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - op: SubWrapped - span: - lo: 0 - hi: 16 - id: 3 - right: - Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}" - op: SubWrapped - span: - lo: 0 - hi: 31 - id: 6 - right: - Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - op: SubWrapped - span: - lo: 0 - hi: 46 - id: 9 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: SubWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Negate - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: SubWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: SubWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: SubWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Negate - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: SubWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: SubWrapped - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Binary: - left: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - right: - Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: SubWrapped - span: - lo: 1 - hi: 19 - id: 4 - - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: SubWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 0 - hi: 18 - id: 4 - - Binary: - left: - Unary: - receiver: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: SubWrapped - span: - lo: 2 - hi: 18 - id: 3 - op: Not - span: - lo: 1 - hi: 18 - id: 4 - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}" - op: SubWrapped - span: - lo: 1 - hi: 34 - id: 7 - - Binary: - left: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: SubWrapped - span: - lo: 1 - hi: 17 - id: 3 - right: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" - right: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}" - op: SubWrapped - span: - lo: 21 - hi: 37 - id: 7 - op: Shl - span: - lo: 1 - hi: 37 - id: 8 - right: - Binary: - left: - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}" - right: - Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}" - op: SubWrapped - span: - lo: 51 - hi: 67 - id: 13 - right: - Binary: - left: - Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}" - right: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}" - op: SubWrapped - span: - lo: 71 - hi: 87 - id: 17 - op: Shl - span: - lo: 51 - hi: 87 - id: 18 - op: SubWrapped - span: - lo: 1 - hi: 88 - id: 19 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "SubWrapped" +id = 9 + +[outputs.Binary.left.Binary] +op = "SubWrapped" +id = 6 + +[outputs.Binary.left.Binary.left.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 0 +hi = 16 + +[outputs.Binary.left.Binary.right] +Identifier = '{"id":"5","name":"y","span":"{\"lo\":29,\"hi\":30}"}' + +[outputs.Binary.left.Binary.span] +lo = 0 +hi = 31 + +[outputs.Binary.right] +Identifier = '{"id":"8","name":"y","span":"{\"lo\":44,\"hi\":45}"}' + +[outputs.Binary.span] +lo = 0 +hi = 46 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "SubWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "SubWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Negate" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Binary] +op = "SubWrapped" +id = 4 + +[outputs.Binary.left.Unary] +op = "Not" +id = 1 + +[outputs.Binary.left.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 3 + +[outputs.Binary.right] +Identifier = '{"id":"3","name":"y","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Binary.span] +lo = 1 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Unary.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Binary] +op = "SubWrapped" +id = 7 + +[outputs.Binary.left.Unary] +op = "Not" +id = 4 + +[outputs.Binary.left.Unary.receiver.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Binary.left.Unary.receiver.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Binary.left.Unary.receiver.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Binary.left.Unary.receiver.Binary.span] +lo = 2 +hi = 18 + +[outputs.Binary.left.Unary.span] +lo = 1 +hi = 18 + +[outputs.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":32,\"hi\":33}"}' + +[outputs.Binary.span] +lo = 1 +hi = 34 + +[[outputs]] + +[outputs.Binary] +op = "SubWrapped" +id = 19 + +[outputs.Binary.left.Binary] +op = "Shl" +id = 8 + +[outputs.Binary.left.Binary.left.Binary] +op = "SubWrapped" +id = 3 + +[outputs.Binary.left.Binary.left.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Binary.left.Binary.left.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Binary.left.Binary.left.Binary.span] +lo = 1 +hi = 17 + +[outputs.Binary.left.Binary.right.Binary] +op = "SubWrapped" +id = 7 + +[outputs.Binary.left.Binary.right.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":21,\"hi\":22}"}' + +[outputs.Binary.left.Binary.right.Binary.right] +Identifier = '{"id":"6","name":"y","span":"{\"lo\":35,\"hi\":36}"}' + +[outputs.Binary.left.Binary.right.Binary.span] +lo = 21 +hi = 37 + +[outputs.Binary.left.Binary.span] +lo = 1 +hi = 37 + +[outputs.Binary.right.Binary] +op = "Shl" +id = 18 + +[outputs.Binary.right.Binary.left.Binary] +op = "SubWrapped" +id = 13 + +[outputs.Binary.right.Binary.left.Binary.left] +Identifier = '{"id":"10","name":"x","span":"{\"lo\":51,\"hi\":52}"}' + +[outputs.Binary.right.Binary.left.Binary.right] +Identifier = '{"id":"12","name":"y","span":"{\"lo\":65,\"hi\":66}"}' + +[outputs.Binary.right.Binary.left.Binary.span] +lo = 51 +hi = 67 + +[outputs.Binary.right.Binary.right.Binary] +op = "SubWrapped" +id = 17 + +[outputs.Binary.right.Binary.right.Binary.left] +Identifier = '{"id":"14","name":"x","span":"{\"lo\":71,\"hi\":72}"}' + +[outputs.Binary.right.Binary.right.Binary.right] +Identifier = '{"id":"16","name":"y","span":"{\"lo\":85,\"hi\":86}"}' + +[outputs.Binary.right.Binary.right.Binary.span] +lo = 71 +hi = 87 + +[outputs.Binary.right.Binary.span] +lo = 51 +hi = 87 + +[outputs.Binary.span] +lo = 1 +hi = 88 diff --git a/tests/expectations/parser/expression/cast.out b/tests/expectations/parser/expression/cast.out index 2ffc458e66..5f3566d434 100644 --- a/tests/expectations/parser/expression/cast.out +++ b/tests/expectations/parser/expression/cast.out @@ -1,144 +1,175 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Cast: - expression: - Identifier: "{\"id\":\"0\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}" - type_: - Integer: U8 - span: - lo: 0 - hi: 9 - id: 1 - - Cast: - expression: - Literal: - Integer: - - U128 - - "1" - - span: - lo: 0 - hi: 5 - - 0 - type_: - Integer: I8 - span: - lo: 0 - hi: 11 - id: 1 - - Cast: - expression: - Struct: - name: "{\"id\":\"0\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}" - members: - - identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":9}\"}" - expression: - Identifier: "{\"id\":\"2\",\"name\":\"u8\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":13}\"}" - span: - lo: 6 - hi: 13 - id: 3 - span: - lo: 0 - hi: 15 - id: 4 - type_: Scalar - span: - lo: 0 - hi: 25 - id: 5 - - Ternary: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"flag\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - if_true: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 7 - hi: 10 - - 1 - if_false: - Cast: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 13 - hi: 16 - - 2 - type_: Scalar - span: - lo: 13 - hi: 26 - id: 3 - span: - lo: 0 - hi: 26 - id: 4 - - Cast: - expression: - Ternary: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"flag\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":5}\"}" - if_true: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 8 - hi: 11 - - 1 - if_false: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 14 - hi: 17 - - 2 - span: - lo: 1 - hi: 17 - id: 3 - type_: Scalar - span: - lo: 1 - hi: 28 - id: 4 - - Cast: - expression: - Literal: - Integer: - - I8 - - "34" - - span: - lo: 0 - hi: 4 - - 0 - type_: Field - span: - lo: 0 - hi: 13 - id: 1 - - Cast: - expression: - Literal: - Field: - - "0925348043850" - - span: - lo: 0 - hi: 18 - - 0 - type_: - Integer: I8 - span: - lo: 0 - hi: 24 - id: 1 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Cast] +id = 1 + +[outputs.Cast.expression] +Identifier = '{"id":"0","name":"foo","span":"{\"lo\":0,\"hi\":3}"}' + +[outputs.Cast.type_] +Integer = "U8" + +[outputs.Cast.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Cast] +id = 1 + +[outputs.Cast.expression.Literal] +Integer = [ + "U128", + "1", + { span = { lo = 0, hi = 5 } }, + 0, +] + +[outputs.Cast.type_] +Integer = "I8" + +[outputs.Cast.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Cast] +type_ = "Scalar" +id = 5 + +[outputs.Cast.expression.Struct] +name = '{"id":"0","name":"baz","span":"{\"lo\":0,\"hi\":3}"}' +id = 4 + +[[outputs.Cast.expression.Struct.members]] +identifier = '{"id":"1","name":"foo","span":"{\"lo\":6,\"hi\":9}"}' +id = 3 + +[outputs.Cast.expression.Struct.members.expression] +Identifier = '{"id":"2","name":"u8","span":"{\"lo\":11,\"hi\":13}"}' + +[outputs.Cast.expression.Struct.members.span] +lo = 6 +hi = 13 + +[outputs.Cast.expression.Struct.span] +lo = 0 +hi = 15 + +[outputs.Cast.span] +lo = 0 +hi = 25 + +[[outputs]] + +[outputs.Ternary] +id = 4 + +[outputs.Ternary.condition] +Identifier = '{"id":"0","name":"flag","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Ternary.if_true.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 7, hi = 10 } }, + 1, +] + +[outputs.Ternary.if_false.Cast] +type_ = "Scalar" +id = 3 + +[outputs.Ternary.if_false.Cast.expression.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 13, hi = 16 } }, + 2, +] + +[outputs.Ternary.if_false.Cast.span] +lo = 13 +hi = 26 + +[outputs.Ternary.span] +lo = 0 +hi = 26 + +[[outputs]] + +[outputs.Cast] +type_ = "Scalar" +id = 4 + +[outputs.Cast.expression.Ternary] +id = 3 + +[outputs.Cast.expression.Ternary.condition] +Identifier = '{"id":"0","name":"flag","span":"{\"lo\":1,\"hi\":5}"}' + +[outputs.Cast.expression.Ternary.if_true.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 8, hi = 11 } }, + 1, +] + +[outputs.Cast.expression.Ternary.if_false.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 14, hi = 17 } }, + 2, +] + +[outputs.Cast.expression.Ternary.span] +lo = 1 +hi = 17 + +[outputs.Cast.span] +lo = 1 +hi = 28 + +[[outputs]] + +[outputs.Cast] +type_ = "Field" +id = 1 + +[outputs.Cast.expression.Literal] +Integer = [ + "I8", + "34", + { span = { lo = 0, hi = 4 } }, + 0, +] + +[outputs.Cast.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Cast] +id = 1 + +[outputs.Cast.expression.Literal] +Field = [ + "0925348043850", + { span = { lo = 0, hi = 18 } }, + 0, +] + +[outputs.Cast.type_] +Integer = "I8" + +[outputs.Cast.span] +lo = 0 +hi = 24 diff --git a/tests/expectations/parser/expression/cast_fail.out b/tests/expectations/parser/expression/cast_fail.out index 63b62f6281..eba214567e 100644 --- a/tests/expectations/parser/expression/cast_fail.out +++ b/tests/expectations/parser/expression/cast_fail.out @@ -1,9 +1,26 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "did not consume all input: 'aas' @ 1:5-8\n'u8' @ 1:9-11\n" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '{'\n --> test:1:10\n |\n 1 | 1u128 as { foo: u8 }\n | ^" - - "did not consume all input: ';' @ 1:14-15\n" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found 'bar'\n --> test:1:8\n |\n 1 | 1u8 as bar;\n | ^^^" - - "did not consume all input: 'asu8' @ 1:5-9\n" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +did not consume all input: 'aas' @ 1:5-8 +'u8' @ 1:9-11 +""", + """ +Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '{' + --> test:1:10 + | + 1 | 1u128 as { foo: u8 } + | ^""", + """ +did not consume all input: ';' @ 1:14-15 +""", + """ +Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found 'bar' + --> test:1:8 + | + 1 | 1u8 as bar; + | ^^^""", + """ +did not consume all input: 'asu8' @ 1:5-9 +""", +] diff --git a/tests/expectations/parser/expression/circuit_init_fail.out b/tests/expectations/parser/expression/circuit_init_fail.out index a1898918cf..260391bd2d 100644 --- a/tests/expectations/parser/expression/circuit_init_fail.out +++ b/tests/expectations/parser/expression/circuit_init_fail.out @@ -1,16 +1,73 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ''\n --> test:1:3\n |\n 1 | x {\n | ^" - - "did not consume all input: '}' @ 1:3-4\n" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:5\n |\n 1 | x { , }\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,,,}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:6\n |\n 1 | x {x,,}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,,x}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,x}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:8\n |\n 1 | x {x:y,,}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,,x:y}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x {,x:y}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:6\n |\n 1 | x {x:}\n | ^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '' + --> test:1:3 + | + 1 | x { + | ^""", + """ +did not consume all input: '}' @ 1:3-4 +""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:4 + | + 1 | x {,} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:5 + | + 1 | x { , } + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:4 + | + 1 | x {,,,} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:6 + | + 1 | x {x,,} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:4 + | + 1 | x {,,x} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:4 + | + 1 | x {,x} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:8 + | + 1 | x {x:y,,} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:4 + | + 1 | x {,,x:y} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:4 + | + 1 | x {,x:y} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '}' + --> test:1:6 + | + 1 | x {x:} + | ^""", +] diff --git a/tests/expectations/parser/expression/ident.out b/tests/expectations/parser/expression/ident.out index 72957e3e05..1ec4cdb748 100644 --- a/tests/expectations/parser/expression/ident.out +++ b/tests/expectations/parser/expression/ident.out @@ -1,23 +1,59 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"X\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"xxx\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"XXX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"x1\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"xu32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"testx\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"truex\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"TRUE\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"testX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"letX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"constX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"test_test\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"self\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"Self\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"input\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"selfX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"SelfX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - - Identifier: "{\"id\":\"0\",\"name\":\"inputX\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}" +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"X","span":"{\"lo\":0,\"hi\":1}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"xxx","span":"{\"lo\":0,\"hi\":3}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"XXX","span":"{\"lo\":0,\"hi\":3}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"x1","span":"{\"lo\":0,\"hi\":2}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"xu32","span":"{\"lo\":0,\"hi\":4}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"testx","span":"{\"lo\":0,\"hi\":5}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"truex","span":"{\"lo\":0,\"hi\":5}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"TRUE","span":"{\"lo\":0,\"hi\":4}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"testX","span":"{\"lo\":0,\"hi\":5}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"letX","span":"{\"lo\":0,\"hi\":4}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"constX","span":"{\"lo\":0,\"hi\":6}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"test_test","span":"{\"lo\":0,\"hi\":9}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"self","span":"{\"lo\":0,\"hi\":4}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"Self","span":"{\"lo\":0,\"hi\":4}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"input","span":"{\"lo\":0,\"hi\":5}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"selfX","span":"{\"lo\":0,\"hi\":5}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"SelfX","span":"{\"lo\":0,\"hi\":5}"}' + +[[outputs]] +Identifier = '{"id":"0","name":"inputX","span":"{\"lo\":0,\"hi\":6}"}' diff --git a/tests/expectations/parser/expression/literal/address.out b/tests/expectations/parser/expression/literal/address.out index b0e997ef27..c3e0cdfc92 100644 --- a/tests/expectations/parser/expression/literal/address.out +++ b/tests/expectations/parser/expression/literal/address.out @@ -1,10 +1,10 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9' @ 1:1-64" - - "'ALEO1' @ 1:1-6" - - "'Aleo1' @ 1:1-6" - - "'aleO1' @ 1:1-6" - - "'aleo2qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64" - - "'bleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64" +namespace = "Token" +expectation = "Pass" +outputs = [ + "'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9' @ 1:1-64", + "'ALEO1' @ 1:1-6", + "'Aleo1' @ 1:1-6", + "'aleO1' @ 1:1-6", + "'aleo2qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64", + "'bleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d9' @ 1:1-64", +] diff --git a/tests/expectations/parser/expression/literal/address_fail.out b/tests/expectations/parser/expression/literal/address_fail.out index 23b56de7c9..3105bb1775 100644 --- a/tests/expectations/parser/expression/literal/address_fail.out +++ b/tests/expectations/parser/expression/literal/address_fail.out @@ -1,14 +1,69 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1'\n --> test:1:1\n |\n 1 | aleo1\n | ^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1'\n --> test:1:1\n |\n 1 | aleo1\n | ^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'\n --> test:1:1\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x'\n --> test:1:68\n |\n 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6Z2eu975wnpz2925ntjccd5cfqxtyu8sta57J9 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j9 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1' + --> test:1:1 + | + 1 | aleo1 + | ^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8st + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1' + --> test:1:1 + | + 1 | aleo1 + | ^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d11 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x' + --> test:1:1 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [EPAR0370001]: invalid address literal: 'aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x' + --> test:1:68 + | + 1 | aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1x + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", +] diff --git a/tests/expectations/parser/expression/literal/address_parse.out b/tests/expectations/parser/expression/literal/address_parse.out index c23190610a..f391b95e75 100644 --- a/tests/expectations/parser/expression/literal/address_parse.out +++ b/tests/expectations/parser/expression/literal/address_parse.out @@ -1,32 +1,38 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Address: - - aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9 - - span: - lo: 0 - hi: 63 - - 0 - - Literal: - Address: - - hello.aleo - - span: - lo: 0 - hi: 5 - - 1 - - Literal: - Address: - - fooooo.aleo - - span: - lo: 0 - hi: 6 - - 1 - - Literal: - Address: - - bar.aleo - - span: - lo: 0 - hi: 3 - - 1 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Address = [ + "aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9", + { span = { lo = 0, hi = 63 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Address = [ + "hello.aleo", + { span = { lo = 0, hi = 5 } }, + 1, +] + +[[outputs]] + +[outputs.Literal] +Address = [ + "fooooo.aleo", + { span = { lo = 0, hi = 6 } }, + 1, +] + +[[outputs]] + +[outputs.Literal] +Address = [ + "bar.aleo", + { span = { lo = 0, hi = 3 } }, + 1, +] diff --git a/tests/expectations/parser/expression/literal/bool.out b/tests/expectations/parser/expression/literal/bool.out index 9222f3dd49..f7c7835c58 100644 --- a/tests/expectations/parser/expression/literal/bool.out +++ b/tests/expectations/parser/expression/literal/bool.out @@ -1,12 +1,12 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'true' @ 1:1-5" - - "'True' @ 1:1-5" - - "'TRUE' @ 1:1-5" - - "'truE' @ 1:1-5" - - "'false' @ 1:1-6" - - "'False' @ 1:1-6" - - "'FALSE' @ 1:1-6" - - "'falsE' @ 1:1-6" +namespace = "Token" +expectation = "Pass" +outputs = [ + "'true' @ 1:1-5", + "'True' @ 1:1-5", + "'TRUE' @ 1:1-5", + "'truE' @ 1:1-5", + "'false' @ 1:1-6", + "'False' @ 1:1-6", + "'FALSE' @ 1:1-6", + "'falsE' @ 1:1-6", +] diff --git a/tests/expectations/parser/expression/literal/bool_parse.out b/tests/expectations/parser/expression/literal/bool_parse.out index 2168d8bea8..71b317b1a0 100644 --- a/tests/expectations/parser/expression/literal/bool_parse.out +++ b/tests/expectations/parser/expression/literal/bool_parse.out @@ -1,18 +1,20 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Boolean: - - true - - span: - lo: 0 - hi: 4 - - 0 - - Literal: - Boolean: - - false - - span: - lo: 0 - hi: 5 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Boolean = [ + true, + { span = { lo = 0, hi = 4 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Boolean = [ + false, + { span = { lo = 0, hi = 5 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/char.out b/tests/expectations/parser/expression/literal/char.out index 3a268084ba..20fada61ff 100644 --- a/tests/expectations/parser/expression/literal/char.out +++ b/tests/expectations/parser/expression/literal/char.out @@ -1,57 +1,163 @@ ---- -namespace: Token -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `'a'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'Z'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\\"'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\''`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\t'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\r'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\0'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{F}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `''`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{E5}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'å'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{4e0}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'Ӡ'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{d800}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{2764}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'❤'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{1F622}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'😭'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{10001F}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x2A'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x7f'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x00'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x01'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x02'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x03'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x04'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x05'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x06'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x07'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x10'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x11'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x12'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x13'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x14'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x15'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x16'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x17'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x20'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x21'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x22'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x23'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x24'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x25'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x26'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x27'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x30'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x31'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x32'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x33'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x34'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x35'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x36'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x37'`.\n" +namespace = "Token" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370016]: Could not lex the following content: `'a'`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `'Z'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\"'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\''`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\t'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\r'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\0'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{F}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `''`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{E5}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'å'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{4e0}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'Ӡ'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{d800}'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{2764}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'❤'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{1F622}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'😭'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{10001F}'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x2A'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x7f'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x00'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x01'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x02'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x03'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x04'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x05'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x06'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x07'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x10'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x11'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x12'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x13'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x14'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x15'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x16'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x17'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x20'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x21'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x22'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x23'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x24'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x25'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x26'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x27'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x30'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x31'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x32'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x33'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x34'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x35'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x36'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x37'`. +''', +] diff --git a/tests/expectations/parser/expression/literal/char_fail.out b/tests/expectations/parser/expression/literal/char_fail.out index 0efb1627ae..469c02c1e6 100644 --- a/tests/expectations/parser/expression/literal/char_fail.out +++ b/tests/expectations/parser/expression/literal/char_fail.out @@ -1,51 +1,145 @@ ---- -namespace: Token -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `'\\'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `\\`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `\\n`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'a`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `''`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x7'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\xz'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x9A'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x7g'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x80'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\xc1'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\xc2'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\xDF'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\xC0'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\xe0'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x9f'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'abcdefg'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\a'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\z'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\A'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\Z'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\1'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\9'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\*'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\t\\t'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\uz'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u1'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u}`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'🦀\\n'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u123'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'🦀1🦀'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u6🦀}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{af🦀'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{2764z'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{276g}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u9999999'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u00000000'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u01000000'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{110000}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{1234567890}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{bbbbb}\\u{aaaa}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'😭😂😘'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'⁩'`.\n" +namespace = "Token" +expectation = "Fail" +outputs = [ + ''' +Error [EPAR0370016]: Could not lex the following content: `'\'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `\`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `\n`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'a`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `''`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x7'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\xz'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x9A'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x7g'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x80'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\xc1'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\xc2'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\xDF'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\xC0'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\xe0'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x9f'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'abcdefg'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\a'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\z'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\A'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\Z'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\1'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\9'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\*'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\t\t'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\uz'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u1'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u}`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'🦀\n'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u123'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'🦀1🦀'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u6🦀}'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{af🦀'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{2764z'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{276g}'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u9999999'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u00000000'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u01000000'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{110000}'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{1234567890}'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{bbbbb}\u{aaaa}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'😭😂😘'`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `'⁩'`. +""", +] diff --git a/tests/expectations/parser/expression/literal/char_parse.out b/tests/expectations/parser/expression/literal/char_parse.out index 38f3f31389..941c3b3393 100644 --- a/tests/expectations/parser/expression/literal/char_parse.out +++ b/tests/expectations/parser/expression/literal/char_parse.out @@ -1,55 +1,157 @@ ---- -namespace: Token -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `'a'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'Z'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\\"'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\t'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\r'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\0'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{F}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `''`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{E5}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'å'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{4e0}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'Ӡ'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{2764}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'❤'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{1F622}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'😭'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\u{10001F}'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x2A'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x7f'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x00'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x01'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x02'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x03'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x04'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x05'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x06'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x07'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x10'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x11'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x12'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x13'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x14'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x15'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x16'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x17'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x20'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x21'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x22'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x23'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x24'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x25'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x26'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x27'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x30'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x31'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x32'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x33'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x34'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x35'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x36'`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'\\x37'`.\n" +namespace = "Token" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370016]: Could not lex the following content: `'a'`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `'Z'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\"'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\t'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\r'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\0'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{F}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `''`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{E5}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'å'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{4e0}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'Ӡ'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{2764}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'❤'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{1F622}'`. +''', + """ +Error [EPAR0370016]: Could not lex the following content: `'😭'`. +""", + ''' +Error [EPAR0370016]: Could not lex the following content: `'\u{10001F}'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x2A'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x7f'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x00'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x01'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x02'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x03'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x04'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x05'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x06'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x07'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x10'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x11'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x12'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x13'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x14'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x15'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x16'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x17'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x20'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x21'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x22'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x23'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x24'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x25'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x26'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x27'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x30'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x31'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x32'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x33'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x34'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x35'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x36'`. +''', + ''' +Error [EPAR0370016]: Could not lex the following content: `'\x37'`. +''', +] diff --git a/tests/expectations/parser/expression/literal/comment.out b/tests/expectations/parser/expression/literal/comment.out index a9f9e944d1..e914af33b6 100644 --- a/tests/expectations/parser/expression/literal/comment.out +++ b/tests/expectations/parser/expression/literal/comment.out @@ -1,16 +1,19 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: [] - span: - lo: 113 - hi: 235 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [] + +[outputs.program_scopes.test.span] +lo = 113 +hi = 235 diff --git a/tests/expectations/parser/expression/literal/comment_fail.out b/tests/expectations/parser/expression/literal/comment_fail.out index 111441936c..0a7e14af0c 100644 --- a/tests/expectations/parser/expression/literal/comment_fail.out +++ b/tests/expectations/parser/expression/literal/comment_fail.out @@ -1,15 +1,29 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370014]: Empty block comment." - - "Error [EPAR0370015]: Block comment does not close with content: `/* test`." - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '/'\n --> test:1:1\n |\n 1 | / /\n | ^" - - "Error [EPAR0370015]: Block comment does not close with content: `/*/`." - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '*'\n --> test:1:1\n |\n 1 | */\n | ^" - - "Error [EPAR0370016]: Could not lex the following content: `🦀**/`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `🦀*/`.\n" - - "Error [EPAR0370015]: Block comment does not close with content: `/*🦀/`." - - "Error [EPAR0370015]: Block comment does not close with content: `/**🦀`." - - "Error [EPAR0370015]: Block comment does not close with content: `/*🦀`." - - "Error [EPAR0370015]: Block comment does not close with content: `/*/*`." +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + "Error [EPAR0370014]: Empty block comment.", + "Error [EPAR0370015]: Block comment does not close with content: `/* test`.", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '/' + --> test:1:1 + | + 1 | / / + | ^""", + "Error [EPAR0370015]: Block comment does not close with content: `/*/`.", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '*' + --> test:1:1 + | + 1 | */ + | ^""", + """ +Error [EPAR0370016]: Could not lex the following content: `🦀**/`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `🦀*/`. +""", + "Error [EPAR0370015]: Block comment does not close with content: `/*🦀/`.", + "Error [EPAR0370015]: Block comment does not close with content: `/**🦀`.", + "Error [EPAR0370015]: Block comment does not close with content: `/*🦀`.", + "Error [EPAR0370015]: Block comment does not close with content: `/*/*`.", +] diff --git a/tests/expectations/parser/expression/literal/field_hexbin_fail.out b/tests/expectations/parser/expression/literal/field_hexbin_fail.out index 2c2925ad7f..5c133924ce 100644 --- a/tests/expectations/parser/expression/literal/field_hexbin_fail.out +++ b/tests/expectations/parser/expression/literal/field_hexbin_fail.out @@ -1,6 +1,16 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types.\n --> test:1:1\n |\n 1 | 0xAAfield\n | ^^^^" - - "Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types.\n --> test:1:1\n |\n 1 | 0b10field\n | ^^^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types. + --> test:1:1 + | + 1 | 0xAAfield + | ^^^^""", + """ +Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types. + --> test:1:1 + | + 1 | 0b10field + | ^^^^""", +] diff --git a/tests/expectations/parser/expression/literal/formatted_string.out b/tests/expectations/parser/expression/literal/formatted_string.out index 47fddf9292..5d176b27e4 100644 --- a/tests/expectations/parser/expression/literal/formatted_string.out +++ b/tests/expectations/parser/expression/literal/formatted_string.out @@ -1,24 +1,24 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'\"{}\"' @ 1:1-5" - - "'\" {} \"' @ 1:1-7" - - "'\"{}d\"' @ 1:1-6" - - "'\"{}D\"' @ 1:1-6" - - "'\"d{}\"' @ 1:1-6" - - "'\"D{}\"' @ 1:1-6" - - "'\"D{}D\"' @ 1:1-7" - - "'\"{}{}\"' @ 1:1-7" - - "'\"D{}{}D\"' @ 1:1-9" - - "'\"D{}{}\"' @ 1:1-8" - - "'\"{}{}D\"' @ 1:1-8" - - "'\"D{}D{}D\"' @ 1:1-10" - - "'\"{{}}\"' @ 1:1-7" - - "'\"}}\"' @ 1:1-5" - - "'\"{{\"' @ 1:1-5" - - "'\"}}{{\"' @ 1:1-7" - - "'\"{{}\"' @ 1:1-6" - - "'\"{}}\"' @ 1:1-6" - - "'\"{\"' @ 1:1-4" - - "'\"}\"' @ 1:1-4" +namespace = "Token" +expectation = "Pass" +outputs = [ + ''''"{}"' @ 1:1-5''', + ''''" {} "' @ 1:1-7''', + ''''"{}d"' @ 1:1-6''', + ''''"{}D"' @ 1:1-6''', + ''''"d{}"' @ 1:1-6''', + ''''"D{}"' @ 1:1-6''', + ''''"D{}D"' @ 1:1-7''', + ''''"{}{}"' @ 1:1-7''', + ''''"D{}{}D"' @ 1:1-9''', + ''''"D{}{}"' @ 1:1-8''', + ''''"{}{}D"' @ 1:1-8''', + ''''"D{}D{}D"' @ 1:1-10''', + ''''"{{}}"' @ 1:1-7''', + ''''"}}"' @ 1:1-5''', + ''''"{{"' @ 1:1-5''', + ''''"}}{{"' @ 1:1-7''', + ''''"{{}"' @ 1:1-6''', + ''''"{}}"' @ 1:1-6''', + ''''"{"' @ 1:1-4''', + ''''"}"' @ 1:1-4''', +] diff --git a/tests/expectations/parser/expression/literal/group.out b/tests/expectations/parser/expression/literal/group.out index 1caf800812..0d9de0024a 100644 --- a/tests/expectations/parser/expression/literal/group.out +++ b/tests/expectations/parser/expression/literal/group.out @@ -1,469 +1,531 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Group: - Tuple: - x: SignHigh - y: Inferred - span: - lo: 0 - hi: 11 - id: 0 - - Literal: - Group: - Tuple: - x: Inferred - y: SignLow - span: - lo: 0 - hi: 11 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: SignLow - span: - lo: 0 - hi: 11 - id: 0 - - Literal: - Group: - Tuple: - x: SignLow - y: SignHigh - span: - lo: 0 - hi: 11 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: SignHigh - span: - lo: 0 - hi: 11 - id: 0 - - Literal: - Group: - Tuple: - x: SignLow - y: SignLow - span: - lo: 0 - hi: 11 - id: 0 - - Literal: - Group: - Tuple: - x: Inferred - y: Inferred - span: - lo: 0 - hi: 11 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "-456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "-123" - - span: - lo: 2 - hi: 5 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "-123" - - span: - lo: 2 - hi: 5 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: Inferred - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: SignLow - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: SignLow - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: SignHigh - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: SignHigh - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: SignLow - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: Inferred - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: - Number: - - "345" - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: Inferred - y: - Number: - - "345" - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: - Number: - - "345" - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: SignLow - y: - Number: - - "345" - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: - Number: - - "345" - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: SignLow - y: - Number: - - "345" - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: Inferred - y: - Number: - - "345" - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "123" - - span: - lo: 1 - hi: 4 - y: - Number: - - "456" - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Single: - - "1" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Group: - Single: - - "-1" - - span: - lo: 0 - hi: 7 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignHigh" +y = "Inferred" +id = 0 + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "Inferred" +y = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignHigh" +y = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignLow" +y = "SignHigh" +id = 0 + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignHigh" +y = "SignHigh" +id = 0 + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignLow" +y = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "Inferred" +y = "Inferred" +id = 0 + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "-456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "-123", + { span = { lo = 2, hi = 5 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "-123", + { span = { lo = 2, hi = 5 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +y = "Inferred" +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +y = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +y = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +y = "SignHigh" +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +y = "SignHigh" +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +y = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +y = "Inferred" +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignHigh" +id = 0 + +[outputs.Literal.Group.Tuple.y] +Number = [ + "345", + { span = { lo = 4, hi = 7 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "Inferred" +id = 0 + +[outputs.Literal.Group.Tuple.y] +Number = [ + "345", + { span = { lo = 4, hi = 7 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignHigh" +id = 0 + +[outputs.Literal.Group.Tuple.y] +Number = [ + "345", + { span = { lo = 4, hi = 7 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.y] +Number = [ + "345", + { span = { lo = 4, hi = 7 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignHigh" +id = 0 + +[outputs.Literal.Group.Tuple.y] +Number = [ + "345", + { span = { lo = 4, hi = 7 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "SignLow" +id = 0 + +[outputs.Literal.Group.Tuple.y] +Number = [ + "345", + { span = { lo = 4, hi = 7 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +x = "Inferred" +id = 0 + +[outputs.Literal.Group.Tuple.y] +Number = [ + "345", + { span = { lo = 4, hi = 7 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 13 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group.Tuple] +id = 0 + +[outputs.Literal.Group.Tuple.x] +Number = [ + "123", + { span = { lo = 1, hi = 4 } }, +] + +[outputs.Literal.Group.Tuple.y] +Number = [ + "456", + { span = { lo = 6, hi = 9 } }, +] + +[outputs.Literal.Group.Tuple.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "1", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "-1", + { span = { lo = 0, hi = 7 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/group_fail.out b/tests/expectations/parser/expression/literal/group_fail.out index 42e5867a06..452237171d 100644 --- a/tests/expectations/parser/expression/literal/group_fail.out +++ b/tests/expectations/parser/expression/literal/group_fail.out @@ -1,16 +1,70 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "did not consume all input: 'group' @ 1:3-8\n" - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123)group\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | (,)group\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '+'\n --> test:1:2\n |\n 1 | (+, -,)group\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:2\n |\n 1 | (,+, -)group\n | ^" - - "did not consume all input: 'group' @ 1:6-11\n" - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456u8)group\n | ^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123,456field)group\n | ^^^" - - "Error [EPAR0370004]: Unexpected white space between terms (123,456) and group\n --> test:1:11\n |\n 1 | (123, 456) group\n | ^" - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, )group\n | ^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456, 789)group\n | ^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:2\n |\n 1 | (123, 456)bool\n | ^^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +did not consume all input: 'group' @ 1:3-8 +""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:2 + | + 1 | (123)group + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:2 + | + 1 | (,)group + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '+' + --> test:1:2 + | + 1 | (+, -,)group + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:2 + | + 1 | (,+, -)group + | ^""", + """ +did not consume all input: 'group' @ 1:6-11 +""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:2 + | + 1 | (123,456u8)group + | ^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:2 + | + 1 | (123,456field)group + | ^^^""", + """ +Error [EPAR0370004]: Unexpected white space between terms (123,456) and group + --> test:1:11 + | + 1 | (123, 456) group + | ^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:2 + | + 1 | (123, )group + | ^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:2 + | + 1 | (123, 456, 789)group + | ^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:2 + | + 1 | (123, 456)bool + | ^^^""", +] diff --git a/tests/expectations/parser/expression/literal/group_hexbin_fail.out b/tests/expectations/parser/expression/literal/group_hexbin_fail.out index 881f0bf888..bbf583dfc8 100644 --- a/tests/expectations/parser/expression/literal/group_hexbin_fail.out +++ b/tests/expectations/parser/expression/literal/group_hexbin_fail.out @@ -1,6 +1,16 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types.\n --> test:1:1\n |\n 1 | 0xAAgroup\n | ^^^^" - - "Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types.\n --> test:1:1\n |\n 1 | 0b10group\n | ^^^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types. + --> test:1:1 + | + 1 | 0xAAgroup + | ^^^^""", + """ +Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types. + --> test:1:1 + | + 1 | 0b10group + | ^^^^""", +] diff --git a/tests/expectations/parser/expression/literal/int.out b/tests/expectations/parser/expression/literal/int.out index ccac03f213..1a2adc2c5c 100644 --- a/tests/expectations/parser/expression/literal/int.out +++ b/tests/expectations/parser/expression/literal/int.out @@ -1,111 +1,111 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'123' @ 1:1-4,'abc123' @ 1:4-10" - - "'123' @ 1:1-4,'abc' @ 1:4-7" - - "'123' @ 1:1-4" - - "'456' @ 1:1-4" - - "'123' @ 1:1-4,'456' @ 1:5-8" - - "'87377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-81" - - "'8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-401" - - "'340130024' @ 1:1-10" - - "'158951116' @ 1:1-10" - - "'155529659' @ 1:1-10" - - "'642023166' @ 1:1-10" - - "'228481736' @ 1:1-10" - - "'469712960' @ 1:1-10" - - "'929437719' @ 1:1-10" - - "'721072814' @ 1:1-10" - - "'363254789' @ 1:1-10" - - "'906732565' @ 1:1-10" - - "'288246391' @ 1:1-10" - - "'724940549' @ 1:1-10" - - "'487101620' @ 1:1-10" - - "'261373583' @ 1:1-10" - - "'891163927' @ 1:1-10" - - "'743967544' @ 1:1-10" - - "'8372586' @ 1:1-8" - - "'461793278' @ 1:1-10" - - "'806307045' @ 1:1-10" - - "'122764546' @ 1:1-10" - - "'356336181' @ 1:1-10" - - "'158370903' @ 1:1-10" - - "'774460877' @ 1:1-10" - - "'557174131' @ 1:1-10" - - "'492401267' @ 1:1-10" - - "'893445620' @ 1:1-10" - - "'957757048' @ 1:1-10" - - "'721540649' @ 1:1-10" - - "'390746493' @ 1:1-10" - - "'211251725' @ 1:1-10" - - "'938266114' @ 1:1-10" - - "'156985870' @ 1:1-10" - - "'703831126' @ 1:1-10" - - "'729964155' @ 1:1-10" - - "'988151305' @ 1:1-10" - - "'320872435' @ 1:1-10" - - "'719287167' @ 1:1-10" - - "'152289486' @ 1:1-10" - - "'740067975' @ 1:1-10" - - "'728627816' @ 1:1-10" - - "'385008978' @ 1:1-10" - - "'553967635' @ 1:1-10" - - "'71980713' @ 1:1-9" - - "'519444716' @ 1:1-10" - - "'116499965' @ 1:1-10" - - "'717422268' @ 1:1-10" - - "'18966279' @ 1:1-9" - - "'22458638' @ 1:1-9" - - "'857282620' @ 1:1-10" - - "'920675898' @ 1:1-10" - - "'762235516' @ 1:1-10" - - "'469018377' @ 1:1-10" - - "'199986521' @ 1:1-10" - - "'536679358' @ 1:1-10" - - "'591399452' @ 1:1-10" - - "'83083158' @ 1:1-9" - - "'599449051' @ 1:1-10" - - "'445442318' @ 1:1-10" - - "'585486590' @ 1:1-10" - - "'209278800' @ 1:1-10" - - "'873568117' @ 1:1-10" - - "'664470940' @ 1:1-10" - - "'465262783' @ 1:1-10" - - "'605652874' @ 1:1-10" - - "'376803940' @ 1:1-10" - - "'965247040' @ 1:1-10" - - "'598474509' @ 1:1-10" - - "'845119918' @ 1:1-10" - - "'648159133' @ 1:1-10" - - "'669051032' @ 1:1-10" - - "'800600261' @ 1:1-10" - - "'434689764' @ 1:1-10" - - "'520060080' @ 1:1-10" - - "'804659385' @ 1:1-10" - - "'537828058' @ 1:1-10" - - "'716600292' @ 1:1-10" - - "'387020273' @ 1:1-10" - - "'199375617' @ 1:1-10" - - "'680337189' @ 1:1-10" - - "'818479931' @ 1:1-10" - - "'893693281' @ 1:1-10" - - "'87377802' @ 1:1-9" - - "'84699261' @ 1:1-9" - - "'292826090' @ 1:1-10" - - "'569171405' @ 1:1-10" - - "'387436237' @ 1:1-10" - - "'150682190' @ 1:1-10" - - "'888770419' @ 1:1-10" - - "'824696431' @ 1:1-10" - - "'765659803' @ 1:1-10" - - "'270163693' @ 1:1-10" - - "'427940240' @ 1:1-10" - - "'504997332' @ 1:1-10" - - "'337808338' @ 1:1-10" - - "'907200008' @ 1:1-10" - - "'757177889' @ 1:1-10" - - "'696697188' @ 1:1-10" - - "'41376051' @ 1:1-9" - - "'496293518' @ 1:1-10" - - "'251218820' @ 1:1-10" +namespace = "Token" +expectation = "Pass" +outputs = [ + "'123' @ 1:1-4,'abc123' @ 1:4-10", + "'123' @ 1:1-4,'abc' @ 1:4-7", + "'123' @ 1:1-4", + "'456' @ 1:1-4", + "'123' @ 1:1-4,'456' @ 1:5-8", + "'87377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-81", + "'8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802' @ 1:1-401", + "'340130024' @ 1:1-10", + "'158951116' @ 1:1-10", + "'155529659' @ 1:1-10", + "'642023166' @ 1:1-10", + "'228481736' @ 1:1-10", + "'469712960' @ 1:1-10", + "'929437719' @ 1:1-10", + "'721072814' @ 1:1-10", + "'363254789' @ 1:1-10", + "'906732565' @ 1:1-10", + "'288246391' @ 1:1-10", + "'724940549' @ 1:1-10", + "'487101620' @ 1:1-10", + "'261373583' @ 1:1-10", + "'891163927' @ 1:1-10", + "'743967544' @ 1:1-10", + "'8372586' @ 1:1-8", + "'461793278' @ 1:1-10", + "'806307045' @ 1:1-10", + "'122764546' @ 1:1-10", + "'356336181' @ 1:1-10", + "'158370903' @ 1:1-10", + "'774460877' @ 1:1-10", + "'557174131' @ 1:1-10", + "'492401267' @ 1:1-10", + "'893445620' @ 1:1-10", + "'957757048' @ 1:1-10", + "'721540649' @ 1:1-10", + "'390746493' @ 1:1-10", + "'211251725' @ 1:1-10", + "'938266114' @ 1:1-10", + "'156985870' @ 1:1-10", + "'703831126' @ 1:1-10", + "'729964155' @ 1:1-10", + "'988151305' @ 1:1-10", + "'320872435' @ 1:1-10", + "'719287167' @ 1:1-10", + "'152289486' @ 1:1-10", + "'740067975' @ 1:1-10", + "'728627816' @ 1:1-10", + "'385008978' @ 1:1-10", + "'553967635' @ 1:1-10", + "'71980713' @ 1:1-9", + "'519444716' @ 1:1-10", + "'116499965' @ 1:1-10", + "'717422268' @ 1:1-10", + "'18966279' @ 1:1-9", + "'22458638' @ 1:1-9", + "'857282620' @ 1:1-10", + "'920675898' @ 1:1-10", + "'762235516' @ 1:1-10", + "'469018377' @ 1:1-10", + "'199986521' @ 1:1-10", + "'536679358' @ 1:1-10", + "'591399452' @ 1:1-10", + "'83083158' @ 1:1-9", + "'599449051' @ 1:1-10", + "'445442318' @ 1:1-10", + "'585486590' @ 1:1-10", + "'209278800' @ 1:1-10", + "'873568117' @ 1:1-10", + "'664470940' @ 1:1-10", + "'465262783' @ 1:1-10", + "'605652874' @ 1:1-10", + "'376803940' @ 1:1-10", + "'965247040' @ 1:1-10", + "'598474509' @ 1:1-10", + "'845119918' @ 1:1-10", + "'648159133' @ 1:1-10", + "'669051032' @ 1:1-10", + "'800600261' @ 1:1-10", + "'434689764' @ 1:1-10", + "'520060080' @ 1:1-10", + "'804659385' @ 1:1-10", + "'537828058' @ 1:1-10", + "'716600292' @ 1:1-10", + "'387020273' @ 1:1-10", + "'199375617' @ 1:1-10", + "'680337189' @ 1:1-10", + "'818479931' @ 1:1-10", + "'893693281' @ 1:1-10", + "'87377802' @ 1:1-9", + "'84699261' @ 1:1-9", + "'292826090' @ 1:1-10", + "'569171405' @ 1:1-10", + "'387436237' @ 1:1-10", + "'150682190' @ 1:1-10", + "'888770419' @ 1:1-10", + "'824696431' @ 1:1-10", + "'765659803' @ 1:1-10", + "'270163693' @ 1:1-10", + "'427940240' @ 1:1-10", + "'504997332' @ 1:1-10", + "'337808338' @ 1:1-10", + "'907200008' @ 1:1-10", + "'757177889' @ 1:1-10", + "'696697188' @ 1:1-10", + "'41376051' @ 1:1-9", + "'496293518' @ 1:1-10", + "'251218820' @ 1:1-10", +] diff --git a/tests/expectations/parser/expression/literal/int_parse/field.out b/tests/expectations/parser/expression/literal/int_parse/field.out index 74c229a7f5..40d085c088 100644 --- a/tests/expectations/parser/expression/literal/int_parse/field.out +++ b/tests/expectations/parser/expression/literal/int_parse/field.out @@ -1,739 +1,947 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Field: - - "123" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Field: - - "123" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Field: - - "456" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Field: - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 85 - - 0 - - Literal: - Field: - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 405 - - 0 - - Literal: - Field: - - "340130024" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "158951116" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "155529659" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "642023166" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "228481736" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "469712960" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "929437719" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "721072814" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "363254789" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "906732565" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "288246391" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "724940549" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "487101620" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "261373583" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "891163927" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "743967544" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "8372586" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Field: - - "461793278" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "806307045" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "122764546" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "356336181" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "158370903" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "774460877" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "557174131" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "492401267" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "893445620" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "957757048" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "721540649" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "390746493" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "211251725" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "938266114" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "156985870" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "703831126" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "729964155" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "988151305" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "320872435" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "719287167" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "152289486" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "740067975" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "728627816" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "385008978" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "553967635" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "71980713" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Field: - - "519444716" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "116499965" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "717422268" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "18966279" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Field: - - "22458638" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Field: - - "857282620" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "920675898" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "762235516" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "469018377" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "199986521" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "536679358" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "591399452" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "83083158" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Field: - - "599449051" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "445442318" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "585486590" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "209278800" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "873568117" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "664470940" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "465262783" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "605652874" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "376803940" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "965247040" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "598474509" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "845119918" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "648159133" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "669051032" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "800600261" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "434689764" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "520060080" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "804659385" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "537828058" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "716600292" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "387020273" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "199375617" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "680337189" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "818479931" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "893693281" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "87377802" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Field: - - "84699261" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Field: - - "292826090" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "569171405" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "387436237" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "150682190" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "888770419" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "824696431" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "765659803" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "270163693" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "427940240" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "504997332" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "337808338" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "907200008" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "757177889" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "696697188" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "41376051" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Field: - - "496293518" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Field: - - "251218820" - - span: - lo: 0 - hi: 14 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Field = [ + "123", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "123", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "456", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 85 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 405 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "340130024", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "158951116", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "155529659", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "642023166", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "228481736", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "469712960", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "929437719", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "721072814", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "363254789", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "906732565", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "288246391", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "724940549", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "487101620", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "261373583", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "891163927", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "743967544", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "8372586", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "461793278", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "806307045", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "122764546", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "356336181", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "158370903", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "774460877", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "557174131", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "492401267", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "893445620", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "957757048", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "721540649", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "390746493", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "211251725", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "938266114", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "156985870", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "703831126", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "729964155", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "988151305", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "320872435", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "719287167", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "152289486", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "740067975", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "728627816", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "385008978", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "553967635", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "71980713", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "519444716", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "116499965", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "717422268", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "18966279", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "22458638", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "857282620", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "920675898", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "762235516", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "469018377", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "199986521", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "536679358", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "591399452", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "83083158", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "599449051", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "445442318", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "585486590", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "209278800", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "873568117", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "664470940", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "465262783", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "605652874", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "376803940", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "965247040", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "598474509", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "845119918", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "648159133", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "669051032", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "800600261", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "434689764", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "520060080", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "804659385", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "537828058", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "716600292", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "387020273", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "199375617", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "680337189", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "818479931", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "893693281", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "87377802", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "84699261", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "292826090", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "569171405", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "387436237", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "150682190", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "888770419", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "824696431", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "765659803", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "270163693", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "427940240", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "504997332", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "337808338", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "907200008", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "757177889", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "696697188", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "41376051", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "496293518", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Field = [ + "251218820", + { span = { lo = 0, hi = 14 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/i128.out b/tests/expectations/parser/expression/literal/int_parse/i128.out index 7c764cd812..2e6342baeb 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i128.out +++ b/tests/expectations/parser/expression/literal/int_parse/i128.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - I128 - - "123" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I128 - - "123" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I128 - - "456" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I128 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 84 - - 0 - - Literal: - Integer: - - I128 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 404 - - 0 - - Literal: - Integer: - - I128 - - "340130024" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "158951116" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "155529659" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "642023166" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "228481736" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "469712960" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "929437719" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "721072814" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "363254789" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "906732565" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "288246391" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "724940549" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "487101620" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "261373583" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "891163927" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "743967544" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "8372586" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I128 - - "461793278" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "806307045" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "122764546" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "356336181" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "158370903" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "774460877" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "557174131" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "492401267" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "893445620" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "957757048" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "721540649" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "390746493" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "211251725" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "938266114" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "156985870" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "703831126" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "729964155" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "988151305" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "320872435" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "719287167" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "152289486" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "740067975" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "728627816" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "385008978" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "553967635" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "71980713" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I128 - - "519444716" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "116499965" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "717422268" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "18966279" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I128 - - "22458638" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I128 - - "857282620" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "920675898" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "762235516" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "469018377" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "199986521" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "536679358" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "591399452" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "83083158" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I128 - - "599449051" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "445442318" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "585486590" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "209278800" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "873568117" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "664470940" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "465262783" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "605652874" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "376803940" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "965247040" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "598474509" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "845119918" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "648159133" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "669051032" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "800600261" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "434689764" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "520060080" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "804659385" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "537828058" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "716600292" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "387020273" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "199375617" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "680337189" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "818479931" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "893693281" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "87377802" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I128 - - "84699261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I128 - - "292826090" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "569171405" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "387436237" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "150682190" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "888770419" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "824696431" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "765659803" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "270163693" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "427940240" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "504997332" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "337808338" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "907200008" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "757177889" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "696697188" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "41376051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I128 - - "496293518" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "251218820" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I128 - - "0x12" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I128 - - "0xAA" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I128 - - "0xAABB" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I128 - - "0x12345AABB" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Integer: - - I128 - - "0b101010000" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Integer: - - I128 - - "0o12345" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I128 - - "0o10077" - - span: - lo: 0 - hi: 11 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "123", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "123", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "456", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 84 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 404 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "340130024", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "158951116", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "155529659", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "642023166", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "228481736", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "469712960", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "929437719", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "721072814", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "363254789", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "906732565", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "288246391", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "724940549", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "487101620", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "261373583", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "891163927", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "743967544", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "8372586", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "461793278", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "806307045", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "122764546", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "356336181", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "158370903", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "774460877", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "557174131", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "492401267", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "893445620", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "957757048", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "721540649", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "390746493", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "211251725", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "938266114", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "156985870", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "703831126", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "729964155", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "988151305", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "320872435", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "719287167", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "152289486", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "740067975", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "728627816", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "385008978", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "553967635", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "71980713", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "519444716", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "116499965", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "717422268", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "18966279", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "22458638", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "857282620", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "920675898", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "762235516", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "469018377", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "199986521", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "536679358", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "591399452", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "83083158", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "599449051", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "445442318", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "585486590", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "209278800", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "873568117", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "664470940", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "465262783", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "605652874", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "376803940", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "965247040", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "598474509", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "845119918", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "648159133", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "669051032", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "800600261", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "434689764", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "520060080", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "804659385", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "537828058", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "716600292", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "387020273", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "199375617", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "680337189", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "818479931", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "893693281", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "87377802", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "84699261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "292826090", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "569171405", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "387436237", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "150682190", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "888770419", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "824696431", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "765659803", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "270163693", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "427940240", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "504997332", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "337808338", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "907200008", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "757177889", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "696697188", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "41376051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "496293518", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "251218820", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "0x12", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "0xAA", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "0xAABB", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "0x12345AABB", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "0b101010000", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "0o12345", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I128", + "0o10077", + { span = { lo = 0, hi = 11 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/i16.out b/tests/expectations/parser/expression/literal/int_parse/i16.out index da29a235bd..e65cedab5a 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i16.out +++ b/tests/expectations/parser/expression/literal/int_parse/i16.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - I16 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I16 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I16 - - "456" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I16 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 83 - - 0 - - Literal: - Integer: - - I16 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 403 - - 0 - - Literal: - Integer: - - I16 - - "340130024" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "158951116" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "155529659" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "642023166" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "228481736" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "469712960" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "929437719" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "721072814" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "363254789" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "906732565" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "288246391" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "724940549" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "487101620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "261373583" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "891163927" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "743967544" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "8372586" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I16 - - "461793278" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "806307045" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "122764546" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "356336181" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "158370903" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "774460877" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "557174131" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "492401267" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "893445620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "957757048" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "721540649" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "390746493" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "211251725" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "938266114" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "156985870" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "703831126" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "729964155" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "988151305" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "320872435" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "719287167" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "152289486" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "740067975" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "728627816" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "385008978" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "553967635" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "71980713" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I16 - - "519444716" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "116499965" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "717422268" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "18966279" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I16 - - "22458638" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I16 - - "857282620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "920675898" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "762235516" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "469018377" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "199986521" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "536679358" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "591399452" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "83083158" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I16 - - "599449051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "445442318" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "585486590" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "209278800" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "873568117" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "664470940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "465262783" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "605652874" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "376803940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "965247040" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "598474509" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "845119918" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "648159133" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "669051032" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "800600261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "434689764" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "520060080" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "804659385" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "537828058" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "716600292" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "387020273" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "199375617" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "680337189" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "818479931" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "893693281" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "87377802" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I16 - - "84699261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I16 - - "292826090" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "569171405" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "387436237" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "150682190" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "888770419" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "824696431" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "765659803" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "270163693" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "427940240" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "504997332" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "337808338" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "907200008" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "757177889" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "696697188" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "41376051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I16 - - "496293518" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "251218820" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I16 - - "0x12" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I16 - - "0xAA" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I16 - - "0xAABB" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - I16 - - "0x12345AABB" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - I16 - - "0b101010000" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - I16 - - "0o12345" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I16 - - "0o10077" - - span: - lo: 0 - hi: 10 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "456", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 83 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 403 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "340130024", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "158951116", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "155529659", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "642023166", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "228481736", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "469712960", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "929437719", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "721072814", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "363254789", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "906732565", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "288246391", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "724940549", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "487101620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "261373583", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "891163927", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "743967544", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "8372586", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "461793278", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "806307045", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "122764546", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "356336181", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "158370903", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "774460877", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "557174131", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "492401267", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "893445620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "957757048", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "721540649", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "390746493", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "211251725", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "938266114", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "156985870", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "703831126", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "729964155", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "988151305", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "320872435", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "719287167", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "152289486", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "740067975", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "728627816", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "385008978", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "553967635", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "71980713", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "519444716", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "116499965", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "717422268", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "18966279", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "22458638", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "857282620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "920675898", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "762235516", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "469018377", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "199986521", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "536679358", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "591399452", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "83083158", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "599449051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "445442318", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "585486590", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "209278800", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "873568117", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "664470940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "465262783", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "605652874", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "376803940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "965247040", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "598474509", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "845119918", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "648159133", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "669051032", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "800600261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "434689764", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "520060080", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "804659385", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "537828058", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "716600292", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "387020273", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "199375617", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "680337189", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "818479931", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "893693281", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "87377802", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "84699261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "292826090", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "569171405", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "387436237", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "150682190", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "888770419", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "824696431", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "765659803", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "270163693", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "427940240", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "504997332", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "337808338", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "907200008", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "757177889", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "696697188", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "41376051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "496293518", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "251218820", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "0x12", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "0xAA", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "0xAABB", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "0x12345AABB", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "0b101010000", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "0o12345", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I16", + "0o10077", + { span = { lo = 0, hi = 10 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/i32.out b/tests/expectations/parser/expression/literal/int_parse/i32.out index 01ea84122f..24ea7e7152 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i32.out +++ b/tests/expectations/parser/expression/literal/int_parse/i32.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - I32 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I32 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I32 - - "456" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I32 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 83 - - 0 - - Literal: - Integer: - - I32 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 403 - - 0 - - Literal: - Integer: - - I32 - - "340130024" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "158951116" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "155529659" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "642023166" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "228481736" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "469712960" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "929437719" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "721072814" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "363254789" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "906732565" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "288246391" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "724940549" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "487101620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "261373583" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "891163927" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "743967544" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "8372586" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I32 - - "461793278" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "806307045" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "122764546" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "356336181" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "158370903" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "774460877" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "557174131" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "492401267" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "893445620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "957757048" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "721540649" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "390746493" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "211251725" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "938266114" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "156985870" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "703831126" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "729964155" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "988151305" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "320872435" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "719287167" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "152289486" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "740067975" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "728627816" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "385008978" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "553967635" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "71980713" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I32 - - "519444716" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "116499965" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "717422268" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "18966279" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I32 - - "22458638" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I32 - - "857282620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "920675898" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "762235516" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "469018377" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "199986521" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "536679358" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "591399452" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "83083158" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I32 - - "599449051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "445442318" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "585486590" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "209278800" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "873568117" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "664470940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "465262783" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "605652874" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "376803940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "965247040" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "598474509" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "845119918" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "648159133" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "669051032" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "800600261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "434689764" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "520060080" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "804659385" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "537828058" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "716600292" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "387020273" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "199375617" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "680337189" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "818479931" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "893693281" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "87377802" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I32 - - "84699261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I32 - - "292826090" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "569171405" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "387436237" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "150682190" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "888770419" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "824696431" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "765659803" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "270163693" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "427940240" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "504997332" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "337808338" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "907200008" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "757177889" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "696697188" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "41376051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I32 - - "496293518" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "251218820" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I32 - - "0x12" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I32 - - "0xAA" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I32 - - "0xAABB" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - I32 - - "0x12345AABB" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - I32 - - "0b10101000" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I32 - - "0o12345" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I32 - - "0o10077" - - span: - lo: 0 - hi: 10 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "456", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 83 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 403 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "340130024", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "158951116", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "155529659", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "642023166", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "228481736", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "469712960", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "929437719", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "721072814", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "363254789", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "906732565", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "288246391", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "724940549", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "487101620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "261373583", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "891163927", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "743967544", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "8372586", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "461793278", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "806307045", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "122764546", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "356336181", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "158370903", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "774460877", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "557174131", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "492401267", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "893445620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "957757048", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "721540649", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "390746493", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "211251725", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "938266114", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "156985870", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "703831126", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "729964155", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "988151305", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "320872435", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "719287167", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "152289486", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "740067975", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "728627816", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "385008978", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "553967635", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "71980713", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "519444716", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "116499965", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "717422268", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "18966279", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "22458638", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "857282620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "920675898", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "762235516", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "469018377", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "199986521", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "536679358", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "591399452", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "83083158", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "599449051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "445442318", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "585486590", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "209278800", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "873568117", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "664470940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "465262783", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "605652874", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "376803940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "965247040", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "598474509", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "845119918", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "648159133", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "669051032", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "800600261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "434689764", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "520060080", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "804659385", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "537828058", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "716600292", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "387020273", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "199375617", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "680337189", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "818479931", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "893693281", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "87377802", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "84699261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "292826090", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "569171405", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "387436237", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "150682190", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "888770419", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "824696431", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "765659803", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "270163693", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "427940240", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "504997332", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "337808338", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "907200008", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "757177889", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "696697188", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "41376051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "496293518", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "251218820", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "0x12", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "0xAA", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "0xAABB", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "0x12345AABB", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "0b10101000", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "0o12345", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I32", + "0o10077", + { span = { lo = 0, hi = 10 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/i64.out b/tests/expectations/parser/expression/literal/int_parse/i64.out index 12b6e4c860..ee19e6872c 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i64.out +++ b/tests/expectations/parser/expression/literal/int_parse/i64.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - I64 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I64 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I64 - - "456" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I64 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 83 - - 0 - - Literal: - Integer: - - I64 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 403 - - 0 - - Literal: - Integer: - - I64 - - "340130024" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "158951116" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "155529659" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "642023166" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "228481736" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "469712960" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "929437719" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "721072814" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "363254789" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "906732565" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "288246391" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "724940549" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "487101620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "261373583" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "891163927" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "743967544" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "8372586" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I64 - - "461793278" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "806307045" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "122764546" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "356336181" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "158370903" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "774460877" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "557174131" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "492401267" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "893445620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "957757048" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "721540649" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "390746493" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "211251725" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "938266114" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "156985870" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "703831126" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "729964155" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "988151305" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "320872435" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "719287167" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "152289486" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "740067975" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "728627816" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "385008978" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "553967635" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "71980713" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I64 - - "519444716" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "116499965" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "717422268" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "18966279" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I64 - - "22458638" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I64 - - "857282620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "920675898" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "762235516" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "469018377" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "199986521" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "536679358" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "591399452" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "83083158" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I64 - - "599449051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "445442318" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "585486590" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "209278800" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "873568117" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "664470940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "465262783" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "605652874" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "376803940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "965247040" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "598474509" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "845119918" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "648159133" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "669051032" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "800600261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "434689764" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "520060080" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "804659385" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "537828058" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "716600292" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "387020273" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "199375617" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "680337189" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "818479931" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "893693281" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "87377802" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I64 - - "84699261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I64 - - "292826090" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "569171405" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "387436237" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "150682190" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "888770419" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "824696431" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "765659803" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "270163693" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "427940240" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "504997332" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "337808338" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "907200008" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "757177889" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "696697188" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "41376051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I64 - - "496293518" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "251218820" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - I64 - - "0x12" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I64 - - "0xAA" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I64 - - "0xAABB" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - I64 - - "0x12345AABB" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - I64 - - "0b101010000" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - I64 - - "0o12345" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I64 - - "0o10077" - - span: - lo: 0 - hi: 10 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "456", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 83 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 403 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "340130024", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "158951116", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "155529659", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "642023166", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "228481736", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "469712960", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "929437719", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "721072814", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "363254789", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "906732565", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "288246391", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "724940549", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "487101620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "261373583", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "891163927", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "743967544", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "8372586", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "461793278", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "806307045", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "122764546", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "356336181", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "158370903", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "774460877", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "557174131", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "492401267", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "893445620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "957757048", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "721540649", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "390746493", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "211251725", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "938266114", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "156985870", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "703831126", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "729964155", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "988151305", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "320872435", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "719287167", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "152289486", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "740067975", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "728627816", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "385008978", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "553967635", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "71980713", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "519444716", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "116499965", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "717422268", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "18966279", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "22458638", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "857282620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "920675898", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "762235516", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "469018377", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "199986521", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "536679358", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "591399452", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "83083158", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "599449051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "445442318", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "585486590", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "209278800", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "873568117", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "664470940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "465262783", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "605652874", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "376803940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "965247040", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "598474509", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "845119918", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "648159133", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "669051032", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "800600261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "434689764", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "520060080", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "804659385", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "537828058", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "716600292", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "387020273", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "199375617", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "680337189", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "818479931", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "893693281", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "87377802", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "84699261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "292826090", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "569171405", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "387436237", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "150682190", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "888770419", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "824696431", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "765659803", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "270163693", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "427940240", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "504997332", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "337808338", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "907200008", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "757177889", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "696697188", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "41376051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "496293518", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "251218820", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "0x12", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "0xAA", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "0xAABB", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "0x12345AABB", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "0b101010000", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "0o12345", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I64", + "0o10077", + { span = { lo = 0, hi = 10 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/i8.out b/tests/expectations/parser/expression/literal/int_parse/i8.out index 2fb595bdec..7350a4754f 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i8.out +++ b/tests/expectations/parser/expression/literal/int_parse/i8.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - I8 - - "123" - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - I8 - - "123" - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - I8 - - "456" - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - I8 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 82 - - 0 - - Literal: - Integer: - - I8 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 402 - - 0 - - Literal: - Integer: - - I8 - - "340130024" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "158951116" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "155529659" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "642023166" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "228481736" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "469712960" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "929437719" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "721072814" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "363254789" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "906732565" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "288246391" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "724940549" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "487101620" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "261373583" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "891163927" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "743967544" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "8372586" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - I8 - - "461793278" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "806307045" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "122764546" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "356336181" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "158370903" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "774460877" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "557174131" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "492401267" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "893445620" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "957757048" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "721540649" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "390746493" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "211251725" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "938266114" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "156985870" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "703831126" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "729964155" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "988151305" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "320872435" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "719287167" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "152289486" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "740067975" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "728627816" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "385008978" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "553967635" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "71980713" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I8 - - "519444716" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "116499965" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "717422268" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "18966279" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I8 - - "22458638" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I8 - - "857282620" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "920675898" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "762235516" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "469018377" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "199986521" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "536679358" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "591399452" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "83083158" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I8 - - "599449051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "445442318" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "585486590" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "209278800" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "873568117" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "664470940" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "465262783" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "605652874" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "376803940" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "965247040" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "598474509" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "845119918" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "648159133" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "669051032" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "800600261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "434689764" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "520060080" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "804659385" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "537828058" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "716600292" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "387020273" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "199375617" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "680337189" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "818479931" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "893693281" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "87377802" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I8 - - "84699261" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I8 - - "292826090" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "569171405" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "387436237" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "150682190" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "888770419" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "824696431" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "765659803" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "270163693" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "427940240" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "504997332" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "337808338" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "907200008" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "757177889" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "696697188" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "41376051" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I8 - - "496293518" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "251218820" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - I8 - - "0x12" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I8 - - "0xAA" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I8 - - "0xAABB" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I8 - - "0x12345AABB" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I8 - - "0b101010000" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I8 - - "0o12345" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - I8 - - "0o10077" - - span: - lo: 0 - hi: 9 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "123", + { span = { lo = 0, hi = 5 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "123", + { span = { lo = 0, hi = 5 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "456", + { span = { lo = 0, hi = 5 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 82 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 402 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "340130024", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "158951116", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "155529659", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "642023166", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "228481736", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "469712960", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "929437719", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "721072814", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "363254789", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "906732565", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "288246391", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "724940549", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "487101620", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "261373583", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "891163927", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "743967544", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "8372586", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "461793278", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "806307045", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "122764546", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "356336181", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "158370903", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "774460877", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "557174131", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "492401267", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "893445620", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "957757048", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "721540649", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "390746493", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "211251725", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "938266114", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "156985870", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "703831126", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "729964155", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "988151305", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "320872435", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "719287167", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "152289486", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "740067975", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "728627816", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "385008978", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "553967635", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "71980713", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "519444716", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "116499965", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "717422268", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "18966279", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "22458638", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "857282620", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "920675898", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "762235516", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "469018377", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "199986521", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "536679358", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "591399452", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "83083158", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "599449051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "445442318", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "585486590", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "209278800", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "873568117", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "664470940", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "465262783", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "605652874", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "376803940", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "965247040", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "598474509", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "845119918", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "648159133", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "669051032", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "800600261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "434689764", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "520060080", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "804659385", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "537828058", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "716600292", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "387020273", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "199375617", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "680337189", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "818479931", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "893693281", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "87377802", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "84699261", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "292826090", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "569171405", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "387436237", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "150682190", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "888770419", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "824696431", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "765659803", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "270163693", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "427940240", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "504997332", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "337808338", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "907200008", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "757177889", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "696697188", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "41376051", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "496293518", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "251218820", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "0x12", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "0xAA", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "0xAABB", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "0x12345AABB", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "0b101010000", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "0o12345", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "0o10077", + { span = { lo = 0, hi = 9 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/implicit.out b/tests/expectations/parser/expression/literal/int_parse/implicit.out index eb2292a9cb..3969163633 100644 --- a/tests/expectations/parser/expression/literal/int_parse/implicit.out +++ b/tests/expectations/parser/expression/literal/int_parse/implicit.out @@ -1,109 +1,634 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 123.\n --> test:1:1\n |\n 1 | 123\n | ^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 456.\n --> test:1:1\n |\n 1 | 456\n | ^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 87377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 87377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802.\n --> test:1:1\n |\n 1 | 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 340130024.\n --> test:1:1\n |\n 1 | 340130024\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 158951116.\n --> test:1:1\n |\n 1 | 158951116\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 155529659.\n --> test:1:1\n |\n 1 | 155529659\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 642023166.\n --> test:1:1\n |\n 1 | 642023166\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 228481736.\n --> test:1:1\n |\n 1 | 228481736\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 469712960.\n --> test:1:1\n |\n 1 | 469712960\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 929437719.\n --> test:1:1\n |\n 1 | 929437719\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 721072814.\n --> test:1:1\n |\n 1 | 721072814\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 363254789.\n --> test:1:1\n |\n 1 | 363254789\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 906732565.\n --> test:1:1\n |\n 1 | 906732565\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 288246391.\n --> test:1:1\n |\n 1 | 288246391\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 724940549.\n --> test:1:1\n |\n 1 | 724940549\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 487101620.\n --> test:1:1\n |\n 1 | 487101620\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 261373583.\n --> test:1:1\n |\n 1 | 261373583\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 891163927.\n --> test:1:1\n |\n 1 | 891163927\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 743967544.\n --> test:1:1\n |\n 1 | 743967544\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 8372586.\n --> test:1:1\n |\n 1 | 8372586\n | ^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 461793278.\n --> test:1:1\n |\n 1 | 461793278\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 806307045.\n --> test:1:1\n |\n 1 | 806307045\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 122764546.\n --> test:1:1\n |\n 1 | 122764546\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 356336181.\n --> test:1:1\n |\n 1 | 356336181\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 158370903.\n --> test:1:1\n |\n 1 | 158370903\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 774460877.\n --> test:1:1\n |\n 1 | 774460877\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 557174131.\n --> test:1:1\n |\n 1 | 557174131\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 492401267.\n --> test:1:1\n |\n 1 | 492401267\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 893445620.\n --> test:1:1\n |\n 1 | 893445620\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 957757048.\n --> test:1:1\n |\n 1 | 957757048\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 721540649.\n --> test:1:1\n |\n 1 | 721540649\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 390746493.\n --> test:1:1\n |\n 1 | 390746493\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 211251725.\n --> test:1:1\n |\n 1 | 211251725\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 938266114.\n --> test:1:1\n |\n 1 | 938266114\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 156985870.\n --> test:1:1\n |\n 1 | 156985870\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 703831126.\n --> test:1:1\n |\n 1 | 703831126\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 729964155.\n --> test:1:1\n |\n 1 | 729964155\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 988151305.\n --> test:1:1\n |\n 1 | 988151305\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 320872435.\n --> test:1:1\n |\n 1 | 320872435\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 719287167.\n --> test:1:1\n |\n 1 | 719287167\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 152289486.\n --> test:1:1\n |\n 1 | 152289486\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 740067975.\n --> test:1:1\n |\n 1 | 740067975\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 728627816.\n --> test:1:1\n |\n 1 | 728627816\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 385008978.\n --> test:1:1\n |\n 1 | 385008978\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 553967635.\n --> test:1:1\n |\n 1 | 553967635\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 71980713.\n --> test:1:1\n |\n 1 | 71980713\n | ^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 519444716.\n --> test:1:1\n |\n 1 | 519444716\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 116499965.\n --> test:1:1\n |\n 1 | 116499965\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 717422268.\n --> test:1:1\n |\n 1 | 717422268\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 18966279.\n --> test:1:1\n |\n 1 | 18966279\n | ^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 22458638.\n --> test:1:1\n |\n 1 | 22458638\n | ^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 857282620.\n --> test:1:1\n |\n 1 | 857282620\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 920675898.\n --> test:1:1\n |\n 1 | 920675898\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 762235516.\n --> test:1:1\n |\n 1 | 762235516\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 469018377.\n --> test:1:1\n |\n 1 | 469018377\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 199986521.\n --> test:1:1\n |\n 1 | 199986521\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 536679358.\n --> test:1:1\n |\n 1 | 536679358\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 591399452.\n --> test:1:1\n |\n 1 | 591399452\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 83083158.\n --> test:1:1\n |\n 1 | 83083158\n | ^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 599449051.\n --> test:1:1\n |\n 1 | 599449051\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 445442318.\n --> test:1:1\n |\n 1 | 445442318\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 585486590.\n --> test:1:1\n |\n 1 | 585486590\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 209278800.\n --> test:1:1\n |\n 1 | 209278800\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 873568117.\n --> test:1:1\n |\n 1 | 873568117\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 664470940.\n --> test:1:1\n |\n 1 | 664470940\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 465262783.\n --> test:1:1\n |\n 1 | 465262783\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 605652874.\n --> test:1:1\n |\n 1 | 605652874\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 376803940.\n --> test:1:1\n |\n 1 | 376803940\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 965247040.\n --> test:1:1\n |\n 1 | 965247040\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 598474509.\n --> test:1:1\n |\n 1 | 598474509\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 845119918.\n --> test:1:1\n |\n 1 | 845119918\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 648159133.\n --> test:1:1\n |\n 1 | 648159133\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 669051032.\n --> test:1:1\n |\n 1 | 669051032\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 800600261.\n --> test:1:1\n |\n 1 | 800600261\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 434689764.\n --> test:1:1\n |\n 1 | 434689764\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 520060080.\n --> test:1:1\n |\n 1 | 520060080\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 804659385.\n --> test:1:1\n |\n 1 | 804659385\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 537828058.\n --> test:1:1\n |\n 1 | 537828058\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 716600292.\n --> test:1:1\n |\n 1 | 716600292\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 387020273.\n --> test:1:1\n |\n 1 | 387020273\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 199375617.\n --> test:1:1\n |\n 1 | 199375617\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 680337189.\n --> test:1:1\n |\n 1 | 680337189\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 818479931.\n --> test:1:1\n |\n 1 | 818479931\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 893693281.\n --> test:1:1\n |\n 1 | 893693281\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 87377802.\n --> test:1:1\n |\n 1 | 87377802\n | ^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 84699261.\n --> test:1:1\n |\n 1 | 84699261\n | ^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 292826090.\n --> test:1:1\n |\n 1 | 292826090\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 569171405.\n --> test:1:1\n |\n 1 | 569171405\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 387436237.\n --> test:1:1\n |\n 1 | 387436237\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 150682190.\n --> test:1:1\n |\n 1 | 150682190\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 888770419.\n --> test:1:1\n |\n 1 | 888770419\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 824696431.\n --> test:1:1\n |\n 1 | 824696431\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 765659803.\n --> test:1:1\n |\n 1 | 765659803\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 270163693.\n --> test:1:1\n |\n 1 | 270163693\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 427940240.\n --> test:1:1\n |\n 1 | 427940240\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 504997332.\n --> test:1:1\n |\n 1 | 504997332\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 337808338.\n --> test:1:1\n |\n 1 | 337808338\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 907200008.\n --> test:1:1\n |\n 1 | 907200008\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 757177889.\n --> test:1:1\n |\n 1 | 757177889\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 696697188.\n --> test:1:1\n |\n 1 | 696697188\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 41376051.\n --> test:1:1\n |\n 1 | 41376051\n | ^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 496293518.\n --> test:1:1\n |\n 1 | 496293518\n | ^^^^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 251218820.\n --> test:1:1\n |\n 1 | 251218820\n | ^^^^^^^^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:1 + | + 1 | 123 + | ^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 123. + --> test:1:1 + | + 1 | 123 + | ^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 456. + --> test:1:1 + | + 1 | 456 + | ^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 87377802873778028737780287377802873778028737780287377802873778028737780287377802. + --> test:1:1 + | + 1 | 87377802873778028737780287377802873778028737780287377802873778028737780287377802 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802. + --> test:1:1 + | + 1 | 8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802 + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 340130024. + --> test:1:1 + | + 1 | 340130024 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 158951116. + --> test:1:1 + | + 1 | 158951116 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 155529659. + --> test:1:1 + | + 1 | 155529659 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 642023166. + --> test:1:1 + | + 1 | 642023166 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 228481736. + --> test:1:1 + | + 1 | 228481736 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 469712960. + --> test:1:1 + | + 1 | 469712960 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 929437719. + --> test:1:1 + | + 1 | 929437719 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 721072814. + --> test:1:1 + | + 1 | 721072814 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 363254789. + --> test:1:1 + | + 1 | 363254789 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 906732565. + --> test:1:1 + | + 1 | 906732565 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 288246391. + --> test:1:1 + | + 1 | 288246391 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 724940549. + --> test:1:1 + | + 1 | 724940549 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 487101620. + --> test:1:1 + | + 1 | 487101620 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 261373583. + --> test:1:1 + | + 1 | 261373583 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 891163927. + --> test:1:1 + | + 1 | 891163927 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 743967544. + --> test:1:1 + | + 1 | 743967544 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 8372586. + --> test:1:1 + | + 1 | 8372586 + | ^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 461793278. + --> test:1:1 + | + 1 | 461793278 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 806307045. + --> test:1:1 + | + 1 | 806307045 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 122764546. + --> test:1:1 + | + 1 | 122764546 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 356336181. + --> test:1:1 + | + 1 | 356336181 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 158370903. + --> test:1:1 + | + 1 | 158370903 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 774460877. + --> test:1:1 + | + 1 | 774460877 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 557174131. + --> test:1:1 + | + 1 | 557174131 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 492401267. + --> test:1:1 + | + 1 | 492401267 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 893445620. + --> test:1:1 + | + 1 | 893445620 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 957757048. + --> test:1:1 + | + 1 | 957757048 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 721540649. + --> test:1:1 + | + 1 | 721540649 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 390746493. + --> test:1:1 + | + 1 | 390746493 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 211251725. + --> test:1:1 + | + 1 | 211251725 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 938266114. + --> test:1:1 + | + 1 | 938266114 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 156985870. + --> test:1:1 + | + 1 | 156985870 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 703831126. + --> test:1:1 + | + 1 | 703831126 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 729964155. + --> test:1:1 + | + 1 | 729964155 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 988151305. + --> test:1:1 + | + 1 | 988151305 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 320872435. + --> test:1:1 + | + 1 | 320872435 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 719287167. + --> test:1:1 + | + 1 | 719287167 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 152289486. + --> test:1:1 + | + 1 | 152289486 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 740067975. + --> test:1:1 + | + 1 | 740067975 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 728627816. + --> test:1:1 + | + 1 | 728627816 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 385008978. + --> test:1:1 + | + 1 | 385008978 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 553967635. + --> test:1:1 + | + 1 | 553967635 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 71980713. + --> test:1:1 + | + 1 | 71980713 + | ^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 519444716. + --> test:1:1 + | + 1 | 519444716 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 116499965. + --> test:1:1 + | + 1 | 116499965 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 717422268. + --> test:1:1 + | + 1 | 717422268 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 18966279. + --> test:1:1 + | + 1 | 18966279 + | ^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 22458638. + --> test:1:1 + | + 1 | 22458638 + | ^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 857282620. + --> test:1:1 + | + 1 | 857282620 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 920675898. + --> test:1:1 + | + 1 | 920675898 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 762235516. + --> test:1:1 + | + 1 | 762235516 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 469018377. + --> test:1:1 + | + 1 | 469018377 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 199986521. + --> test:1:1 + | + 1 | 199986521 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 536679358. + --> test:1:1 + | + 1 | 536679358 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 591399452. + --> test:1:1 + | + 1 | 591399452 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 83083158. + --> test:1:1 + | + 1 | 83083158 + | ^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 599449051. + --> test:1:1 + | + 1 | 599449051 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 445442318. + --> test:1:1 + | + 1 | 445442318 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 585486590. + --> test:1:1 + | + 1 | 585486590 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 209278800. + --> test:1:1 + | + 1 | 209278800 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 873568117. + --> test:1:1 + | + 1 | 873568117 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 664470940. + --> test:1:1 + | + 1 | 664470940 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 465262783. + --> test:1:1 + | + 1 | 465262783 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 605652874. + --> test:1:1 + | + 1 | 605652874 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 376803940. + --> test:1:1 + | + 1 | 376803940 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 965247040. + --> test:1:1 + | + 1 | 965247040 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 598474509. + --> test:1:1 + | + 1 | 598474509 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 845119918. + --> test:1:1 + | + 1 | 845119918 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 648159133. + --> test:1:1 + | + 1 | 648159133 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 669051032. + --> test:1:1 + | + 1 | 669051032 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 800600261. + --> test:1:1 + | + 1 | 800600261 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 434689764. + --> test:1:1 + | + 1 | 434689764 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 520060080. + --> test:1:1 + | + 1 | 520060080 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 804659385. + --> test:1:1 + | + 1 | 804659385 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 537828058. + --> test:1:1 + | + 1 | 537828058 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 716600292. + --> test:1:1 + | + 1 | 716600292 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 387020273. + --> test:1:1 + | + 1 | 387020273 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 199375617. + --> test:1:1 + | + 1 | 199375617 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 680337189. + --> test:1:1 + | + 1 | 680337189 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 818479931. + --> test:1:1 + | + 1 | 818479931 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 893693281. + --> test:1:1 + | + 1 | 893693281 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 87377802. + --> test:1:1 + | + 1 | 87377802 + | ^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 84699261. + --> test:1:1 + | + 1 | 84699261 + | ^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 292826090. + --> test:1:1 + | + 1 | 292826090 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 569171405. + --> test:1:1 + | + 1 | 569171405 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 387436237. + --> test:1:1 + | + 1 | 387436237 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 150682190. + --> test:1:1 + | + 1 | 150682190 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 888770419. + --> test:1:1 + | + 1 | 888770419 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 824696431. + --> test:1:1 + | + 1 | 824696431 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 765659803. + --> test:1:1 + | + 1 | 765659803 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 270163693. + --> test:1:1 + | + 1 | 270163693 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 427940240. + --> test:1:1 + | + 1 | 427940240 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 504997332. + --> test:1:1 + | + 1 | 504997332 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 337808338. + --> test:1:1 + | + 1 | 337808338 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 907200008. + --> test:1:1 + | + 1 | 907200008 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 757177889. + --> test:1:1 + | + 1 | 757177889 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 696697188. + --> test:1:1 + | + 1 | 696697188 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 41376051. + --> test:1:1 + | + 1 | 41376051 + | ^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 496293518. + --> test:1:1 + | + 1 | 496293518 + | ^^^^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 251218820. + --> test:1:1 + | + 1 | 251218820 + | ^^^^^^^^^""", +] diff --git a/tests/expectations/parser/expression/literal/int_parse/mono_group.out b/tests/expectations/parser/expression/literal/int_parse/mono_group.out index ef662422d1..a37c9533e7 100644 --- a/tests/expectations/parser/expression/literal/int_parse/mono_group.out +++ b/tests/expectations/parser/expression/literal/int_parse/mono_group.out @@ -1,844 +1,947 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Group: - Single: - - "123" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Group: - Single: - - "123" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Group: - Single: - - "456" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Group: - Single: - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 85 - - 0 - - Literal: - Group: - Single: - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 405 - - 0 - - Literal: - Group: - Single: - - "340130024" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "158951116" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "155529659" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "642023166" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "228481736" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "469712960" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "929437719" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "721072814" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "363254789" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "906732565" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "288246391" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "724940549" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "487101620" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "261373583" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "891163927" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "743967544" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "8372586" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Group: - Single: - - "461793278" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "806307045" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "122764546" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "356336181" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "158370903" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "774460877" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "557174131" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "492401267" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "893445620" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "957757048" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "721540649" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "390746493" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "211251725" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "938266114" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "156985870" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "703831126" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "729964155" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "988151305" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "320872435" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "719287167" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "152289486" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "740067975" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "728627816" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "385008978" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "553967635" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "71980713" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Group: - Single: - - "519444716" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "116499965" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "717422268" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "18966279" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Group: - Single: - - "22458638" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Group: - Single: - - "857282620" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "920675898" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "762235516" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "469018377" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "199986521" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "536679358" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "591399452" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "83083158" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Group: - Single: - - "599449051" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "445442318" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "585486590" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "209278800" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "873568117" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "664470940" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "465262783" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "605652874" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "376803940" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "965247040" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "598474509" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "845119918" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "648159133" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "669051032" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "800600261" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "434689764" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "520060080" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "804659385" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "537828058" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "716600292" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "387020273" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "199375617" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "680337189" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "818479931" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "893693281" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "87377802" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Group: - Single: - - "84699261" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Group: - Single: - - "292826090" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "569171405" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "387436237" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "150682190" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "888770419" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "824696431" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "765659803" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "270163693" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "427940240" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "504997332" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "337808338" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "907200008" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "757177889" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "696697188" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "41376051" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Group: - Single: - - "496293518" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Group: - Single: - - "251218820" - - span: - lo: 0 - hi: 14 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "123", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "123", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "456", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 85 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 405 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "340130024", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "158951116", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "155529659", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "642023166", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "228481736", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "469712960", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "929437719", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "721072814", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "363254789", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "906732565", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "288246391", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "724940549", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "487101620", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "261373583", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "891163927", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "743967544", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "8372586", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "461793278", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "806307045", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "122764546", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "356336181", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "158370903", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "774460877", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "557174131", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "492401267", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "893445620", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "957757048", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "721540649", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "390746493", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "211251725", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "938266114", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "156985870", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "703831126", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "729964155", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "988151305", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "320872435", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "719287167", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "152289486", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "740067975", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "728627816", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "385008978", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "553967635", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "71980713", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "519444716", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "116499965", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "717422268", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "18966279", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "22458638", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "857282620", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "920675898", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "762235516", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "469018377", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "199986521", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "536679358", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "591399452", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "83083158", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "599449051", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "445442318", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "585486590", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "209278800", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "873568117", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "664470940", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "465262783", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "605652874", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "376803940", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "965247040", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "598474509", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "845119918", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "648159133", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "669051032", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "800600261", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "434689764", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "520060080", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "804659385", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "537828058", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "716600292", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "387020273", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "199375617", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "680337189", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "818479931", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "893693281", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "87377802", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "84699261", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "292826090", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "569171405", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "387436237", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "150682190", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "888770419", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "824696431", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "765659803", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "270163693", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "427940240", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "504997332", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "337808338", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "907200008", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "757177889", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "696697188", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "41376051", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "496293518", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal.Group] +Single = [ + "251218820", + { span = { lo = 0, hi = 14 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/scalar.out b/tests/expectations/parser/expression/literal/int_parse/scalar.out index d19adac997..e777779956 100644 --- a/tests/expectations/parser/expression/literal/int_parse/scalar.out +++ b/tests/expectations/parser/expression/literal/int_parse/scalar.out @@ -1,739 +1,947 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Scalar: - - "123" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Scalar: - - "123" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Scalar: - - "456" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Scalar: - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 86 - - 0 - - Literal: - Scalar: - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 406 - - 0 - - Literal: - Scalar: - - "340130024" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "158951116" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "155529659" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "642023166" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "228481736" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "469712960" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "929437719" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "721072814" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "363254789" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "906732565" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "288246391" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "724940549" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "487101620" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "261373583" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "891163927" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "743967544" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "8372586" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Scalar: - - "461793278" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "806307045" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "122764546" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "356336181" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "158370903" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "774460877" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "557174131" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "492401267" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "893445620" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "957757048" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "721540649" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "390746493" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "211251725" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "938266114" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "156985870" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "703831126" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "729964155" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "988151305" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "320872435" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "719287167" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "152289486" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "740067975" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "728627816" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "385008978" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "553967635" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "71980713" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - "519444716" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "116499965" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "717422268" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "18966279" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - "22458638" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - "857282620" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "920675898" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "762235516" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "469018377" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "199986521" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "536679358" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "591399452" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "83083158" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - "599449051" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "445442318" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "585486590" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "209278800" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "873568117" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "664470940" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "465262783" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "605652874" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "376803940" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "965247040" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "598474509" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "845119918" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "648159133" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "669051032" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "800600261" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "434689764" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "520060080" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "804659385" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "537828058" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "716600292" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "387020273" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "199375617" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "680337189" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "818479931" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "893693281" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "87377802" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - "84699261" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - "292826090" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "569171405" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "387436237" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "150682190" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "888770419" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "824696431" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "765659803" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "270163693" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "427940240" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "504997332" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "337808338" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "907200008" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "757177889" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "696697188" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "41376051" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - "496293518" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Scalar: - - "251218820" - - span: - lo: 0 - hi: 15 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "123", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "123", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "456", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 86 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 406 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "340130024", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "158951116", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "155529659", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "642023166", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "228481736", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "469712960", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "929437719", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "721072814", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "363254789", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "906732565", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "288246391", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "724940549", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "487101620", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "261373583", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "891163927", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "743967544", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "8372586", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "461793278", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "806307045", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "122764546", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "356336181", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "158370903", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "774460877", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "557174131", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "492401267", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "893445620", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "957757048", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "721540649", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "390746493", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "211251725", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "938266114", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "156985870", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "703831126", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "729964155", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "988151305", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "320872435", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "719287167", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "152289486", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "740067975", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "728627816", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "385008978", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "553967635", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "71980713", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "519444716", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "116499965", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "717422268", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "18966279", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "22458638", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "857282620", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "920675898", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "762235516", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "469018377", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "199986521", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "536679358", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "591399452", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "83083158", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "599449051", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "445442318", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "585486590", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "209278800", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "873568117", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "664470940", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "465262783", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "605652874", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "376803940", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "965247040", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "598474509", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "845119918", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "648159133", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "669051032", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "800600261", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "434689764", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "520060080", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "804659385", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "537828058", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "716600292", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "387020273", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "199375617", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "680337189", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "818479931", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "893693281", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "87377802", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "84699261", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "292826090", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "569171405", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "387436237", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "150682190", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "888770419", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "824696431", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "765659803", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "270163693", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "427940240", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "504997332", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "337808338", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "907200008", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "757177889", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "696697188", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "41376051", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "496293518", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Scalar = [ + "251218820", + { span = { lo = 0, hi = 15 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/u128.out b/tests/expectations/parser/expression/literal/int_parse/u128.out index 12ccda24cf..c915ab1abf 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u128.out +++ b/tests/expectations/parser/expression/literal/int_parse/u128.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - U128 - - "123" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U128 - - "123" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U128 - - "456" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U128 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 84 - - 0 - - Literal: - Integer: - - U128 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 404 - - 0 - - Literal: - Integer: - - U128 - - "340130024" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "158951116" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "155529659" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "642023166" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "228481736" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "469712960" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "929437719" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "721072814" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "363254789" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "906732565" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "288246391" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "724940549" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "487101620" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "261373583" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "891163927" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "743967544" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "8372586" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U128 - - "461793278" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "806307045" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "122764546" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "356336181" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "158370903" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "774460877" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "557174131" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "492401267" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "893445620" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "957757048" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "721540649" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "390746493" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "211251725" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "938266114" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "156985870" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "703831126" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "729964155" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "988151305" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "320872435" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "719287167" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "152289486" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "740067975" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "728627816" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "385008978" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "553967635" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "71980713" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U128 - - "519444716" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "116499965" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "717422268" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "18966279" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U128 - - "22458638" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U128 - - "857282620" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "920675898" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "762235516" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "469018377" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "199986521" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "536679358" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "591399452" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "83083158" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U128 - - "599449051" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "445442318" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "585486590" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "209278800" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "873568117" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "664470940" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "465262783" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "605652874" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "376803940" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "965247040" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "598474509" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "845119918" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "648159133" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "669051032" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "800600261" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "434689764" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "520060080" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "804659385" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "537828058" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "716600292" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "387020273" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "199375617" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "680337189" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "818479931" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "893693281" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "87377802" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U128 - - "84699261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U128 - - "292826090" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "569171405" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "387436237" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "150682190" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "888770419" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "824696431" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "765659803" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "270163693" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "427940240" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "504997332" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "337808338" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "907200008" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "757177889" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "696697188" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "41376051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U128 - - "496293518" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "251218820" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U128 - - "0x12" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - U128 - - "0xAA" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - U128 - - "0xAABB" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U128 - - "0x12345AABB" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Integer: - - U128 - - "0b101010000" - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Integer: - - U128 - - "0o12345" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U128 - - "0o10077" - - span: - lo: 0 - hi: 11 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "123", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "123", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "456", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 84 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 404 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "340130024", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "158951116", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "155529659", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "642023166", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "228481736", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "469712960", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "929437719", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "721072814", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "363254789", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "906732565", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "288246391", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "724940549", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "487101620", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "261373583", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "891163927", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "743967544", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "8372586", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "461793278", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "806307045", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "122764546", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "356336181", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "158370903", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "774460877", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "557174131", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "492401267", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "893445620", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "957757048", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "721540649", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "390746493", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "211251725", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "938266114", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "156985870", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "703831126", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "729964155", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "988151305", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "320872435", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "719287167", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "152289486", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "740067975", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "728627816", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "385008978", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "553967635", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "71980713", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "519444716", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "116499965", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "717422268", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "18966279", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "22458638", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "857282620", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "920675898", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "762235516", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "469018377", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "199986521", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "536679358", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "591399452", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "83083158", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "599449051", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "445442318", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "585486590", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "209278800", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "873568117", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "664470940", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "465262783", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "605652874", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "376803940", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "965247040", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "598474509", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "845119918", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "648159133", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "669051032", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "800600261", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "434689764", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "520060080", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "804659385", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "537828058", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "716600292", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "387020273", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "199375617", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "680337189", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "818479931", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "893693281", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "87377802", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "84699261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "292826090", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "569171405", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "387436237", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "150682190", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "888770419", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "824696431", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "765659803", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "270163693", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "427940240", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "504997332", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "337808338", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "907200008", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "757177889", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "696697188", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "41376051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "496293518", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "251218820", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "0x12", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "0xAA", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "0xAABB", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "0x12345AABB", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "0b101010000", + { span = { lo = 0, hi = 15 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "0o12345", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U128", + "0o10077", + { span = { lo = 0, hi = 11 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/u16.out b/tests/expectations/parser/expression/literal/int_parse/u16.out index 7591c49c0e..381ea50578 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u16.out +++ b/tests/expectations/parser/expression/literal/int_parse/u16.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - U16 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U16 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U16 - - "456" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U16 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 83 - - 0 - - Literal: - Integer: - - U16 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 403 - - 0 - - Literal: - Integer: - - U16 - - "340130024" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "158951116" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "155529659" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "642023166" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "228481736" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "469712960" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "929437719" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "721072814" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "363254789" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "906732565" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "288246391" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "724940549" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "487101620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "261373583" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "891163927" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "743967544" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "8372586" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U16 - - "461793278" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "806307045" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "122764546" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "356336181" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "158370903" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "774460877" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "557174131" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "492401267" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "893445620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "957757048" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "721540649" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "390746493" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "211251725" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "938266114" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "156985870" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "703831126" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "729964155" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "988151305" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "320872435" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "719287167" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "152289486" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "740067975" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "728627816" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "385008978" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "553967635" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "71980713" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U16 - - "519444716" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "116499965" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "717422268" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "18966279" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U16 - - "22458638" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U16 - - "857282620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "920675898" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "762235516" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "469018377" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "199986521" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "536679358" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "591399452" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "83083158" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U16 - - "599449051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "445442318" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "585486590" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "209278800" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "873568117" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "664470940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "465262783" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "605652874" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "376803940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "965247040" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "598474509" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "845119918" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "648159133" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "669051032" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "800600261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "434689764" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "520060080" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "804659385" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "537828058" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "716600292" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "387020273" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "199375617" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "680337189" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "818479931" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "893693281" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "87377802" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U16 - - "84699261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U16 - - "292826090" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "569171405" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "387436237" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "150682190" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "888770419" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "824696431" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "765659803" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "270163693" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "427940240" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "504997332" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "337808338" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "907200008" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "757177889" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "696697188" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "41376051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U16 - - "496293518" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "251218820" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U16 - - "0x12" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U16 - - "0xAA" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U16 - - "0xAABB" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - U16 - - "0x12345AABB" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - U16 - - "0b101010000" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - U16 - - "0o12345" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U16 - - "0o10077" - - span: - lo: 0 - hi: 10 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "456", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 83 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 403 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "340130024", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "158951116", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "155529659", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "642023166", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "228481736", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "469712960", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "929437719", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "721072814", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "363254789", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "906732565", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "288246391", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "724940549", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "487101620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "261373583", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "891163927", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "743967544", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "8372586", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "461793278", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "806307045", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "122764546", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "356336181", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "158370903", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "774460877", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "557174131", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "492401267", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "893445620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "957757048", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "721540649", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "390746493", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "211251725", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "938266114", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "156985870", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "703831126", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "729964155", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "988151305", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "320872435", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "719287167", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "152289486", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "740067975", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "728627816", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "385008978", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "553967635", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "71980713", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "519444716", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "116499965", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "717422268", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "18966279", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "22458638", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "857282620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "920675898", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "762235516", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "469018377", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "199986521", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "536679358", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "591399452", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "83083158", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "599449051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "445442318", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "585486590", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "209278800", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "873568117", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "664470940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "465262783", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "605652874", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "376803940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "965247040", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "598474509", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "845119918", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "648159133", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "669051032", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "800600261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "434689764", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "520060080", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "804659385", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "537828058", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "716600292", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "387020273", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "199375617", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "680337189", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "818479931", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "893693281", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "87377802", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "84699261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "292826090", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "569171405", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "387436237", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "150682190", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "888770419", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "824696431", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "765659803", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "270163693", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "427940240", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "504997332", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "337808338", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "907200008", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "757177889", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "696697188", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "41376051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "496293518", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "251218820", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "0x12", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "0xAA", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "0xAABB", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "0x12345AABB", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "0b101010000", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "0o12345", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U16", + "0o10077", + { span = { lo = 0, hi = 10 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/u32.out b/tests/expectations/parser/expression/literal/int_parse/u32.out index 2922364b13..db9ec00df1 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u32.out +++ b/tests/expectations/parser/expression/literal/int_parse/u32.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - U32 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U32 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U32 - - "456" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U32 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 83 - - 0 - - Literal: - Integer: - - U32 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 403 - - 0 - - Literal: - Integer: - - U32 - - "340130024" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "158951116" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "155529659" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "642023166" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "228481736" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "469712960" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "929437719" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "721072814" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "363254789" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "906732565" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "288246391" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "724940549" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "487101620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "261373583" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "891163927" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "743967544" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "8372586" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U32 - - "461793278" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "806307045" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "122764546" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "356336181" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "158370903" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "774460877" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "557174131" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "492401267" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "893445620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "957757048" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "721540649" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "390746493" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "211251725" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "938266114" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "156985870" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "703831126" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "729964155" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "988151305" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "320872435" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "719287167" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "152289486" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "740067975" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "728627816" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "385008978" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "553967635" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "71980713" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - "519444716" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "116499965" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "717422268" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "18966279" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - "22458638" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - "857282620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "920675898" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "762235516" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "469018377" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "199986521" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "536679358" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "591399452" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "83083158" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - "599449051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "445442318" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "585486590" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "209278800" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "873568117" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "664470940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "465262783" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "605652874" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "376803940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "965247040" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "598474509" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "845119918" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "648159133" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "669051032" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "800600261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "434689764" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "520060080" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "804659385" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "537828058" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "716600292" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "387020273" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "199375617" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "680337189" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "818479931" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "893693281" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "87377802" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - "84699261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - "292826090" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "569171405" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "387436237" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "150682190" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "888770419" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "824696431" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "765659803" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "270163693" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "427940240" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "504997332" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "337808338" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "907200008" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "757177889" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "696697188" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "41376051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - "496293518" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "251218820" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - "0x12" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U32 - - "0xAA" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U32 - - "0xAABB" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - U32 - - "0x12345AABB" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - U32 - - "0b101010000" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - U32 - - "0o12345" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U32 - - "0o10077" - - span: - lo: 0 - hi: 10 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "456", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 83 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 403 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "340130024", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "158951116", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "155529659", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "642023166", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "228481736", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "469712960", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "929437719", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "721072814", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "363254789", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "906732565", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "288246391", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "724940549", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "487101620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "261373583", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "891163927", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "743967544", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "8372586", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "461793278", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "806307045", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "122764546", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "356336181", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "158370903", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "774460877", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "557174131", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "492401267", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "893445620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "957757048", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "721540649", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "390746493", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "211251725", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "938266114", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "156985870", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "703831126", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "729964155", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "988151305", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "320872435", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "719287167", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "152289486", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "740067975", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "728627816", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "385008978", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "553967635", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "71980713", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "519444716", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "116499965", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "717422268", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "18966279", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "22458638", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "857282620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "920675898", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "762235516", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "469018377", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "199986521", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "536679358", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "591399452", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "83083158", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "599449051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "445442318", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "585486590", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "209278800", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "873568117", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "664470940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "465262783", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "605652874", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "376803940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "965247040", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "598474509", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "845119918", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "648159133", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "669051032", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "800600261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "434689764", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "520060080", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "804659385", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "537828058", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "716600292", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "387020273", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "199375617", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "680337189", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "818479931", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "893693281", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "87377802", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "84699261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "292826090", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "569171405", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "387436237", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "150682190", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "888770419", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "824696431", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "765659803", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "270163693", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "427940240", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "504997332", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "337808338", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "907200008", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "757177889", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "696697188", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "41376051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "496293518", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "251218820", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "0x12", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "0xAA", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "0xAABB", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "0x12345AABB", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "0b101010000", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "0o12345", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U32", + "0o10077", + { span = { lo = 0, hi = 10 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/u64.out b/tests/expectations/parser/expression/literal/int_parse/u64.out index 18f3aaa7b5..01e057d965 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u64.out +++ b/tests/expectations/parser/expression/literal/int_parse/u64.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - U64 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U64 - - "123" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U64 - - "456" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U64 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 83 - - 0 - - Literal: - Integer: - - U64 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 403 - - 0 - - Literal: - Integer: - - U64 - - "340130024" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "158951116" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "155529659" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "642023166" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "228481736" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "469712960" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "929437719" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "721072814" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "363254789" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "906732565" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "288246391" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "724940549" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "487101620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "261373583" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "891163927" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "743967544" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "8372586" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U64 - - "461793278" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "806307045" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "122764546" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "356336181" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "158370903" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "774460877" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "557174131" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "492401267" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "893445620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "957757048" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "721540649" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "390746493" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "211251725" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "938266114" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "156985870" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "703831126" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "729964155" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "988151305" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "320872435" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "719287167" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "152289486" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "740067975" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "728627816" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "385008978" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "553967635" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "71980713" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U64 - - "519444716" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "116499965" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "717422268" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "18966279" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U64 - - "22458638" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U64 - - "857282620" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "920675898" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "762235516" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "469018377" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "199986521" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "536679358" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "591399452" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "83083158" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U64 - - "599449051" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "445442318" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "585486590" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "209278800" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "873568117" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "664470940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "465262783" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "605652874" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "376803940" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "965247040" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "598474509" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "845119918" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "648159133" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "669051032" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "800600261" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "434689764" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "520060080" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "804659385" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "537828058" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "716600292" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "387020273" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "199375617" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "680337189" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "818479931" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "893693281" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "87377802" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U64 - - "84699261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U64 - - "292826090" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "569171405" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "387436237" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "150682190" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "888770419" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "824696431" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "765659803" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "270163693" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "427940240" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "504997332" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "337808338" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "907200008" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "757177889" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "696697188" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "41376051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U64 - - "496293518" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "251218820" - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U64 - - "0x12" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U64 - - "0xAA" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U64 - - "0xAABB" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - U64 - - "0x12345AABB" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - U64 - - "0b101010000" - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Integer: - - U64 - - "0o12345" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U64 - - "0o10077" - - span: - lo: 0 - hi: 10 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "123", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "456", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 83 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 403 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "340130024", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "158951116", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "155529659", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "642023166", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "228481736", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "469712960", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "929437719", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "721072814", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "363254789", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "906732565", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "288246391", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "724940549", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "487101620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "261373583", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "891163927", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "743967544", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "8372586", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "461793278", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "806307045", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "122764546", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "356336181", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "158370903", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "774460877", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "557174131", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "492401267", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "893445620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "957757048", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "721540649", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "390746493", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "211251725", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "938266114", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "156985870", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "703831126", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "729964155", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "988151305", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "320872435", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "719287167", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "152289486", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "740067975", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "728627816", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "385008978", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "553967635", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "71980713", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "519444716", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "116499965", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "717422268", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "18966279", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "22458638", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "857282620", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "920675898", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "762235516", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "469018377", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "199986521", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "536679358", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "591399452", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "83083158", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "599449051", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "445442318", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "585486590", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "209278800", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "873568117", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "664470940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "465262783", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "605652874", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "376803940", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "965247040", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "598474509", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "845119918", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "648159133", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "669051032", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "800600261", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "434689764", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "520060080", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "804659385", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "537828058", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "716600292", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "387020273", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "199375617", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "680337189", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "818479931", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "893693281", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "87377802", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "84699261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "292826090", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "569171405", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "387436237", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "150682190", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "888770419", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "824696431", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "765659803", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "270163693", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "427940240", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "504997332", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "337808338", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "907200008", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "757177889", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "696697188", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "41376051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "496293518", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "251218820", + { span = { lo = 0, hi = 12 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "0x12", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "0xAA", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "0xAABB", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "0x12345AABB", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "0b101010000", + { span = { lo = 0, hi = 14 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "0o12345", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U64", + "0o10077", + { span = { lo = 0, hi = 10 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/int_parse/u8.out b/tests/expectations/parser/expression/literal/int_parse/u8.out index 2b35f25e97..9d74cab0d1 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u8.out +++ b/tests/expectations/parser/expression/literal/int_parse/u8.out @@ -1,900 +1,1122 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Literal: - Integer: - - U8 - - "123" - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - U8 - - "123" - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - U8 - - "456" - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - U8 - - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 82 - - 0 - - Literal: - Integer: - - U8 - - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - - span: - lo: 0 - hi: 402 - - 0 - - Literal: - Integer: - - U8 - - "340130024" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "158951116" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "155529659" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "642023166" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "228481736" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "469712960" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "929437719" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "721072814" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "363254789" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "906732565" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "288246391" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "724940549" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "487101620" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "261373583" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "891163927" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "743967544" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "8372586" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - U8 - - "461793278" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "806307045" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "122764546" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "356336181" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "158370903" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "774460877" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "557174131" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "492401267" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "893445620" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "957757048" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "721540649" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "390746493" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "211251725" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "938266114" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "156985870" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "703831126" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "729964155" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "988151305" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "320872435" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "719287167" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "152289486" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "740067975" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "728627816" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "385008978" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "553967635" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "71980713" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U8 - - "519444716" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "116499965" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "717422268" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "18966279" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U8 - - "22458638" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U8 - - "857282620" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "920675898" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "762235516" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "469018377" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "199986521" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "536679358" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "591399452" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "83083158" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U8 - - "599449051" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "445442318" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "585486590" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "209278800" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "873568117" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "664470940" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "465262783" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "605652874" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "376803940" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "965247040" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "598474509" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "845119918" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "648159133" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "669051032" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "800600261" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "434689764" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "520060080" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "804659385" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "537828058" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "716600292" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "387020273" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "199375617" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "680337189" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "818479931" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "893693281" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "87377802" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U8 - - "84699261" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U8 - - "292826090" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "569171405" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "387436237" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "150682190" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "888770419" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "824696431" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "765659803" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "270163693" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "427940240" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "504997332" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "337808338" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "907200008" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "757177889" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "696697188" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "41376051" - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - U8 - - "496293518" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "251218820" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U8 - - "0x12" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U8 - - "0xAA" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U8 - - "0xAABB" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - U8 - - "0x12345AABB" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U8 - - "0b101010000" - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - U8 - - "0o12345" - - span: - lo: 0 - hi: 9 - - 0 - - Literal: - Integer: - - U8 - - "0o10077" - - span: - lo: 0 - hi: 9 - - 0 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "123", + { span = { lo = 0, hi = 5 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "123", + { span = { lo = 0, hi = 5 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "456", + { span = { lo = 0, hi = 5 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "87377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 82 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 402 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "340130024", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "158951116", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "155529659", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "642023166", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "228481736", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "469712960", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "929437719", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "721072814", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "363254789", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "906732565", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "288246391", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "724940549", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "487101620", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "261373583", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "891163927", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "743967544", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "8372586", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "461793278", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "806307045", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "122764546", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "356336181", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "158370903", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "774460877", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "557174131", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "492401267", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "893445620", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "957757048", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "721540649", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "390746493", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "211251725", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "938266114", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "156985870", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "703831126", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "729964155", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "988151305", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "320872435", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "719287167", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "152289486", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "740067975", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "728627816", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "385008978", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "553967635", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "71980713", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "519444716", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "116499965", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "717422268", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "18966279", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "22458638", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "857282620", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "920675898", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "762235516", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "469018377", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "199986521", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "536679358", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "591399452", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "83083158", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "599449051", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "445442318", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "585486590", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "209278800", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "873568117", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "664470940", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "465262783", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "605652874", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "376803940", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "965247040", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "598474509", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "845119918", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "648159133", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "669051032", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "800600261", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "434689764", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "520060080", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "804659385", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "537828058", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "716600292", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "387020273", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "199375617", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "680337189", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "818479931", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "893693281", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "87377802", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "84699261", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "292826090", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "569171405", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "387436237", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "150682190", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "888770419", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "824696431", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "765659803", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "270163693", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "427940240", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "504997332", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "337808338", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "907200008", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "757177889", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "696697188", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "41376051", + { span = { lo = 0, hi = 10 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "496293518", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "251218820", + { span = { lo = 0, hi = 11 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "0x12", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "0xAA", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "0xAABB", + { span = { lo = 0, hi = 8 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "0x12345AABB", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "0b101010000", + { span = { lo = 0, hi = 13 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "0o12345", + { span = { lo = 0, hi = 9 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "U8", + "0o10077", + { span = { lo = 0, hi = 9 } }, + 0, +] diff --git a/tests/expectations/parser/expression/literal/invalid_digits_fail.out b/tests/expectations/parser/expression/literal/invalid_digits_fail.out index 4451004c82..08bdcee676 100644 --- a/tests/expectations/parser/expression/literal/invalid_digits_fail.out +++ b/tests/expectations/parser/expression/literal/invalid_digits_fail.out @@ -1,8 +1,10 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370043]: Digit G invalid in radix 16 (token 0xGA)." - - "Error [EPAR0370043]: Digit 2 invalid in radix 2 (token 0b02)." - - "Error [EPAR0370043]: Digit 9 invalid in radix 8 (token 0o90)." - - "Error [EPAR0370016]: Could not lex the following content: `☺23`.\n" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + "Error [EPAR0370043]: Digit G invalid in radix 16 (token 0xGA).", + "Error [EPAR0370043]: Digit 2 invalid in radix 2 (token 0b02).", + "Error [EPAR0370043]: Digit 9 invalid in radix 8 (token 0o90).", + """ +Error [EPAR0370016]: Could not lex the following content: `☺23`. +""", +] diff --git a/tests/expectations/parser/expression/literal/postfix_types.out b/tests/expectations/parser/expression/literal/postfix_types.out index 00ff4531d4..57593be4a4 100644 --- a/tests/expectations/parser/expression/literal/postfix_types.out +++ b/tests/expectations/parser/expression/literal/postfix_types.out @@ -1,62 +1,62 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'field' @ 1:1-6" - - "'Field' @ 1:1-6" - - "'fielD' @ 1:1-6" - - "'FIELD' @ 1:1-6" - - "'group' @ 1:1-6" - - "'Group' @ 1:1-6" - - "'grouP' @ 1:1-6" - - "'GROUP' @ 1:1-6" - - "'u8' @ 1:1-3" - - "'u16' @ 1:1-4" - - "'u32' @ 1:1-4" - - "'u64' @ 1:1-4" - - "'u128' @ 1:1-5" - - "'i8' @ 1:1-3" - - "'i16' @ 1:1-4" - - "'i32' @ 1:1-4" - - "'i64' @ 1:1-4" - - "'i128' @ 1:1-5" - - "'U8' @ 1:1-3" - - "'U16' @ 1:1-4" - - "'U32' @ 1:1-4" - - "'U64' @ 1:1-4" - - "'U128' @ 1:1-5" - - "'U8' @ 1:1-3" - - "'U16' @ 1:1-4" - - "'U32' @ 1:1-4" - - "'U64' @ 1:1-4" - - "'U128' @ 1:1-5" - - "'u' @ 1:1-2" - - "'8' @ 1:1-2" - - "'u' @ 1:1-2" - - "'16' @ 1:1-3" - - "'u' @ 1:1-2" - - "'32' @ 1:1-3" - - "'u' @ 1:1-2" - - "'64' @ 1:1-3" - - "'u' @ 1:1-2" - - "'128' @ 1:1-4" - - "'i' @ 1:1-2" - - "'8' @ 1:1-2" - - "'i' @ 1:1-2" - - "'16' @ 1:1-3" - - "'i' @ 1:1-2" - - "'32' @ 1:1-3" - - "'i' @ 1:1-2" - - "'64' @ 1:1-3" - - "'i' @ 1:1-2" - - "'128' @ 1:1-4" - - "'U' @ 1:1-2,'8' @ 1:3-4" - - "'U' @ 1:1-2,'16' @ 1:3-5" - - "'U' @ 1:1-2,'32' @ 1:3-5" - - "'U' @ 1:1-2,'64' @ 1:3-5" - - "'U' @ 1:1-2,'128' @ 1:3-6" - - "'U' @ 1:1-2,'8' @ 1:3-4" - - "'U' @ 1:1-2,'16' @ 1:3-5" - - "'U' @ 1:1-2,'32' @ 1:3-5" - - "'U' @ 1:1-2,'64' @ 1:3-5" - - "'U' @ 1:1-2,'128' @ 1:3-6" +namespace = "Token" +expectation = "Pass" +outputs = [ + "'field' @ 1:1-6", + "'Field' @ 1:1-6", + "'fielD' @ 1:1-6", + "'FIELD' @ 1:1-6", + "'group' @ 1:1-6", + "'Group' @ 1:1-6", + "'grouP' @ 1:1-6", + "'GROUP' @ 1:1-6", + "'u8' @ 1:1-3", + "'u16' @ 1:1-4", + "'u32' @ 1:1-4", + "'u64' @ 1:1-4", + "'u128' @ 1:1-5", + "'i8' @ 1:1-3", + "'i16' @ 1:1-4", + "'i32' @ 1:1-4", + "'i64' @ 1:1-4", + "'i128' @ 1:1-5", + "'U8' @ 1:1-3", + "'U16' @ 1:1-4", + "'U32' @ 1:1-4", + "'U64' @ 1:1-4", + "'U128' @ 1:1-5", + "'U8' @ 1:1-3", + "'U16' @ 1:1-4", + "'U32' @ 1:1-4", + "'U64' @ 1:1-4", + "'U128' @ 1:1-5", + "'u' @ 1:1-2", + "'8' @ 1:1-2", + "'u' @ 1:1-2", + "'16' @ 1:1-3", + "'u' @ 1:1-2", + "'32' @ 1:1-3", + "'u' @ 1:1-2", + "'64' @ 1:1-3", + "'u' @ 1:1-2", + "'128' @ 1:1-4", + "'i' @ 1:1-2", + "'8' @ 1:1-2", + "'i' @ 1:1-2", + "'16' @ 1:1-3", + "'i' @ 1:1-2", + "'32' @ 1:1-3", + "'i' @ 1:1-2", + "'64' @ 1:1-3", + "'i' @ 1:1-2", + "'128' @ 1:1-4", + "'U' @ 1:1-2,'8' @ 1:3-4", + "'U' @ 1:1-2,'16' @ 1:3-5", + "'U' @ 1:1-2,'32' @ 1:3-5", + "'U' @ 1:1-2,'64' @ 1:3-5", + "'U' @ 1:1-2,'128' @ 1:3-6", + "'U' @ 1:1-2,'8' @ 1:3-4", + "'U' @ 1:1-2,'16' @ 1:3-5", + "'U' @ 1:1-2,'32' @ 1:3-5", + "'U' @ 1:1-2,'64' @ 1:3-5", + "'U' @ 1:1-2,'128' @ 1:3-6", +] diff --git a/tests/expectations/parser/expression/literal/scalar_hexbin_fail.out b/tests/expectations/parser/expression/literal/scalar_hexbin_fail.out index a6e2775f1d..8fe0ff1c55 100644 --- a/tests/expectations/parser/expression/literal/scalar_hexbin_fail.out +++ b/tests/expectations/parser/expression/literal/scalar_hexbin_fail.out @@ -1,6 +1,16 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types.\n --> test:1:1\n |\n 1 | 0xAAscalar\n | ^^^^" - - "Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types.\n --> test:1:1\n |\n 1 | 0b10scalar\n | ^^^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types. + --> test:1:1 + | + 1 | 0xAAscalar + | ^^^^""", + """ +Error [EPAR0370042]: Hex, octal, and binary literals may only be used for integer types. + --> test:1:1 + | + 1 | 0b10scalar + | ^^^^""", +] diff --git a/tests/expectations/parser/expression/literal/string.out b/tests/expectations/parser/expression/literal/string.out index f2647db005..eb31b41853 100644 --- a/tests/expectations/parser/expression/literal/string.out +++ b/tests/expectations/parser/expression/literal/string.out @@ -1,25 +1,25 @@ ---- -namespace: Token -expectation: Pass -outputs: - - "'\"string\"' @ 1:1-9" - - "'\"another { } string\"' @ 1:1-21" - - "'\"{ ] [ ; a\"' @ 1:1-12" - - "'\"test 😒€\"' @ 1:1-10" - - "'\"😭😂😘\"' @ 1:1-6" - - "'\"✋🏿\"' @ 1:1-5" - - "'\"🦀\"' @ 1:1-4" - - "'\"￿\"' @ 1:1-4" - - "'\"���\"' @ 1:1-6" - - "'\"(>3<)三\"' @ 1:1-9" - - "'\"ヽ༼ ಠ益ಠ ༽ノ\"' @ 1:1-12" - - "'\"(╯°□°)╯︵ ┻━┻\"' @ 1:1-15" - - "'\"┬─┬ ノ( ゜-゜ノ)\"' @ 1:1-15" - - "'\"( ͡° ͜ʖ ͡°)\"' @ 1:1-14" - - "'\"b\"' @ 1:1-4" - - "'\"ᕙ(▀̿ĺ̯▀̿ ̿)ᕗ\"' @ 1:1-15" - - "'\"♥╣[-_-]╠♥\"' @ 1:1-12" - - "'\"b\"' @ 1:1-4" - - "'\"(⑅∫°ਊ°)∫\"' @ 1:1-11" - - "'\"b\"' @ 1:1-4" - - "'\"🦀°1\"' @ 1:1-6" +namespace = "Token" +expectation = "Pass" +outputs = [ + ''''"string"' @ 1:1-9''', + ''''"another { } string"' @ 1:1-21''', + ''''"{ ] [ ; a"' @ 1:1-12''', + ''''"test 😒€"' @ 1:1-10''', + ''''"😭😂😘"' @ 1:1-6''', + ''''"✋🏿"' @ 1:1-5''', + ''''"🦀"' @ 1:1-4''', + ''''"￿"' @ 1:1-4''', + ''''"���"' @ 1:1-6''', + ''''"(>3<)三"' @ 1:1-9''', + ''''"ヽ༼ ಠ益ಠ ༽ノ"' @ 1:1-12''', + ''''"(╯°□°)╯︵ ┻━┻"' @ 1:1-15''', + ''''"┬─┬ ノ( ゜-゜ノ)"' @ 1:1-15''', + ''''"( ͡° ͜ʖ ͡°)"' @ 1:1-14''', + ''''"b"' @ 1:1-4''', + ''''"ᕙ(▀̿ĺ̯▀̿ ̿)ᕗ"' @ 1:1-15''', + ''''"♥╣[-_-]╠♥"' @ 1:1-12''', + ''''"b"' @ 1:1-4''', + ''''"(⑅∫°ਊ°)∫"' @ 1:1-11''', + ''''"b"' @ 1:1-4''', + ''''"🦀°1"' @ 1:1-6''', +] diff --git a/tests/expectations/parser/expression/literal/string_fail.out b/tests/expectations/parser/expression/literal/string_fail.out index 6f3c6a0113..086f3fd473 100644 --- a/tests/expectations/parser/expression/literal/string_fail.out +++ b/tests/expectations/parser/expression/literal/string_fail.out @@ -1,8 +1,8 @@ ---- -namespace: Token -expectation: Fail -outputs: - - "Error [EPAR0370013]: Expected a closed string but found `Hello world!`." - - "Error [EPAR0370013]: Expected a closed string but found `\\`." - - "Error [EPAR0370013]: Expected a closed string but found `⭇😍;`." - - "Error [EPAR0370020]: Unicode bidi override code point encountered." +namespace = "Token" +expectation = "Fail" +outputs = [ + "Error [EPAR0370013]: Expected a closed string but found `Hello world!`.", + 'Error [EPAR0370013]: Expected a closed string but found `\`.', + "Error [EPAR0370013]: Expected a closed string but found `⭇😍;`.", + "Error [EPAR0370020]: Unicode bidi override code point encountered.", +] diff --git a/tests/expectations/parser/expression/literal/underscore.out b/tests/expectations/parser/expression/literal/underscore.out index f9c246c369..f7dedf0e20 100644 --- a/tests/expectations/parser/expression/literal/underscore.out +++ b/tests/expectations/parser/expression/literal/underscore.out @@ -1,922 +1,537 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - "" - - Literal: - Integer: - - I8 - - 1______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________1 - - span: - lo: 0 - hi: 10194 - - 0 - - Literal: - Integer: - - I8 - - "12" - - span: - lo: 0 - hi: 4 - - 0 - - Literal: - Integer: - - I8 - - 1_2 - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - I8 - - 12_3 - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I8 - - 12_3_4 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I8 - - 12_3_4_5 - - span: - lo: 0 - hi: 10 - - 0 - - "" - - Literal: - Integer: - - I16 - - "1234" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - I16 - - 1_234 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I16 - - 12_34 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I16 - - 123_4 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I16 - - 12_3_4 - - span: - lo: 0 - hi: 9 - - 0 - - "" - - Literal: - Integer: - - I32 - - 1_2_3 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - I32 - - 1__2__3 - - span: - lo: 0 - hi: 10 - - 0 - - Literal: - Integer: - - I32 - - 0__0__0000 - - span: - lo: 0 - hi: 13 - - 0 - - Literal: - Integer: - - I32 - - 0_2930_932_________________ - - span: - lo: 0 - hi: 30 - - 0 - - Literal: - Integer: - - I32 - - 0_0 - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I32 - - 000001034043240__________________________________________________________________________ - - span: - lo: 0 - hi: 92 - - 0 - - "" - - Literal: - Integer: - - I64 - - "1234567890123456" - - span: - lo: 0 - hi: 19 - - 0 - - Literal: - Integer: - - I64 - - 1_234567890123456 - - span: - lo: 0 - hi: 20 - - 0 - - Literal: - Integer: - - I64 - - 12_34567890123456 - - span: - lo: 0 - hi: 20 - - 0 - - Literal: - Integer: - - I64 - - 123456789012_3456 - - span: - lo: 0 - hi: 20 - - 0 - - Literal: - Integer: - - I64 - - 1234567890_123456 - - span: - lo: 0 - hi: 20 - - 0 - - "" - - Literal: - Integer: - - I128 - - "12345678901234567890123456789012" - - span: - lo: 0 - hi: 36 - - 0 - - Literal: - Integer: - - I128 - - 1_2345678901234567890123456789012 - - span: - lo: 0 - hi: 37 - - 0 - - Literal: - Integer: - - I128 - - 12_345678901234567890123456789012 - - span: - lo: 0 - hi: 37 - - 0 - - Literal: - Integer: - - I128 - - 1234567890123456789012345678_9012 - - span: - lo: 0 - hi: 37 - - 0 - - Literal: - Integer: - - I128 - - 12345678901234567890_123456789012 - - span: - lo: 0 - hi: 37 - - 0 - - "" - - Literal: - Integer: - - U8 - - "12" - - span: - lo: 0 - hi: 4 - - 0 - - Literal: - Integer: - - U8 - - 1_2 - - span: - lo: 0 - hi: 5 - - 0 - - Literal: - Integer: - - U8 - - 12_3 - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - U8 - - 12_3_4 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - U8 - - 12_3_4_5 - - span: - lo: 0 - hi: 10 - - 0 - - "" - - Literal: - Integer: - - U16 - - "1234" - - span: - lo: 0 - hi: 7 - - 0 - - Literal: - Integer: - - U16 - - 1_234 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - U16 - - 12_34 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - U16 - - 123_4 - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Integer: - - U16 - - 12_3_4 - - span: - lo: 0 - hi: 9 - - 0 - - "" - - Literal: - Integer: - - U32 - - "12345678" - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Integer: - - U32 - - 1_2345678 - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - 12_345678 - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - 1234567_8 - - span: - lo: 0 - hi: 12 - - 0 - - Literal: - Integer: - - U32 - - 1234_5678 - - span: - lo: 0 - hi: 12 - - 0 - - "" - - Literal: - Integer: - - U64 - - "1234567890123456" - - span: - lo: 0 - hi: 19 - - 0 - - Literal: - Integer: - - U64 - - 1_234567890123456 - - span: - lo: 0 - hi: 20 - - 0 - - Literal: - Integer: - - U64 - - 12_34567890123456 - - span: - lo: 0 - hi: 20 - - 0 - - Literal: - Integer: - - U64 - - 123456789012_3456 - - span: - lo: 0 - hi: 20 - - 0 - - Literal: - Integer: - - U64 - - 1234567890_123456 - - span: - lo: 0 - hi: 20 - - 0 - - "" - - Literal: - Integer: - - U128 - - "12345678901234567890123456789012" - - span: - lo: 0 - hi: 36 - - 0 - - Literal: - Integer: - - U128 - - 1_2345678901234567890123456789012 - - span: - lo: 0 - hi: 37 - - 0 - - Literal: - Integer: - - I128 - - 12_345678901234567890123456789012 - - span: - lo: 0 - hi: 37 - - 0 - - Literal: - Integer: - - I128 - - 1234567890123456789012345678_9012 - - span: - lo: 0 - hi: 37 - - 0 - - Literal: - Integer: - - I128 - - 12345678901234567890_123456789012 - - span: - lo: 0 - hi: 37 - - 0 - - "" - - Literal: - Field: - - "456" - - span: - lo: 0 - hi: 8 - - 0 - - Literal: - Field: - - 8737780287___3778028737780287377802873778028737780287377802873778028737780287377802 - - span: - lo: 0 - hi: 88 - - 0 - - Literal: - Field: - - 8__737780287377___________80287377802873778028737780287377802873778028737______78028737780287377802873778028737780287____37780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802 - - span: - lo: 0 - hi: 428 - - 0 - - Literal: - Field: - - 340130____024 - - span: - lo: 0 - hi: 18 - - 0 - - Literal: - Field: - - 15_8951116____ - - span: - lo: 0 - hi: 19 - - 0 - - "" - - Literal: - Scalar: - - 72___4940549 - - span: - lo: 0 - hi: 18 - - 0 - - Literal: - Scalar: - - 48710162___0 - - span: - lo: 0 - hi: 18 - - 0 - - Literal: - Scalar: - - 100__234 - - span: - lo: 0 - hi: 14 - - 0 - - Literal: - Scalar: - - 1_234 - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Scalar: - - 12_34 - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Scalar: - - 123_4 - - span: - lo: 0 - hi: 11 - - 0 - - Literal: - Scalar: - - 12_3_4 - - span: - lo: 0 - hi: 12 - - 0 - - "" - - Literal: - Group: - Single: - - 19____9__3756___17 - - span: - lo: 0 - hi: 23 - - 0 - - Literal: - Group: - Single: - - 68______03______3718____9__ - - span: - lo: 0 - hi: 32 - - 0 - - Literal: - Group: - Single: - - 818__79931__ - - span: - lo: 0 - hi: 17 - - 0 - - Literal: - Group: - Single: - - 8__9369328__1 - - span: - lo: 0 - hi: 18 - - 0 - - Literal: - Group: - Single: - - 873__778____02 - - span: - lo: 0 - hi: 19 - - 0 - - Literal: - Group: - Single: - - 84699__261 - - span: - lo: 0 - hi: 15 - - 0 - - Literal: - Group: - Single: - - 29__282609__0 - - span: - lo: 0 - hi: 18 - - 0 - - "" - - Literal: - Group: - Tuple: - x: - Number: - - 1___2__3 - - span: - lo: 1 - hi: 9 - y: - Number: - - "-4_5__6" - - span: - lo: 11 - hi: 17 - span: - lo: 0 - hi: 23 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "-12___3" - - span: - lo: 2 - hi: 8 - y: - Number: - - 456__ - - span: - lo: 9 - hi: 14 - span: - lo: 0 - hi: 20 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - "-12__3" - - span: - lo: 2 - hi: 7 - y: - Number: - - 45______6 - - span: - lo: 8 - hi: 17 - span: - lo: 0 - hi: 23 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 1__23 - - span: - lo: 1 - hi: 6 - y: Inferred - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 12__3 - - span: - lo: 1 - hi: 6 - y: SignLow - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 0___1_2_3 - - span: - lo: 1 - hi: 10 - y: SignLow - span: - lo: 0 - hi: 19 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 12_3 - - span: - lo: 1 - hi: 5 - y: SignHigh - span: - lo: 0 - hi: 14 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 0____123 - - span: - lo: 1 - hi: 9 - y: SignHigh - span: - lo: 0 - hi: 18 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 12_3 - - span: - lo: 1 - hi: 5 - y: SignLow - span: - lo: 0 - hi: 14 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 12__3 - - span: - lo: 1 - hi: 6 - y: Inferred - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: - Number: - - 345__ - - span: - lo: 4 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: Inferred - y: - Number: - - 34_5 - - span: - lo: 4 - hi: 8 - span: - lo: 0 - hi: 14 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: - Number: - - 345_ - - span: - lo: 4 - hi: 8 - span: - lo: 0 - hi: 14 - id: 0 - - Literal: - Group: - Tuple: - x: SignLow - y: - Number: - - 34_____5 - - span: - lo: 4 - hi: 12 - span: - lo: 0 - hi: 18 - id: 0 - - Literal: - Group: - Tuple: - x: SignHigh - y: - Number: - - 3_45 - - span: - lo: 4 - hi: 8 - span: - lo: 0 - hi: 14 - id: 0 - - Literal: - Group: - Tuple: - x: SignLow - y: - Number: - - 3_5 - - span: - lo: 4 - hi: 7 - span: - lo: 0 - hi: 13 - id: 0 - - Literal: - Group: - Tuple: - x: Inferred - y: - Number: - - 345_2 - - span: - lo: 4 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 1_2 - - span: - lo: 1 - hi: 4 - y: - Number: - - 3_4 - - span: - lo: 5 - hi: 8 - span: - lo: 0 - hi: 14 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 12_3 - - span: - lo: 1 - hi: 5 - y: - Number: - - 4_5 - - span: - lo: 6 - hi: 9 - span: - lo: 0 - hi: 15 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 12_3 - - span: - lo: 1 - hi: 5 - y: - Number: - - 45_6 - - span: - lo: 6 - hi: 10 - span: - lo: 0 - hi: 16 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 1_2_3 - - span: - lo: 1 - hi: 6 - y: - Number: - - 4_5_6 - - span: - lo: 7 - hi: 12 - span: - lo: 0 - hi: 18 - id: 0 - - Literal: - Group: - Tuple: - x: - Number: - - 12_3_4 - - span: - lo: 1 - hi: 7 - y: - Number: - - 56_7 - - span: - lo: 8 - hi: 12 - span: - lo: 0 - hi: 18 - id: 0 +namespace = "ParseExpression" +expectation = "Pass" +outputs = [ + "", + { Literal = { Integer = [ + "I8", + "1______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________1", + { span = { lo = 0, hi = 10194 } }, + 0, +] } }, + { Literal = { Integer = [ + "I8", + "12", + { span = { lo = 0, hi = 4 } }, + 0, +] } }, + { Literal = { Integer = [ + "I8", + "1_2", + { span = { lo = 0, hi = 5 } }, + 0, +] } }, + { Literal = { Integer = [ + "I8", + "12_3", + { span = { lo = 0, hi = 6 } }, + 0, +] } }, + { Literal = { Integer = [ + "I8", + "12_3_4", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "I8", + "12_3_4_5", + { span = { lo = 0, hi = 10 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "I16", + "1234", + { span = { lo = 0, hi = 7 } }, + 0, +] } }, + { Literal = { Integer = [ + "I16", + "1_234", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "I16", + "12_34", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "I16", + "123_4", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "I16", + "12_3_4", + { span = { lo = 0, hi = 9 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "I32", + "1_2_3", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "I32", + "1__2__3", + { span = { lo = 0, hi = 10 } }, + 0, +] } }, + { Literal = { Integer = [ + "I32", + "0__0__0000", + { span = { lo = 0, hi = 13 } }, + 0, +] } }, + { Literal = { Integer = [ + "I32", + "0_2930_932_________________", + { span = { lo = 0, hi = 30 } }, + 0, +] } }, + { Literal = { Integer = [ + "I32", + "0_0", + { span = { lo = 0, hi = 6 } }, + 0, +] } }, + { Literal = { Integer = [ + "I32", + "000001034043240__________________________________________________________________________", + { span = { lo = 0, hi = 92 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "I64", + "1234567890123456", + { span = { lo = 0, hi = 19 } }, + 0, +] } }, + { Literal = { Integer = [ + "I64", + "1_234567890123456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + { Literal = { Integer = [ + "I64", + "12_34567890123456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + { Literal = { Integer = [ + "I64", + "123456789012_3456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + { Literal = { Integer = [ + "I64", + "1234567890_123456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "I128", + "12345678901234567890123456789012", + { span = { lo = 0, hi = 36 } }, + 0, +] } }, + { Literal = { Integer = [ + "I128", + "1_2345678901234567890123456789012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + { Literal = { Integer = [ + "I128", + "12_345678901234567890123456789012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + { Literal = { Integer = [ + "I128", + "1234567890123456789012345678_9012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + { Literal = { Integer = [ + "I128", + "12345678901234567890_123456789012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "U8", + "12", + { span = { lo = 0, hi = 4 } }, + 0, +] } }, + { Literal = { Integer = [ + "U8", + "1_2", + { span = { lo = 0, hi = 5 } }, + 0, +] } }, + { Literal = { Integer = [ + "U8", + "12_3", + { span = { lo = 0, hi = 6 } }, + 0, +] } }, + { Literal = { Integer = [ + "U8", + "12_3_4", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "U8", + "12_3_4_5", + { span = { lo = 0, hi = 10 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "U16", + "1234", + { span = { lo = 0, hi = 7 } }, + 0, +] } }, + { Literal = { Integer = [ + "U16", + "1_234", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "U16", + "12_34", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "U16", + "123_4", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Integer = [ + "U16", + "12_3_4", + { span = { lo = 0, hi = 9 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "U32", + "12345678", + { span = { lo = 0, hi = 11 } }, + 0, +] } }, + { Literal = { Integer = [ + "U32", + "1_2345678", + { span = { lo = 0, hi = 12 } }, + 0, +] } }, + { Literal = { Integer = [ + "U32", + "12_345678", + { span = { lo = 0, hi = 12 } }, + 0, +] } }, + { Literal = { Integer = [ + "U32", + "1234567_8", + { span = { lo = 0, hi = 12 } }, + 0, +] } }, + { Literal = { Integer = [ + "U32", + "1234_5678", + { span = { lo = 0, hi = 12 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "U64", + "1234567890123456", + { span = { lo = 0, hi = 19 } }, + 0, +] } }, + { Literal = { Integer = [ + "U64", + "1_234567890123456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + { Literal = { Integer = [ + "U64", + "12_34567890123456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + { Literal = { Integer = [ + "U64", + "123456789012_3456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + { Literal = { Integer = [ + "U64", + "1234567890_123456", + { span = { lo = 0, hi = 20 } }, + 0, +] } }, + "", + { Literal = { Integer = [ + "U128", + "12345678901234567890123456789012", + { span = { lo = 0, hi = 36 } }, + 0, +] } }, + { Literal = { Integer = [ + "U128", + "1_2345678901234567890123456789012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + { Literal = { Integer = [ + "I128", + "12_345678901234567890123456789012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + { Literal = { Integer = [ + "I128", + "1234567890123456789012345678_9012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + { Literal = { Integer = [ + "I128", + "12345678901234567890_123456789012", + { span = { lo = 0, hi = 37 } }, + 0, +] } }, + "", + { Literal = { Field = [ + "456", + { span = { lo = 0, hi = 8 } }, + 0, +] } }, + { Literal = { Field = [ + "8737780287___3778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 88 } }, + 0, +] } }, + { Literal = { Field = [ + "8__737780287377___________80287377802873778028737780287377802873778028737______78028737780287377802873778028737780287____37780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802", + { span = { lo = 0, hi = 428 } }, + 0, +] } }, + { Literal = { Field = [ + "340130____024", + { span = { lo = 0, hi = 18 } }, + 0, +] } }, + { Literal = { Field = [ + "15_8951116____", + { span = { lo = 0, hi = 19 } }, + 0, +] } }, + "", + { Literal = { Scalar = [ + "72___4940549", + { span = { lo = 0, hi = 18 } }, + 0, +] } }, + { Literal = { Scalar = [ + "48710162___0", + { span = { lo = 0, hi = 18 } }, + 0, +] } }, + { Literal = { Scalar = [ + "100__234", + { span = { lo = 0, hi = 14 } }, + 0, +] } }, + { Literal = { Scalar = [ + "1_234", + { span = { lo = 0, hi = 11 } }, + 0, +] } }, + { Literal = { Scalar = [ + "12_34", + { span = { lo = 0, hi = 11 } }, + 0, +] } }, + { Literal = { Scalar = [ + "123_4", + { span = { lo = 0, hi = 11 } }, + 0, +] } }, + { Literal = { Scalar = [ + "12_3_4", + { span = { lo = 0, hi = 12 } }, + 0, +] } }, + "", + { Literal = { Group = { Single = [ + "19____9__3756___17", + { span = { lo = 0, hi = 23 } }, + 0, +] } } }, + { Literal = { Group = { Single = [ + "68______03______3718____9__", + { span = { lo = 0, hi = 32 } }, + 0, +] } } }, + { Literal = { Group = { Single = [ + "818__79931__", + { span = { lo = 0, hi = 17 } }, + 0, +] } } }, + { Literal = { Group = { Single = [ + "8__9369328__1", + { span = { lo = 0, hi = 18 } }, + 0, +] } } }, + { Literal = { Group = { Single = [ + "873__778____02", + { span = { lo = 0, hi = 19 } }, + 0, +] } } }, + { Literal = { Group = { Single = [ + "84699__261", + { span = { lo = 0, hi = 15 } }, + 0, +] } } }, + { Literal = { Group = { Single = [ + "29__282609__0", + { span = { lo = 0, hi = 18 } }, + 0, +] } } }, + "", + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "1___2__3", + { span = { lo = 1, hi = 9 } }, +] }, y = { Number = [ + "-4_5__6", + { span = { lo = 11, hi = 17 } }, +] }, span = { lo = 0, hi = 23 } } } } }, + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "-12___3", + { span = { lo = 2, hi = 8 } }, +] }, y = { Number = [ + "456__", + { span = { lo = 9, hi = 14 } }, +] }, span = { lo = 0, hi = 20 } } } } }, + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "-12__3", + { span = { lo = 2, hi = 7 } }, +] }, y = { Number = [ + "45______6", + { span = { lo = 8, hi = 17 } }, +] }, span = { lo = 0, hi = 23 } } } } }, + { Literal = { Group = { Tuple = { y = "Inferred", id = 0, x = { Number = [ + "1__23", + { span = { lo = 1, hi = 6 } }, +] }, span = { lo = 0, hi = 15 } } } } }, + { Literal = { Group = { Tuple = { y = "SignLow", id = 0, x = { Number = [ + "12__3", + { span = { lo = 1, hi = 6 } }, +] }, span = { lo = 0, hi = 15 } } } } }, + { Literal = { Group = { Tuple = { y = "SignLow", id = 0, x = { Number = [ + "0___1_2_3", + { span = { lo = 1, hi = 10 } }, +] }, span = { lo = 0, hi = 19 } } } } }, + { Literal = { Group = { Tuple = { y = "SignHigh", id = 0, x = { Number = [ + "12_3", + { span = { lo = 1, hi = 5 } }, +] }, span = { lo = 0, hi = 14 } } } } }, + { Literal = { Group = { Tuple = { y = "SignHigh", id = 0, x = { Number = [ + "0____123", + { span = { lo = 1, hi = 9 } }, +] }, span = { lo = 0, hi = 18 } } } } }, + { Literal = { Group = { Tuple = { y = "SignLow", id = 0, x = { Number = [ + "12_3", + { span = { lo = 1, hi = 5 } }, +] }, span = { lo = 0, hi = 14 } } } } }, + { Literal = { Group = { Tuple = { y = "Inferred", id = 0, x = { Number = [ + "12__3", + { span = { lo = 1, hi = 6 } }, +] }, span = { lo = 0, hi = 15 } } } } }, + { Literal = { Group = { Tuple = { x = "SignHigh", id = 0, y = { Number = [ + "345__", + { span = { lo = 4, hi = 9 } }, +] }, span = { lo = 0, hi = 15 } } } } }, + { Literal = { Group = { Tuple = { x = "Inferred", id = 0, y = { Number = [ + "34_5", + { span = { lo = 4, hi = 8 } }, +] }, span = { lo = 0, hi = 14 } } } } }, + { Literal = { Group = { Tuple = { x = "SignHigh", id = 0, y = { Number = [ + "345_", + { span = { lo = 4, hi = 8 } }, +] }, span = { lo = 0, hi = 14 } } } } }, + { Literal = { Group = { Tuple = { x = "SignLow", id = 0, y = { Number = [ + "34_____5", + { span = { lo = 4, hi = 12 } }, +] }, span = { lo = 0, hi = 18 } } } } }, + { Literal = { Group = { Tuple = { x = "SignHigh", id = 0, y = { Number = [ + "3_45", + { span = { lo = 4, hi = 8 } }, +] }, span = { lo = 0, hi = 14 } } } } }, + { Literal = { Group = { Tuple = { x = "SignLow", id = 0, y = { Number = [ + "3_5", + { span = { lo = 4, hi = 7 } }, +] }, span = { lo = 0, hi = 13 } } } } }, + { Literal = { Group = { Tuple = { x = "Inferred", id = 0, y = { Number = [ + "345_2", + { span = { lo = 4, hi = 9 } }, +] }, span = { lo = 0, hi = 15 } } } } }, + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "1_2", + { span = { lo = 1, hi = 4 } }, +] }, y = { Number = [ + "3_4", + { span = { lo = 5, hi = 8 } }, +] }, span = { lo = 0, hi = 14 } } } } }, + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "12_3", + { span = { lo = 1, hi = 5 } }, +] }, y = { Number = [ + "4_5", + { span = { lo = 6, hi = 9 } }, +] }, span = { lo = 0, hi = 15 } } } } }, + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "12_3", + { span = { lo = 1, hi = 5 } }, +] }, y = { Number = [ + "45_6", + { span = { lo = 6, hi = 10 } }, +] }, span = { lo = 0, hi = 16 } } } } }, + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "1_2_3", + { span = { lo = 1, hi = 6 } }, +] }, y = { Number = [ + "4_5_6", + { span = { lo = 7, hi = 12 } }, +] }, span = { lo = 0, hi = 18 } } } } }, + { Literal = { Group = { Tuple = { id = 0, x = { Number = [ + "12_3_4", + { span = { lo = 1, hi = 7 } }, +] }, y = { Number = [ + "56_7", + { span = { lo = 8, hi = 12 } }, +] }, span = { lo = 0, hi = 18 } } } } }, +] diff --git a/tests/expectations/parser/expression/literal/underscore_fail.out b/tests/expectations/parser/expression/literal/underscore_fail.out index f5532fc87e..5e818c7872 100644 --- a/tests/expectations/parser/expression/literal/underscore_fail.out +++ b/tests/expectations/parser/expression/literal/underscore_fail.out @@ -1,21 +1,106 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | ______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________1i8\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | ___1_2i8\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _________________i32\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _123456i64\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _9012i128\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _3_4_5u8\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _4u16\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _5678u32\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _123456u64\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _345678901234567890123456789012i128\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | __737780287377___________80287377802873778028737780287377802873778028737______78028737780287377802873778028737780287____37780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802field\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | ___4940549scalar\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | __9__3756___17group\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:2\n |\n 1 | (_1___2__3,-4_5__6)group\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:3\n |\n 1 | (-__12___3,456__)group\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:3\n |\n 1 | (-_12__3,_45______6)group\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _023group\n | ^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | ______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________1i8 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | ___1_2i8 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _________________i32 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _123456i64 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _9012i128 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _3_4_5u8 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _4u16 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _5678u32 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _123456u64 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _345678901234567890123456789012i128 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | __737780287377___________80287377802873778028737780287377802873778028737______78028737780287377802873778028737780287____37780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802field + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | ___4940549scalar + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | __9__3756___17group + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:2 + | + 1 | (_1___2__3,-4_5__6)group + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:3 + | + 1 | (-__12___3,456__)group + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:3 + | + 1 | (-_12__3,_45______6)group + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _023group + | ^""", +] diff --git a/tests/expectations/parser/expression/ternary.out b/tests/expectations/parser/expression/ternary.out index b128cdd658..13f3baf08e 100644 --- a/tests/expectations/parser/expression/ternary.out +++ b/tests/expectations/parser/expression/ternary.out @@ -1,57 +1,82 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Ternary: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - if_true: - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - if_false: - Identifier: "{\"id\":\"2\",\"name\":\"z\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - span: - lo: 0 - hi: 9 - id: 3 - - Ternary: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - if_true: - Ternary: - condition: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - if_true: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - if_false: - Identifier: "{\"id\":\"3\",\"name\":\"c\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - span: - lo: 4 - hi: 13 - id: 4 - if_false: - Identifier: "{\"id\":\"5\",\"name\":\"z\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 6 - - Ternary: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - if_true: - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - if_false: - Ternary: - condition: - Identifier: "{\"id\":\"2\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - if_true: - Identifier: "{\"id\":\"3\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - if_false: - Identifier: "{\"id\":\"4\",\"name\":\"c\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - span: - lo: 8 - hi: 17 - id: 5 - span: - lo: 0 - hi: 17 - id: 6 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Ternary] +id = 3 + +[outputs.Ternary.condition] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Ternary.if_true] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Ternary.if_false] +Identifier = '{"id":"2","name":"z","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Ternary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Ternary] +id = 6 + +[outputs.Ternary.condition] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Ternary.if_true.Ternary] +id = 4 + +[outputs.Ternary.if_true.Ternary.condition] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Ternary.if_true.Ternary.if_true] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Ternary.if_true.Ternary.if_false] +Identifier = '{"id":"3","name":"c","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Ternary.if_true.Ternary.span] +lo = 4 +hi = 13 + +[outputs.Ternary.if_false] +Identifier = '{"id":"5","name":"z","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Ternary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Ternary] +id = 6 + +[outputs.Ternary.condition] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Ternary.if_true] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Ternary.if_false.Ternary] +id = 5 + +[outputs.Ternary.if_false.Ternary.condition] +Identifier = '{"id":"2","name":"a","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Ternary.if_false.Ternary.if_true] +Identifier = '{"id":"3","name":"b","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Ternary.if_false.Ternary.if_false] +Identifier = '{"id":"4","name":"c","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Ternary.if_false.Ternary.span] +lo = 8 +hi = 17 + +[outputs.Ternary.span] +lo = 0 +hi = 17 diff --git a/tests/expectations/parser/expression/token_format.out b/tests/expectations/parser/expression/token_format.out index ebe597c2b2..ae3cdd193b 100644 --- a/tests/expectations/parser/expression/token_format.out +++ b/tests/expectations/parser/expression/token_format.out @@ -1,74 +1,352 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `'h'`.\n" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '@'\n --> test:1:1\n |\n 1 | @test\n | ^" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '&&'\n --> test:1:1\n |\n 1 | &&\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '||'\n --> test:1:1\n |\n 1 | ||\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '=='\n --> test:1:1\n |\n 1 | ==\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '!='\n --> test:1:1\n |\n 1 | !=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '<'\n --> test:1:1\n |\n 1 | <\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '<='\n --> test:1:1\n |\n 1 | <=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '>'\n --> test:1:1\n |\n 1 | >\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '>='\n --> test:1:1\n |\n 1 | >=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '+'\n --> test:1:1\n |\n 1 | +\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | -\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '*'\n --> test:1:1\n |\n 1 | *\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '**'\n --> test:1:1\n |\n 1 | **\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '/'\n --> test:1:1\n |\n 1 | /\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:1\n |\n 1 | =\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '+='\n --> test:1:1\n |\n 1 | +=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '-='\n --> test:1:1\n |\n 1 | -=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '*='\n --> test:1:1\n |\n 1 | *=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '/='\n --> test:1:1\n |\n 1 | /=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '**='\n --> test:1:1\n |\n 1 | **=\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | (\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:1\n |\n 1 | )\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | [\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:1\n |\n 1 | ]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '{'\n --> test:1:1\n |\n 1 | {\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:1\n |\n 1 | }\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:1\n |\n 1 | ,\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '.'\n --> test:1:1\n |\n 1 | .\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | ..\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | ...\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:1\n |\n 1 | ;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ':'\n --> test:1:1\n |\n 1 | :\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ''\n --> test:1:2\n |\n 1 | h::\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '?'\n --> test:1:1\n |\n 1 | ?\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '->'\n --> test:1:1\n |\n 1 | ->\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _\n | ^" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370016]: Could not lex the following content: `~`.\n" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'console'\n --> test:1:1\n |\n 1 | console\n | ^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'else'\n --> test:1:1\n |\n 1 | else\n | ^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'for'\n --> test:1:1\n |\n 1 | for\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'function'\n --> test:1:1\n |\n 1 | function\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'in'\n --> test:1:1\n |\n 1 | in\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'let'\n --> test:1:1\n |\n 1 | let\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '&'\n --> test:1:1\n |\n 1 | &\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'return'\n --> test:1:1\n |\n 1 | return\n | ^^^^^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `'h'`. +""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '@' + --> test:1:1 + | + 1 | @test + | ^""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '&&' + --> test:1:1 + | + 1 | && + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '||' + --> test:1:1 + | + 1 | || + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '==' + --> test:1:1 + | + 1 | == + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '!=' + --> test:1:1 + | + 1 | != + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '<' + --> test:1:1 + | + 1 | < + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '<=' + --> test:1:1 + | + 1 | <= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '>' + --> test:1:1 + | + 1 | > + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '>=' + --> test:1:1 + | + 1 | >= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '+' + --> test:1:1 + | + 1 | + + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '' + --> test:1:1 + | + 1 | - + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '*' + --> test:1:1 + | + 1 | * + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '**' + --> test:1:1 + | + 1 | ** + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '/' + --> test:1:1 + | + 1 | / + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:1 + | + 1 | = + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '+=' + --> test:1:1 + | + 1 | += + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '-=' + --> test:1:1 + | + 1 | -= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '*=' + --> test:1:1 + | + 1 | *= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '/=' + --> test:1:1 + | + 1 | /= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '**=' + --> test:1:1 + | + 1 | **= + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '' + --> test:1:1 + | + 1 | ( + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ')' + --> test:1:1 + | + 1 | ) + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '' + --> test:1:1 + | + 1 | [ + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ']' + --> test:1:1 + | + 1 | ] + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '{' + --> test:1:1 + | + 1 | { + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '}' + --> test:1:1 + | + 1 | } + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:1 + | + 1 | , + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '.' + --> test:1:1 + | + 1 | . + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '..' + --> test:1:1 + | + 1 | .. + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '..' + --> test:1:1 + | + 1 | ... + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ';' + --> test:1:1 + | + 1 | ; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ':' + --> test:1:1 + | + 1 | : + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '' + --> test:1:2 + | + 1 | h:: + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '?' + --> test:1:1 + | + 1 | ? + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '->' + --> test:1:1 + | + 1 | -> + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _ + | ^""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370016]: Could not lex the following content: `~`. +""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'console' + --> test:1:1 + | + 1 | console + | ^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'else' + --> test:1:1 + | + 1 | else + | ^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'for' + --> test:1:1 + | + 1 | for + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'function' + --> test:1:1 + | + 1 | function + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'in' + --> test:1:1 + | + 1 | in + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'let' + --> test:1:1 + | + 1 | let + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '&' + --> test:1:1 + | + 1 | & + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'return' + --> test:1:1 + | + 1 | return + | ^^^^^^""", +] diff --git a/tests/expectations/parser/expression/unary/abs.out b/tests/expectations/parser/expression/unary/abs.out index 6af714545b..69ada3e015 100644 --- a/tests/expectations/parser/expression/unary/abs.out +++ b/tests/expectations/parser/expression/unary/abs.out @@ -1,168 +1,228 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Abs - span: - lo: 0 - hi: 7 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Abs - span: - lo: 0 - hi: 7 - id: 2 - op: Abs - span: - lo: 0 - hi: 13 - id: 4 - op: Abs - span: - lo: 0 - hi: 19 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Abs - span: - lo: 1 - hi: 8 - id: 2 - op: Negate - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: Abs - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Abs - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Abs - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 1 - hi: 9 - id: 3 - op: Abs - span: - lo: 1 - hi: 16 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Abs - span: - lo: 1 - hi: 8 - id: 2 - op: Not - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Abs - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Abs - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Abs - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 1 - hi: 9 - id: 3 - op: Abs - span: - lo: 1 - hi: 16 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Unary] +op = "Abs" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "Abs" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 7 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 13 + +[outputs.Unary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Abs" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Abs" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Abs" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Abs" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Abs" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 diff --git a/tests/expectations/parser/expression/unary/abs_wrapped.out b/tests/expectations/parser/expression/unary/abs_wrapped.out index a1a6b6ea94..9a5810e08a 100644 --- a/tests/expectations/parser/expression/unary/abs_wrapped.out +++ b/tests/expectations/parser/expression/unary/abs_wrapped.out @@ -1,168 +1,228 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: AbsWrapped - span: - lo: 0 - hi: 15 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: AbsWrapped - span: - lo: 0 - hi: 15 - id: 2 - op: AbsWrapped - span: - lo: 0 - hi: 29 - id: 4 - op: AbsWrapped - span: - lo: 0 - hi: 43 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: AbsWrapped - span: - lo: 1 - hi: 16 - id: 2 - op: Negate - span: - lo: 0 - hi: 16 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: AbsWrapped - span: - lo: 1 - hi: 18 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: AbsWrapped - span: - lo: 2 - hi: 17 - id: 2 - op: Negate - span: - lo: 0 - hi: 17 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: AbsWrapped - span: - lo: 2 - hi: 17 - id: 2 - op: Negate - span: - lo: 1 - hi: 17 - id: 3 - op: AbsWrapped - span: - lo: 1 - hi: 32 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: AbsWrapped - span: - lo: 1 - hi: 16 - id: 2 - op: Not - span: - lo: 0 - hi: 16 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: AbsWrapped - span: - lo: 1 - hi: 18 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: AbsWrapped - span: - lo: 2 - hi: 17 - id: 2 - op: Not - span: - lo: 0 - hi: 17 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: AbsWrapped - span: - lo: 2 - hi: 17 - id: 2 - op: Not - span: - lo: 1 - hi: 17 - id: 3 - op: AbsWrapped - span: - lo: 1 - hi: 32 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Unary] +op = "AbsWrapped" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "AbsWrapped" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 15 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 29 + +[outputs.Unary.span] +lo = 0 +hi = 43 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 16 + +[outputs.Unary.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "AbsWrapped" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Unary] +op = "AbsWrapped" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 1 +hi = 32 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 16 + +[outputs.Unary.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "AbsWrapped" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Unary] +op = "AbsWrapped" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "AbsWrapped" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 1 +hi = 32 diff --git a/tests/expectations/parser/expression/unary/double.out b/tests/expectations/parser/expression/unary/double.out index 0adc8ea3e4..0ce244dd82 100644 --- a/tests/expectations/parser/expression/unary/double.out +++ b/tests/expectations/parser/expression/unary/double.out @@ -1,168 +1,228 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Double - span: - lo: 0 - hi: 10 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Double - span: - lo: 0 - hi: 10 - id: 2 - op: Double - span: - lo: 0 - hi: 19 - id: 4 - op: Double - span: - lo: 0 - hi: 28 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Double - span: - lo: 1 - hi: 11 - id: 2 - op: Negate - span: - lo: 0 - hi: 11 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: Double - span: - lo: 1 - hi: 13 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Double - span: - lo: 2 - hi: 12 - id: 2 - op: Negate - span: - lo: 0 - hi: 12 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Double - span: - lo: 2 - hi: 12 - id: 2 - op: Negate - span: - lo: 1 - hi: 12 - id: 3 - op: Double - span: - lo: 1 - hi: 22 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Double - span: - lo: 1 - hi: 11 - id: 2 - op: Not - span: - lo: 0 - hi: 11 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Double - span: - lo: 1 - hi: 13 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Double - span: - lo: 2 - hi: 12 - id: 2 - op: Not - span: - lo: 0 - hi: 12 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Double - span: - lo: 2 - hi: 12 - id: 2 - op: Not - span: - lo: 1 - hi: 12 - id: 3 - op: Double - span: - lo: 1 - hi: 22 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Double" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "Double" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 19 + +[outputs.Unary.span] +lo = 0 +hi = 28 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 11 + +[outputs.Unary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Double" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 13 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.span] +lo = 0 +hi = 12 + +[[outputs]] + +[outputs.Unary] +op = "Double" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 12 + +[outputs.Unary.span] +lo = 1 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 11 + +[outputs.Unary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Double" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 13 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.span] +lo = 0 +hi = 12 + +[[outputs]] + +[outputs.Unary] +op = "Double" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Double" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 12 + +[outputs.Unary.span] +lo = 1 +hi = 22 diff --git a/tests/expectations/parser/expression/unary/inv.out b/tests/expectations/parser/expression/unary/inv.out index 007014a636..315b6dbb4f 100644 --- a/tests/expectations/parser/expression/unary/inv.out +++ b/tests/expectations/parser/expression/unary/inv.out @@ -1,168 +1,228 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Inverse - span: - lo: 0 - hi: 7 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Inverse - span: - lo: 0 - hi: 7 - id: 2 - op: Inverse - span: - lo: 0 - hi: 13 - id: 4 - op: Inverse - span: - lo: 0 - hi: 19 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Inverse - span: - lo: 1 - hi: 8 - id: 2 - op: Negate - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: Inverse - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Inverse - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Inverse - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 1 - hi: 9 - id: 3 - op: Inverse - span: - lo: 1 - hi: 16 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Inverse - span: - lo: 1 - hi: 8 - id: 2 - op: Not - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Inverse - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Inverse - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Inverse - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 1 - hi: 9 - id: 3 - op: Inverse - span: - lo: 1 - hi: 16 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Unary] +op = "Inverse" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "Inverse" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 7 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 13 + +[outputs.Unary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Inverse" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Inverse" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Inverse" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Inverse" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Inverse" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 diff --git a/tests/expectations/parser/expression/unary/neg.out b/tests/expectations/parser/expression/unary/neg.out index 47c39e0f70..debcf17a8c 100644 --- a/tests/expectations/parser/expression/unary/neg.out +++ b/tests/expectations/parser/expression/unary/neg.out @@ -1,246 +1,334 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Negate - span: - lo: 0 - hi: 2 - id: 1 - - Unary: - receiver: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - arguments: [] - program: ~ - span: - lo: 1 - hi: 4 - id: 1 - op: Negate - span: - lo: 0 - hi: 4 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: Negate - span: - lo: 0 - hi: 3 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Negate - span: - lo: 0 - hi: 3 - id: 2 - - Literal: - Integer: - - I8 - - "-5" - - span: - lo: 0 - hi: 4 - - 0 - - Literal: - Integer: - - I8 - - "-128" - - span: - lo: 0 - hi: 6 - - 0 - - Literal: - Integer: - - I8 - - "-128" - - span: - lo: 0 - hi: 7 - - 0 - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Negate - span: - lo: 0 - hi: 7 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Negate - span: - lo: 0 - hi: 7 - id: 2 - op: Negate - span: - lo: 0 - hi: 13 - id: 4 - op: Negate - span: - lo: 0 - hi: 19 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Negate - span: - lo: 1 - hi: 8 - id: 2 - op: Negate - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: Negate - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 16 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Negate - span: - lo: 1 - hi: 8 - id: 2 - op: Not - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Negate - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 1 - hi: 9 - id: 3 - op: Negate - span: - lo: 1 - hi: 16 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.span] +lo = 0 +hi = 2 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Call] +arguments = [] +id = 1 + +[outputs.Unary.receiver.Call.function] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Call.span] +lo = 1 +hi = 4 + +[outputs.Unary.span] +lo = 0 +hi = 4 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 0 +hi = 3 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 0 +hi = 3 + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "-5", + { span = { lo = 0, hi = 4 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "-128", + { span = { lo = 0, hi = 6 } }, + 0, +] + +[[outputs]] + +[outputs.Literal] +Integer = [ + "I8", + "-128", + { span = { lo = 0, hi = 7 } }, + 0, +] + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 7 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 13 + +[outputs.Unary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Negate" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 diff --git a/tests/expectations/parser/expression/unary/not.out b/tests/expectations/parser/expression/unary/not.out index 896420db18..bfb43992af 100644 --- a/tests/expectations/parser/expression/unary/not.out +++ b/tests/expectations/parser/expression/unary/not.out @@ -1,221 +1,299 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Not - span: - lo: 0 - hi: 2 - id: 1 - - Unary: - receiver: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - arguments: [] - program: ~ - span: - lo: 1 - hi: 4 - id: 1 - op: Not - span: - lo: 0 - hi: 4 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Not - span: - lo: 0 - hi: 3 - id: 2 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 0 - hi: 9 - id: 4 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Not - span: - lo: 0 - hi: 7 - id: 2 - op: Not - span: - lo: 0 - hi: 13 - id: 4 - op: Not - span: - lo: 0 - hi: 19 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Not - span: - lo: 1 - hi: 8 - id: 2 - op: Negate - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: Not - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 2 - hi: 9 - id: 2 - op: Negate - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 1 - hi: 16 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Not - span: - lo: 1 - hi: 8 - id: 2 - op: Not - span: - lo: 0 - hi: 8 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Not - span: - lo: 1 - hi: 10 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 0 - hi: 9 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 2 - hi: 9 - id: 2 - op: Not - span: - lo: 1 - hi: 9 - id: 3 - op: Not - span: - lo: 1 - hi: 16 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.span] +lo = 0 +hi = 2 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Call] +arguments = [] +id = 1 + +[outputs.Unary.receiver.Call.function] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Call.span] +lo = 1 +hi = 4 + +[outputs.Unary.span] +lo = 0 +hi = 4 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 0 +hi = 3 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 7 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 13 + +[outputs.Unary.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 8 + +[outputs.Unary.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 10 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Not" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 9 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 9 + +[outputs.Unary.span] +lo = 1 +hi = 16 diff --git a/tests/expectations/parser/expression/unary/sqrt.out b/tests/expectations/parser/expression/unary/sqrt.out index 713cd0e8b7..03225d3664 100644 --- a/tests/expectations/parser/expression/unary/sqrt.out +++ b/tests/expectations/parser/expression/unary/sqrt.out @@ -1,182 +1,244 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: SquareRoot - span: - lo: 2 - hi: 17 - id: 2 - op: Negate - span: - lo: 1 - hi: 17 - id: 3 - op: Not - span: - lo: 0 - hi: 17 - id: 4 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: SquareRoot - span: - lo: 0 - hi: 15 - id: 2 - op: SquareRoot - span: - lo: 0 - hi: 29 - id: 4 - op: SquareRoot - span: - lo: 0 - hi: 43 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: SquareRoot - span: - lo: 1 - hi: 16 - id: 2 - op: Negate - span: - lo: 0 - hi: 16 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: SquareRoot - span: - lo: 1 - hi: 18 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: SquareRoot - span: - lo: 2 - hi: 17 - id: 2 - op: Negate - span: - lo: 0 - hi: 17 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: SquareRoot - span: - lo: 2 - hi: 17 - id: 2 - op: Negate - span: - lo: 1 - hi: 17 - id: 3 - op: SquareRoot - span: - lo: 1 - hi: 32 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: SquareRoot - span: - lo: 1 - hi: 16 - id: 2 - op: Not - span: - lo: 0 - hi: 16 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: SquareRoot - span: - lo: 1 - hi: 18 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: SquareRoot - span: - lo: 2 - hi: 17 - id: 2 - op: Not - span: - lo: 0 - hi: 17 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: SquareRoot - span: - lo: 2 - hi: 17 - id: 2 - op: Not - span: - lo: 1 - hi: 17 - id: 3 - op: SquareRoot - span: - lo: 1 - hi: 32 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Unary] +op = "SquareRoot" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "SquareRoot" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 15 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 29 + +[outputs.Unary.span] +lo = 0 +hi = 43 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 16 + +[outputs.Unary.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "SquareRoot" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Unary] +op = "SquareRoot" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 1 +hi = 32 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 16 + +[outputs.Unary.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Unary] +op = "SquareRoot" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 18 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Unary] +op = "SquareRoot" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "SquareRoot" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 17 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 17 + +[outputs.Unary.span] +lo = 1 +hi = 32 diff --git a/tests/expectations/parser/expression/unary/square.out b/tests/expectations/parser/expression/unary/square.out index 395a436fa5..fa92765b6d 100644 --- a/tests/expectations/parser/expression/unary/square.out +++ b/tests/expectations/parser/expression/unary/square.out @@ -1,182 +1,244 @@ ---- -namespace: ParseExpression -expectation: Pass -outputs: - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Square - span: - lo: 2 - hi: 12 - id: 2 - op: Negate - span: - lo: 1 - hi: 12 - id: 3 - op: Not - span: - lo: 0 - hi: 12 - id: 4 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - op: Square - span: - lo: 0 - hi: 10 - id: 2 - op: Square - span: - lo: 0 - hi: 19 - id: 4 - op: Square - span: - lo: 0 - hi: 28 - id: 6 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Square - span: - lo: 1 - hi: 11 - id: 2 - op: Negate - span: - lo: 0 - hi: 11 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Negate - span: - lo: 1 - hi: 3 - id: 1 - op: Square - span: - lo: 1 - hi: 13 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Square - span: - lo: 2 - hi: 12 - id: 2 - op: Negate - span: - lo: 0 - hi: 12 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Square - span: - lo: 2 - hi: 12 - id: 2 - op: Negate - span: - lo: 1 - hi: 12 - id: 3 - op: Square - span: - lo: 1 - hi: 22 - id: 5 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}" - op: Square - span: - lo: 1 - hi: 11 - id: 2 - op: Not - span: - lo: 0 - hi: 11 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Not - span: - lo: 1 - hi: 3 - id: 1 - op: Square - span: - lo: 1 - hi: 13 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Square - span: - lo: 2 - hi: 12 - id: 2 - op: Not - span: - lo: 0 - hi: 12 - id: 3 - - Unary: - receiver: - Unary: - receiver: - Unary: - receiver: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Square - span: - lo: 2 - hi: 12 - id: 2 - op: Not - span: - lo: 1 - hi: 12 - id: 3 - op: Square - span: - lo: 1 - hi: 22 - id: 5 +namespace = "ParseExpression" +expectation = "Pass" + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 4 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 12 + +[outputs.Unary.span] +lo = 0 +hi = 12 + +[[outputs]] + +[outputs.Unary] +op = "Square" +id = 6 + +[outputs.Unary.receiver.Unary] +op = "Square" +id = 4 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 0 +hi = 10 + +[outputs.Unary.receiver.Unary.span] +lo = 0 +hi = 19 + +[outputs.Unary.span] +lo = 0 +hi = 28 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 11 + +[outputs.Unary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Square" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 13 + +[[outputs]] + +[outputs.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.span] +lo = 0 +hi = 12 + +[[outputs]] + +[outputs.Unary] +op = "Square" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Negate" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 12 + +[outputs.Unary.span] +lo = 1 +hi = 22 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":1,\"hi\":2}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 11 + +[outputs.Unary.span] +lo = 0 +hi = 11 + +[[outputs]] + +[outputs.Unary] +op = "Square" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 1 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 3 + +[outputs.Unary.span] +lo = 1 +hi = 13 + +[[outputs]] + +[outputs.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.span] +lo = 0 +hi = 12 + +[[outputs]] + +[outputs.Unary] +op = "Square" +id = 5 + +[outputs.Unary.receiver.Unary] +op = "Not" +id = 3 + +[outputs.Unary.receiver.Unary.receiver.Unary] +op = "Square" +id = 2 + +[outputs.Unary.receiver.Unary.receiver.Unary.receiver] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Unary.receiver.Unary.receiver.Unary.span] +lo = 2 +hi = 12 + +[outputs.Unary.receiver.Unary.span] +lo = 1 +hi = 12 + +[outputs.Unary.span] +lo = 1 +hi = 22 diff --git a/tests/expectations/parser/finalize/decrement.out b/tests/expectations/parser/finalize/decrement.out index 1af4b6d469..a75a19bfa3 100644 --- a/tests/expectations/parser/finalize/decrement.out +++ b/tests/expectations/parser/finalize/decrement.out @@ -1,86 +1,117 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"decrement\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}" - - Identifier: "{\"id\":\"2\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}" - - Identifier: "{\"id\":\"3\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":23}\"}" - program: ~ - span: - lo: 0 - hi: 24 - id: 4 - span: - lo: 0 - hi: 25 - id: 5 - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"decrement\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}" - - Literal: - Integer: - - U8 - - "2" - - span: - lo: 15 - hi: 18 - - 2 - - Literal: - Integer: - - U8 - - "3" - - span: - lo: 20 - hi: 23 - - 3 - program: ~ - span: - lo: 0 - hi: 24 - id: 4 - span: - lo: 0 - hi: 25 - id: 5 - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"decrement\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}" - - Identifier: "{\"id\":\"2\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}" - program: ~ - span: - lo: 0 - hi: 19 - id: 3 - span: - lo: 0 - hi: 20 - id: 4 - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"decrement\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: [] - program: ~ - span: - lo: 0 - hi: 11 - id: 1 - span: - lo: 0 - hi: 12 - id: 2 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Expression] +id = 5 + +[outputs.Expression.expression.Call] +id = 4 + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"1","name":"foo","span":"{\"lo\":10,\"hi\":13}"}' + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"2","name":"bar","span":"{\"lo\":15,\"hi\":18}"}' + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"3","name":"baz","span":"{\"lo\":20,\"hi\":23}"}' + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"decrement","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 24 + +[outputs.Expression.span] +lo = 0 +hi = 25 + +[[outputs]] + +[outputs.Expression] +id = 5 + +[outputs.Expression.expression.Call] +id = 4 + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"1","name":"foo","span":"{\"lo\":10,\"hi\":13}"}' + +[[outputs.Expression.expression.Call.arguments]] + +[outputs.Expression.expression.Call.arguments.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 15, hi = 18 } }, + 2, +] + +[[outputs.Expression.expression.Call.arguments]] + +[outputs.Expression.expression.Call.arguments.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 20, hi = 23 } }, + 3, +] + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"decrement","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 24 + +[outputs.Expression.span] +lo = 0 +hi = 25 + +[[outputs]] + +[outputs.Expression] +id = 4 + +[outputs.Expression.expression.Call] +id = 3 + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"1","name":"foo","span":"{\"lo\":10,\"hi\":13}"}' + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"2","name":"bar","span":"{\"lo\":15,\"hi\":18}"}' + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"decrement","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 19 + +[outputs.Expression.span] +lo = 0 +hi = 20 + +[[outputs]] + +[outputs.Expression] +id = 2 + +[outputs.Expression.expression.Call] +arguments = [] +id = 1 + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"decrement","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 11 + +[outputs.Expression.span] +lo = 0 +hi = 12 diff --git a/tests/expectations/parser/finalize/decrement_fail.out b/tests/expectations/parser/finalize/decrement_fail.out index 337f700eba..831a9e97f9 100644 --- a/tests/expectations/parser/finalize/decrement_fail.out +++ b/tests/expectations/parser/finalize/decrement_fail.out @@ -1,7 +1,28 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected ] -- found ','\n --> test:1:14\n |\n 1 | decrement[foo, bar, baz];\n | ^" - - "Error [EPAR0370005]: expected ; -- found ''\n --> test:1:15\n |\n 1 | decrement(floo)\n | ^Warning [WPAR0370001]: The keyword `decrement` is deprecated.\n --> test:1:1\n |\n 1 | decrement(floo)\n | ^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings." - - "Error [EPAR0370005]: expected ; -- found 'foo'\n --> test:1:11\n |\n 1 | decrement foo[bar] by baz;\n | ^^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370005]: expected ] -- found ',' + --> test:1:14 + | + 1 | decrement[foo, bar, baz]; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found '' + --> test:1:15 + | + 1 | decrement(floo) + | ^Warning [WPAR0370001]: The keyword `decrement` is deprecated. + --> test:1:1 + | + 1 | decrement(floo) + | ^^^^^^^^^^^^^^^ + | + = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings.""", + """ +Error [EPAR0370005]: expected ; -- found 'foo' + --> test:1:11 + | + 1 | decrement foo[bar] by baz; + | ^^^""", +] diff --git a/tests/expectations/parser/finalize/finalize.out b/tests/expectations/parser/finalize/finalize.out index 078813ff3c..2cd67f7cf2 100644 --- a/tests/expectations/parser/finalize/finalize.out +++ b/tests/expectations/parser/finalize/finalize.out @@ -1,128 +1,39 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - main - - annotations: [] - variant: AsyncTransition - identifier: "{\"id\":\"2\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":47,\\\"hi\\\":51}\"}" - input: [] - output: - - mode: None - type_: Boolean - span: - lo: 57 - hi: 61 - id: 3 - output_type: Boolean - block: - statements: [] - span: - lo: 62 - hi: 74 - id: 4 - span: - lo: 30 - hi: 74 - id: 5 - - - finalize_main - - annotations: [] - variant: AsyncFunction - identifier: "{\"id\":\"6\",\"name\":\"finalize_main\",\"span\":\"{\\\"lo\\\":99,\\\"hi\\\":112}\"}" - input: [] - output: [] - output_type: Unit - block: - statements: [] - span: - lo: 115 - hi: 127 - id: 7 - span: - lo: 84 - hi: 127 - id: 8 - - - main - - annotations: [] - variant: Function - identifier: "{\"id\":\"9\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":146,\\\"hi\\\":150}\"}" - input: [] - output: - - mode: None - type_: Boolean - span: - lo: 156 - hi: 160 - id: 10 - output_type: Boolean - block: - statements: [] - span: - lo: 161 - hi: 173 - id: 11 - span: - lo: 137 - hi: 173 - id: 12 - - - main - - annotations: [] - variant: AsyncFunction - identifier: "{\"id\":\"13\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":193,\\\"hi\\\":197}\"}" - input: - - identifier: "{\"id\":\"14\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":198,\\\"hi\\\":199}\"}" - mode: None - type_: - Composite: - id: "{\"id\":\"15\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":201,\\\"hi\\\":204}\"}" - program: test - span: - lo: 198 - hi: 199 - id: 16 - - identifier: "{\"id\":\"17\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":206,\\\"hi\\\":207}\"}" - mode: None - type_: - Composite: - id: "{\"id\":\"18\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":209,\\\"hi\\\":212}\"}" - program: test - span: - lo: 206 - hi: 207 - id: 19 - output: - - mode: None - type_: - Composite: - id: "{\"id\":\"20\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":217,\\\"hi\\\":220}\"}" - program: test - span: - lo: 217 - hi: 220 - id: 21 - output_type: - Composite: - id: "{\"id\":\"20\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":217,\\\"hi\\\":220}\"}" - program: test - block: - statements: [] - span: - lo: 221 - hi: 233 - id: 22 - span: - lo: 178 - hi: 233 - id: 23 - span: - lo: 2 - hi: 245 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "main", + { annotations = [], variant = "AsyncTransition", identifier = '{"id":"2","name":"main","span":"{\"lo\":47,\"hi\":51}"}', input = [], output_type = "Boolean", id = 5, output = [{ mode = "None", type_ = "Boolean", id = 3, span = { lo = 57, hi = 61 } }], block = { statements = [], id = 4, span = { lo = 62, hi = 74 } }, span = { lo = 30, hi = 74 } }, +], + [ + "finalize_main", + { annotations = [], variant = "AsyncFunction", identifier = '{"id":"6","name":"finalize_main","span":"{\"lo\":99,\"hi\":112}"}', input = [], output = [], output_type = "Unit", id = 8, block = { statements = [], id = 7, span = { lo = 115, hi = 127 } }, span = { lo = 84, hi = 127 } }, +], + [ + "main", + { annotations = [], variant = "Function", identifier = '{"id":"9","name":"main","span":"{\"lo\":146,\"hi\":150}"}', input = [], output_type = "Boolean", id = 12, output = [{ mode = "None", type_ = "Boolean", id = 10, span = { lo = 156, hi = 160 } }], block = { statements = [], id = 11, span = { lo = 161, hi = 173 } }, span = { lo = 137, hi = 173 } }, +], + [ + "main", + { annotations = [], variant = "AsyncFunction", identifier = '{"id":"13","name":"main","span":"{\"lo\":193,\"hi\":197}"}', id = 23, input = [ + { identifier = '{"id":"14","name":"a","span":"{\"lo\":198,\"hi\":199}"}', mode = "None", id = 16, type_ = { Composite = { id = '{"id":"15","name":"foo","span":"{\"lo\":201,\"hi\":204}"}', program = "test" } }, span = { lo = 198, hi = 199 } }, + { identifier = '{"id":"17","name":"b","span":"{\"lo\":206,\"hi\":207}"}', mode = "None", id = 19, type_ = { Composite = { id = '{"id":"18","name":"bar","span":"{\"lo\":209,\"hi\":212}"}', program = "test" } }, span = { lo = 206, hi = 207 } }, +], output = [{ mode = "None", id = 21, type_ = { Composite = { id = '{"id":"20","name":"baz","span":"{\"lo\":217,\"hi\":220}"}', program = "test" } }, span = { lo = 217, hi = 220 } }], output_type = { Composite = { id = '{"id":"20","name":"baz","span":"{\"lo\":217,\"hi\":220}"}', program = "test" } }, block = { statements = [], id = 22, span = { lo = 221, hi = 233 } }, span = { lo = 178, hi = 233 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 245 diff --git a/tests/expectations/parser/finalize/finalize_fail.out b/tests/expectations/parser/finalize/finalize_fail.out index c648822a9a..b045f6dc01 100644 --- a/tests/expectations/parser/finalize/finalize_fail.out +++ b/tests/expectations/parser/finalize/finalize_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'finalize'\n --> test:6:7\n |\n 6 | } finalize {\n | ^^^^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'finalize' + --> test:6:7 + | + 6 | } finalize { + | ^^^^^^^^"""] diff --git a/tests/expectations/parser/finalize/finalize_statement_fail.out b/tests/expectations/parser/finalize/finalize_statement_fail.out index c5e40198e6..91ddec016e 100644 --- a/tests/expectations/parser/finalize/finalize_statement_fail.out +++ b/tests/expectations/parser/finalize/finalize_statement_fail.out @@ -1,8 +1,28 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected ; -- found 'finalize'\n --> test:1:13\n |\n 1 | return then finalize;\n | ^^^^^^^^" - - "Error [EPAR0370005]: expected ; -- found 'finalize'\n --> test:1:13\n |\n 1 | return then finalize();\n | ^^^^^^^^" - - "Error [EPAR0370005]: expected ; -- found 'finalize'\n --> test:1:13\n |\n 1 | return then finalize(foo);\n | ^^^^^^^^" - - "Error [EPAR0370005]: expected ; -- found 'finalize'\n --> test:1:13\n |\n 1 | return then finalize(foo, bar);\n | ^^^^^^^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370005]: expected ; -- found 'finalize' + --> test:1:13 + | + 1 | return then finalize; + | ^^^^^^^^""", + """ +Error [EPAR0370005]: expected ; -- found 'finalize' + --> test:1:13 + | + 1 | return then finalize(); + | ^^^^^^^^""", + """ +Error [EPAR0370005]: expected ; -- found 'finalize' + --> test:1:13 + | + 1 | return then finalize(foo); + | ^^^^^^^^""", + """ +Error [EPAR0370005]: expected ; -- found 'finalize' + --> test:1:13 + | + 1 | return then finalize(foo, bar); + | ^^^^^^^^""", +] diff --git a/tests/expectations/parser/finalize/increment.out b/tests/expectations/parser/finalize/increment.out index e1d92b48ba..8d3587e9db 100644 --- a/tests/expectations/parser/finalize/increment.out +++ b/tests/expectations/parser/finalize/increment.out @@ -1,86 +1,117 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}" - - Identifier: "{\"id\":\"2\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}" - - Identifier: "{\"id\":\"3\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":23}\"}" - program: ~ - span: - lo: 0 - hi: 24 - id: 4 - span: - lo: 0 - hi: 25 - id: 5 - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}" - - Literal: - Integer: - - U8 - - "2" - - span: - lo: 15 - hi: 18 - - 2 - - Literal: - Integer: - - U8 - - "3" - - span: - lo: 20 - hi: 23 - - 3 - program: ~ - span: - lo: 0 - hi: 24 - id: 4 - span: - lo: 0 - hi: 25 - id: 5 - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}" - - Identifier: "{\"id\":\"2\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}" - program: ~ - span: - lo: 0 - hi: 19 - id: 3 - span: - lo: 0 - hi: 20 - id: 4 - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}" - arguments: [] - program: ~ - span: - lo: 0 - hi: 11 - id: 1 - span: - lo: 0 - hi: 12 - id: 2 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Expression] +id = 5 + +[outputs.Expression.expression.Call] +id = 4 + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"1","name":"foo","span":"{\"lo\":10,\"hi\":13}"}' + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"2","name":"bar","span":"{\"lo\":15,\"hi\":18}"}' + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"3","name":"baz","span":"{\"lo\":20,\"hi\":23}"}' + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"increment","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 24 + +[outputs.Expression.span] +lo = 0 +hi = 25 + +[[outputs]] + +[outputs.Expression] +id = 5 + +[outputs.Expression.expression.Call] +id = 4 + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"1","name":"foo","span":"{\"lo\":10,\"hi\":13}"}' + +[[outputs.Expression.expression.Call.arguments]] + +[outputs.Expression.expression.Call.arguments.Literal] +Integer = [ + "U8", + "2", + { span = { lo = 15, hi = 18 } }, + 2, +] + +[[outputs.Expression.expression.Call.arguments]] + +[outputs.Expression.expression.Call.arguments.Literal] +Integer = [ + "U8", + "3", + { span = { lo = 20, hi = 23 } }, + 3, +] + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"increment","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 24 + +[outputs.Expression.span] +lo = 0 +hi = 25 + +[[outputs]] + +[outputs.Expression] +id = 4 + +[outputs.Expression.expression.Call] +id = 3 + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"1","name":"foo","span":"{\"lo\":10,\"hi\":13}"}' + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"2","name":"bar","span":"{\"lo\":15,\"hi\":18}"}' + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"increment","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 19 + +[outputs.Expression.span] +lo = 0 +hi = 20 + +[[outputs]] + +[outputs.Expression] +id = 2 + +[outputs.Expression.expression.Call] +arguments = [] +id = 1 + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"increment","span":"{\"lo\":0,\"hi\":9}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 11 + +[outputs.Expression.span] +lo = 0 +hi = 12 diff --git a/tests/expectations/parser/finalize/increment_fail.out b/tests/expectations/parser/finalize/increment_fail.out index fc15efac32..d57c363431 100644 --- a/tests/expectations/parser/finalize/increment_fail.out +++ b/tests/expectations/parser/finalize/increment_fail.out @@ -1,7 +1,28 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected ] -- found ','\n --> test:1:14\n |\n 1 | increment[foo, bar, baz];\n | ^" - - "Error [EPAR0370005]: expected ; -- found ''\n --> test:1:15\n |\n 1 | increment(floo)\n | ^Warning [WPAR0370001]: The keyword `increment` is deprecated.\n --> test:1:1\n |\n 1 | increment(floo)\n | ^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings." - - "Error [EPAR0370005]: expected ; -- found 'foo'\n --> test:1:11\n |\n 1 | increment foo[bar] by baz;\n | ^^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370005]: expected ] -- found ',' + --> test:1:14 + | + 1 | increment[foo, bar, baz]; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found '' + --> test:1:15 + | + 1 | increment(floo) + | ^Warning [WPAR0370001]: The keyword `increment` is deprecated. + --> test:1:1 + | + 1 | increment(floo) + | ^^^^^^^^^^^^^^^ + | + = Use `Mapping::{get, get_or_use, set, remove, contains}` for manipulating on-chain mappings.""", + """ +Error [EPAR0370005]: expected ; -- found 'foo' + --> test:1:11 + | + 1 | increment foo[bar] by baz; + | ^^^""", +] diff --git a/tests/expectations/parser/finalize/mapping.out b/tests/expectations/parser/finalize/mapping.out index cc5d670a9a..2a51c03703 100644 --- a/tests/expectations/parser/finalize/mapping.out +++ b/tests/expectations/parser/finalize/mapping.out @@ -1,40 +1,28 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: - - - foo - - identifier: "{\"id\":\"2\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":41}\"}" - key_type: - Composite: - id: "{\"id\":\"3\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":46}\"}" - program: test - value_type: - Composite: - id: "{\"id\":\"4\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":53}\"}" - program: test - span: - lo: 30 - hi: 54 - id: 5 - - - foo - - identifier: "{\"id\":\"6\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":72,\\\"hi\\\":75}\"}" - key_type: - Integer: U8 - value_type: - Integer: U8 - span: - lo: 64 - hi: 86 - id: 7 - functions: [] - span: - lo: 2 - hi: 88 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [ + [ + "foo", + { identifier = '{"id":"2","name":"foo","span":"{\"lo\":38,\"hi\":41}"}', id = 5, key_type = { Composite = { id = '{"id":"3","name":"bar","span":"{\"lo\":43,\"hi\":46}"}', program = "test" } }, value_type = { Composite = { id = '{"id":"4","name":"baz","span":"{\"lo\":50,\"hi\":53}"}', program = "test" } }, span = { lo = 30, hi = 54 } }, +], + [ + "foo", + { identifier = '{"id":"6","name":"foo","span":"{\"lo\":72,\"hi\":75}"}', id = 7, key_type = { Integer = "U8" }, value_type = { Integer = "U8" }, span = { lo = 64, hi = 86 } }, +], +] +functions = [] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 88 diff --git a/tests/expectations/parser/finalize/mapping_fail.out b/tests/expectations/parser/finalize/mapping_fail.out index 55ed732df2..5eae0c75e0 100644 --- a/tests/expectations/parser/finalize/mapping_fail.out +++ b/tests/expectations/parser/finalize/mapping_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u8'\n --> test:4:13\n |\n 4 | mapping u8: u8 => u8;\n | ^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u8' + --> test:4:13 + | + 4 | mapping u8: u8 => u8; + | ^^"""] diff --git a/tests/expectations/parser/functions/annotated_arg_not_ident_fail.out b/tests/expectations/parser/functions/annotated_arg_not_ident_fail.out index e406fe0c57..87527ac2de 100644 --- a/tests/expectations/parser/functions/annotated_arg_not_ident_fail.out +++ b/tests/expectations/parser/functions/annotated_arg_not_ident_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'function', 'transition', or 'inline' -- found '('\n --> test:4:9\n |\n 4 | @foo(?, bar, ?)\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'function', 'transition', or 'inline' -- found '(' + --> test:4:9 + | + 4 | @foo(?, bar, ?) + | ^"""] diff --git a/tests/expectations/parser/functions/annotated_context.out b/tests/expectations/parser/functions/annotated_context.out index 801233fa4a..5269c66e0e 100644 --- a/tests/expectations/parser/functions/annotated_context.out +++ b/tests/expectations/parser/functions/annotated_context.out @@ -1,104 +1,38 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - f - - annotations: - - identifier: "{\"id\":\"2\",\"name\":\"context\",\"span\":\"{\\\"lo\\\":31,\\\"hi\\\":38}\"}" - span: - lo: 30 - hi: 38 - id: 3 - variant: Function - identifier: "{\"id\":\"4\",\"name\":\"f\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":53}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 59 - hi: 61 - id: 5 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 79 - hi: 82 - - 6 - span: - lo: 72 - hi: 83 - id: 7 - span: - lo: 62 - hi: 89 - id: 8 - span: - lo: 43 - hi: 89 - id: 9 - - - g - - annotations: - - identifier: "{\"id\":\"10\",\"name\":\"context\",\"span\":\"{\\\"lo\\\":100,\\\"hi\\\":107}\"}" - span: - lo: 99 - hi: 107 - id: 11 - variant: Function - identifier: "{\"id\":\"12\",\"name\":\"g\",\"span\":\"{\\\"lo\\\":141,\\\"hi\\\":142}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 148 - hi: 150 - id: 13 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 168 - hi: 171 - - 14 - span: - lo: 161 - hi: 172 - id: 15 - span: - lo: 151 - hi: 178 - id: 16 - span: - lo: 132 - hi: 178 - id: 17 - span: - lo: 2 - hi: 180 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "f", + { variant = "Function", identifier = '{"id":"4","name":"f","span":"{\"lo\":52,\"hi\":53}"}', input = [], id = 9, annotations = [{ identifier = '{"id":"2","name":"context","span":"{\"lo\":31,\"hi\":38}"}', id = 3, span = { lo = 30, hi = 38 } }], output = [{ mode = "None", id = 5, type_ = { Integer = "U8" }, span = { lo = 59, hi = 61 } }], output_type = { Integer = "U8" }, block = { id = 8, statements = [{ Return = { id = 7, expression = { Literal = { Integer = [ + "U8", + "1", + { span = { lo = 79, hi = 82 } }, + 6, +] } }, span = { lo = 72, hi = 83 } } }], span = { lo = 62, hi = 89 } }, span = { lo = 43, hi = 89 } }, +], + [ + "g", + { variant = "Function", identifier = '{"id":"12","name":"g","span":"{\"lo\":141,\"hi\":142}"}', input = [], id = 17, annotations = [{ identifier = '{"id":"10","name":"context","span":"{\"lo\":100,\"hi\":107}"}', id = 11, span = { lo = 99, hi = 107 } }], output = [{ mode = "None", id = 13, type_ = { Integer = "U8" }, span = { lo = 148, hi = 150 } }], output_type = { Integer = "U8" }, block = { id = 16, statements = [{ Return = { id = 15, expression = { Literal = { Integer = [ + "U8", + "2", + { span = { lo = 168, hi = 171 } }, + 14, +] } }, span = { lo = 161, hi = 172 } } }], span = { lo = 151, hi = 178 } }, span = { lo = 132, hi = 178 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 180 diff --git a/tests/expectations/parser/functions/annotated_functions.out b/tests/expectations/parser/functions/annotated_functions.out index 85af14c83b..a81f18d85c 100644 --- a/tests/expectations/parser/functions/annotated_functions.out +++ b/tests/expectations/parser/functions/annotated_functions.out @@ -1,141 +1,40 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - mint - - annotations: [] - variant: Transition - identifier: "{\"id\":\"12\",\"name\":\"mint\",\"span\":\"{\\\"lo\\\":101,\\\"hi\\\":105}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 111 - hi: 113 - id: 13 - output_type: - Integer: U8 - block: - statements: [] - span: - lo: 114 - hi: 116 - id: 14 - span: - lo: 90 - hi: 116 - id: 15 - - - foo - - annotations: - - identifier: "{\"id\":\"2\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":31,\\\"hi\\\":34}\"}" - span: - lo: 30 - hi: 34 - id: 3 - - identifier: "{\"id\":\"4\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":40,\\\"hi\\\":43}\"}" - span: - lo: 39 - hi: 43 - id: 5 - - identifier: "{\"id\":\"6\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":49,\\\"hi\\\":52}\"}" - span: - lo: 48 - hi: 52 - id: 7 - variant: Function - identifier: "{\"id\":\"8\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":66,\\\"hi\\\":69}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 75 - hi: 77 - id: 9 - output_type: - Integer: U8 - block: - statements: [] - span: - lo: 78 - hi: 80 - id: 10 - span: - lo: 57 - hi: 80 - id: 11 - - - test - - annotations: - - identifier: "{\"id\":\"16\",\"name\":\"test\",\"span\":\"{\\\"lo\\\":127,\\\"hi\\\":131}\"}" - span: - lo: 126 - hi: 131 - id: 17 - variant: Function - identifier: "{\"id\":\"18\",\"name\":\"test\",\"span\":\"{\\\"lo\\\":145,\\\"hi\\\":149}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 155 - hi: 157 - id: 19 - output_type: - Integer: U8 - block: - statements: [] - span: - lo: 158 - hi: 160 - id: 20 - span: - lo: 136 - hi: 160 - id: 21 - - - foo - - annotations: - - identifier: "{\"id\":\"22\",\"name\":\"program\",\"span\":\"{\\\"lo\\\":171,\\\"hi\\\":178}\"}" - span: - lo: 170 - hi: 178 - id: 23 - variant: Function - identifier: "{\"id\":\"24\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":192,\\\"hi\\\":195}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 201 - hi: 203 - id: 25 - output_type: - Integer: U8 - block: - statements: [] - span: - lo: 204 - hi: 206 - id: 26 - span: - lo: 183 - hi: 206 - id: 27 - span: - lo: 2 - hi: 208 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "mint", + { annotations = [], variant = "Transition", identifier = '{"id":"12","name":"mint","span":"{\"lo\":101,\"hi\":105}"}', input = [], id = 15, output = [{ mode = "None", id = 13, type_ = { Integer = "U8" }, span = { lo = 111, hi = 113 } }], output_type = { Integer = "U8" }, block = { statements = [], id = 14, span = { lo = 114, hi = 116 } }, span = { lo = 90, hi = 116 } }, +], + [ + "foo", + { variant = "Function", identifier = '{"id":"8","name":"foo","span":"{\"lo\":66,\"hi\":69}"}', input = [], id = 11, annotations = [ + { identifier = '{"id":"2","name":"foo","span":"{\"lo\":31,\"hi\":34}"}', id = 3, span = { lo = 30, hi = 34 } }, + { identifier = '{"id":"4","name":"bar","span":"{\"lo\":40,\"hi\":43}"}', id = 5, span = { lo = 39, hi = 43 } }, + { identifier = '{"id":"6","name":"baz","span":"{\"lo\":49,\"hi\":52}"}', id = 7, span = { lo = 48, hi = 52 } }, +], output = [{ mode = "None", id = 9, type_ = { Integer = "U8" }, span = { lo = 75, hi = 77 } }], output_type = { Integer = "U8" }, block = { statements = [], id = 10, span = { lo = 78, hi = 80 } }, span = { lo = 57, hi = 80 } }, +], + [ + "test", + { variant = "Function", identifier = '{"id":"18","name":"test","span":"{\"lo\":145,\"hi\":149}"}', input = [], id = 21, annotations = [{ identifier = '{"id":"16","name":"test","span":"{\"lo\":127,\"hi\":131}"}', id = 17, span = { lo = 126, hi = 131 } }], output = [{ mode = "None", id = 19, type_ = { Integer = "U8" }, span = { lo = 155, hi = 157 } }], output_type = { Integer = "U8" }, block = { statements = [], id = 20, span = { lo = 158, hi = 160 } }, span = { lo = 136, hi = 160 } }, +], + [ + "foo", + { variant = "Function", identifier = '{"id":"24","name":"foo","span":"{\"lo\":192,\"hi\":195}"}', input = [], id = 27, annotations = [{ identifier = '{"id":"22","name":"program","span":"{\"lo\":171,\"hi\":178}"}', id = 23, span = { lo = 170, hi = 178 } }], output = [{ mode = "None", id = 25, type_ = { Integer = "U8" }, span = { lo = 201, hi = 203 } }], output_type = { Integer = "U8" }, block = { statements = [], id = 26, span = { lo = 204, hi = 206 } }, span = { lo = 183, hi = 206 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 208 diff --git a/tests/expectations/parser/functions/bounded_recursion.out b/tests/expectations/parser/functions/bounded_recursion.out index 4ec0b47885..655d7e66d5 100644 --- a/tests/expectations/parser/functions/bounded_recursion.out +++ b/tests/expectations/parser/functions/bounded_recursion.out @@ -1,171 +1,46 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}" - mode: Constant - type_: - Integer: U32 - span: - lo: 50 - hi: 51 - id: 4 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 61 - hi: 63 - id: 5 - output_type: - Integer: U8 - block: - statements: - - Conditional: - condition: - Binary: - left: - Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":77,\\\"hi\\\":78}\"}" - right: - Literal: - Integer: - - U32 - - "5" - - span: - lo: 81 - hi: 85 - - 7 - op: Lt - span: - lo: 77 - hi: 85 - id: 8 - then: - statements: - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"9\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":100,\\\"hi\\\":101}\"}" - arguments: - - Binary: - left: - Identifier: "{\"id\":\"10\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":102,\\\"hi\\\":103}\"}" - right: - Literal: - Integer: - - U32 - - "1" - - span: - lo: 104 - hi: 108 - - 11 - op: Add - span: - lo: 102 - hi: 108 - id: 12 - program: test - span: - lo: 100 - hi: 109 - id: 13 - span: - lo: 100 - hi: 110 - id: 14 - span: - lo: 86 - hi: 120 - id: 15 - otherwise: ~ - span: - lo: 74 - hi: 120 - id: 16 - span: - lo: 64 - hi: 126 - id: 17 - span: - lo: 30 - hi: 126 - id: 18 - - - main - - annotations: [] - variant: Function - identifier: "{\"id\":\"19\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":145,\\\"hi\\\":149}\"}" - input: - - identifier: "{\"id\":\"20\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":150,\\\"hi\\\":151}\"}" - mode: None - type_: Boolean - span: - lo: 150 - hi: 151 - id: 21 - output: - - mode: None - type_: Boolean - span: - lo: 162 - hi: 166 - id: 22 - output_type: Boolean - block: - statements: - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"23\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":177,\\\"hi\\\":178}\"}" - arguments: - - Literal: - Integer: - - U32 - - "1" - - span: - lo: 179 - hi: 183 - - 24 - program: test - span: - lo: 177 - hi: 184 - id: 25 - span: - lo: 177 - hi: 185 - id: 26 - - Return: - expression: - Identifier: "{\"id\":\"27\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":201,\\\"hi\\\":202}\"}" - span: - lo: 194 - hi: 203 - id: 28 - span: - lo: 167 - hi: 209 - id: 29 - span: - lo: 136 - hi: 209 - id: 30 - span: - lo: 2 - hi: 211 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', id = 18, input = [{ identifier = '{"id":"3","name":"y","span":"{\"lo\":50,\"hi\":51}"}', mode = "Constant", id = 4, type_ = { Integer = "U32" }, span = { lo = 50, hi = 51 } }], output = [{ mode = "None", id = 5, type_ = { Integer = "U8" }, span = { lo = 61, hi = 63 } }], output_type = { Integer = "U8" }, block = { id = 17, statements = [{ Conditional = { id = 16, condition = { Binary = { op = "Lt", id = 8, left = { Identifier = '{"id":"6","name":"y","span":"{\"lo\":77,\"hi\":78}"}' }, right = { Literal = { Integer = [ + "U32", + "5", + { span = { lo = 81, hi = 85 } }, + 7, +] } }, span = { lo = 77, hi = 85 } } }, then = { id = 15, statements = [{ Expression = { id = 14, expression = { Call = { program = "test", id = 13, arguments = [{ Binary = { op = "Add", id = 12, left = { Identifier = '{"id":"10","name":"y","span":"{\"lo\":102,\"hi\":103}"}' }, right = { Literal = { Integer = [ + "U32", + "1", + { span = { lo = 104, hi = 108 } }, + 11, +] } }, span = { lo = 102, hi = 108 } } }], function = { Identifier = '{"id":"9","name":"x","span":"{\"lo\":100,\"hi\":101}"}' }, span = { lo = 100, hi = 109 } } }, span = { lo = 100, hi = 110 } } }], span = { lo = 86, hi = 120 } }, span = { lo = 74, hi = 120 } } }], span = { lo = 64, hi = 126 } }, span = { lo = 30, hi = 126 } }, +], + [ + "main", + { annotations = [], variant = "Function", identifier = '{"id":"19","name":"main","span":"{\"lo\":145,\"hi\":149}"}', output_type = "Boolean", id = 30, input = [{ identifier = '{"id":"20","name":"y","span":"{\"lo\":150,\"hi\":151}"}', mode = "None", type_ = "Boolean", id = 21, span = { lo = 150, hi = 151 } }], output = [{ mode = "None", type_ = "Boolean", id = 22, span = { lo = 162, hi = 166 } }], block = { id = 29, statements = [ + { Expression = { id = 26, expression = { Call = { program = "test", id = 25, arguments = [{ Literal = { Integer = [ + "U32", + "1", + { span = { lo = 179, hi = 183 } }, + 24, +] } }], function = { Identifier = '{"id":"23","name":"x","span":"{\"lo\":177,\"hi\":178}"}' }, span = { lo = 177, hi = 184 } } }, span = { lo = 177, hi = 185 } } }, + { Return = { id = 28, expression = { Identifier = '{"id":"27","name":"y","span":"{\"lo\":201,\"hi\":202}"}' }, span = { lo = 194, hi = 203 } } }, +], span = { lo = 167, hi = 209 } }, span = { lo = 136, hi = 209 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 211 diff --git a/tests/expectations/parser/functions/const_input_fail.out b/tests/expectations/parser/functions/const_input_fail.out index 8f2632c425..01c47c7553 100644 --- a/tests/expectations/parser/functions/const_input_fail.out +++ b/tests/expectations/parser/functions/const_input_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const'\n --> test:4:16\n |\n 4 | function x(const x: u8) -> u8 {}\n | ^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const' + --> test:4:16 + | + 4 | function x(const x: u8) -> u8 {} + | ^^^^^"""] diff --git a/tests/expectations/parser/functions/const_param.out b/tests/expectations/parser/functions/const_param.out index c955af3afd..0fec13c8a4 100644 --- a/tests/expectations/parser/functions/const_param.out +++ b/tests/expectations/parser/functions/const_param.out @@ -1,126 +1,44 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 41 - hi: 42 - id: 4 - - identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":58,\\\"hi\\\":59}\"}" - mode: Constant - type_: - Integer: I32 - span: - lo: 58 - hi: 59 - id: 6 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 69 - hi: 71 - id: 7 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 89 - hi: 92 - - 8 - span: - lo: 82 - hi: 93 - id: 9 - span: - lo: 72 - hi: 99 - id: 10 - span: - lo: 30 - hi: 99 - id: 11 - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"12\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":118,\\\"hi\\\":119}\"}" - input: - - identifier: "{\"id\":\"13\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":129,\\\"hi\\\":130}\"}" - mode: Constant - type_: - Integer: U32 - span: - lo: 129 - hi: 130 - id: 14 - - identifier: "{\"id\":\"15\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":137,\\\"hi\\\":138}\"}" - mode: None - type_: - Integer: I32 - span: - lo: 137 - hi: 138 - id: 16 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 148 - hi: 150 - id: 17 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 168 - hi: 171 - - 18 - span: - lo: 161 - hi: 172 - id: 19 - span: - lo: 151 - hi: 178 - id: 20 - span: - lo: 109 - hi: 178 - id: 21 - span: - lo: 2 - hi: 179 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', id = 11, input = [ + { identifier = '{"id":"3","name":"x","span":"{\"lo\":41,\"hi\":42}"}', mode = "None", id = 4, type_ = { Integer = "U32" }, span = { lo = 41, hi = 42 } }, + { identifier = '{"id":"5","name":"y","span":"{\"lo\":58,\"hi\":59}"}', mode = "Constant", id = 6, type_ = { Integer = "I32" }, span = { lo = 58, hi = 59 } }, +], output = [{ mode = "None", id = 7, type_ = { Integer = "U8" }, span = { lo = 69, hi = 71 } }], output_type = { Integer = "U8" }, block = { id = 10, statements = [{ Return = { id = 9, expression = { Literal = { Integer = [ + "U8", + "0", + { span = { lo = 89, hi = 92 } }, + 8, +] } }, span = { lo = 82, hi = 93 } } }], span = { lo = 72, hi = 99 } }, span = { lo = 30, hi = 99 } }, +], + [ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"12","name":"x","span":"{\"lo\":118,\"hi\":119}"}', id = 21, input = [ + { identifier = '{"id":"13","name":"x","span":"{\"lo\":129,\"hi\":130}"}', mode = "Constant", id = 14, type_ = { Integer = "U32" }, span = { lo = 129, hi = 130 } }, + { identifier = '{"id":"15","name":"y","span":"{\"lo\":137,\"hi\":138}"}', mode = "None", id = 16, type_ = { Integer = "I32" }, span = { lo = 137, hi = 138 } }, +], output = [{ mode = "None", id = 17, type_ = { Integer = "U8" }, span = { lo = 148, hi = 150 } }], output_type = { Integer = "U8" }, block = { id = 20, statements = [{ Return = { id = 19, expression = { Literal = { Integer = [ + "U8", + "0", + { span = { lo = 168, hi = 171 } }, + 18, +] } }, span = { lo = 161, hi = 172 } } }], span = { lo = 151, hi = 178 } }, span = { lo = 109, hi = 178 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 179 diff --git a/tests/expectations/parser/functions/const_public_param_fail.out b/tests/expectations/parser/functions/const_public_param_fail.out index 762297a31a..3bbb39310c 100644 --- a/tests/expectations/parser/functions/const_public_param_fail.out +++ b/tests/expectations/parser/functions/const_public_param_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const'\n --> test:4:24\n |\n 4 | function x(x: u32, const public y: i32) {\n | ^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const' + --> test:4:24 + | + 4 | function x(x: u32, const public y: i32) { + | ^^^^^"""] diff --git a/tests/expectations/parser/functions/constant_input.out b/tests/expectations/parser/functions/constant_input.out index fd24a44cde..26778a1f31 100644 --- a/tests/expectations/parser/functions/constant_input.out +++ b/tests/expectations/parser/functions/constant_input.out @@ -1,49 +1,22 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}" - mode: Constant - type_: - Integer: U8 - span: - lo: 50 - hi: 51 - id: 4 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 60 - hi: 62 - id: 5 - output_type: - Integer: U8 - block: - statements: [] - span: - lo: 63 - hi: 65 - id: 6 - span: - lo: 30 - hi: 65 - id: 7 - span: - lo: 2 - hi: 67 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', id = 7, input = [{ identifier = '{"id":"3","name":"x","span":"{\"lo\":50,\"hi\":51}"}', mode = "Constant", id = 4, type_ = { Integer = "U8" }, span = { lo = 50, hi = 51 } }], output = [{ mode = "None", id = 5, type_ = { Integer = "U8" }, span = { lo = 60, hi = 62 } }], output_type = { Integer = "U8" }, block = { statements = [], id = 6, span = { lo = 63, hi = 65 } }, span = { lo = 30, hi = 65 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 67 diff --git a/tests/expectations/parser/functions/danling_annotations_fail.out b/tests/expectations/parser/functions/danling_annotations_fail.out index 46d7eb1efb..abbfa33989 100644 --- a/tests/expectations/parser/functions/danling_annotations_fail.out +++ b/tests/expectations/parser/functions/danling_annotations_fail.out @@ -1,46 +1,22 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - test - - annotations: - - identifier: "{\"id\":\"2\",\"name\":\"test\",\"span\":\"{\\\"lo\\\":111,\\\"hi\\\":115}\"}" - span: - lo: 110 - hi: 115 - id: 3 - variant: Function - identifier: "{\"id\":\"4\",\"name\":\"test\",\"span\":\"{\\\"lo\\\":134,\\\"hi\\\":138}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 144 - hi: 146 - id: 5 - output_type: - Integer: U8 - block: - statements: [] - span: - lo: 147 - hi: 149 - id: 6 - span: - lo: 125 - hi: 149 - id: 7 - span: - lo: 2 - hi: 151 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "test", + { variant = "Function", identifier = '{"id":"4","name":"test","span":"{\"lo\":134,\"hi\":138}"}', input = [], id = 7, annotations = [{ identifier = '{"id":"2","name":"test","span":"{\"lo\":111,\"hi\":115}"}', id = 3, span = { lo = 110, hi = 115 } }], output = [{ mode = "None", id = 5, type_ = { Integer = "U8" }, span = { lo = 144, hi = 146 } }], output_type = { Integer = "U8" }, block = { statements = [], id = 6, span = { lo = 147, hi = 149 } }, span = { lo = 125, hi = 149 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 151 diff --git a/tests/expectations/parser/functions/empty2.out b/tests/expectations/parser/functions/empty2.out index eb855975f7..701c2b45c6 100644 --- a/tests/expectations/parser/functions/empty2.out +++ b/tests/expectations/parser/functions/empty2.out @@ -1,41 +1,22 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 46 - hi: 48 - id: 3 - output_type: - Integer: U8 - block: - statements: [] - span: - lo: 49 - hi: 51 - id: 4 - span: - lo: 30 - hi: 51 - id: 5 - span: - lo: 2 - hi: 52 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', input = [], id = 5, output = [{ mode = "None", id = 3, type_ = { Integer = "U8" }, span = { lo = 46, hi = 48 } }], output_type = { Integer = "U8" }, block = { statements = [], id = 4, span = { lo = 49, hi = 51 } }, span = { lo = 30, hi = 51 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 52 diff --git a/tests/expectations/parser/functions/escape_fail.out b/tests/expectations/parser/functions/escape_fail.out index 79b466976a..0abc76fffc 100644 --- a/tests/expectations/parser/functions/escape_fail.out +++ b/tests/expectations/parser/functions/escape_fail.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `\\}`.\n" +namespace = "Parse" +expectation = "Fail" +outputs = [''' +Error [EPAR0370016]: Could not lex the following content: `\}`. +'''] diff --git a/tests/expectations/parser/functions/function_name_is_not_identifier.out b/tests/expectations/parser/functions/function_name_is_not_identifier.out index 8764ddfde9..2442a3300a 100644 --- a/tests/expectations/parser/functions/function_name_is_not_identifier.out +++ b/tests/expectations/parser/functions/function_name_is_not_identifier.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected an identifier -- found '100u8'\n --> test:5:16\n |\n 5 | return 100u8(0u8);\n | ^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected an identifier -- found '100u8' + --> test:5:16 + | + 5 | return 100u8(0u8); + | ^^^^^"""] diff --git a/tests/expectations/parser/functions/ident_token_fail.out b/tests/expectations/parser/functions/ident_token_fail.out index 33283f860f..87274918b0 100644 --- a/tests/expectations/parser/functions/ident_token_fail.out +++ b/tests/expectations/parser/functions/ident_token_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found '1'\n --> test:4:5\n |\n 4 | 1 main() {}}\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found '1' + --> test:4:5 + | + 4 | 1 main() {}} + | ^"""] diff --git a/tests/expectations/parser/functions/infinite_recursion.out b/tests/expectations/parser/functions/infinite_recursion.out index 1ef2c2721b..7f3875898d 100644 --- a/tests/expectations/parser/functions/infinite_recursion.out +++ b/tests/expectations/parser/functions/infinite_recursion.out @@ -1,108 +1,31 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - "inf" - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"inf\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":42}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - span: - lo: 48 - hi: 50 - id: 3 - output_type: - Integer: U8 - block: - statements: - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"4\",\"name\":\"inf\",\"span\":\"{\\\"lo\\\":61,\\\"hi\\\":64}\"}" - arguments: [] - program: test - span: - lo: 61 - hi: 66 - id: 5 - span: - lo: 61 - hi: 67 - id: 6 - span: - lo: 51 - hi: 73 - id: 7 - span: - lo: 30 - hi: 73 - id: 8 - - - main - - annotations: [] - variant: Function - identifier: "{\"id\":\"9\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":92,\\\"hi\\\":96}\"}" - input: - - identifier: "{\"id\":\"10\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":97,\\\"hi\\\":98}\"}" - mode: None - type_: Boolean - span: - lo: 97 - hi: 98 - id: 11 - output: - - mode: None - type_: Boolean - span: - lo: 109 - hi: 113 - id: 12 - output_type: Boolean - block: - statements: - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"13\",\"name\":\"inf\",\"span\":\"{\\\"lo\\\":124,\\\"hi\\\":127}\"}" - arguments: [] - program: test - span: - lo: 124 - hi: 129 - id: 14 - span: - lo: 124 - hi: 130 - id: 15 - - Return: - expression: - Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":146,\\\"hi\\\":147}\"}" - span: - lo: 139 - hi: 148 - id: 17 - span: - lo: 114 - hi: 154 - id: 18 - span: - lo: 83 - hi: 154 - id: 19 - span: - lo: 2 - hi: 156 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "inf", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"inf","span":"{\"lo\":39,\"hi\":42}"}', input = [], id = 8, output = [{ mode = "None", id = 3, type_ = { Integer = "U8" }, span = { lo = 48, hi = 50 } }], output_type = { Integer = "U8" }, block = { id = 7, statements = [{ Expression = { id = 6, expression = { Call = { arguments = [], program = "test", id = 5, function = { Identifier = '{"id":"4","name":"inf","span":"{\"lo\":61,\"hi\":64}"}' }, span = { lo = 61, hi = 66 } } }, span = { lo = 61, hi = 67 } } }], span = { lo = 51, hi = 73 } }, span = { lo = 30, hi = 73 } }, +], + [ + "main", + { annotations = [], variant = "Function", identifier = '{"id":"9","name":"main","span":"{\"lo\":92,\"hi\":96}"}', output_type = "Boolean", id = 19, input = [{ identifier = '{"id":"10","name":"y","span":"{\"lo\":97,\"hi\":98}"}', mode = "None", type_ = "Boolean", id = 11, span = { lo = 97, hi = 98 } }], output = [{ mode = "None", type_ = "Boolean", id = 12, span = { lo = 109, hi = 113 } }], block = { id = 18, statements = [ + { Expression = { id = 15, expression = { Call = { arguments = [], program = "test", id = 14, function = { Identifier = '{"id":"13","name":"inf","span":"{\"lo\":124,\"hi\":127}"}' }, span = { lo = 124, hi = 129 } } }, span = { lo = 124, hi = 130 } } }, + { Return = { id = 17, expression = { Identifier = '{"id":"16","name":"y","span":"{\"lo\":146,\"hi\":147}"}' }, span = { lo = 139, hi = 148 } } }, +], span = { lo = 114, hi = 154 } }, span = { lo = 83, hi = 154 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 156 diff --git a/tests/expectations/parser/functions/inline_function.out b/tests/expectations/parser/functions/inline_function.out index 200aad22f1..bfcf3be574 100644 --- a/tests/expectations/parser/functions/inline_function.out +++ b/tests/expectations/parser/functions/inline_function.out @@ -1,71 +1,30 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - foo - - annotations: [] - variant: Inline - identifier: "{\"id\":\"2\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":36}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 37 - hi: 38 - id: 4 - - identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}" - mode: None - type_: - Integer: I32 - span: - lo: 45 - hi: 46 - id: 6 - output: - - mode: None - type_: - Integer: U32 - span: - lo: 56 - hi: 59 - id: 7 - output_type: - Integer: U32 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U32 - - "0" - - span: - lo: 77 - hi: 81 - - 8 - span: - lo: 70 - hi: 82 - id: 9 - span: - lo: 60 - hi: 88 - id: 10 - span: - lo: 26 - hi: 88 - id: 11 - span: - lo: 2 - hi: 90 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "foo", + { annotations = [], variant = "Inline", identifier = '{"id":"2","name":"foo","span":"{\"lo\":33,\"hi\":36}"}', id = 11, input = [ + { identifier = '{"id":"3","name":"x","span":"{\"lo\":37,\"hi\":38}"}', mode = "None", id = 4, type_ = { Integer = "U32" }, span = { lo = 37, hi = 38 } }, + { identifier = '{"id":"5","name":"y","span":"{\"lo\":45,\"hi\":46}"}', mode = "None", id = 6, type_ = { Integer = "I32" }, span = { lo = 45, hi = 46 } }, +], output = [{ mode = "None", id = 7, type_ = { Integer = "U32" }, span = { lo = 56, hi = 59 } }], output_type = { Integer = "U32" }, block = { id = 10, statements = [{ Return = { id = 9, expression = { Literal = { Integer = [ + "U32", + "0", + { span = { lo = 77, hi = 81 } }, + 8, +] } }, span = { lo = 70, hi = 82 } } }], span = { lo = 60, hi = 88 } }, span = { lo = 26, hi = 88 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 90 diff --git a/tests/expectations/parser/functions/mode_outside_tuple.out b/tests/expectations/parser/functions/mode_outside_tuple.out index 348fca4532..7ceddd64bf 100644 --- a/tests/expectations/parser/functions/mode_outside_tuple.out +++ b/tests/expectations/parser/functions/mode_outside_tuple.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '('\n --> test:4:15\n |\n 4 | transition(a: u8) -> public (u8, u8) {\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found '(' + --> test:4:15 + | + 4 | transition(a: u8) -> public (u8, u8) { + | ^"""] diff --git a/tests/expectations/parser/functions/mut_input_fail.out b/tests/expectations/parser/functions/mut_input_fail.out index 8e831b473c..09b4eebe50 100644 --- a/tests/expectations/parser/functions/mut_input_fail.out +++ b/tests/expectations/parser/functions/mut_input_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found 'a'\n --> test:4:20\n |\n 4 | function f(mut a: u8) {}}\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found 'a' + --> test:4:20 + | + 4 | function f(mut a: u8) {}} + | ^"""] diff --git a/tests/expectations/parser/functions/params.out b/tests/expectations/parser/functions/params.out index 190a664ef0..caf146ef80 100644 --- a/tests/expectations/parser/functions/params.out +++ b/tests/expectations/parser/functions/params.out @@ -1,71 +1,30 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 41 - hi: 42 - id: 4 - - identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":49,\\\"hi\\\":50}\"}" - mode: None - type_: - Integer: I32 - span: - lo: 49 - hi: 50 - id: 6 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 60 - hi: 62 - id: 7 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 80 - hi: 83 - - 8 - span: - lo: 73 - hi: 84 - id: 9 - span: - lo: 63 - hi: 90 - id: 10 - span: - lo: 30 - hi: 90 - id: 11 - span: - lo: 2 - hi: 91 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', id = 11, input = [ + { identifier = '{"id":"3","name":"x","span":"{\"lo\":41,\"hi\":42}"}', mode = "None", id = 4, type_ = { Integer = "U32" }, span = { lo = 41, hi = 42 } }, + { identifier = '{"id":"5","name":"y","span":"{\"lo\":49,\"hi\":50}"}', mode = "None", id = 6, type_ = { Integer = "I32" }, span = { lo = 49, hi = 50 } }, +], output = [{ mode = "None", id = 7, type_ = { Integer = "U8" }, span = { lo = 60, hi = 62 } }], output_type = { Integer = "U8" }, block = { id = 10, statements = [{ Return = { id = 9, expression = { Literal = { Integer = [ + "U8", + "0", + { span = { lo = 80, hi = 83 } }, + 8, +] } }, span = { lo = 73, hi = 84 } } }], span = { lo = 63, hi = 90 } }, span = { lo = 30, hi = 90 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 91 diff --git a/tests/expectations/parser/functions/params_return.out b/tests/expectations/parser/functions/params_return.out index 0580839421..f4363bc3ac 100644 --- a/tests/expectations/parser/functions/params_return.out +++ b/tests/expectations/parser/functions/params_return.out @@ -1,71 +1,30 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 41 - hi: 42 - id: 4 - - identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":49,\\\"hi\\\":50}\"}" - mode: None - type_: - Integer: I32 - span: - lo: 49 - hi: 50 - id: 6 - output: - - mode: None - type_: - Integer: U32 - span: - lo: 60 - hi: 63 - id: 7 - output_type: - Integer: U32 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 81 - hi: 84 - - 8 - span: - lo: 74 - hi: 85 - id: 9 - span: - lo: 64 - hi: 91 - id: 10 - span: - lo: 30 - hi: 91 - id: 11 - span: - lo: 2 - hi: 92 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', id = 11, input = [ + { identifier = '{"id":"3","name":"x","span":"{\"lo\":41,\"hi\":42}"}', mode = "None", id = 4, type_ = { Integer = "U32" }, span = { lo = 41, hi = 42 } }, + { identifier = '{"id":"5","name":"y","span":"{\"lo\":49,\"hi\":50}"}', mode = "None", id = 6, type_ = { Integer = "I32" }, span = { lo = 49, hi = 50 } }, +], output = [{ mode = "None", id = 7, type_ = { Integer = "U32" }, span = { lo = 60, hi = 63 } }], output_type = { Integer = "U32" }, block = { id = 10, statements = [{ Return = { id = 9, expression = { Literal = { Integer = [ + "U8", + "0", + { span = { lo = 81, hi = 84 } }, + 8, +] } }, span = { lo = 74, hi = 85 } } }], span = { lo = 64, hi = 91 } }, span = { lo = 30, hi = 91 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 92 diff --git a/tests/expectations/parser/functions/public_const_param_fail.out b/tests/expectations/parser/functions/public_const_param_fail.out index 39bd47f19c..2c847cc71d 100644 --- a/tests/expectations/parser/functions/public_const_param_fail.out +++ b/tests/expectations/parser/functions/public_const_param_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const'\n --> test:4:31\n |\n 4 | function x(x: u32, public const y: i32) {\n | ^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const' + --> test:4:31 + | + 4 | function x(x: u32, public const y: i32) { + | ^^^^^"""] diff --git a/tests/expectations/parser/functions/public_param.out b/tests/expectations/parser/functions/public_param.out index 27e5a1fffb..5c4413e6a2 100644 --- a/tests/expectations/parser/functions/public_param.out +++ b/tests/expectations/parser/functions/public_param.out @@ -1,126 +1,44 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 41 - hi: 42 - id: 4 - - identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":56,\\\"hi\\\":57}\"}" - mode: Public - type_: - Integer: I32 - span: - lo: 56 - hi: 57 - id: 6 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 67 - hi: 69 - id: 7 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 87 - hi: 90 - - 8 - span: - lo: 80 - hi: 91 - id: 9 - span: - lo: 70 - hi: 97 - id: 10 - span: - lo: 30 - hi: 97 - id: 11 - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"12\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":116,\\\"hi\\\":117}\"}" - input: - - identifier: "{\"id\":\"13\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":125,\\\"hi\\\":126}\"}" - mode: Public - type_: - Integer: U32 - span: - lo: 125 - hi: 126 - id: 14 - - identifier: "{\"id\":\"15\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":133,\\\"hi\\\":134}\"}" - mode: None - type_: - Integer: I32 - span: - lo: 133 - hi: 134 - id: 16 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 144 - hi: 146 - id: 17 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 164 - hi: 167 - - 18 - span: - lo: 157 - hi: 168 - id: 19 - span: - lo: 147 - hi: 174 - id: 20 - span: - lo: 107 - hi: 174 - id: 21 - span: - lo: 2 - hi: 176 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', id = 11, input = [ + { identifier = '{"id":"3","name":"x","span":"{\"lo\":41,\"hi\":42}"}', mode = "None", id = 4, type_ = { Integer = "U32" }, span = { lo = 41, hi = 42 } }, + { identifier = '{"id":"5","name":"y","span":"{\"lo\":56,\"hi\":57}"}', mode = "Public", id = 6, type_ = { Integer = "I32" }, span = { lo = 56, hi = 57 } }, +], output = [{ mode = "None", id = 7, type_ = { Integer = "U8" }, span = { lo = 67, hi = 69 } }], output_type = { Integer = "U8" }, block = { id = 10, statements = [{ Return = { id = 9, expression = { Literal = { Integer = [ + "U8", + "0", + { span = { lo = 87, hi = 90 } }, + 8, +] } }, span = { lo = 80, hi = 91 } } }], span = { lo = 70, hi = 97 } }, span = { lo = 30, hi = 97 } }, +], + [ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"12","name":"x","span":"{\"lo\":116,\"hi\":117}"}', id = 21, input = [ + { identifier = '{"id":"13","name":"x","span":"{\"lo\":125,\"hi\":126}"}', mode = "Public", id = 14, type_ = { Integer = "U32" }, span = { lo = 125, hi = 126 } }, + { identifier = '{"id":"15","name":"y","span":"{\"lo\":133,\"hi\":134}"}', mode = "None", id = 16, type_ = { Integer = "I32" }, span = { lo = 133, hi = 134 } }, +], output = [{ mode = "None", id = 17, type_ = { Integer = "U8" }, span = { lo = 144, hi = 146 } }], output_type = { Integer = "U8" }, block = { id = 20, statements = [{ Return = { id = 19, expression = { Literal = { Integer = [ + "U8", + "0", + { span = { lo = 164, hi = 167 } }, + 18, +] } }, span = { lo = 157, hi = 168 } } }], span = { lo = 147, hi = 174 } }, span = { lo = 107, hi = 174 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 176 diff --git a/tests/expectations/parser/functions/return.out b/tests/expectations/parser/functions/return.out index 3b7da72a25..775e30f93e 100644 --- a/tests/expectations/parser/functions/return.out +++ b/tests/expectations/parser/functions/return.out @@ -1,55 +1,27 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - x - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - input: [] - output: - - mode: None - type_: - Integer: U32 - span: - lo: 46 - hi: 49 - id: 3 - output_type: - Integer: U32 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 67 - hi: 70 - - 4 - span: - lo: 60 - hi: 71 - id: 5 - span: - lo: 50 - hi: 77 - id: 6 - span: - lo: 30 - hi: 77 - id: 7 - span: - lo: 2 - hi: 78 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "x", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"x","span":"{\"lo\":39,\"hi\":40}"}', input = [], id = 7, output = [{ mode = "None", id = 3, type_ = { Integer = "U32" }, span = { lo = 46, hi = 49 } }], output_type = { Integer = "U32" }, block = { id = 6, statements = [{ Return = { id = 5, expression = { Literal = { Integer = [ + "U8", + "0", + { span = { lo = 67, hi = 70 } }, + 4, +] } }, span = { lo = 60, hi = 71 } } }], span = { lo = 50, hi = 77 } }, span = { lo = 30, hi = 77 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 78 diff --git a/tests/expectations/parser/functions/spaced_annotation_fail.out b/tests/expectations/parser/functions/spaced_annotation_fail.out index dd4e4b7235..29344b6e61 100644 --- a/tests/expectations/parser/functions/spaced_annotation_fail.out +++ b/tests/expectations/parser/functions/spaced_annotation_fail.out @@ -1,5 +1,10 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370024]: Illegal spacing in the annotation declaration.\n --> test:4:5\n |\n 4 | @ test\n | ^^^^^^\n |\n = Remove whitespace between the `@` symbol and the identifier." +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370024]: Illegal spacing in the annotation declaration. + --> test:4:5 + | + 4 | @ test + | ^^^^^^ + | + = Remove whitespace between the `@` symbol and the identifier."""] diff --git a/tests/expectations/parser/functions/test_keyword_fail.out b/tests/expectations/parser/functions/test_keyword_fail.out index de79c01227..2857414377 100644 --- a/tests/expectations/parser/functions/test_keyword_fail.out +++ b/tests/expectations/parser/functions/test_keyword_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'test'\n --> test:4:5\n |\n 4 | test main() {}}\n | ^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'test' + --> test:4:5 + | + 4 | test main() {}} + | ^^^^"""] diff --git a/tests/expectations/parser/functions/transition_function.out b/tests/expectations/parser/functions/transition_function.out index 7828481cfb..93cfc1c88e 100644 --- a/tests/expectations/parser/functions/transition_function.out +++ b/tests/expectations/parser/functions/transition_function.out @@ -1,71 +1,30 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - foo - - annotations: [] - variant: Transition - identifier: "{\"id\":\"2\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 41 - hi: 42 - id: 4 - - identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":49,\\\"hi\\\":50}\"}" - mode: None - type_: - Integer: I32 - span: - lo: 49 - hi: 50 - id: 6 - output: - - mode: None - type_: - Integer: U32 - span: - lo: 60 - hi: 63 - id: 7 - output_type: - Integer: U32 - block: - statements: - - Return: - expression: - Literal: - Integer: - - U32 - - "0" - - span: - lo: 81 - hi: 85 - - 8 - span: - lo: 74 - hi: 86 - id: 9 - span: - lo: 64 - hi: 92 - id: 10 - span: - lo: 26 - hi: 92 - id: 11 - span: - lo: 2 - hi: 94 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "foo", + { annotations = [], variant = "Transition", identifier = '{"id":"2","name":"foo","span":"{\"lo\":37,\"hi\":40}"}', id = 11, input = [ + { identifier = '{"id":"3","name":"x","span":"{\"lo\":41,\"hi\":42}"}', mode = "None", id = 4, type_ = { Integer = "U32" }, span = { lo = 41, hi = 42 } }, + { identifier = '{"id":"5","name":"y","span":"{\"lo\":49,\"hi\":50}"}', mode = "None", id = 6, type_ = { Integer = "I32" }, span = { lo = 49, hi = 50 } }, +], output = [{ mode = "None", id = 7, type_ = { Integer = "U32" }, span = { lo = 60, hi = 63 } }], output_type = { Integer = "U32" }, block = { id = 10, statements = [{ Return = { id = 9, expression = { Literal = { Integer = [ + "U32", + "0", + { span = { lo = 81, hi = 85 } }, + 8, +] } }, span = { lo = 74, hi = 86 } } }], span = { lo = 64, hi = 92 } }, span = { lo = 26, hi = 92 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 94 diff --git a/tests/expectations/parser/future/explicit_future_typing.out b/tests/expectations/parser/future/explicit_future_typing.out index a5cbd7d0e5..a93226c0fa 100644 --- a/tests/expectations/parser/future/explicit_future_typing.out +++ b/tests/expectations/parser/future/explicit_future_typing.out @@ -1,302 +1,105 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - main - - annotations: [] - variant: AsyncTransition - identifier: "{\"id\":\"2\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":42,\\\"hi\\\":46}\"}" - input: [] - output: - - mode: None - type_: - Future: - inputs: - - Integer: U32 - - Integer: U32 - - Future: - inputs: [] - location: ~ - is_explicit: true - - Future: - inputs: - - Integer: U32 - - Future: - inputs: - - Integer: U32 - - Integer: U32 - location: ~ - is_explicit: true - location: ~ - is_explicit: true - location: ~ - is_explicit: true - span: - lo: 52 - hi: 124 - id: 3 - output_type: - Future: - inputs: - - Integer: U32 - - Integer: U32 - - Future: - inputs: [] - location: ~ - is_explicit: true - - Future: - inputs: - - Integer: U32 - - Future: - inputs: - - Integer: U32 - - Integer: U32 - location: ~ - is_explicit: true - location: ~ - is_explicit: true - location: ~ - is_explicit: true - block: - statements: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"4\",\"name\":\"f0\",\"span\":\"{\\\"lo\\\":140,\\\"hi\\\":142}\"}" - type_: - Future: - inputs: [] - location: ~ - is_explicit: true - value: - Call: - function: - Identifier: "{\"id\":\"6\",\"name\":\"add\",\"span\":\"{\\\"lo\\\":168,\\\"hi\\\":171}\"}" - arguments: [] - program: bye - span: - lo: 159 - hi: 173 - id: 7 - span: - lo: 136 - hi: 173 - id: 8 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"9\",\"name\":\"f1\",\"span\":\"{\\\"lo\\\":187,\\\"hi\\\":189}\"}" - type_: - Future: - inputs: - - Integer: U32 - - Future: - inputs: - - Integer: U32 - - Integer: U32 - location: ~ - is_explicit: true - location: ~ - is_explicit: true - value: - Call: - function: - Identifier: "{\"id\":\"11\",\"name\":\"nested_fn\",\"span\":\"{\\\"lo\\\":242,\\\"hi\\\":251}\"}" - arguments: [] - program: hello - span: - lo: 231 - hi: 253 - id: 12 - span: - lo: 183 - hi: 253 - id: 13 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"14\",\"name\":\"f2\",\"span\":\"{\\\"lo\\\":267,\\\"hi\\\":269}\"}" - type_: - Future: - inputs: - - Integer: U32 - - Integer: U32 - - Future: - inputs: [] - location: ~ - is_explicit: true - - Future: - inputs: - - Integer: U32 - - Future: - inputs: - - Integer: U32 - - Integer: U32 - location: ~ - is_explicit: true - location: ~ - is_explicit: true - location: ~ - is_explicit: true - value: - Call: - function: - Identifier: "{\"id\":\"15\",\"name\":\"finalize_main\",\"span\":\"{\\\"lo\\\":347,\\\"hi\\\":360}\"}" - arguments: - - Literal: - Integer: - - U32 - - "1" - - span: - lo: 361 - hi: 365 - - 16 - - Literal: - Integer: - - U32 - - "1" - - span: - lo: 367 - hi: 371 - - 17 - - Identifier: "{\"id\":\"18\",\"name\":\"f0\",\"span\":\"{\\\"lo\\\":373,\\\"hi\\\":375}\"}" - - Identifier: "{\"id\":\"19\",\"name\":\"f1\",\"span\":\"{\\\"lo\\\":377,\\\"hi\\\":379}\"}" - program: test - span: - lo: 347 - hi: 380 - id: 20 - span: - lo: 263 - hi: 380 - id: 21 - - Return: - expression: - Identifier: "{\"id\":\"22\",\"name\":\"f2\",\"span\":\"{\\\"lo\\\":397,\\\"hi\\\":399}\"}" - span: - lo: 390 - hi: 400 - id: 23 - span: - lo: 126 - hi: 406 - id: 24 - span: - lo: 25 - hi: 406 - id: 25 - - - finalize_main - - annotations: [] - variant: AsyncFunction - identifier: "{\"id\":\"26\",\"name\":\"finalize_main\",\"span\":\"{\\\"lo\\\":426,\\\"hi\\\":439}\"}" - input: - - identifier: "{\"id\":\"27\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":440,\\\"hi\\\":441}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 440 - hi: 441 - id: 28 - - identifier: "{\"id\":\"29\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":448,\\\"hi\\\":449}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 448 - hi: 449 - id: 30 - - identifier: "{\"id\":\"31\",\"name\":\"f0\",\"span\":\"{\\\"lo\\\":456,\\\"hi\\\":458}\"}" - mode: None - type_: - Future: - inputs: [] - location: ~ - is_explicit: true - span: - lo: 456 - hi: 458 - id: 32 - - identifier: "{\"id\":\"33\",\"name\":\"f1\",\"span\":\"{\\\"lo\\\":474,\\\"hi\\\":476}\"}" - mode: None - type_: - Future: - inputs: - - Integer: U32 - - Future: - inputs: - - Integer: U32 - - Integer: U32 - location: ~ - is_explicit: true - location: ~ - is_explicit: true - span: - lo: 474 - hi: 476 - id: 34 - output: [] - output_type: Unit - block: - statements: - - Expression: - expression: - Access: - AssociatedFunction: - variant: "{\"id\":\"37\",\"name\":\"Future\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":0}\"}" - name: "{\"id\":\"36\",\"name\":\"await\",\"span\":\"{\\\"lo\\\":530,\\\"hi\\\":535}\"}" - arguments: - - Identifier: "{\"id\":\"35\",\"name\":\"f0\",\"span\":\"{\\\"lo\\\":527,\\\"hi\\\":529}\"}" - span: - lo: 527 - hi: 537 - id: 38 - span: - lo: 527 - hi: 538 - id: 39 - - Expression: - expression: - Access: - AssociatedFunction: - variant: "{\"id\":\"42\",\"name\":\"Future\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":0}\"}" - name: "{\"id\":\"41\",\"name\":\"await\",\"span\":\"{\\\"lo\\\":550,\\\"hi\\\":555}\"}" - arguments: - - Identifier: "{\"id\":\"40\",\"name\":\"f1\",\"span\":\"{\\\"lo\\\":547,\\\"hi\\\":549}\"}" - span: - lo: 547 - hi: 557 - id: 43 - span: - lo: 547 - hi: 558 - id: 44 - - Assert: - variant: - AssertEq: - - Identifier: "{\"id\":\"45\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":577,\\\"hi\\\":578}\"}" - - Identifier: "{\"id\":\"46\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":579,\\\"hi\\\":580}\"}" - span: - lo: 567 - hi: 576 - id: 47 - span: - lo: 517 - hi: 588 - id: 48 - span: - lo: 411 - hi: 588 - id: 49 - span: - lo: 1 - hi: 590 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "main", + { annotations = [], variant = "AsyncTransition", identifier = '{"id":"2","name":"main","span":"{\"lo\":42,\"hi\":46}"}', input = [], id = 25, output = [{ mode = "None", id = 3, type_ = { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, + { Future = { inputs = [], is_explicit = true } }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, +] } }, +] } }, +] } }, span = { lo = 52, hi = 124 } }], output_type = { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, + { Future = { inputs = [], is_explicit = true } }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, +] } }, +] } }, +] } }, block = { id = 24, statements = [ + { Definition = { declaration_type = "Let", id = 8, place = { Identifier = '{"id":"4","name":"f0","span":"{\"lo\":140,\"hi\":142}"}' }, type_ = { Future = { inputs = [], is_explicit = true } }, value = { Call = { arguments = [], program = "bye", id = 7, function = { Identifier = '{"id":"6","name":"add","span":"{\"lo\":168,\"hi\":171}"}' }, span = { lo = 159, hi = 173 } } }, span = { lo = 136, hi = 173 } } }, + { Definition = { declaration_type = "Let", id = 13, place = { Identifier = '{"id":"9","name":"f1","span":"{\"lo\":187,\"hi\":189}"}' }, type_ = { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, +] } }, +] } }, value = { Call = { arguments = [], program = "hello", id = 12, function = { Identifier = '{"id":"11","name":"nested_fn","span":"{\"lo\":242,\"hi\":251}"}' }, span = { lo = 231, hi = 253 } } }, span = { lo = 183, hi = 253 } } }, + { Definition = { declaration_type = "Let", id = 21, place = { Identifier = '{"id":"14","name":"f2","span":"{\"lo\":267,\"hi\":269}"}' }, type_ = { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, + { Future = { inputs = [], is_explicit = true } }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, +] } }, +] } }, +] } }, value = { Call = { program = "test", id = 20, arguments = [ + { Literal = { Integer = [ + "U32", + "1", + { span = { lo = 361, hi = 365 } }, + 16, +] } }, + { Literal = { Integer = [ + "U32", + "1", + { span = { lo = 367, hi = 371 } }, + 17, +] } }, + { Identifier = '{"id":"18","name":"f0","span":"{\"lo\":373,\"hi\":375}"}' }, + { Identifier = '{"id":"19","name":"f1","span":"{\"lo\":377,\"hi\":379}"}' }, +], function = { Identifier = '{"id":"15","name":"finalize_main","span":"{\"lo\":347,\"hi\":360}"}' }, span = { lo = 347, hi = 380 } } }, span = { lo = 263, hi = 380 } } }, + { Return = { id = 23, expression = { Identifier = '{"id":"22","name":"f2","span":"{\"lo\":397,\"hi\":399}"}' }, span = { lo = 390, hi = 400 } } }, +], span = { lo = 126, hi = 406 } }, span = { lo = 25, hi = 406 } }, +], + [ + "finalize_main", + { annotations = [], variant = "AsyncFunction", identifier = '{"id":"26","name":"finalize_main","span":"{\"lo\":426,\"hi\":439}"}', output = [], output_type = "Unit", id = 49, input = [ + { identifier = '{"id":"27","name":"a","span":"{\"lo\":440,\"hi\":441}"}', mode = "None", id = 28, type_ = { Integer = "U32" }, span = { lo = 440, hi = 441 } }, + { identifier = '{"id":"29","name":"b","span":"{\"lo\":448,\"hi\":449}"}', mode = "None", id = 30, type_ = { Integer = "U32" }, span = { lo = 448, hi = 449 } }, + { identifier = '{"id":"31","name":"f0","span":"{\"lo\":456,\"hi\":458}"}', mode = "None", id = 32, type_ = { Future = { inputs = [], is_explicit = true } }, span = { lo = 456, hi = 458 } }, + { identifier = '{"id":"33","name":"f1","span":"{\"lo\":474,\"hi\":476}"}', mode = "None", id = 34, type_ = { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Future = { is_explicit = true, inputs = [ + { Integer = "U32" }, + { Integer = "U32" }, +] } }, +] } }, span = { lo = 474, hi = 476 } }, +], block = { id = 48, statements = [ + { Expression = { id = 39, expression = { Access = { AssociatedFunction = { variant = '{"id":"37","name":"Future","span":"{\"lo\":0,\"hi\":0}"}', name = '{"id":"36","name":"await","span":"{\"lo\":530,\"hi\":535}"}', id = 38, arguments = [{ Identifier = '{"id":"35","name":"f0","span":"{\"lo\":527,\"hi\":529}"}' }], span = { lo = 527, hi = 537 } } } }, span = { lo = 527, hi = 538 } } }, + { Expression = { id = 44, expression = { Access = { AssociatedFunction = { variant = '{"id":"42","name":"Future","span":"{\"lo\":0,\"hi\":0}"}', name = '{"id":"41","name":"await","span":"{\"lo\":550,\"hi\":555}"}', id = 43, arguments = [{ Identifier = '{"id":"40","name":"f1","span":"{\"lo\":547,\"hi\":549}"}' }], span = { lo = 547, hi = 557 } } } }, span = { lo = 547, hi = 558 } } }, + { Assert = { id = 47, variant = { AssertEq = [ + { Identifier = '{"id":"45","name":"a","span":"{\"lo\":577,\"hi\":578}"}' }, + { Identifier = '{"id":"46","name":"b","span":"{\"lo\":579,\"hi\":580}"}' }, +] }, span = { lo = 567, hi = 576 } } }, +], span = { lo = 517, hi = 588 } }, span = { lo = 411, hi = 588 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 1 +hi = 590 diff --git a/tests/expectations/parser/inputs/input_const.out b/tests/expectations/parser/inputs/input_const.out deleted file mode 100644 index 2936ea6692..0000000000 --- a/tests/expectations/parser/inputs/input_const.out +++ /dev/null @@ -1,5 +0,0 @@ ---- -namespace: Input -expectation: Fail -outputs: - - "Error [EPAR0370000]: const\n --> test:4:1\n |\n 4 | const a: bool = true;\n | ^^^^^" diff --git a/tests/expectations/parser/inputs/input_constant.out b/tests/expectations/parser/inputs/input_constant.out deleted file mode 100644 index b0742e2b17..0000000000 --- a/tests/expectations/parser/inputs/input_constant.out +++ /dev/null @@ -1,215 +0,0 @@ ---- -namespace: Input -expectation: Pass -outputs: - - sections: - - name: main - definitions: - - mode: Constant - type_: Boolean - name: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - value: - Literal: - Boolean: - - true - - span: - lo: 29 - hi: 33 - - 2 - span: - lo: 21 - hi: 25 - - mode: Constant - type_: - Integer: U8 - name: "{\"id\":\"3\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" - value: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 55 - hi: 58 - - 4 - span: - lo: 47 - hi: 49 - - mode: Constant - type_: Field - name: "{\"id\":\"5\",\"name\":\"c\",\"span\":\"{\\\"lo\\\":69,\\\"hi\\\":70}\"}" - value: - Literal: - Field: - - "0" - - span: - lo: 80 - hi: 86 - - 6 - span: - lo: 72 - hi: 77 - - mode: Constant - type_: Group - name: "{\"id\":\"7\",\"name\":\"d\",\"span\":\"{\\\"lo\\\":97,\\\"hi\\\":98}\"}" - value: - Literal: - Group: - Tuple: - x: - Number: - - "0" - - span: - lo: 109 - hi: 110 - y: - Number: - - "1" - - span: - lo: 112 - hi: 113 - span: - lo: 108 - hi: 119 - id: 8 - span: - lo: 100 - hi: 105 - - mode: Constant - type_: Address - name: "{\"id\":\"9\",\"name\":\"e\",\"span\":\"{\\\"lo\\\":130,\\\"hi\\\":131}\"}" - value: - Literal: - Address: - - aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx - - span: - lo: 143 - hi: 206 - - 10 - span: - lo: 133 - hi: 140 - - mode: Constant - type_: - Integer: I8 - name: "{\"id\":\"11\",\"name\":\"f\",\"span\":\"{\\\"lo\\\":217,\\\"hi\\\":218}\"}" - value: - Literal: - Integer: - - I8 - - "-2" - - span: - lo: 228 - hi: 232 - - 12 - span: - lo: 220 - hi: 222 - span: - lo: 3 - hi: 7 - - name: registers - definitions: - - mode: None - type_: Boolean - name: "{\"id\":\"14\",\"name\":\"r0\",\"span\":\"{\\\"lo\\\":247,\\\"hi\\\":249}\"}" - value: - Literal: - Boolean: - - true - - span: - lo: 259 - hi: 263 - - 15 - span: - lo: 251 - hi: 255 - - mode: None - type_: - Integer: U8 - name: "{\"id\":\"16\",\"name\":\"r1\",\"span\":\"{\\\"lo\\\":265,\\\"hi\\\":267}\"}" - value: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 277 - hi: 280 - - 17 - span: - lo: 269 - hi: 271 - - mode: None - type_: Field - name: "{\"id\":\"18\",\"name\":\"r2\",\"span\":\"{\\\"lo\\\":282,\\\"hi\\\":284}\"}" - value: - Literal: - Field: - - "0" - - span: - lo: 294 - hi: 300 - - 19 - span: - lo: 286 - hi: 291 - - mode: None - type_: Group - name: "{\"id\":\"20\",\"name\":\"r3\",\"span\":\"{\\\"lo\\\":302,\\\"hi\\\":304}\"}" - value: - Literal: - Group: - Tuple: - x: - Number: - - "0" - - span: - lo: 315 - hi: 316 - y: - Number: - - "1" - - span: - lo: 318 - hi: 319 - span: - lo: 314 - hi: 325 - id: 21 - span: - lo: 306 - hi: 311 - - mode: None - type_: Address - name: "{\"id\":\"22\",\"name\":\"r4\",\"span\":\"{\\\"lo\\\":327,\\\"hi\\\":329}\"}" - value: - Literal: - Address: - - aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx - - span: - lo: 341 - hi: 404 - - 23 - span: - lo: 331 - hi: 338 - - mode: None - type_: - Integer: I8 - name: "{\"id\":\"24\",\"name\":\"r4\",\"span\":\"{\\\"lo\\\":406,\\\"hi\\\":408}\"}" - value: - Literal: - Integer: - - I8 - - "-1" - - span: - lo: 415 - hi: 419 - - 25 - span: - lo: 410 - hi: 412 - span: - lo: 236 - hi: 245 diff --git a/tests/expectations/parser/inputs/input_constant_public_fail.out b/tests/expectations/parser/inputs/input_constant_public_fail.out deleted file mode 100644 index 3a6bfe1661..0000000000 --- a/tests/expectations/parser/inputs/input_constant_public_fail.out +++ /dev/null @@ -1,5 +0,0 @@ ---- -namespace: Input -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'public'\n --> test:4:10\n |\n 4 | constant public a: bool = true; \n | ^^^^^^" diff --git a/tests/expectations/parser/inputs/input_fail.out b/tests/expectations/parser/inputs/input_fail.out deleted file mode 100644 index 5f8bf95de3..0000000000 --- a/tests/expectations/parser/inputs/input_fail.out +++ /dev/null @@ -1,5 +0,0 @@ ---- -namespace: Input -expectation: Fail -outputs: - - "Error [EPAR0370000]: main\n --> test:3:1\n |\n 3 | main\n | ^^^^" diff --git a/tests/expectations/parser/inputs/input_public.out b/tests/expectations/parser/inputs/input_public.out deleted file mode 100644 index 6c19b60b50..0000000000 --- a/tests/expectations/parser/inputs/input_public.out +++ /dev/null @@ -1,215 +0,0 @@ ---- -namespace: Input -expectation: Pass -outputs: - - sections: - - name: main - definitions: - - mode: Public - type_: Boolean - name: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - value: - Literal: - Boolean: - - true - - span: - lo: 27 - hi: 31 - - 2 - span: - lo: 19 - hi: 23 - - mode: Public - type_: - Integer: U8 - name: "{\"id\":\"3\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":57,\\\"hi\\\":58}\"}" - value: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 68 - hi: 71 - - 4 - span: - lo: 60 - hi: 62 - - mode: Public - type_: Field - name: "{\"id\":\"5\",\"name\":\"c\",\"span\":\"{\\\"lo\\\":100,\\\"hi\\\":101}\"}" - value: - Literal: - Field: - - "0" - - span: - lo: 111 - hi: 117 - - 6 - span: - lo: 103 - hi: 108 - - mode: Public - type_: Group - name: "{\"id\":\"7\",\"name\":\"d\",\"span\":\"{\\\"lo\\\":146,\\\"hi\\\":147}\"}" - value: - Literal: - Group: - Tuple: - x: - Number: - - "0" - - span: - lo: 158 - hi: 159 - y: - Number: - - "1" - - span: - lo: 161 - hi: 162 - span: - lo: 157 - hi: 168 - id: 8 - span: - lo: 149 - hi: 154 - - mode: Public - type_: Address - name: "{\"id\":\"9\",\"name\":\"e\",\"span\":\"{\\\"lo\\\":187,\\\"hi\\\":188}\"}" - value: - Literal: - Address: - - aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx - - span: - lo: 200 - hi: 263 - - 10 - span: - lo: 190 - hi: 197 - - mode: Public - type_: - Integer: I8 - name: "{\"id\":\"11\",\"name\":\"f\",\"span\":\"{\\\"lo\\\":272,\\\"hi\\\":273}\"}" - value: - Literal: - Integer: - - I8 - - "-2" - - span: - lo: 283 - hi: 287 - - 12 - span: - lo: 275 - hi: 277 - span: - lo: 3 - hi: 7 - - name: registers - definitions: - - mode: None - type_: Boolean - name: "{\"id\":\"14\",\"name\":\"r0\",\"span\":\"{\\\"lo\\\":302,\\\"hi\\\":304}\"}" - value: - Literal: - Boolean: - - true - - span: - lo: 314 - hi: 318 - - 15 - span: - lo: 306 - hi: 310 - - mode: None - type_: - Integer: U8 - name: "{\"id\":\"16\",\"name\":\"r1\",\"span\":\"{\\\"lo\\\":337,\\\"hi\\\":339}\"}" - value: - Literal: - Integer: - - U8 - - "2" - - span: - lo: 349 - hi: 352 - - 17 - span: - lo: 341 - hi: 343 - - mode: None - type_: Field - name: "{\"id\":\"18\",\"name\":\"r2\",\"span\":\"{\\\"lo\\\":374,\\\"hi\\\":376}\"}" - value: - Literal: - Field: - - "0" - - span: - lo: 386 - hi: 392 - - 19 - span: - lo: 378 - hi: 383 - - mode: None - type_: Group - name: "{\"id\":\"20\",\"name\":\"r3\",\"span\":\"{\\\"lo\\\":414,\\\"hi\\\":416}\"}" - value: - Literal: - Group: - Tuple: - x: - Number: - - "0" - - span: - lo: 427 - hi: 428 - y: - Number: - - "1" - - span: - lo: 430 - hi: 431 - span: - lo: 426 - hi: 437 - id: 21 - span: - lo: 418 - hi: 423 - - mode: None - type_: Address - name: "{\"id\":\"22\",\"name\":\"r4\",\"span\":\"{\\\"lo\\\":449,\\\"hi\\\":451}\"}" - value: - Literal: - Address: - - aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx - - span: - lo: 463 - hi: 526 - - 23 - span: - lo: 453 - hi: 460 - - mode: None - type_: - Integer: I8 - name: "{\"id\":\"24\",\"name\":\"r4\",\"span\":\"{\\\"lo\\\":528,\\\"hi\\\":530}\"}" - value: - Literal: - Integer: - - I8 - - "-1" - - span: - lo: 537 - hi: 541 - - 25 - span: - lo: 532 - hi: 534 - span: - lo: 291 - hi: 300 diff --git a/tests/expectations/parser/inputs/input_public_constant_fail.out b/tests/expectations/parser/inputs/input_public_constant_fail.out deleted file mode 100644 index dda0297a22..0000000000 --- a/tests/expectations/parser/inputs/input_public_constant_fail.out +++ /dev/null @@ -1,5 +0,0 @@ ---- -namespace: Input -expectation: Fail -outputs: - - "Error [EPAR0370019]: A parameter cannot have multiple modes.\n --> test:4:1\n |\n 4 | public constant a: bool = true;\n | ^^^^^^^^^^^^^^^\n |\n = Consider using either `constant`, `public`, `private`, or none at all." diff --git a/tests/expectations/parser/program/async_basic.out b/tests/expectations/parser/program/async_basic.out index e3385bb454..ff3effce84 100644 --- a/tests/expectations/parser/program/async_basic.out +++ b/tests/expectations/parser/program/async_basic.out @@ -1,168 +1,54 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: - - - Yo - - identifier: "{\"id\":\"2\",\"name\":\"Yo\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":36}\"}" - key_type: - Integer: U32 - value_type: - Integer: U32 - span: - lo: 26 - hi: 49 - id: 3 - functions: - - - main - - annotations: [] - variant: AsyncTransition - identifier: "{\"id\":\"4\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":72,\\\"hi\\\":76}\"}" - input: [] - output: - - mode: None - type_: - Future: - inputs: [] - location: ~ - is_explicit: false - span: - lo: 82 - hi: 88 - id: 5 - output_type: - Future: - inputs: [] - location: ~ - is_explicit: false - block: - statements: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"6\",\"name\":\"f\",\"span\":\"{\\\"lo\\\":103,\\\"hi\\\":104}\"}" - type_: - Future: - inputs: [] - location: ~ - is_explicit: false - value: - Call: - function: - Identifier: "{\"id\":\"7\",\"name\":\"finalize_main\",\"span\":\"{\\\"lo\\\":115,\\\"hi\\\":128}\"}" - arguments: - - Literal: - Integer: - - U32 - - "1" - - span: - lo: 129 - hi: 133 - - 8 - - Literal: - Integer: - - U32 - - "1" - - span: - lo: 135 - hi: 139 - - 9 - program: test - span: - lo: 115 - hi: 140 - id: 10 - span: - lo: 99 - hi: 140 - id: 11 - - Return: - expression: - Identifier: "{\"id\":\"12\",\"name\":\"f\",\"span\":\"{\\\"lo\\\":157,\\\"hi\\\":158}\"}" - span: - lo: 150 - hi: 159 - id: 13 - span: - lo: 89 - hi: 165 - id: 14 - span: - lo: 55 - hi: 165 - id: 15 - - - finalize_main - - annotations: [] - variant: AsyncFunction - identifier: "{\"id\":\"16\",\"name\":\"finalize_main\",\"span\":\"{\\\"lo\\\":186,\\\"hi\\\":199}\"}" - input: - - identifier: "{\"id\":\"17\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":200,\\\"hi\\\":201}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 200 - hi: 201 - id: 18 - - identifier: "{\"id\":\"19\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":207,\\\"hi\\\":208}\"}" - mode: None - type_: - Integer: U32 - span: - lo: 207 - hi: 208 - id: 20 - output: - - mode: None - type_: - Future: - inputs: [] - location: ~ - is_explicit: false - span: - lo: 217 - hi: 223 - id: 21 - output_type: - Future: - inputs: [] - location: ~ - is_explicit: false - block: - statements: - - Expression: - expression: - Access: - AssociatedFunction: - variant: "{\"id\":\"22\",\"name\":\"Mapping\",\"span\":\"{\\\"lo\\\":234,\\\"hi\\\":241}\"}" - name: "{\"id\":\"23\",\"name\":\"set\",\"span\":\"{\\\"lo\\\":243,\\\"hi\\\":246}\"}" - arguments: - - Identifier: "{\"id\":\"24\",\"name\":\"Yo\",\"span\":\"{\\\"lo\\\":247,\\\"hi\\\":249}\"}" - - Identifier: "{\"id\":\"25\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":251,\\\"hi\\\":252}\"}" - - Identifier: "{\"id\":\"26\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":254,\\\"hi\\\":255}\"}" - span: - lo: 234 - hi: 256 - id: 27 - span: - lo: 234 - hi: 257 - id: 28 - span: - lo: 224 - hi: 263 - id: 29 - span: - lo: 171 - hi: 263 - id: 30 - span: - lo: 2 - hi: 265 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [[ + "Yo", + { identifier = '{"id":"2","name":"Yo","span":"{\"lo\":34,\"hi\":36}"}', id = 3, key_type = { Integer = "U32" }, value_type = { Integer = "U32" }, span = { lo = 26, hi = 49 } }, +]] +functions = [ + [ + "main", + { annotations = [], variant = "AsyncTransition", identifier = '{"id":"4","name":"main","span":"{\"lo\":72,\"hi\":76}"}', input = [], id = 15, output = [{ mode = "None", id = 5, type_ = { Future = { inputs = [], is_explicit = false } }, span = { lo = 82, hi = 88 } }], output_type = { Future = { inputs = [], is_explicit = false } }, block = { id = 14, statements = [ + { Definition = { declaration_type = "Let", id = 11, place = { Identifier = '{"id":"6","name":"f","span":"{\"lo\":103,\"hi\":104}"}' }, type_ = { Future = { inputs = [], is_explicit = false } }, value = { Call = { program = "test", id = 10, arguments = [ + { Literal = { Integer = [ + "U32", + "1", + { span = { lo = 129, hi = 133 } }, + 8, +] } }, + { Literal = { Integer = [ + "U32", + "1", + { span = { lo = 135, hi = 139 } }, + 9, +] } }, +], function = { Identifier = '{"id":"7","name":"finalize_main","span":"{\"lo\":115,\"hi\":128}"}' }, span = { lo = 115, hi = 140 } } }, span = { lo = 99, hi = 140 } } }, + { Return = { id = 13, expression = { Identifier = '{"id":"12","name":"f","span":"{\"lo\":157,\"hi\":158}"}' }, span = { lo = 150, hi = 159 } } }, +], span = { lo = 89, hi = 165 } }, span = { lo = 55, hi = 165 } }, +], + [ + "finalize_main", + { annotations = [], variant = "AsyncFunction", identifier = '{"id":"16","name":"finalize_main","span":"{\"lo\":186,\"hi\":199}"}', id = 30, input = [ + { identifier = '{"id":"17","name":"a","span":"{\"lo\":200,\"hi\":201}"}', mode = "None", id = 18, type_ = { Integer = "U32" }, span = { lo = 200, hi = 201 } }, + { identifier = '{"id":"19","name":"b","span":"{\"lo\":207,\"hi\":208}"}', mode = "None", id = 20, type_ = { Integer = "U32" }, span = { lo = 207, hi = 208 } }, +], output = [{ mode = "None", id = 21, type_ = { Future = { inputs = [], is_explicit = false } }, span = { lo = 217, hi = 223 } }], output_type = { Future = { inputs = [], is_explicit = false } }, block = { id = 29, statements = [{ Expression = { id = 28, expression = { Access = { AssociatedFunction = { variant = '{"id":"22","name":"Mapping","span":"{\"lo\":234,\"hi\":241}"}', name = '{"id":"23","name":"set","span":"{\"lo\":243,\"hi\":246}"}', id = 27, arguments = [ + { Identifier = '{"id":"24","name":"Yo","span":"{\"lo\":247,\"hi\":249}"}' }, + { Identifier = '{"id":"25","name":"a","span":"{\"lo\":251,\"hi\":252}"}' }, + { Identifier = '{"id":"26","name":"b","span":"{\"lo\":254,\"hi\":255}"}' }, +], span = { lo = 234, hi = 256 } } } }, span = { lo = 234, hi = 257 } } }], span = { lo = 224, hi = 263 } }, span = { lo = 171, hi = 263 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 265 diff --git a/tests/expectations/parser/program/backslash_eof.out b/tests/expectations/parser/program/backslash_eof.out index 79b466976a..0abc76fffc 100644 --- a/tests/expectations/parser/program/backslash_eof.out +++ b/tests/expectations/parser/program/backslash_eof.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `\\}`.\n" +namespace = "Parse" +expectation = "Fail" +outputs = [''' +Error [EPAR0370016]: Could not lex the following content: `\}`. +'''] diff --git a/tests/expectations/parser/program/bidi_comment_2_fail.out b/tests/expectations/parser/program/bidi_comment_2_fail.out index 8e08efdd8b..a80ea5d4d9 100644 --- a/tests/expectations/parser/program/bidi_comment_2_fail.out +++ b/tests/expectations/parser/program/bidi_comment_2_fail.out @@ -1,5 +1,3 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370020]: Unicode bidi override code point encountered." +namespace = "Parse" +expectation = "Fail" +outputs = ["Error [EPAR0370020]: Unicode bidi override code point encountered."] diff --git a/tests/expectations/parser/program/bidi_comment_fail.out b/tests/expectations/parser/program/bidi_comment_fail.out index 8e08efdd8b..a80ea5d4d9 100644 --- a/tests/expectations/parser/program/bidi_comment_fail.out +++ b/tests/expectations/parser/program/bidi_comment_fail.out @@ -1,5 +1,3 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370020]: Unicode bidi override code point encountered." +namespace = "Parse" +expectation = "Fail" +outputs = ["Error [EPAR0370020]: Unicode bidi override code point encountered."] diff --git a/tests/expectations/parser/program/circuit_deprecated_fail.out b/tests/expectations/parser/program/circuit_deprecated_fail.out index b1dd4715b0..87f7aafb61 100644 --- a/tests/expectations/parser/program/circuit_deprecated_fail.out +++ b/tests/expectations/parser/program/circuit_deprecated_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'circuit'\n --> test:5:5\n |\n 5 | circuit Foo {\n | ^^^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'circuit' + --> test:5:5 + | + 5 | circuit Foo { + | ^^^^^^^"""] diff --git a/tests/expectations/parser/program/dollar_eof.out b/tests/expectations/parser/program/dollar_eof.out index 47ee95447d..0890111cd6 100644 --- a/tests/expectations/parser/program/dollar_eof.out +++ b/tests/expectations/parser/program/dollar_eof.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `$}`.\n" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370016]: Could not lex the following content: `$}`. +"""] diff --git a/tests/expectations/parser/program/escape_u8_eof.out b/tests/expectations/parser/program/escape_u8_eof.out index 7706d99333..2aa77c465e 100644 --- a/tests/expectations/parser/program/escape_u8_eof.out +++ b/tests/expectations/parser/program/escape_u8_eof.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `\\1u8}`.\n" +namespace = "Parse" +expectation = "Fail" +outputs = [''' +Error [EPAR0370016]: Could not lex the following content: `\1u8}`. +'''] diff --git a/tests/expectations/parser/program/external_mapping.out b/tests/expectations/parser/program/external_mapping.out index 50b9938ec2..e7db8b0375 100644 --- a/tests/expectations/parser/program/external_mapping.out +++ b/tests/expectations/parser/program/external_mapping.out @@ -1,241 +1,79 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: - hello: - - imports: {} - stubs: {} - program_scopes: {} - - lo: 1 - hi: 19 - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"2\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - main - - annotations: [] - variant: AsyncTransition - identifier: "{\"id\":\"3\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":61,\\\"hi\\\":65}\"}" - input: [] - output: [] - output_type: Unit - block: - statements: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":82,\\\"hi\\\":83}\"}" - type_: - Integer: U8 - value: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 89 - hi: 92 - - 5 - span: - lo: 78 - hi: 92 - id: 6 - - Return: - expression: - Unit: - span: - lo: 108 - hi: 109 - id: 7 - span: - lo: 102 - hi: 109 - id: 8 - span: - lo: 68 - hi: 115 - id: 9 - span: - lo: 44 - hi: 115 - id: 10 - - - finalize_main - - annotations: [] - variant: AsyncFunction - identifier: "{\"id\":\"11\",\"name\":\"finalize_main\",\"span\":\"{\\\"lo\\\":135,\\\"hi\\\":148}\"}" - input: [] - output: [] - output_type: Unit - block: - statements: - - Expression: - expression: - Access: - AssociatedFunction: - variant: "{\"id\":\"12\",\"name\":\"Mapping\",\"span\":\"{\\\"lo\\\":161,\\\"hi\\\":168}\"}" - name: "{\"id\":\"13\",\"name\":\"set\",\"span\":\"{\\\"lo\\\":170,\\\"hi\\\":173}\"}" - arguments: - - Locator: - program: "{\"name\":\"hello\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"16\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":180,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":184}\\\\\\\"}\\\"\"}" - name: counter - span: - lo: 174 - hi: 192 - id: 17 - - Identifier: "{\"id\":\"18\",\"name\":\"addr\",\"span\":\"{\\\"lo\\\":194,\\\"hi\\\":198}\"}" - - Binary: - left: - Identifier: "{\"id\":\"19\",\"name\":\"current_value\",\"span\":\"{\\\"lo\\\":200,\\\"hi\\\":213}\"}" - right: - Literal: - Integer: - - U64 - - "1" - - span: - lo: 216 - hi: 220 - - 20 - op: Add - span: - lo: 200 - hi: 220 - id: 21 - span: - lo: 161 - hi: 221 - id: 22 - span: - lo: 161 - hi: 222 - id: 23 - - Expression: - expression: - Access: - AssociatedFunction: - variant: "{\"id\":\"24\",\"name\":\"Mapping\",\"span\":\"{\\\"lo\\\":231,\\\"hi\\\":238}\"}" - name: "{\"id\":\"25\",\"name\":\"remove\",\"span\":\"{\\\"lo\\\":240,\\\"hi\\\":246}\"}" - arguments: - - Locator: - program: "{\"name\":\"hello\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"28\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":253,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":257}\\\\\\\"}\\\"\"}" - name: foo - span: - lo: 247 - hi: 261 - id: 29 - - Identifier: "{\"id\":\"30\",\"name\":\"addr\",\"span\":\"{\\\"lo\\\":263,\\\"hi\\\":267}\"}" - span: - lo: 231 - hi: 268 - id: 31 - span: - lo: 231 - hi: 269 - id: 32 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"33\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":282,\\\"hi\\\":283}\"}" - type_: - Integer: U32 - value: - Access: - AssociatedFunction: - variant: "{\"id\":\"34\",\"name\":\"Mapping\",\"span\":\"{\\\"lo\\\":290,\\\"hi\\\":297}\"}" - name: "{\"id\":\"35\",\"name\":\"get\",\"span\":\"{\\\"lo\\\":299,\\\"hi\\\":302}\"}" - arguments: - - Locator: - program: "{\"name\":\"hello\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"38\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":309,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":313}\\\\\\\"}\\\"\"}" - name: foo - span: - lo: 303 - hi: 317 - id: 39 - - Identifier: "{\"id\":\"40\",\"name\":\"addr\",\"span\":\"{\\\"lo\\\":319,\\\"hi\\\":323}\"}" - span: - lo: 290 - hi: 324 - id: 41 - span: - lo: 278 - hi: 324 - id: 42 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"43\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":338,\\\"hi\\\":339}\"}" - type_: - Integer: U32 - value: - Access: - AssociatedFunction: - variant: "{\"id\":\"44\",\"name\":\"Mapping\",\"span\":\"{\\\"lo\\\":346,\\\"hi\\\":353}\"}" - name: "{\"id\":\"45\",\"name\":\"get_or_use\",\"span\":\"{\\\"lo\\\":355,\\\"hi\\\":365}\"}" - arguments: - - Locator: - program: "{\"name\":\"hello\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"48\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":372,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":376}\\\\\\\"}\\\"\"}" - name: foo - span: - lo: 366 - hi: 380 - id: 49 - - Identifier: "{\"id\":\"50\",\"name\":\"addr\",\"span\":\"{\\\"lo\\\":382,\\\"hi\\\":386}\"}" - - Literal: - Integer: - - U64 - - "0" - - span: - lo: 388 - hi: 392 - - 51 - span: - lo: 346 - hi: 393 - id: 52 - span: - lo: 334 - hi: 393 - id: 53 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"54\",\"name\":\"c\",\"span\":\"{\\\"lo\\\":407,\\\"hi\\\":408}\"}" - type_: - Integer: U32 - value: - Access: - AssociatedFunction: - variant: "{\"id\":\"55\",\"name\":\"Mapping\",\"span\":\"{\\\"lo\\\":415,\\\"hi\\\":422}\"}" - name: "{\"id\":\"56\",\"name\":\"contains\",\"span\":\"{\\\"lo\\\":424,\\\"hi\\\":432}\"}" - arguments: - - Locator: - program: "{\"name\":\"hello\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"59\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":439,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":443}\\\\\\\"}\\\"\"}" - name: foo - span: - lo: 433 - hi: 447 - id: 60 - - Identifier: "{\"id\":\"61\",\"name\":\"addr\",\"span\":\"{\\\"lo\\\":449,\\\"hi\\\":453}\"}" - span: - lo: 415 - hi: 454 - id: 62 - span: - lo: 403 - hi: 454 - id: 63 - span: - lo: 151 - hi: 461 - id: 64 - span: - lo: 120 - hi: 461 - id: 65 - span: - lo: 20 - hi: 463 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[[outputs.imports.hello]] + +[outputs.imports.hello.imports] + +[outputs.imports.hello.stubs] + +[outputs.imports.hello.program_scopes] + +[[outputs.imports.hello]] +lo = 1 +hi = 19 + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"2\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "main", + { annotations = [], variant = "AsyncTransition", identifier = '{"id":"3","name":"main","span":"{\"lo\":61,\"hi\":65}"}', input = [], output = [], output_type = "Unit", id = 10, block = { id = 9, statements = [ + { Definition = { declaration_type = "Let", id = 6, place = { Identifier = '{"id":"4","name":"x","span":"{\"lo\":82,\"hi\":83}"}' }, type_ = { Integer = "U8" }, value = { Literal = { Integer = [ + "U8", + "1", + { span = { lo = 89, hi = 92 } }, + 5, +] } }, span = { lo = 78, hi = 92 } } }, + { Return = { id = 8, expression = { Unit = { id = 7, span = { lo = 108, hi = 109 } } }, span = { lo = 102, hi = 109 } } }, +], span = { lo = 68, hi = 115 } }, span = { lo = 44, hi = 115 } }, +], + [ + "finalize_main", + { annotations = [], variant = "AsyncFunction", identifier = '{"id":"11","name":"finalize_main","span":"{\"lo\":135,\"hi\":148}"}', input = [], output = [], output_type = "Unit", id = 65, block = { id = 64, statements = [ + { Expression = { id = 23, expression = { Access = { AssociatedFunction = { variant = '{"id":"12","name":"Mapping","span":"{\"lo\":161,\"hi\":168}"}', name = '{"id":"13","name":"set","span":"{\"lo\":170,\"hi\":173}"}', id = 22, arguments = [ + { Locator = { program = '{"name":"hello","network":"\"{\\\"id\\\":\\\"16\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":180,\\\\\\\"hi\\\\\\\":184}\\\"}\""}', name = "counter", id = 17, span = { lo = 174, hi = 192 } } }, + { Identifier = '{"id":"18","name":"addr","span":"{\"lo\":194,\"hi\":198}"}' }, + { Binary = { op = "Add", id = 21, left = { Identifier = '{"id":"19","name":"current_value","span":"{\"lo\":200,\"hi\":213}"}' }, right = { Literal = { Integer = [ + "U64", + "1", + { span = { lo = 216, hi = 220 } }, + 20, +] } }, span = { lo = 200, hi = 220 } } }, +], span = { lo = 161, hi = 221 } } } }, span = { lo = 161, hi = 222 } } }, + { Expression = { id = 32, expression = { Access = { AssociatedFunction = { variant = '{"id":"24","name":"Mapping","span":"{\"lo\":231,\"hi\":238}"}', name = '{"id":"25","name":"remove","span":"{\"lo\":240,\"hi\":246}"}', id = 31, arguments = [ + { Locator = { program = '{"name":"hello","network":"\"{\\\"id\\\":\\\"28\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":253,\\\\\\\"hi\\\\\\\":257}\\\"}\""}', name = "foo", id = 29, span = { lo = 247, hi = 261 } } }, + { Identifier = '{"id":"30","name":"addr","span":"{\"lo\":263,\"hi\":267}"}' }, +], span = { lo = 231, hi = 268 } } } }, span = { lo = 231, hi = 269 } } }, + { Definition = { declaration_type = "Let", id = 42, place = { Identifier = '{"id":"33","name":"a","span":"{\"lo\":282,\"hi\":283}"}' }, type_ = { Integer = "U32" }, value = { Access = { AssociatedFunction = { variant = '{"id":"34","name":"Mapping","span":"{\"lo\":290,\"hi\":297}"}', name = '{"id":"35","name":"get","span":"{\"lo\":299,\"hi\":302}"}', id = 41, arguments = [ + { Locator = { program = '{"name":"hello","network":"\"{\\\"id\\\":\\\"38\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":309,\\\\\\\"hi\\\\\\\":313}\\\"}\""}', name = "foo", id = 39, span = { lo = 303, hi = 317 } } }, + { Identifier = '{"id":"40","name":"addr","span":"{\"lo\":319,\"hi\":323}"}' }, +], span = { lo = 290, hi = 324 } } } }, span = { lo = 278, hi = 324 } } }, + { Definition = { declaration_type = "Let", id = 53, place = { Identifier = '{"id":"43","name":"b","span":"{\"lo\":338,\"hi\":339}"}' }, type_ = { Integer = "U32" }, value = { Access = { AssociatedFunction = { variant = '{"id":"44","name":"Mapping","span":"{\"lo\":346,\"hi\":353}"}', name = '{"id":"45","name":"get_or_use","span":"{\"lo\":355,\"hi\":365}"}', id = 52, arguments = [ + { Locator = { program = '{"name":"hello","network":"\"{\\\"id\\\":\\\"48\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":372,\\\\\\\"hi\\\\\\\":376}\\\"}\""}', name = "foo", id = 49, span = { lo = 366, hi = 380 } } }, + { Identifier = '{"id":"50","name":"addr","span":"{\"lo\":382,\"hi\":386}"}' }, + { Literal = { Integer = [ + "U64", + "0", + { span = { lo = 388, hi = 392 } }, + 51, +] } }, +], span = { lo = 346, hi = 393 } } } }, span = { lo = 334, hi = 393 } } }, + { Definition = { declaration_type = "Let", id = 63, place = { Identifier = '{"id":"54","name":"c","span":"{\"lo\":407,\"hi\":408}"}' }, type_ = { Integer = "U32" }, value = { Access = { AssociatedFunction = { variant = '{"id":"55","name":"Mapping","span":"{\"lo\":415,\"hi\":422}"}', name = '{"id":"56","name":"contains","span":"{\"lo\":424,\"hi\":432}"}', id = 62, arguments = [ + { Locator = { program = '{"name":"hello","network":"\"{\\\"id\\\":\\\"59\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":439,\\\\\\\"hi\\\\\\\":443}\\\"}\""}', name = "foo", id = 60, span = { lo = 433, hi = 447 } } }, + { Identifier = '{"id":"61","name":"addr","span":"{\"lo\":449,\"hi\":453}"}' }, +], span = { lo = 415, hi = 454 } } } }, span = { lo = 403, hi = 454 } } }, +], span = { lo = 151, hi = 461 } }, span = { lo = 120, hi = 461 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 20 +hi = 463 diff --git a/tests/expectations/parser/program/hex_eof.out b/tests/expectations/parser/program/hex_eof.out index 6ca933bc1d..ed8e0da594 100644 --- a/tests/expectations/parser/program/hex_eof.out +++ b/tests/expectations/parser/program/hex_eof.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> test:4:29\n |\n 4 | function main() { let a = 0x}\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> test:4:29 + | + 4 | function main() { let a = 0x} + | ^"""] diff --git a/tests/expectations/parser/program/illegal_import_fail.out b/tests/expectations/parser/program/illegal_import_fail.out index 0301ad582c..dfe21c130a 100644 --- a/tests/expectations/parser/program/illegal_import_fail.out +++ b/tests/expectations/parser/program/illegal_import_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'import', 'program' -- found 'stub'\n --> test:3:1\n |\n 3 | stub credits.aleo {\n | ^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'import', 'program' -- found 'stub' + --> test:3:1 + | + 3 | stub credits.aleo { + | ^^^^"""] diff --git a/tests/expectations/parser/program/import.out b/tests/expectations/parser/program/import.out index b7d7d51964..f9b2ce1f3a 100644 --- a/tests/expectations/parser/program/import.out +++ b/tests/expectations/parser/program/import.out @@ -1,58 +1,37 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: - hello: - - imports: {} - stubs: {} - program_scopes: {} - - lo: 1 - hi: 19 - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"2\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - main - - annotations: [] - variant: Function - identifier: "{\"id\":\"3\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":53,\\\"hi\\\":57}\"}" - input: [] - output: [] - output_type: Unit - block: - statements: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":74,\\\"hi\\\":75}\"}" - type_: - Integer: U8 - value: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 81 - hi: 84 - - 5 - span: - lo: 70 - hi: 84 - id: 6 - span: - lo: 60 - hi: 91 - id: 7 - span: - lo: 44 - hi: 91 - id: 8 - span: - lo: 20 - hi: 93 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[[outputs.imports.hello]] + +[outputs.imports.hello.imports] + +[outputs.imports.hello.stubs] + +[outputs.imports.hello.program_scopes] + +[[outputs.imports.hello]] +lo = 1 +hi = 19 + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"2\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "main", + { annotations = [], variant = "Function", identifier = '{"id":"3","name":"main","span":"{\"lo\":53,\"hi\":57}"}', input = [], output = [], output_type = "Unit", id = 8, block = { id = 7, statements = [{ Definition = { declaration_type = "Let", id = 6, place = { Identifier = '{"id":"4","name":"x","span":"{\"lo\":74,\"hi\":75}"}' }, type_ = { Integer = "U8" }, value = { Literal = { Integer = [ + "U8", + "1", + { span = { lo = 81, hi = 84 } }, + 5, +] } }, span = { lo = 70, hi = 84 } } }], span = { lo = 60, hi = 91 } }, span = { lo = 44, hi = 91 } }, +]] + +[outputs.program_scopes.test.span] +lo = 20 +hi = 93 diff --git a/tests/expectations/parser/program/import_fail.out b/tests/expectations/parser/program/import_fail.out index f31d481e40..25e79dd9d0 100644 --- a/tests/expectations/parser/program/import_fail.out +++ b/tests/expectations/parser/program/import_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370028]: Invalid network identifier. The only supported identifier is `.aleo`.\n --> test:2:14\n |\n 2 | import hello.leo;\n | ^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370028]: Invalid network identifier. The only supported identifier is `.aleo`. + --> test:2:14 + | + 2 | import hello.leo; + | ^^^"""] diff --git a/tests/expectations/parser/program/locator_expression_fail.out b/tests/expectations/parser/program/locator_expression_fail.out index f1895e4399..0090da8f95 100644 --- a/tests/expectations/parser/program/locator_expression_fail.out +++ b/tests/expectations/parser/program/locator_expression_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found 'mapping'\n --> test:7:16\n |\n 7 | let a: mapping = relay.aleo/users;\n | ^^^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found 'mapping' + --> test:7:16 + | + 7 | let a: mapping = relay.aleo/users; + | ^^^^^^^"""] diff --git a/tests/expectations/parser/program/mapping.out b/tests/expectations/parser/program/mapping.out index cc60b0046b..dcc19a4848 100644 --- a/tests/expectations/parser/program/mapping.out +++ b/tests/expectations/parser/program/mapping.out @@ -1,39 +1,28 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: - - - balances - - identifier: "{\"id\":\"2\",\"name\":\"balances\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":46}\"}" - key_type: Address - value_type: - Integer: U128 - span: - lo: 30 - hi: 64 - id: 3 - - - foo - - identifier: "{\"id\":\"4\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":82,\\\"hi\\\":85}\"}" - key_type: - Composite: - id: "{\"id\":\"5\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":87,\\\"hi\\\":90}\"}" - program: test - value_type: - Composite: - id: "{\"id\":\"6\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":94,\\\"hi\\\":97}\"}" - program: test - span: - lo: 74 - hi: 98 - id: 7 - functions: [] - span: - lo: 2 - hi: 100 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [ + [ + "balances", + { identifier = '{"id":"2","name":"balances","span":"{\"lo\":38,\"hi\":46}"}', key_type = "Address", id = 3, value_type = { Integer = "U128" }, span = { lo = 30, hi = 64 } }, +], + [ + "foo", + { identifier = '{"id":"4","name":"foo","span":"{\"lo\":82,\"hi\":85}"}', id = 7, key_type = { Composite = { id = '{"id":"5","name":"bar","span":"{\"lo\":87,\"hi\":90}"}', program = "test" } }, value_type = { Composite = { id = '{"id":"6","name":"baz","span":"{\"lo\":94,\"hi\":97}"}', program = "test" } }, span = { lo = 74, hi = 98 } }, +], +] +functions = [] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 100 diff --git a/tests/expectations/parser/program/mapping_fail.out b/tests/expectations/parser/program/mapping_fail.out index c675f52513..b0cb7ac795 100644 --- a/tests/expectations/parser/program/mapping_fail.out +++ b/tests/expectations/parser/program/mapping_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'mappin'\n --> test:4:5\n |\n 4 | mappin balances: address => u128;\n | ^^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'const', 'struct', 'record', 'mapping', '@', 'async', 'function', 'transition', 'inline', '}' -- found 'mappin' + --> test:4:5 + | + 4 | mappin balances: address => u128; + | ^^^^^^"""] diff --git a/tests/expectations/parser/program/network_id.out b/tests/expectations/parser/program/network_id.out index 4ad5c61a1f..b9ccf598c3 100644 --- a/tests/expectations/parser/program/network_id.out +++ b/tests/expectations/parser/program/network_id.out @@ -1,71 +1,33 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - main - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":38}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}" - mode: None - type_: Address - span: - lo: 39 - hi: 40 - id: 4 - output: [] - output_type: Unit - block: - statements: - - Assert: - variant: - AssertEq: - - Access: - Member: - inner: - Identifier: "{\"id\":\"5\",\"name\":\"network\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":78}\"}" - name: "{\"id\":\"6\",\"name\":\"id\",\"span\":\"{\\\"lo\\\":79,\\\"hi\\\":81}\"}" - span: - lo: 71 - hi: 81 - id: 7 - - Literal: - Integer: - - U32 - - "1" - - span: - lo: 83 - hi: 87 - - 8 - span: - lo: 61 - hi: 70 - id: 9 - - Return: - expression: - Identifier: "{\"id\":\"10\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":105,\\\"hi\\\":106}\"}" - span: - lo: 98 - hi: 107 - id: 11 - span: - lo: 51 - hi: 113 - id: 12 - span: - lo: 25 - hi: 113 - id: 13 - span: - lo: 1 - hi: 115 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "main", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"main","span":"{\"lo\":34,\"hi\":38}"}', output = [], output_type = "Unit", id = 13, input = [{ identifier = '{"id":"3","name":"a","span":"{\"lo\":39,\"hi\":40}"}', mode = "None", type_ = "Address", id = 4, span = { lo = 39, hi = 40 } }], block = { id = 12, statements = [ + { Assert = { id = 9, variant = { AssertEq = [ + { Access = { Member = { name = '{"id":"6","name":"id","span":"{\"lo\":79,\"hi\":81}"}', id = 7, inner = { Identifier = '{"id":"5","name":"network","span":"{\"lo\":71,\"hi\":78}"}' }, span = { lo = 71, hi = 81 } } } }, + { Literal = { Integer = [ + "U32", + "1", + { span = { lo = 83, hi = 87 } }, + 8, +] } }, +] }, span = { lo = 61, hi = 70 } } }, + { Return = { id = 11, expression = { Identifier = '{"id":"10","name":"a","span":"{\"lo\":105,\"hi\":106}"}' }, span = { lo = 98, hi = 107 } } }, +], span = { lo = 51, hi = 113 } }, span = { lo = 25, hi = 113 } }, +]] + +[outputs.program_scopes.test.span] +lo = 1 +hi = 115 diff --git a/tests/expectations/parser/program/non_aleo_network_fail.out b/tests/expectations/parser/program/non_aleo_network_fail.out index 8d9d86d612..7e414eb762 100644 --- a/tests/expectations/parser/program/non_aleo_network_fail.out +++ b/tests/expectations/parser/program/non_aleo_network_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370028]: Invalid network identifier. The only supported identifier is `.aleo`.\n --> test:3:14\n |\n 3 | program test.eth {\n | ^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370028]: Invalid network identifier. The only supported identifier is `.aleo`. + --> test:3:14 + | + 3 | program test.eth { + | ^^^"""] diff --git a/tests/expectations/parser/program/pipe_eof.out b/tests/expectations/parser/program/pipe_eof.out index bbb1309aa2..06e812b3f4 100644 --- a/tests/expectations/parser/program/pipe_eof.out +++ b/tests/expectations/parser/program/pipe_eof.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> test:5:15\n |\n 5 | let x = 1u8;\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> test:5:15 + | + 5 | let x = 1u8; + | ^"""] diff --git a/tests/expectations/parser/program/q_eof.out b/tests/expectations/parser/program/q_eof.out index 9fe147e531..c42ae113e9 100644 --- a/tests/expectations/parser/program/q_eof.out +++ b/tests/expectations/parser/program/q_eof.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370013]: Expected a closed string but found `}\n`." +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370013]: Expected a closed string but found `} +`."""] diff --git a/tests/expectations/parser/program/record_with_visibility.out b/tests/expectations/parser/program/record_with_visibility.out index 2835d56339..14695e7e33 100644 --- a/tests/expectations/parser/program/record_with_visibility.out +++ b/tests/expectations/parser/program/record_with_visibility.out @@ -1,32 +1,22 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: - - - token - - identifier: "{\"id\":\"2\",\"name\":\"token\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":38}\"}" - members: - - mode: Private - identifier: "{\"id\":\"3\",\"name\":\"owner\",\"span\":\"{\\\"lo\\\":57,\\\"hi\\\":62}\"}" - type_: Address - span: - lo: 57 - hi: 71 - id: 4 - external: test - is_record: true - span: - lo: 26 - hi: 78 - id: 5 - mappings: [] - functions: [] - span: - lo: 2 - hi: 80 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [[ + "token", + { identifier = '{"id":"2","name":"token","span":"{\"lo\":33,\"hi\":38}"}', external = "test", is_record = true, id = 5, members = [{ mode = "Private", identifier = '{"id":"3","name":"owner","span":"{\"lo\":57,\"hi\":62}"}', type_ = "Address", id = 4, span = { lo = 57, hi = 71 } }], span = { lo = 26, hi = 78 } }, +]] +mappings = [] +functions = [] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 80 diff --git a/tests/expectations/parser/program/special_address.out b/tests/expectations/parser/program/special_address.out index f444d7d4f9..8924e6940a 100644 --- a/tests/expectations/parser/program/special_address.out +++ b/tests/expectations/parser/program/special_address.out @@ -1,109 +1,51 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: - - - Yo - - identifier: "{\"id\":\"2\",\"name\":\"Yo\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":36}\"}" - key_type: Address - value_type: - Integer: U32 - span: - lo: 26 - hi: 53 - id: 3 - functions: - - - main - - annotations: [] - variant: Transition - identifier: "{\"id\":\"4\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":70,\\\"hi\\\":74}\"}" - input: - - identifier: "{\"id\":\"5\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":75,\\\"hi\\\":76}\"}" - mode: None - type_: Address - span: - lo: 75 - hi: 76 - id: 6 - output: [] - output_type: Unit - block: - statements: - - Assert: - variant: - AssertEq: - - Identifier: "{\"id\":\"7\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":107,\\\"hi\\\":108}\"}" - - Access: - Member: - inner: - Identifier: "{\"id\":\"8\",\"name\":\"self\",\"span\":\"{\\\"lo\\\":110,\\\"hi\\\":114}\"}" - name: "{\"id\":\"9\",\"name\":\"caller\",\"span\":\"{\\\"lo\\\":115,\\\"hi\\\":121}\"}" - span: - lo: 110 - hi: 121 - id: 10 - span: - lo: 97 - hi: 106 - id: 11 - - Assert: - variant: - AssertEq: - - Identifier: "{\"id\":\"12\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":142,\\\"hi\\\":143}\"}" - - Literal: - Address: - - test.aleo - - span: - lo: 145 - hi: 157 - - 14 - span: - lo: 132 - hi: 141 - id: 15 - - Assert: - variant: - AssertEq: - - Identifier: "{\"id\":\"16\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":178,\\\"hi\\\":179}\"}" - - Literal: - Address: - - hello.aleo - - span: - lo: 181 - hi: 186 - - 18 - span: - lo: 168 - hi: 177 - id: 19 - - Return: - expression: - Literal: - Address: - - foo.aleo - - span: - lo: 209 - hi: 212 - - 21 - span: - lo: 202 - hi: 218 - id: 22 - span: - lo: 87 - hi: 224 - id: 23 - span: - lo: 59 - hi: 224 - id: 24 - span: - lo: 2 - hi: 226 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [[ + "Yo", + { identifier = '{"id":"2","name":"Yo","span":"{\"lo\":34,\"hi\":36}"}', key_type = "Address", id = 3, value_type = { Integer = "U32" }, span = { lo = 26, hi = 53 } }, +]] +functions = [[ + "main", + { annotations = [], variant = "Transition", identifier = '{"id":"4","name":"main","span":"{\"lo\":70,\"hi\":74}"}', output = [], output_type = "Unit", id = 24, input = [{ identifier = '{"id":"5","name":"a","span":"{\"lo\":75,\"hi\":76}"}', mode = "None", type_ = "Address", id = 6, span = { lo = 75, hi = 76 } }], block = { id = 23, statements = [ + { Assert = { id = 11, variant = { AssertEq = [ + { Identifier = '{"id":"7","name":"a","span":"{\"lo\":107,\"hi\":108}"}' }, + { Access = { Member = { name = '{"id":"9","name":"caller","span":"{\"lo\":115,\"hi\":121}"}', id = 10, inner = { Identifier = '{"id":"8","name":"self","span":"{\"lo\":110,\"hi\":114}"}' }, span = { lo = 110, hi = 121 } } } }, +] }, span = { lo = 97, hi = 106 } } }, + { Assert = { id = 15, variant = { AssertEq = [ + { Identifier = '{"id":"12","name":"a","span":"{\"lo\":142,\"hi\":143}"}' }, + { Literal = { Address = [ + "test.aleo", + { span = { lo = 145, hi = 157 } }, + 14, +] } }, +] }, span = { lo = 132, hi = 141 } } }, + { Assert = { id = 19, variant = { AssertEq = [ + { Identifier = '{"id":"16","name":"a","span":"{\"lo\":178,\"hi\":179}"}' }, + { Literal = { Address = [ + "hello.aleo", + { span = { lo = 181, hi = 186 } }, + 18, +] } }, +] }, span = { lo = 168, hi = 177 } } }, + { Return = { id = 22, expression = { Literal = { Address = [ + "foo.aleo", + { span = { lo = 209, hi = 212 } }, + 21, +] } }, span = { lo = 202, hi = 218 } } }, +], span = { lo = 87, hi = 224 } }, span = { lo = 59, hi = 224 } }, +]] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 226 diff --git a/tests/expectations/parser/program/sq_eof.out b/tests/expectations/parser/program/sq_eof.out index 01a321631c..34aae8ecd1 100644 --- a/tests/expectations/parser/program/sq_eof.out +++ b/tests/expectations/parser/program/sq_eof.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `'}`.\n" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370016]: Could not lex the following content: `'}`. +"""] diff --git a/tests/expectations/parser/program/struct_with_visibility.out b/tests/expectations/parser/program/struct_with_visibility.out index f678596d92..b0398f4e1d 100644 --- a/tests/expectations/parser/program/struct_with_visibility.out +++ b/tests/expectations/parser/program/struct_with_visibility.out @@ -1,47 +1,26 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: - - - foo - - identifier: "{\"id\":\"2\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":36}\"}" - members: - - mode: Public - identifier: "{\"id\":\"3\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":54,\\\"hi\\\":57}\"}" - type_: Address - span: - lo: 54 - hi: 66 - id: 4 - - mode: Private - identifier: "{\"id\":\"5\",\"name\":\"floo\",\"span\":\"{\\\"lo\\\":84,\\\"hi\\\":88}\"}" - type_: - Integer: U64 - span: - lo: 84 - hi: 93 - id: 6 - - mode: None - identifier: "{\"id\":\"7\",\"name\":\"data\",\"span\":\"{\\\"lo\\\":103,\\\"hi\\\":107}\"}" - type_: Boolean - span: - lo: 103 - hi: 113 - id: 8 - external: ~ - is_record: false - span: - lo: 26 - hi: 120 - id: 9 - mappings: [] - functions: [] - span: - lo: 2 - hi: 122 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [[ + "foo", + { identifier = '{"id":"2","name":"foo","span":"{\"lo\":33,\"hi\":36}"}', is_record = false, id = 9, members = [ + { mode = "Public", identifier = '{"id":"3","name":"baz","span":"{\"lo\":54,\"hi\":57}"}', type_ = "Address", id = 4, span = { lo = 54, hi = 66 } }, + { mode = "Private", identifier = '{"id":"5","name":"floo","span":"{\"lo\":84,\"hi\":88}"}', id = 6, type_ = { Integer = "U64" }, span = { lo = 84, hi = 93 } }, + { mode = "None", identifier = '{"id":"7","name":"data","span":"{\"lo\":103,\"hi\":107}"}', type_ = "Boolean", id = 8, span = { lo = 103, hi = 113 } }, +], span = { lo = 26, hi = 120 } }, +]] +mappings = [] +functions = [] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 122 diff --git a/tests/expectations/parser/program/stub_fail.out b/tests/expectations/parser/program/stub_fail.out index 0301ad582c..dfe21c130a 100644 --- a/tests/expectations/parser/program/stub_fail.out +++ b/tests/expectations/parser/program/stub_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'import', 'program' -- found 'stub'\n --> test:3:1\n |\n 3 | stub credits.aleo {\n | ^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'import', 'program' -- found 'stub' + --> test:3:1 + | + 3 | stub credits.aleo { + | ^^^^"""] diff --git a/tests/expectations/parser/program/tilde_eof.out b/tests/expectations/parser/program/tilde_eof.out index d78406bfac..00f4a2be25 100644 --- a/tests/expectations/parser/program/tilde_eof.out +++ b/tests/expectations/parser/program/tilde_eof.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `~}`.\n" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370016]: Could not lex the following content: `~}`. +"""] diff --git a/tests/expectations/parser/program/unclosed_unicode_eof_fail.out b/tests/expectations/parser/program/unclosed_unicode_eof_fail.out index d2ffeb2118..2a93719ded 100644 --- a/tests/expectations/parser/program/unclosed_unicode_eof_fail.out +++ b/tests/expectations/parser/program/unclosed_unicode_eof_fail.out @@ -1,5 +1,5 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370016]: Could not lex the following content: `'\\u}`.\n" +namespace = "Parse" +expectation = "Fail" +outputs = [''' +Error [EPAR0370016]: Could not lex the following content: `'\u}`. +'''] diff --git a/tests/expectations/parser/serialize/one_plus_one.out b/tests/expectations/parser/serialize/one_plus_one.out index 7ab83fc26c..2ad3f03ed6 100644 --- a/tests/expectations/parser/serialize/one_plus_one.out +++ b/tests/expectations/parser/serialize/one_plus_one.out @@ -1,47 +1,26 @@ ---- -namespace: Serialize -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - main - - annotations: [] - variant: Function - identifier: "{\"id\":\"2\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":39}\"}" - input: [] - output: - - mode: None - type_: - Integer: U8 - id: 3 - output_type: - Integer: U8 - block: - statements: - - Return: - expression: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - 4 - right: - Literal: - Integer: - - U8 - - "1" - - 5 - op: Add - id: 6 - id: 7 - id: 8 - id: 9 +namespace = "Serialize" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [[ + "main", + { annotations = [], variant = "Function", identifier = '{"id":"2","name":"main","span":"{\"lo\":35,\"hi\":39}"}', input = [], id = 9, output = [{ mode = "None", id = 3, type_ = { Integer = "U8" } }], output_type = { Integer = "U8" }, block = { id = 8, statements = [{ Return = { id = 7, expression = { Binary = { op = "Add", id = 6, left = { Literal = { Integer = [ + "U8", + "1", + 4, +] } }, right = { Literal = { Integer = [ + "U8", + "1", + 5, +] } } } } } }] } }, +]] diff --git a/tests/expectations/parser/serialize/parser_error.out b/tests/expectations/parser/serialize/parser_error.out index e68253302d..3a94cd563e 100644 --- a/tests/expectations/parser/serialize/parser_error.out +++ b/tests/expectations/parser/serialize/parser_error.out @@ -1,5 +1,8 @@ ---- -namespace: Serialize -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'import', 'program' -- found 'invalid'\n --> test:3:1\n |\n 3 | invalid\n | ^^^^^^^" +namespace = "Serialize" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'import', 'program' -- found 'invalid' + --> test:3:1 + | + 3 | invalid + | ^^^^^^^"""] diff --git a/tests/expectations/parser/statement/assert.out b/tests/expectations/parser/statement/assert.out index 7be38ce360..1d2fe8fcdd 100644 --- a/tests/expectations/parser/statement/assert.out +++ b/tests/expectations/parser/statement/assert.out @@ -1,71 +1,99 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Assert: - variant: - AssertEq: - - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":11}\"}" - - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - span: - lo: 0 - hi: 9 - id: 2 - - Assert: - variant: - AssertEq: - - Struct: - name: "{\"id\":\"0\",\"name\":\"Foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}" - members: - - identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - expression: - Identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" - span: - lo: 16 - hi: 20 - id: 3 - span: - lo: 10 - hi: 22 - id: 4 - - Struct: - name: "{\"id\":\"5\",\"name\":\"Foo\",\"span\":\"{\\\"lo\\\":24,\\\"hi\\\":27}\"}" - members: - - identifier: "{\"id\":\"6\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":30,\\\"hi\\\":31}\"}" - expression: - Identifier: "{\"id\":\"7\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}" - span: - lo: 30 - hi: 34 - id: 8 - span: - lo: 24 - hi: 36 - id: 9 - span: - lo: 0 - hi: 9 - id: 10 - - Assert: - variant: - AssertNeq: - - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" - - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}" - span: - lo: 0 - hi: 10 - id: 2 - - Assert: - variant: - Assert: - Literal: - Boolean: - - false - - span: - lo: 7 - hi: 12 - - 0 - span: - lo: 0 - hi: 6 - id: 1 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Assert] +id = 2 + +[[outputs.Assert.variant.AssertEq]] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":10,\"hi\":11}"}' + +[[outputs.Assert.variant.AssertEq]] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Assert.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Assert] +id = 10 + +[[outputs.Assert.variant.AssertEq]] + +[outputs.Assert.variant.AssertEq.Struct] +name = '{"id":"0","name":"Foo","span":"{\"lo\":10,\"hi\":13}"}' +id = 4 + +[[outputs.Assert.variant.AssertEq.Struct.members]] +identifier = '{"id":"1","name":"x","span":"{\"lo\":16,\"hi\":17}"}' +id = 3 + +[outputs.Assert.variant.AssertEq.Struct.members.expression] +Identifier = '{"id":"2","name":"x","span":"{\"lo\":19,\"hi\":20}"}' + +[outputs.Assert.variant.AssertEq.Struct.members.span] +lo = 16 +hi = 20 + +[outputs.Assert.variant.AssertEq.Struct.span] +lo = 10 +hi = 22 + +[[outputs.Assert.variant.AssertEq]] + +[outputs.Assert.variant.AssertEq.Struct] +name = '{"id":"5","name":"Foo","span":"{\"lo\":24,\"hi\":27}"}' +id = 9 + +[[outputs.Assert.variant.AssertEq.Struct.members]] +identifier = '{"id":"6","name":"x","span":"{\"lo\":30,\"hi\":31}"}' +id = 8 + +[outputs.Assert.variant.AssertEq.Struct.members.expression] +Identifier = '{"id":"7","name":"y","span":"{\"lo\":33,\"hi\":34}"}' + +[outputs.Assert.variant.AssertEq.Struct.members.span] +lo = 30 +hi = 34 + +[outputs.Assert.variant.AssertEq.Struct.span] +lo = 24 +hi = 36 + +[outputs.Assert.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Assert] +id = 2 + +[[outputs.Assert.variant.AssertNeq]] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":11,\"hi\":12}"}' + +[[outputs.Assert.variant.AssertNeq]] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":14,\"hi\":15}"}' + +[outputs.Assert.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Assert] +id = 1 + +[outputs.Assert.variant.Assert.Literal] +Boolean = [ + false, + { span = { lo = 7, hi = 12 } }, + 0, +] + +[outputs.Assert.span] +lo = 0 +hi = 6 diff --git a/tests/expectations/parser/statement/assign.out b/tests/expectations/parser/statement/assign.out index 08f8dfd801..d65f5023d4 100644 --- a/tests/expectations/parser/statement/assign.out +++ b/tests/expectations/parser/statement/assign.out @@ -1,48 +1,66 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":8}\"}" - span: - lo: 0 - hi: 8 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - op: Add - span: - lo: 4 - hi: 7 - id: 3 - span: - lo: 0 - hi: 7 - id: 5 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - value: - Call: - function: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - arguments: [] - program: ~ - span: - lo: 4 - hi: 7 - id: 2 - span: - lo: 0 - hi: 7 - id: 4 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"expr","span":"{\"lo\":4,\"hi\":8}"}' + +[outputs.Assign.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Assign] +id = 5 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Assign.value.Binary] +op = "Add" +id = 3 + +[outputs.Assign.value.Binary.left] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Assign.value.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Assign.value.Binary.span] +lo = 4 +hi = 7 + +[outputs.Assign.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Assign] +id = 4 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Assign.value.Call] +arguments = [] +id = 2 + +[outputs.Assign.value.Call.function] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Assign.value.Call.span] +lo = 4 +hi = 7 + +[outputs.Assign.span] +lo = 0 +hi = 7 diff --git a/tests/expectations/parser/statement/async_fail.out b/tests/expectations/parser/statement/async_fail.out index 6590d5589e..f529272413 100644 --- a/tests/expectations/parser/statement/async_fail.out +++ b/tests/expectations/parser/statement/async_fail.out @@ -1,5 +1,8 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'async'\n --> test:1:1\n |\n 1 | async finalize(foo);\n | ^^^^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [""" +Error [EPAR0370009]: unexpected string: expected 'expression', found 'async' + --> test:1:1 + | + 1 | async finalize(foo); + | ^^^^^"""] diff --git a/tests/expectations/parser/statement/block.out b/tests/expectations/parser/statement/block.out index 214d41ce1e..1d88b75e14 100644 --- a/tests/expectations/parser/statement/block.out +++ b/tests/expectations/parser/statement/block.out @@ -1,102 +1,137 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Block: - statements: [] - span: - lo: 0 - hi: 2 - id: 0 - - Block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 9 - hi: 12 - - 0 - span: - lo: 2 - hi: 13 - id: 1 - span: - lo: 0 - hi: 15 - id: 2 - - Block: - statements: - - Block: - statements: [] - span: - lo: 1 - hi: 3 - id: 0 - span: - lo: 0 - hi: 4 - id: 1 - - Block: - statements: - - Block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 11 - hi: 14 - - 0 - span: - lo: 4 - hi: 15 - id: 1 - span: - lo: 2 - hi: 17 - id: 2 - span: - lo: 0 - hi: 19 - id: 3 - - Block: - statements: - - Conditional: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - then: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 16 - hi: 19 - - 1 - span: - lo: 9 - hi: 20 - id: 2 - span: - lo: 7 - hi: 22 - id: 3 - otherwise: ~ - span: - lo: 2 - hi: 22 - id: 4 - span: - lo: 0 - hi: 24 - id: 5 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Block] +statements = [] +id = 0 + +[outputs.Block.span] +lo = 0 +hi = 2 + +[[outputs]] + +[outputs.Block] +id = 2 + +[[outputs.Block.statements]] + +[outputs.Block.statements.Return] +id = 1 + +[outputs.Block.statements.Return.expression.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 9, hi = 12 } }, + 0, +] + +[outputs.Block.statements.Return.span] +lo = 2 +hi = 13 + +[outputs.Block.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Block] +id = 1 + +[[outputs.Block.statements]] + +[outputs.Block.statements.Block] +statements = [] +id = 0 + +[outputs.Block.statements.Block.span] +lo = 1 +hi = 3 + +[outputs.Block.span] +lo = 0 +hi = 4 + +[[outputs]] + +[outputs.Block] +id = 3 + +[[outputs.Block.statements]] + +[outputs.Block.statements.Block] +id = 2 + +[[outputs.Block.statements.Block.statements]] + +[outputs.Block.statements.Block.statements.Return] +id = 1 + +[outputs.Block.statements.Block.statements.Return.expression.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 11, hi = 14 } }, + 0, +] + +[outputs.Block.statements.Block.statements.Return.span] +lo = 4 +hi = 15 + +[outputs.Block.statements.Block.span] +lo = 2 +hi = 17 + +[outputs.Block.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Block] +id = 5 + +[[outputs.Block.statements]] + +[outputs.Block.statements.Conditional] +id = 4 + +[outputs.Block.statements.Conditional.condition] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Block.statements.Conditional.then] +id = 3 + +[[outputs.Block.statements.Conditional.then.statements]] + +[outputs.Block.statements.Conditional.then.statements.Return] +id = 2 + +[outputs.Block.statements.Conditional.then.statements.Return.expression.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 16, hi = 19 } }, + 1, +] + +[outputs.Block.statements.Conditional.then.statements.Return.span] +lo = 9 +hi = 20 + +[outputs.Block.statements.Conditional.then.span] +lo = 7 +hi = 22 + +[outputs.Block.statements.Conditional.span] +lo = 2 +hi = 22 + +[outputs.Block.span] +lo = 0 +hi = 24 diff --git a/tests/expectations/parser/statement/conditional.out b/tests/expectations/parser/statement/conditional.out index 3a6ac60eca..5de2b678c6 100644 --- a/tests/expectations/parser/statement/conditional.out +++ b/tests/expectations/parser/statement/conditional.out @@ -1,169 +1,217 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Conditional: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":4}\"}" - then: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 14 - hi: 17 - - 1 - span: - lo: 7 - hi: 18 - id: 2 - span: - lo: 5 - hi: 20 - id: 3 - otherwise: ~ - span: - lo: 0 - hi: 20 - id: 4 - - Conditional: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - then: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 16 - hi: 19 - - 1 - span: - lo: 9 - hi: 20 - id: 2 - span: - lo: 7 - hi: 22 - id: 3 - otherwise: ~ - span: - lo: 0 - hi: 22 - id: 4 - - Conditional: - condition: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - then: - statements: [] - span: - lo: 7 - hi: 9 - id: 1 - otherwise: - Block: - statements: [] - span: - lo: 15 - hi: 17 - id: 2 - span: - lo: 0 - hi: 17 - id: 3 - - Conditional: - condition: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":4}\"}" - right: - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - op: Add - span: - lo: 3 - hi: 6 - id: 2 - then: - statements: [] - span: - lo: 7 - hi: 9 - id: 3 - otherwise: - Conditional: - condition: - Binary: - left: - Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}" - right: - Identifier: "{\"id\":\"5\",\"name\":\"z\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" - op: Add - span: - lo: 18 - hi: 21 - id: 6 - then: - statements: [] - span: - lo: 22 - hi: 24 - id: 7 - otherwise: - Block: - statements: [] - span: - lo: 30 - hi: 32 - id: 8 - span: - lo: 15 - hi: 32 - id: 9 - span: - lo: 0 - hi: 32 - id: 10 - - Conditional: - condition: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":4}\"}" - right: - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - op: Add - span: - lo: 3 - hi: 6 - id: 2 - then: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 16 - hi: 19 - - 3 - span: - lo: 9 - hi: 20 - id: 4 - span: - lo: 7 - hi: 22 - id: 5 - otherwise: ~ - span: - lo: 0 - hi: 22 - id: 6 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Conditional] +id = 4 + +[outputs.Conditional.condition] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":3,\"hi\":4}"}' + +[outputs.Conditional.then] +id = 3 + +[[outputs.Conditional.then.statements]] + +[outputs.Conditional.then.statements.Return] +id = 2 + +[outputs.Conditional.then.statements.Return.expression.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 14, hi = 17 } }, + 1, +] + +[outputs.Conditional.then.statements.Return.span] +lo = 7 +hi = 18 + +[outputs.Conditional.then.span] +lo = 5 +hi = 20 + +[outputs.Conditional.span] +lo = 0 +hi = 20 + +[[outputs]] + +[outputs.Conditional] +id = 4 + +[outputs.Conditional.condition] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Conditional.then] +id = 3 + +[[outputs.Conditional.then.statements]] + +[outputs.Conditional.then.statements.Return] +id = 2 + +[outputs.Conditional.then.statements.Return.expression.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 16, hi = 19 } }, + 1, +] + +[outputs.Conditional.then.statements.Return.span] +lo = 9 +hi = 20 + +[outputs.Conditional.then.span] +lo = 7 +hi = 22 + +[outputs.Conditional.span] +lo = 0 +hi = 22 + +[[outputs]] + +[outputs.Conditional] +id = 3 + +[outputs.Conditional.condition] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Conditional.then] +statements = [] +id = 1 + +[outputs.Conditional.then.span] +lo = 7 +hi = 9 + +[outputs.Conditional.otherwise.Block] +statements = [] +id = 2 + +[outputs.Conditional.otherwise.Block.span] +lo = 15 +hi = 17 + +[outputs.Conditional.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Conditional] +id = 10 + +[outputs.Conditional.condition.Binary] +op = "Add" +id = 2 + +[outputs.Conditional.condition.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":3,\"hi\":4}"}' + +[outputs.Conditional.condition.Binary.right] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Conditional.condition.Binary.span] +lo = 3 +hi = 6 + +[outputs.Conditional.then] +statements = [] +id = 3 + +[outputs.Conditional.then.span] +lo = 7 +hi = 9 + +[outputs.Conditional.otherwise.Conditional] +id = 9 + +[outputs.Conditional.otherwise.Conditional.condition.Binary] +op = "Add" +id = 6 + +[outputs.Conditional.otherwise.Conditional.condition.Binary.left] +Identifier = '{"id":"4","name":"x","span":"{\"lo\":18,\"hi\":19}"}' + +[outputs.Conditional.otherwise.Conditional.condition.Binary.right] +Identifier = '{"id":"5","name":"z","span":"{\"lo\":20,\"hi\":21}"}' + +[outputs.Conditional.otherwise.Conditional.condition.Binary.span] +lo = 18 +hi = 21 + +[outputs.Conditional.otherwise.Conditional.then] +statements = [] +id = 7 + +[outputs.Conditional.otherwise.Conditional.then.span] +lo = 22 +hi = 24 + +[outputs.Conditional.otherwise.Conditional.otherwise.Block] +statements = [] +id = 8 + +[outputs.Conditional.otherwise.Conditional.otherwise.Block.span] +lo = 30 +hi = 32 + +[outputs.Conditional.otherwise.Conditional.span] +lo = 15 +hi = 32 + +[outputs.Conditional.span] +lo = 0 +hi = 32 + +[[outputs]] + +[outputs.Conditional] +id = 6 + +[outputs.Conditional.condition.Binary] +op = "Add" +id = 2 + +[outputs.Conditional.condition.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":3,\"hi\":4}"}' + +[outputs.Conditional.condition.Binary.right] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Conditional.condition.Binary.span] +lo = 3 +hi = 6 + +[outputs.Conditional.then] +id = 5 + +[[outputs.Conditional.then.statements]] + +[outputs.Conditional.then.statements.Return] +id = 4 + +[outputs.Conditional.then.statements.Return.expression.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 16, hi = 19 } }, + 3, +] + +[outputs.Conditional.then.statements.Return.span] +lo = 9 +hi = 20 + +[outputs.Conditional.then.span] +lo = 7 +hi = 22 + +[outputs.Conditional.span] +lo = 0 +hi = 22 diff --git a/tests/expectations/parser/statement/conditional_fail.out b/tests/expectations/parser/statement/conditional_fail.out index 6282f02aa2..0b42898adb 100644 --- a/tests/expectations/parser/statement/conditional_fail.out +++ b/tests/expectations/parser/statement/conditional_fail.out @@ -1,5 +1,8 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:23\n |\n 1 | if true {} else let x = 2;\n | ^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found '=' + --> test:1:23 + | + 1 | if true {} else let x = 2; + | ^"""] diff --git a/tests/expectations/parser/statement/console_fail.out b/tests/expectations/parser/statement/console_fail.out index 185c1f36e3..f1b88b4842 100644 --- a/tests/expectations/parser/statement/console_fail.out +++ b/tests/expectations/parser/statement/console_fail.out @@ -1,16 +1,93 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370020]: Unicode bidi override code point encountered." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.log(1);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.test();\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.error(\"{}\", x);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.error(\"{}{}\", x, y);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.error(\"x\");\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.assert(true);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.assert_eq(1u32, 2u32);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.assert_neq(true, false);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.log(\"{}\", x);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.log(\"{}{}\", x, y);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console.log(\"x\");\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + "Error [EPAR0370020]: Unicode bidi override code point encountered.", + """ +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.log(1); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.""", + """ +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.test(); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.""", + ''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.error("{}", x); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.''', + ''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.error("{}{}", x, y); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.''', + ''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.error("x"); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.''', + """ +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.assert(true); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.""", + """ +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.assert_eq(1u32, 2u32); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.""", + """ +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.assert_neq(true, false); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.""", + ''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.log("{}", x); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.''', + ''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.log("{}{}", x, y); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.''', + ''' +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console.log("x"); + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.''', +] diff --git a/tests/expectations/parser/statement/definition.out b/tests/expectations/parser/statement/definition.out index 25a454a4a9..fc4ca6388f 100644 --- a/tests/expectations/parser/statement/definition.out +++ b/tests/expectations/parser/statement/definition.out @@ -1,315 +1,436 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U16 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: Add - span: - lo: 13 - hi: 16 - id: 3 - span: - lo: 0 - hi: 16 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Call: - function: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - arguments: [] - program: ~ - span: - lo: 12 - hi: 15 - id: 2 - span: - lo: 0 - hi: 15 - id: 3 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: String - value: - Identifier: "{\"id\":\"1\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":20}\"}" - span: - lo: 0 - hi: 20 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: I8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: I16 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: Add - span: - lo: 13 - hi: 16 - id: 3 - span: - lo: 0 - hi: 16 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: I8 - value: - Call: - function: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - arguments: [] - program: ~ - span: - lo: 12 - hi: 15 - id: 2 - span: - lo: 0 - hi: 15 - id: 3 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: String - value: - Identifier: "{\"id\":\"1\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":20}\"}" - span: - lo: 0 - hi: 20 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Composite: - id: "{\"id\":\"1\",\"name\":\"credits\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":14}\"}" - program: ~ - value: - Call: - function: - Identifier: "{\"id\":\"3\",\"name\":\"mint_private\",\"span\":\"{\\\"lo\\\":30,\\\"hi\\\":42}\"}" - arguments: - - Literal: - Integer: - - U64 - - "100" - - span: - lo: 43 - hi: 49 - - 4 - program: credits - span: - lo: 17 - hi: 50 - id: 5 - span: - lo: 0 - hi: 50 - id: 6 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Composite: - id: "{\"id\":\"2\",\"name\":\"credits\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":27}\"}" - program: credits - value: - Call: - function: - Identifier: "{\"id\":\"4\",\"name\":\"mint_private\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":55}\"}" - arguments: - - Literal: - Integer: - - U64 - - "100" - - span: - lo: 56 - hi: 62 - - 5 - program: credits - span: - lo: 30 - hi: 63 - id: 6 - span: - lo: 0 - hi: 63 - id: 7 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U32 - value: - Identifier: "{\"id\":\"1\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U32 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: Add - span: - lo: 13 - hi: 16 - id: 3 - span: - lo: 0 - hi: 16 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U32 - value: - Call: - function: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - arguments: [] - program: ~ - span: - lo: 13 - hi: 16 - id: 2 - span: - lo: 0 - hi: 16 - id: 3 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U32 - value: - Identifier: "{\"id\":\"1\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U32 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}" - op: Add - span: - lo: 13 - hi: 16 - id: 3 - span: - lo: 0 - hi: 16 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U32 - value: - Call: - function: - Identifier: "{\"id\":\"1\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" - arguments: [] - program: ~ - span: - lo: 13 - hi: 16 - id: 2 - span: - lo: 0 - hi: 16 - id: 3 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: Address - value: - Literal: - Address: - - aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx - - span: - lo: 17 - hi: 80 - - 1 - span: - lo: 0 - hi: 80 - id: 2 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"expr","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U16" + +[outputs.Definition.value.Binary] +op = "Add" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Definition.value.Binary.span] +lo = 13 +hi = 16 + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 3 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Call] +arguments = [] +id = 2 + +[outputs.Definition.value.Call.function] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Call.span] +lo = 12 +hi = 15 + +[outputs.Definition.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +type_ = "String" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"expr","span":"{\"lo\":16,\"hi\":20}"}' + +[outputs.Definition.span] +lo = 0 +hi = 20 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "I8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"expr","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "I16" + +[outputs.Definition.value.Binary] +op = "Add" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Definition.value.Binary.span] +lo = 13 +hi = 16 + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 3 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "I8" + +[outputs.Definition.value.Call] +arguments = [] +id = 2 + +[outputs.Definition.value.Call.function] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Call.span] +lo = 12 +hi = 15 + +[outputs.Definition.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +type_ = "String" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"expr","span":"{\"lo\":16,\"hi\":20}"}' + +[outputs.Definition.span] +lo = 0 +hi = 20 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 6 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_.Composite] +id = '{"id":"1","name":"credits","span":"{\"lo\":7,\"hi\":14}"}' + +[outputs.Definition.value.Call] +program = "credits" +id = 5 + +[[outputs.Definition.value.Call.arguments]] + +[outputs.Definition.value.Call.arguments.Literal] +Integer = [ + "U64", + "100", + { span = { lo = 43, hi = 49 } }, + 4, +] + +[outputs.Definition.value.Call.function] +Identifier = '{"id":"3","name":"mint_private","span":"{\"lo\":30,\"hi\":42}"}' + +[outputs.Definition.value.Call.span] +lo = 17 +hi = 50 + +[outputs.Definition.span] +lo = 0 +hi = 50 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 7 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_.Composite] +id = '{"id":"2","name":"credits","span":"{\"lo\":20,\"hi\":27}"}' +program = "credits" + +[outputs.Definition.value.Call] +program = "credits" +id = 6 + +[[outputs.Definition.value.Call.arguments]] + +[outputs.Definition.value.Call.arguments.Literal] +Integer = [ + "U64", + "100", + { span = { lo = 56, hi = 62 } }, + 5, +] + +[outputs.Definition.value.Call.function] +Identifier = '{"id":"4","name":"mint_private","span":"{\"lo\":43,\"hi\":55}"}' + +[outputs.Definition.value.Call.span] +lo = 30 +hi = 63 + +[outputs.Definition.span] +lo = 0 +hi = 63 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U32" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"expr","span":"{\"lo\":13,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U32" + +[outputs.Definition.value.Binary] +op = "Add" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Definition.value.Binary.span] +lo = 13 +hi = 16 + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 3 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U32" + +[outputs.Definition.value.Call] +arguments = [] +id = 2 + +[outputs.Definition.value.Call.function] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Definition.value.Call.span] +lo = 13 +hi = 16 + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U32" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"expr","span":"{\"lo\":13,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U32" + +[outputs.Definition.value.Binary] +op = "Add" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"y","span":"{\"lo\":15,\"hi\":16}"}' + +[outputs.Definition.value.Binary.span] +lo = 13 +hi = 16 + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 3 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U32" + +[outputs.Definition.value.Call] +arguments = [] +id = 2 + +[outputs.Definition.value.Call.function] +Identifier = '{"id":"1","name":"x","span":"{\"lo\":13,\"hi\":14}"}' + +[outputs.Definition.value.Call.span] +lo = 13 +hi = 16 + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +type_ = "Address" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.value.Literal] +Address = [ + "aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx", + { span = { lo = 17, hi = 80 } }, + 1, +] + +[outputs.Definition.span] +lo = 0 +hi = 80 diff --git a/tests/expectations/parser/statement/definition_fail.out b/tests/expectations/parser/statement/definition_fail.out index 67cb6b5ab6..dd276b24b6 100644 --- a/tests/expectations/parser/statement/definition_fail.out +++ b/tests/expectations/parser/statement/definition_fail.out @@ -1,49 +1,271 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x = expr;\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x = ();\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x = x+y;\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x = (x,y);\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x = x();\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x = expr;\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x = ();\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x = x+y;\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x = (x,y);\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x = x();\n | ^^^^^^^^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x: u32 = expr;\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x: u32 = ();\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x: u32 = x+y;\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x: u32 = (x,y);\n | ^" - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:1:9\n |\n 1 | let mut x: u32 = x();\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x: u32 = expr;\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x: u32 = ();\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x: u32 = x+y;\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x: u32 = (x,y);\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant mut x: u32 = x();\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:10\n |\n 1 | let (x,y,,) = ();\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:6\n |\n 1 | let (,x,y) = ();\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:8\n |\n 1 | let (x,,y) = ();\n | ^" - - "Error [EPAR0370005]: expected integer literal -- found '('\n --> test:1:13\n |\n 1 | let x: [u8; (2,,)] = [[0,0], [0,0]];\n | ^" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found 'constant'\n --> test:1:8\n |\n 1 | let x: constant = expr;\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant'\n --> test:1:1\n |\n 1 | constant x: let = expr;\n | ^^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | let\n | ^^^" - - "Error [EPAR0370005]: expected : -- found ''\n --> test:1:5\n |\n 1 | let x\n | ^" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found ''\n --> test:1:6\n |\n 1 | let x:\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = (a, y]);\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:5\n |\n 1 | let = 1u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:4\n |\n 1 | let;\n | ^" - - "Error [EPAR0370005]: expected : -- found '1'\n --> test:1:7\n |\n 1 | let x 1u8;\n | ^" - - "Error [EPAR0370005]: expected = -- found ';'\n --> test:1:10\n |\n 1 | let x: u8;\n | ^" - - "Error [EPAR0370005]: expected = -- found ''\n --> test:1:8\n |\n 1 | let x: u8\n | ^^" - - "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '='\n --> test:1:8\n |\n 1 | let x: = 1;\n | ^" - - "Error [EPAR0370005]: expected ; -- found ']'\n --> test:1:11\n |\n 1 | let x: [u8] = 1;\n | ^" - - "Error [EPAR0370005]: expected integer literal -- found ''\n --> test:1:11\n |\n 1 | let x: [u8;\n | ^" - - "Error [EPAR0370005]: expected ] -- found 'u8'\n --> test:1:14\n |\n 1 | let x: [u8; 1u8] = [1,\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:15\n |\n 1 | let dbg: u8 = ];\n | ^" - - "Error [EPAR0370016]: Could not lex the following content: `🦀:`.\n" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:9\n |\n 1 | let (x) = ...;\n | ^" - - "Error [EPAR0370029]: A tuple expression must have at least two elements.\n --> test:1:5\n |\n 1 | let (x,) = ...;\n | ^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:5\n |\n 1 | let _1: u8 = 1u8;\n | ^" - - "Error [EPAR0370017]: Could not parse the implicit value: 1___091.\n --> test:1:5\n |\n 1 | let 1___091: u8 = 12u8;\n | ^^^^^^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x = expr; + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x = (); + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x = x+y; + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x = (x,y); + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x = x(); + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x = expr; + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x = (); + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x = x+y; + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x = (x,y); + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x = x(); + | ^^^^^^^^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x: u32 = expr; + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x: u32 = (); + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x: u32 = x+y; + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x: u32 = (x,y); + | ^""", + """ +Error [EPAR0370005]: expected : -- found 'x' + --> test:1:9 + | + 1 | let mut x: u32 = x(); + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x: u32 = expr; + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x: u32 = (); + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x: u32 = x+y; + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x: u32 = (x,y); + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant mut x: u32 = x(); + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:10 + | + 1 | let (x,y,,) = (); + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:6 + | + 1 | let (,x,y) = (); + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:8 + | + 1 | let (x,,y) = (); + | ^""", + """ +Error [EPAR0370005]: expected integer literal -- found '(' + --> test:1:13 + | + 1 | let x: [u8; (2,,)] = [[0,0], [0,0]]; + | ^""", + """ +Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found 'constant' + --> test:1:8 + | + 1 | let x: constant = expr; + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'constant' + --> test:1:1 + | + 1 | constant x: let = expr; + | ^^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '' + --> test:1:1 + | + 1 | let + | ^^^""", + """ +Error [EPAR0370005]: expected : -- found '' + --> test:1:5 + | + 1 | let x + | ^""", + """ +Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '' + --> test:1:6 + | + 1 | let x: + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = (a, y]); + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:5 + | + 1 | let = 1u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ';' + --> test:1:4 + | + 1 | let; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '1' + --> test:1:7 + | + 1 | let x 1u8; + | ^""", + """ +Error [EPAR0370005]: expected = -- found ';' + --> test:1:10 + | + 1 | let x: u8; + | ^""", + """ +Error [EPAR0370005]: expected = -- found '' + --> test:1:8 + | + 1 | let x: u8 + | ^^""", + """ +Error [EPAR0370005]: expected 'address', 'bool', 'field', 'Future', 'group', 'scalar', 'signature', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '=' + --> test:1:8 + | + 1 | let x: = 1; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found ']' + --> test:1:11 + | + 1 | let x: [u8] = 1; + | ^""", + """ +Error [EPAR0370005]: expected integer literal -- found '' + --> test:1:11 + | + 1 | let x: [u8; + | ^""", + """ +Error [EPAR0370005]: expected ] -- found 'u8' + --> test:1:14 + | + 1 | let x: [u8; 1u8] = [1, + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ']' + --> test:1:15 + | + 1 | let dbg: u8 = ]; + | ^""", + """ +Error [EPAR0370016]: Could not lex the following content: `🦀:`. +""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:9 + | + 1 | let (x) = ...; + | ^""", + """ +Error [EPAR0370029]: A tuple expression must have at least two elements. + --> test:1:5 + | + 1 | let (x,) = ...; + | ^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:5 + | + 1 | let _1: u8 = 1u8; + | ^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 1___091. + --> test:1:5 + | + 1 | let 1___091: u8 = 12u8; + | ^^^^^^^""", +] diff --git a/tests/expectations/parser/statement/exported_type_fail.out b/tests/expectations/parser/statement/exported_type_fail.out index 4d92fba640..11743d852b 100644 --- a/tests/expectations/parser/statement/exported_type_fail.out +++ b/tests/expectations/parser/statement/exported_type_fail.out @@ -1,6 +1,16 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370040]: Cannot create an external record. Records can only be created in the program that they are defined in.\n --> test:1:8\n |\n 1 | return credits.aleo/credits { owner: arg1, amount: arg2};\n | ^^^^^^^^^^^^^^^^^^^^" - - "Error [EPAR0370005]: expected = -- found '.'\n --> test:1:13\n |\n 1 | let d: board.leo/board = record board.leo/board { tile1: 1u8, tile2: 2u8};\n | ^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370040]: Cannot create an external record. Records can only be created in the program that they are defined in. + --> test:1:8 + | + 1 | return credits.aleo/credits { owner: arg1, amount: arg2}; + | ^^^^^^^^^^^^^^^^^^^^""", + """ +Error [EPAR0370005]: expected = -- found '.' + --> test:1:13 + | + 1 | let d: board.leo/board = record board.leo/board { tile1: 1u8, tile2: 2u8}; + | ^""", +] diff --git a/tests/expectations/parser/statement/expression.out b/tests/expectations/parser/statement/expression.out index 94c8b5ad9c..6ce4dc2671 100644 --- a/tests/expectations/parser/statement/expression.out +++ b/tests/expectations/parser/statement/expression.out @@ -1,42 +1,57 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Expression: - expression: - Identifier: "{\"id\":\"0\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - span: - lo: 0 - hi: 5 - id: 1 - - Expression: - expression: - Binary: - left: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - right: - Identifier: "{\"id\":\"1\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}" - op: Add - span: - lo: 0 - hi: 3 - id: 2 - span: - lo: 0 - hi: 4 - id: 3 - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" - arguments: [] - program: ~ - span: - lo: 0 - hi: 3 - id: 1 - span: - lo: 0 - hi: 4 - id: 2 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Expression] +id = 1 + +[outputs.Expression.expression] +Identifier = '{"id":"0","name":"expr","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Expression.span] +lo = 0 +hi = 5 + +[[outputs]] + +[outputs.Expression] +id = 3 + +[outputs.Expression.expression.Binary] +op = "Add" +id = 2 + +[outputs.Expression.expression.Binary.left] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Expression.expression.Binary.right] +Identifier = '{"id":"1","name":"y","span":"{\"lo\":2,\"hi\":3}"}' + +[outputs.Expression.expression.Binary.span] +lo = 0 +hi = 3 + +[outputs.Expression.span] +lo = 0 +hi = 4 + +[[outputs]] + +[outputs.Expression] +id = 2 + +[outputs.Expression.expression.Call] +arguments = [] +id = 1 + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":0,\"hi\":1}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 3 + +[outputs.Expression.span] +lo = 0 +hi = 4 diff --git a/tests/expectations/parser/statement/expression_fail.out b/tests/expectations/parser/statement/expression_fail.out index f6de3fb18f..995bd918ad 100644 --- a/tests/expectations/parser/statement/expression_fail.out +++ b/tests/expectations/parser/statement/expression_fail.out @@ -1,10 +1,37 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:2\n |\n 1 | (];\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:2\n |\n 1 | [);\n | ^" - - "Error [EPAR0370016]: Could not lex the following content: `\\y`.\n" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:6\n |\n 1 | (x,y|;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:3\n |\n 1 | x[};\n | ^" - - "Error [EPAR0370005]: expected ) -- found ']'\n --> test:1:6\n |\n 1 | (x, y];\n | ^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ']' + --> test:1:2 + | + 1 | (]; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ')' + --> test:1:2 + | + 1 | [); + | ^""", + ''' +Error [EPAR0370016]: Could not lex the following content: `\y`. +''', + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ';' + --> test:1:6 + | + 1 | (x,y|; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '}' + --> test:1:3 + | + 1 | x[}; + | ^""", + """ +Error [EPAR0370005]: expected ) -- found ']' + --> test:1:6 + | + 1 | (x, y]; + | ^""", +] diff --git a/tests/expectations/parser/statement/finalize_fail.out b/tests/expectations/parser/statement/finalize_fail.out index d2765290c3..259f6ff575 100644 --- a/tests/expectations/parser/statement/finalize_fail.out +++ b/tests/expectations/parser/statement/finalize_fail.out @@ -1,20 +1,24 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Expression: - expression: - Call: - function: - Identifier: "{\"id\":\"0\",\"name\":\"finalize\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":8}\"}" - arguments: - - Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":12}\"}" - program: ~ - span: - lo: 0 - hi: 13 - id: 2 - span: - lo: 0 - hi: 14 - id: 3 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Expression] +id = 3 + +[outputs.Expression.expression.Call] +id = 2 + +[[outputs.Expression.expression.Call.arguments]] +Identifier = '{"id":"1","name":"foo","span":"{\"lo\":9,\"hi\":12}"}' + +[outputs.Expression.expression.Call.function] +Identifier = '{"id":"0","name":"finalize","span":"{\"lo\":0,\"hi\":8}"}' + +[outputs.Expression.expression.Call.span] +lo = 0 +hi = 13 + +[outputs.Expression.span] +lo = 0 +hi = 14 diff --git a/tests/expectations/parser/statement/iteration.out b/tests/expectations/parser/statement/iteration.out index 57a36404f1..aa98802609 100644 --- a/tests/expectations/parser/statement/iteration.out +++ b/tests/expectations/parser/statement/iteration.out @@ -1,168 +1,192 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Iteration: - variable: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - start: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 13 - hi: 16 - - 1 - stop: - Literal: - Integer: - - U8 - - "7" - - span: - lo: 18 - hi: 21 - - 2 - inclusive: false - block: - statements: [] - span: - lo: 22 - hi: 24 - id: 3 - span: - lo: 0 - hi: 24 - id: 4 - - Iteration: - variable: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: I64 - start: - Literal: - Integer: - - I64 - - "0" - - span: - lo: 14 - hi: 18 - - 1 - stop: - Literal: - Integer: - - I64 - - "7" - - span: - lo: 20 - hi: 24 - - 2 - inclusive: false - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 34 - hi: 37 - - 3 - span: - lo: 27 - hi: 38 - id: 4 - span: - lo: 25 - hi: 40 - id: 5 - span: - lo: 0 - hi: 40 - id: 6 - - Iteration: - variable: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: Field - start: - Literal: - Field: - - "0" - - span: - lo: 16 - hi: 22 - - 1 - stop: - Literal: - Integer: - - U8 - - "99" - - span: - lo: 24 - hi: 28 - - 2 - inclusive: false - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 38 - hi: 41 - - 3 - span: - lo: 31 - hi: 42 - id: 4 - span: - lo: 29 - hi: 44 - id: 5 - span: - lo: 0 - hi: 44 - id: 6 - - Iteration: - variable: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: Boolean - start: - Literal: - Integer: - - U8 - - "0" - - span: - lo: 15 - hi: 18 - - 1 - stop: - Identifier: "{\"id\":\"2\",\"name\":\"Self\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":24}\"}" - inclusive: false - block: - statements: - - Return: - expression: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 34 - hi: 37 - - 3 - span: - lo: 27 - hi: 38 - id: 4 - span: - lo: 25 - hi: 40 - id: 5 - span: - lo: 0 - hi: 40 - id: 6 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Iteration] +variable = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' +inclusive = false +id = 4 + +[outputs.Iteration.type_] +Integer = "U8" + +[outputs.Iteration.start.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 13, hi = 16 } }, + 1, +] + +[outputs.Iteration.stop.Literal] +Integer = [ + "U8", + "7", + { span = { lo = 18, hi = 21 } }, + 2, +] + +[outputs.Iteration.block] +statements = [] +id = 3 + +[outputs.Iteration.block.span] +lo = 22 +hi = 24 + +[outputs.Iteration.span] +lo = 0 +hi = 24 + +[[outputs]] + +[outputs.Iteration] +variable = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' +inclusive = false +id = 6 + +[outputs.Iteration.type_] +Integer = "I64" + +[outputs.Iteration.start.Literal] +Integer = [ + "I64", + "0", + { span = { lo = 14, hi = 18 } }, + 1, +] + +[outputs.Iteration.stop.Literal] +Integer = [ + "I64", + "7", + { span = { lo = 20, hi = 24 } }, + 2, +] + +[outputs.Iteration.block] +id = 5 + +[[outputs.Iteration.block.statements]] + +[outputs.Iteration.block.statements.Return] +id = 4 + +[outputs.Iteration.block.statements.Return.expression.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 34, hi = 37 } }, + 3, +] + +[outputs.Iteration.block.statements.Return.span] +lo = 27 +hi = 38 + +[outputs.Iteration.block.span] +lo = 25 +hi = 40 + +[outputs.Iteration.span] +lo = 0 +hi = 40 + +[[outputs]] + +[outputs.Iteration] +variable = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' +type_ = "Field" +inclusive = false +id = 6 + +[outputs.Iteration.start.Literal] +Field = [ + "0", + { span = { lo = 16, hi = 22 } }, + 1, +] + +[outputs.Iteration.stop.Literal] +Integer = [ + "U8", + "99", + { span = { lo = 24, hi = 28 } }, + 2, +] + +[outputs.Iteration.block] +id = 5 + +[[outputs.Iteration.block.statements]] + +[outputs.Iteration.block.statements.Return] +id = 4 + +[outputs.Iteration.block.statements.Return.expression.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 38, hi = 41 } }, + 3, +] + +[outputs.Iteration.block.statements.Return.span] +lo = 31 +hi = 42 + +[outputs.Iteration.block.span] +lo = 29 +hi = 44 + +[outputs.Iteration.span] +lo = 0 +hi = 44 + +[[outputs]] + +[outputs.Iteration] +variable = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' +type_ = "Boolean" +inclusive = false +id = 6 + +[outputs.Iteration.start.Literal] +Integer = [ + "U8", + "0", + { span = { lo = 15, hi = 18 } }, + 1, +] + +[outputs.Iteration.stop] +Identifier = '{"id":"2","name":"Self","span":"{\"lo\":20,\"hi\":24}"}' + +[outputs.Iteration.block] +id = 5 + +[[outputs.Iteration.block.statements]] + +[outputs.Iteration.block.statements.Return] +id = 4 + +[outputs.Iteration.block.statements.Return.expression.Literal] +Integer = [ + "U8", + "1", + { span = { lo = 34, hi = 37 } }, + 3, +] + +[outputs.Iteration.block.statements.Return.span] +lo = 27 +hi = 38 + +[outputs.Iteration.block.span] +lo = 25 +hi = 40 + +[outputs.Iteration.span] +lo = 0 +hi = 40 diff --git a/tests/expectations/parser/statement/let_mut_recover.out b/tests/expectations/parser/statement/let_mut_recover.out index 1bc597519f..d48d38cad9 100644 --- a/tests/expectations/parser/statement/let_mut_recover.out +++ b/tests/expectations/parser/statement/let_mut_recover.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found 'x'\n --> test:5:17\n |\n 5 | let mut x = 0;\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected : -- found 'x' + --> test:5:17 + | + 5 | let mut x = 0; + | ^"""] diff --git a/tests/expectations/parser/statement/return.out b/tests/expectations/parser/statement/return.out index 2e3ea973e5..fc2376ec90 100644 --- a/tests/expectations/parser/statement/return.out +++ b/tests/expectations/parser/statement/return.out @@ -1,25 +1,31 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Return: - expression: - Identifier: "{\"id\":\"0\",\"name\":\"expr\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":11}\"}" - span: - lo: 0 - hi: 12 - id: 1 - - Return: - expression: - Literal: - Integer: - - U8 - - "5" - - span: - lo: 7 - hi: 10 - - 0 - span: - lo: 0 - hi: 11 - id: 1 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Return] +id = 1 + +[outputs.Return.expression] +Identifier = '{"id":"0","name":"expr","span":"{\"lo\":7,\"hi\":11}"}' + +[outputs.Return.span] +lo = 0 +hi = 12 + +[[outputs]] + +[outputs.Return] +id = 1 + +[outputs.Return.expression.Literal] +Integer = [ + "U8", + "5", + { span = { lo = 7, hi = 10 } }, + 0, +] + +[outputs.Return.span] +lo = 0 +hi = 11 diff --git a/tests/expectations/parser/statement/return_fail.out b/tests/expectations/parser/statement/return_fail.out index 1c7e8875dd..62d03e57c4 100644 --- a/tests/expectations/parser/statement/return_fail.out +++ b/tests/expectations/parser/statement/return_fail.out @@ -1,7 +1,22 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:1\n |\n 1 | return\n | ^^^^^^" - - "Error [EPAR0370017]: Could not parse the implicit value: 5.\n --> test:1:8\n |\n 1 | return 5\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:2:1\n |\n 2 | if x {}\n | ^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '' + --> test:1:1 + | + 1 | return + | ^^^^^^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 5. + --> test:1:8 + | + 1 | return 5 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:2:1 + | + 2 | if x {} + | ^^""", +] diff --git a/tests/expectations/parser/structs/comma_separators_fail.out b/tests/expectations/parser/structs/comma_separators_fail.out index 9cffb4c3c4..e85c960930 100644 --- a/tests/expectations/parser/structs/comma_separators_fail.out +++ b/tests/expectations/parser/structs/comma_separators_fail.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370041]: Each member declaration in a struct or record must be followed by a comma (except the last).\n --> test:5:9\n |\n 5 | y: u8\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370041]: Each member declaration in a struct or record must be followed by a comma (except the last). + --> test:5:9 + | + 5 | y: u8 + | ^"""] diff --git a/tests/expectations/parser/structs/only_comma_separators_fail.out b/tests/expectations/parser/structs/only_comma_separators_fail.out index 5c435961bd..25619d81c9 100644 --- a/tests/expectations/parser/structs/only_comma_separators_fail.out +++ b/tests/expectations/parser/structs/only_comma_separators_fail.out @@ -1,5 +1,13 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370041]: Each member declaration in a struct or record must be followed by a comma (except the last).\n --> test:4:14\n |\n 4 | x: u8;\n | ^\nError [EPAR0370009]: unexpected string: expected 'identifier', found ';'\n --> test:4:14\n |\n 4 | x: u8;\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370041]: Each member declaration in a struct or record must be followed by a comma (except the last). + --> test:4:14 + | + 4 | x: u8; + | ^ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ';' + --> test:4:14 + | + 4 | x: u8; + | ^"""] diff --git a/tests/expectations/parser/type_/signature.out b/tests/expectations/parser/type_/signature.out index 3b93583895..e36afb3cb1 100644 --- a/tests/expectations/parser/type_/signature.out +++ b/tests/expectations/parser/type_/signature.out @@ -1,250 +1,73 @@ ---- -namespace: Parse -expectation: Pass -outputs: - - imports: {} - stubs: {} - program_scopes: - test: - program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":0}\\\\\\\"}\\\"\"}" - consts: [] - structs: [] - mappings: [] - functions: - - - baz - - annotations: [] - variant: Transition - identifier: "{\"id\":\"2\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":40}\"}" - input: - - identifier: "{\"id\":\"3\",\"name\":\"s\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}" - mode: None - type_: Signature - span: - lo: 41 - hi: 42 - id: 4 - - identifier: "{\"id\":\"5\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":55,\\\"hi\\\":56}\"}" - mode: None - type_: Address - span: - lo: 55 - hi: 56 - id: 6 - - identifier: "{\"id\":\"7\",\"name\":\"v\",\"span\":\"{\\\"lo\\\":67,\\\"hi\\\":68}\"}" - mode: None - type_: - Composite: - id: "{\"id\":\"8\",\"name\":\"value\",\"span\":\"{\\\"lo\\\":70,\\\"hi\\\":75}\"}" - program: test - span: - lo: 67 - hi: 68 - id: 9 - output: [] - output_type: Unit - block: - statements: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"10\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":91,\\\"hi\\\":92}\"}" - type_: Boolean - value: - Access: - AssociatedFunction: - variant: "{\"id\":\"11\",\"name\":\"signature\",\"span\":\"{\\\"lo\\\":101,\\\"hi\\\":110}\"}" - name: "{\"id\":\"12\",\"name\":\"verify\",\"span\":\"{\\\"lo\\\":112,\\\"hi\\\":118}\"}" - arguments: - - Identifier: "{\"id\":\"13\",\"name\":\"s\",\"span\":\"{\\\"lo\\\":119,\\\"hi\\\":120}\"}" - - Identifier: "{\"id\":\"14\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":122,\\\"hi\\\":123}\"}" - - Identifier: "{\"id\":\"15\",\"name\":\"v\",\"span\":\"{\\\"lo\\\":125,\\\"hi\\\":126}\"}" - span: - lo: 101 - hi: 127 - id: 16 - span: - lo: 87 - hi: 127 - id: 17 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"18\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":141,\\\"hi\\\":142}\"}" - type_: Boolean - value: - Access: - AssociatedFunction: - variant: "{\"id\":\"23\",\"name\":\"signature\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":0}\"}" - name: "{\"id\":\"20\",\"name\":\"verify\",\"span\":\"{\\\"lo\\\":153,\\\"hi\\\":159}\"}" - arguments: - - Identifier: "{\"id\":\"19\",\"name\":\"s\",\"span\":\"{\\\"lo\\\":151,\\\"hi\\\":152}\"}" - - Identifier: "{\"id\":\"21\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":160,\\\"hi\\\":161}\"}" - - Identifier: "{\"id\":\"22\",\"name\":\"v\",\"span\":\"{\\\"lo\\\":163,\\\"hi\\\":164}\"}" - span: - lo: 151 - hi: 165 - id: 24 - span: - lo: 137 - hi: 165 - id: 25 - - Assert: - variant: - AssertEq: - - Identifier: "{\"id\":\"26\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":185,\\\"hi\\\":186}\"}" - - Identifier: "{\"id\":\"27\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":188,\\\"hi\\\":189}\"}" - span: - lo: 175 - hi: 184 - id: 28 - span: - lo: 77 - hi: 197 - id: 29 - span: - lo: 26 - hi: 197 - id: 30 - - - bar - - annotations: [] - variant: Transition - identifier: "{\"id\":\"31\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":214,\\\"hi\\\":217}\"}" - input: - - identifier: "{\"id\":\"32\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":218,\\\"hi\\\":219}\"}" - mode: None - type_: - Integer: U8 - span: - lo: 218 - hi: 219 - id: 33 - output: - - mode: None - type_: - Integer: U8 - span: - lo: 228 - hi: 230 - id: 34 - output_type: - Integer: U8 - block: - statements: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"35\",\"name\":\"signature\",\"span\":\"{\\\"lo\\\":245,\\\"hi\\\":254}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Literal: - Integer: - - U8 - - "1" - - span: - lo: 261 - hi: 264 - - 36 - right: - Identifier: "{\"id\":\"37\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":267,\\\"hi\\\":268}\"}" - op: Add - span: - lo: 261 - hi: 268 - id: 38 - span: - lo: 241 - hi: 268 - id: 39 - - Return: - expression: - Identifier: "{\"id\":\"40\",\"name\":\"signature\",\"span\":\"{\\\"lo\\\":285,\\\"hi\\\":294}\"}" - span: - lo: 278 - hi: 295 - id: 41 - span: - lo: 231 - hi: 301 - id: 42 - span: - lo: 203 - hi: 301 - id: 43 - - - bax - - annotations: [] - variant: Transition - identifier: "{\"id\":\"44\",\"name\":\"bax\",\"span\":\"{\\\"lo\\\":317,\\\"hi\\\":320}\"}" - input: - - identifier: "{\"id\":\"45\",\"name\":\"s\",\"span\":\"{\\\"lo\\\":321,\\\"hi\\\":322}\"}" - mode: None - type_: Signature - span: - lo: 321 - hi: 322 - id: 46 - - identifier: "{\"id\":\"47\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":335,\\\"hi\\\":336}\"}" - mode: None - type_: Address - span: - lo: 335 - hi: 336 - id: 48 - - identifier: "{\"id\":\"49\",\"name\":\"v\",\"span\":\"{\\\"lo\\\":347,\\\"hi\\\":348}\"}" - mode: None - type_: - Composite: - id: "{\"id\":\"50\",\"name\":\"value\",\"span\":\"{\\\"lo\\\":350,\\\"hi\\\":355}\"}" - program: test - span: - lo: 347 - hi: 348 - id: 51 - output: [] - output_type: Unit - block: - statements: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"52\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":370,\\\"hi\\\":371}\"}" - type_: Boolean - value: - Access: - AssociatedFunction: - variant: "{\"id\":\"53\",\"name\":\"signature\",\"span\":\"{\\\"lo\\\":380,\\\"hi\\\":389}\"}" - name: "{\"id\":\"54\",\"name\":\"sign\",\"span\":\"{\\\"lo\\\":391,\\\"hi\\\":395}\"}" - arguments: - - Identifier: "{\"id\":\"55\",\"name\":\"s\",\"span\":\"{\\\"lo\\\":396,\\\"hi\\\":397}\"}" - - Identifier: "{\"id\":\"56\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":399,\\\"hi\\\":400}\"}" - - Identifier: "{\"id\":\"57\",\"name\":\"v\",\"span\":\"{\\\"lo\\\":402,\\\"hi\\\":403}\"}" - span: - lo: 380 - hi: 404 - id: 58 - span: - lo: 366 - hi: 404 - id: 59 - - Assert: - variant: - AssertEq: - - Identifier: "{\"id\":\"60\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":423,\\\"hi\\\":424}\"}" - - Identifier: "{\"id\":\"61\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":426,\\\"hi\\\":427}\"}" - span: - lo: 413 - hi: 422 - id: 62 - span: - lo: 357 - hi: 434 - id: 63 - span: - lo: 306 - hi: 434 - id: 64 - span: - lo: 2 - hi: 436 +namespace = "Parse" +expectation = "Pass" + +[[outputs]] + +[outputs.imports] + +[outputs.stubs] + +[outputs.program_scopes.test] +program_id = '{"name":"test","network":"\"{\\\"id\\\":\\\"1\\\",\\\"name\\\":\\\"aleo\\\",\\\"span\\\":\\\"{\\\\\\\"lo\\\\\\\":0,\\\\\\\"hi\\\\\\\":0}\\\"}\""}' +consts = [] +structs = [] +mappings = [] +functions = [ + [ + "baz", + { annotations = [], variant = "Transition", identifier = '{"id":"2","name":"baz","span":"{\"lo\":37,\"hi\":40}"}', output = [], output_type = "Unit", id = 30, input = [ + { identifier = '{"id":"3","name":"s","span":"{\"lo\":41,\"hi\":42}"}', mode = "None", type_ = "Signature", id = 4, span = { lo = 41, hi = 42 } }, + { identifier = '{"id":"5","name":"a","span":"{\"lo\":55,\"hi\":56}"}', mode = "None", type_ = "Address", id = 6, span = { lo = 55, hi = 56 } }, + { identifier = '{"id":"7","name":"v","span":"{\"lo\":67,\"hi\":68}"}', mode = "None", id = 9, type_ = { Composite = { id = '{"id":"8","name":"value","span":"{\"lo\":70,\"hi\":75}"}', program = "test" } }, span = { lo = 67, hi = 68 } }, +], block = { id = 29, statements = [ + { Definition = { declaration_type = "Let", type_ = "Boolean", id = 17, place = { Identifier = '{"id":"10","name":"a","span":"{\"lo\":91,\"hi\":92}"}' }, value = { Access = { AssociatedFunction = { variant = '{"id":"11","name":"signature","span":"{\"lo\":101,\"hi\":110}"}', name = '{"id":"12","name":"verify","span":"{\"lo\":112,\"hi\":118}"}', id = 16, arguments = [ + { Identifier = '{"id":"13","name":"s","span":"{\"lo\":119,\"hi\":120}"}' }, + { Identifier = '{"id":"14","name":"a","span":"{\"lo\":122,\"hi\":123}"}' }, + { Identifier = '{"id":"15","name":"v","span":"{\"lo\":125,\"hi\":126}"}' }, +], span = { lo = 101, hi = 127 } } } }, span = { lo = 87, hi = 127 } } }, + { Definition = { declaration_type = "Let", type_ = "Boolean", id = 25, place = { Identifier = '{"id":"18","name":"b","span":"{\"lo\":141,\"hi\":142}"}' }, value = { Access = { AssociatedFunction = { variant = '{"id":"23","name":"signature","span":"{\"lo\":0,\"hi\":0}"}', name = '{"id":"20","name":"verify","span":"{\"lo\":153,\"hi\":159}"}', id = 24, arguments = [ + { Identifier = '{"id":"19","name":"s","span":"{\"lo\":151,\"hi\":152}"}' }, + { Identifier = '{"id":"21","name":"a","span":"{\"lo\":160,\"hi\":161}"}' }, + { Identifier = '{"id":"22","name":"v","span":"{\"lo\":163,\"hi\":164}"}' }, +], span = { lo = 151, hi = 165 } } } }, span = { lo = 137, hi = 165 } } }, + { Assert = { id = 28, variant = { AssertEq = [ + { Identifier = '{"id":"26","name":"a","span":"{\"lo\":185,\"hi\":186}"}' }, + { Identifier = '{"id":"27","name":"b","span":"{\"lo\":188,\"hi\":189}"}' }, +] }, span = { lo = 175, hi = 184 } } }, +], span = { lo = 77, hi = 197 } }, span = { lo = 26, hi = 197 } }, +], + [ + "bar", + { annotations = [], variant = "Transition", identifier = '{"id":"31","name":"bar","span":"{\"lo\":214,\"hi\":217}"}', id = 43, input = [{ identifier = '{"id":"32","name":"x","span":"{\"lo\":218,\"hi\":219}"}', mode = "None", id = 33, type_ = { Integer = "U8" }, span = { lo = 218, hi = 219 } }], output = [{ mode = "None", id = 34, type_ = { Integer = "U8" }, span = { lo = 228, hi = 230 } }], output_type = { Integer = "U8" }, block = { id = 42, statements = [ + { Definition = { declaration_type = "Let", id = 39, place = { Identifier = '{"id":"35","name":"signature","span":"{\"lo\":245,\"hi\":254}"}' }, type_ = { Integer = "U8" }, value = { Binary = { op = "Add", id = 38, left = { Literal = { Integer = [ + "U8", + "1", + { span = { lo = 261, hi = 264 } }, + 36, +] } }, right = { Identifier = '{"id":"37","name":"x","span":"{\"lo\":267,\"hi\":268}"}' }, span = { lo = 261, hi = 268 } } }, span = { lo = 241, hi = 268 } } }, + { Return = { id = 41, expression = { Identifier = '{"id":"40","name":"signature","span":"{\"lo\":285,\"hi\":294}"}' }, span = { lo = 278, hi = 295 } } }, +], span = { lo = 231, hi = 301 } }, span = { lo = 203, hi = 301 } }, +], + [ + "bax", + { annotations = [], variant = "Transition", identifier = '{"id":"44","name":"bax","span":"{\"lo\":317,\"hi\":320}"}', output = [], output_type = "Unit", id = 64, input = [ + { identifier = '{"id":"45","name":"s","span":"{\"lo\":321,\"hi\":322}"}', mode = "None", type_ = "Signature", id = 46, span = { lo = 321, hi = 322 } }, + { identifier = '{"id":"47","name":"a","span":"{\"lo\":335,\"hi\":336}"}', mode = "None", type_ = "Address", id = 48, span = { lo = 335, hi = 336 } }, + { identifier = '{"id":"49","name":"v","span":"{\"lo\":347,\"hi\":348}"}', mode = "None", id = 51, type_ = { Composite = { id = '{"id":"50","name":"value","span":"{\"lo\":350,\"hi\":355}"}', program = "test" } }, span = { lo = 347, hi = 348 } }, +], block = { id = 63, statements = [ + { Definition = { declaration_type = "Let", type_ = "Boolean", id = 59, place = { Identifier = '{"id":"52","name":"a","span":"{\"lo\":370,\"hi\":371}"}' }, value = { Access = { AssociatedFunction = { variant = '{"id":"53","name":"signature","span":"{\"lo\":380,\"hi\":389}"}', name = '{"id":"54","name":"sign","span":"{\"lo\":391,\"hi\":395}"}', id = 58, arguments = [ + { Identifier = '{"id":"55","name":"s","span":"{\"lo\":396,\"hi\":397}"}' }, + { Identifier = '{"id":"56","name":"a","span":"{\"lo\":399,\"hi\":400}"}' }, + { Identifier = '{"id":"57","name":"v","span":"{\"lo\":402,\"hi\":403}"}' }, +], span = { lo = 380, hi = 404 } } } }, span = { lo = 366, hi = 404 } } }, + { Assert = { id = 62, variant = { AssertEq = [ + { Identifier = '{"id":"60","name":"a","span":"{\"lo\":423,\"hi\":424}"}' }, + { Identifier = '{"id":"61","name":"b","span":"{\"lo\":426,\"hi\":427}"}' }, +] }, span = { lo = 413, hi = 422 } } }, +], span = { lo = 357, hi = 434 } }, span = { lo = 306, hi = 434 } }, +], +] + +[outputs.program_scopes.test.span] +lo = 2 +hi = 436 diff --git a/tests/expectations/parser/type_/signature_verify_bad_syntax_fail.out b/tests/expectations/parser/type_/signature_verify_bad_syntax_fail.out index 0f9fdc8d0b..185abdcb3d 100644 --- a/tests/expectations/parser/type_/signature_verify_bad_syntax_fail.out +++ b/tests/expectations/parser/type_/signature_verify_bad_syntax_fail.out @@ -1,5 +1,13 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370021]: The type of `signature` has no associated function `verify` that takes 3 argument(s).\n --> test:5:23\n |\n 5 | let a: bool = signature.verify(s, a, v);\n | ^^^^^^^^^^^^^^^^^^^^^^^^^\nError [EPAR0370005]: expected ) -- found ','\n --> test:6:17\n |\n 6 | assert(a, b);\n | ^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370021]: The type of `signature` has no associated function `verify` that takes 3 argument(s). + --> test:5:23 + | + 5 | let a: bool = signature.verify(s, a, v); + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +Error [EPAR0370005]: expected ) -- found ',' + --> test:6:17 + | + 6 | assert(a, b); + | ^"""] diff --git a/tests/expectations/parser/unreachable/define.out b/tests/expectations/parser/unreachable/define.out index de8fb3ab40..e0d8dfce46 100644 --- a/tests/expectations/parser/unreachable/define.out +++ b/tests/expectations/parser/unreachable/define.out @@ -1,49 +1,276 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:1\n |\n 1 | ; x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '.'\n --> test:1:1\n |\n 1 | . x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'import'\n --> test:1:1\n |\n 1 | import x = 10u8;\n | ^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ','\n --> test:1:1\n |\n 1 | , x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ] -- found '='\n --> test:1:5\n |\n 1 | [ x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ']'\n --> test:1:1\n |\n 1 | ] x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ''\n --> test:1:11\n |\n 1 | { x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '}'\n --> test:1:1\n |\n 1 | } x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ) -- found '='\n --> test:1:5\n |\n 1 | ( x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:1\n |\n 1 | ) x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ':'\n --> test:1:1\n |\n 1 | : x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '::'\n --> test:1:1\n |\n 1 | :: x = 10u8;\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '?'\n --> test:1:1\n |\n 1 | ? x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '_'\n --> test:1:1\n |\n 1 | _ x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:1\n |\n 1 | = x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '=='\n --> test:1:1\n |\n 1 | == x = 10u8;\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '!='\n --> test:1:1\n |\n 1 | != x = 10u8;\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '>'\n --> test:1:1\n |\n 1 | > x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '>='\n --> test:1:1\n |\n 1 | >= x = 10u8;\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '<'\n --> test:1:1\n |\n 1 | < x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '<='\n --> test:1:1\n |\n 1 | <= x = 10u8;\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '>'\n --> test:1:1\n |\n 1 | > x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '..'\n --> test:1:1\n |\n 1 | .. x = 10u8;\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'as'\n --> test:1:1\n |\n 1 | as x = 10u8;\n | ^^" - - "Error [EPAR0370032]: `console` statements are not yet supported.\n --> test:1:1\n |\n 1 | console x = 10u8;\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead." - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | for x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected { -- found '='\n --> test:1:6\n |\n 1 | if x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'else'\n --> test:1:1\n |\n 1 | else x = 10u8;\n | ^^^^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:4\n |\n 1 | i8 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:5\n |\n 1 | i16 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:5\n |\n 1 | i32 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:5\n |\n 1 | i64 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:6\n |\n 1 | i128 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:4\n |\n 1 | u8 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:5\n |\n 1 | u16 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:5\n |\n 1 | u32 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:5\n |\n 1 | u64 x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:6\n |\n 1 | u128 x = 10u8;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '&'\n --> test:1:1\n |\n 1 | & x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found '='\n --> test:1:10\n |\n 1 | return x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:6\n |\n 1 | self x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:6\n |\n 1 | Self x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:6\n |\n 1 | true x = 10u8;\n | ^" - - "Error [EPAR0370005]: expected ; -- found 'x'\n --> test:1:7\n |\n 1 | false x = 10u8;\n | ^" - - "Error [EPAR0370017]: Could not parse the implicit value: 0.\n --> test:1:1\n |\n 1 | 0 x = 10u8;\n | ^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ';' + --> test:1:1 + | + 1 | ; x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '.' + --> test:1:1 + | + 1 | . x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'import' + --> test:1:1 + | + 1 | import x = 10u8; + | ^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ',' + --> test:1:1 + | + 1 | , x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ] -- found '=' + --> test:1:5 + | + 1 | [ x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ']' + --> test:1:1 + | + 1 | ] x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '' + --> test:1:11 + | + 1 | { x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '}' + --> test:1:1 + | + 1 | } x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ) -- found '=' + --> test:1:5 + | + 1 | ( x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ')' + --> test:1:1 + | + 1 | ) x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ':' + --> test:1:1 + | + 1 | : x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '::' + --> test:1:1 + | + 1 | :: x = 10u8; + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '?' + --> test:1:1 + | + 1 | ? x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '_' + --> test:1:1 + | + 1 | _ x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:1 + | + 1 | = x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '==' + --> test:1:1 + | + 1 | == x = 10u8; + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '!=' + --> test:1:1 + | + 1 | != x = 10u8; + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '>' + --> test:1:1 + | + 1 | > x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '>=' + --> test:1:1 + | + 1 | >= x = 10u8; + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '<' + --> test:1:1 + | + 1 | < x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '<=' + --> test:1:1 + | + 1 | <= x = 10u8; + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '>' + --> test:1:1 + | + 1 | > x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '..' + --> test:1:1 + | + 1 | .. x = 10u8; + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'as' + --> test:1:1 + | + 1 | as x = 10u8; + | ^^""", + """ +Error [EPAR0370032]: `console` statements are not yet supported. + --> test:1:1 + | + 1 | console x = 10u8; + | ^^^^^^^ + | + = Consider using `assert`, `assert_eq`, or `assert_neq` instead.""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | for x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected { -- found '=' + --> test:1:6 + | + 1 | if x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'else' + --> test:1:1 + | + 1 | else x = 10u8; + | ^^^^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:4 + | + 1 | i8 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:5 + | + 1 | i16 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:5 + | + 1 | i32 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:5 + | + 1 | i64 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:6 + | + 1 | i128 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:4 + | + 1 | u8 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:5 + | + 1 | u16 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:5 + | + 1 | u32 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:5 + | + 1 | u64 x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:6 + | + 1 | u128 x = 10u8; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '&' + --> test:1:1 + | + 1 | & x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found '=' + --> test:1:10 + | + 1 | return x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:6 + | + 1 | self x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:6 + | + 1 | Self x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:6 + | + 1 | true x = 10u8; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found 'x' + --> test:1:7 + | + 1 | false x = 10u8; + | ^""", + """ +Error [EPAR0370017]: Could not parse the implicit value: 0. + --> test:1:1 + | + 1 | 0 x = 10u8; + | ^""", +] diff --git a/tests/expectations/parser/unreachable/eat_ident.out b/tests/expectations/parser/unreachable/eat_ident.out index 039961c0e0..1931840089 100644 --- a/tests/expectations/parser/unreachable/eat_ident.out +++ b/tests/expectations/parser/unreachable/eat_ident.out @@ -1,5 +1,8 @@ ---- -namespace: Parse -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected 'import', 'program' -- found 'struct'\n --> test:2:1\n |\n 2 | struct import\n | ^^^^^^" +namespace = "Parse" +expectation = "Fail" +outputs = [""" +Error [EPAR0370005]: expected 'import', 'program' -- found 'struct' + --> test:2:1 + | + 2 | struct import + | ^^^^^^"""] diff --git a/tests/expectations/parser/unreachable/eat_int.out b/tests/expectations/parser/unreachable/eat_int.out index 6f6b85af0e..652ff315e1 100644 --- a/tests/expectations/parser/unreachable/eat_int.out +++ b/tests/expectations/parser/unreachable/eat_int.out @@ -1,58 +1,323 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '-'\n --> test:1:3\n |\n 1 | x.-12\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ';'\n --> test:1:5\n |\n 1 | x.0_;\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ';'\n --> test:1:6\n |\n 1 | x.0_0;\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ';'\n --> test:1:5\n |\n 1 | x.01;\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '.'\n --> test:1:5\n |\n 1 | x.0_.\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'import'\n --> test:1:5\n |\n 1 | x.0_import\n | ^^^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ','\n --> test:1:5\n |\n 1 | x.0_,\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '*'\n --> test:1:5\n |\n 1 | x.0_*\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '+'\n --> test:1:5\n |\n 1 | x.0_+\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '-'\n --> test:1:5\n |\n 1 | x.0_-\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '/'\n --> test:1:5\n |\n 1 | x.0_/\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '['\n --> test:1:5\n |\n 1 | x.0_[\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ']'\n --> test:1:5\n |\n 1 | x.0_]\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '{'\n --> test:1:5\n |\n 1 | x.0_{\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '}'\n --> test:1:5\n |\n 1 | x.0_}\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '('\n --> test:1:5\n |\n 1 | x.0_(\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ')'\n --> test:1:5\n |\n 1 | x.0_)\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ':'\n --> test:1:5\n |\n 1 | x.0_:\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '::'\n --> test:1:5\n |\n 1 | x.0_::\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '?'\n --> test:1:5\n |\n 1 | x.0_?\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found ''\n --> test:1:3\n |\n 1 | x.0__\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '='\n --> test:1:5\n |\n 1 | x.0_=\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '=='\n --> test:1:5\n |\n 1 | x.0_==\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '!'\n --> test:1:5\n |\n 1 | x.0_!\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '!='\n --> test:1:5\n |\n 1 | x.0_!=\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '>'\n --> test:1:5\n |\n 1 | x.0_>\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '>='\n --> test:1:5\n |\n 1 | x.0_>=\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '<'\n --> test:1:5\n |\n 1 | x.0_<\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '<='\n --> test:1:5\n |\n 1 | x.0_<=\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '>'\n --> test:1:5\n |\n 1 | x.0_>\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '..'\n --> test:1:5\n |\n 1 | x.0_..\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'as'\n --> test:1:5\n |\n 1 | x.0_as\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'console'\n --> test:1:5\n |\n 1 | x.0_console\n | ^^^^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'const'\n --> test:1:5\n |\n 1 | x.0_const\n | ^^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'let'\n --> test:1:5\n |\n 1 | x.0_let\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'for'\n --> test:1:5\n |\n 1 | x.0_for\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'if'\n --> test:1:5\n |\n 1 | x.0_if\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'else'\n --> test:1:5\n |\n 1 | x.0_else\n | ^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i8'\n --> test:1:5\n |\n 1 | x.0_i8\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i16'\n --> test:1:5\n |\n 1 | x.0_i16\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i32'\n --> test:1:5\n |\n 1 | x.0_i32\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i64'\n --> test:1:5\n |\n 1 | x.0_i64\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i128'\n --> test:1:5\n |\n 1 | x.0_i128\n | ^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u8'\n --> test:1:5\n |\n 1 | x.0_u8\n | ^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u16'\n --> test:1:5\n |\n 1 | x.0_u16\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u32'\n --> test:1:5\n |\n 1 | x.0_u32\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u64'\n --> test:1:5\n |\n 1 | x.0_u64\n | ^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u128'\n --> test:1:5\n |\n 1 | x.0_u128\n | ^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found '&'\n --> test:1:5\n |\n 1 | x.0_&\n | ^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'return'\n --> test:1:5\n |\n 1 | x.0_return\n | ^^^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'self'\n --> test:1:5\n |\n 1 | x.0_self\n | ^^^^" - - "Error [EPAR0370043]: Digit S invalid in radix 10 (token 0_S)." - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'true'\n --> test:1:5\n |\n 1 | x.0_true\n | ^^^^" - - "Error [EPAR0370033]: expected no underscores or leading zeros -- found 'false'\n --> test:1:5\n |\n 1 | x.0_false\n | ^^^^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '-' + --> test:1:3 + | + 1 | x.-12 + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found ';' + --> test:1:5 + | + 1 | x.0_; + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found ';' + --> test:1:6 + | + 1 | x.0_0; + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found ';' + --> test:1:5 + | + 1 | x.01; + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '.' + --> test:1:5 + | + 1 | x.0_. + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'import' + --> test:1:5 + | + 1 | x.0_import + | ^^^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found ',' + --> test:1:5 + | + 1 | x.0_, + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '*' + --> test:1:5 + | + 1 | x.0_* + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '+' + --> test:1:5 + | + 1 | x.0_+ + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '-' + --> test:1:5 + | + 1 | x.0_- + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '/' + --> test:1:5 + | + 1 | x.0_/ + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '[' + --> test:1:5 + | + 1 | x.0_[ + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found ']' + --> test:1:5 + | + 1 | x.0_] + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '{' + --> test:1:5 + | + 1 | x.0_{ + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '}' + --> test:1:5 + | + 1 | x.0_} + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '(' + --> test:1:5 + | + 1 | x.0_( + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found ')' + --> test:1:5 + | + 1 | x.0_) + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found ':' + --> test:1:5 + | + 1 | x.0_: + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '::' + --> test:1:5 + | + 1 | x.0_:: + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '?' + --> test:1:5 + | + 1 | x.0_? + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '' + --> test:1:3 + | + 1 | x.0__ + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '=' + --> test:1:5 + | + 1 | x.0_= + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '==' + --> test:1:5 + | + 1 | x.0_== + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '!' + --> test:1:5 + | + 1 | x.0_! + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '!=' + --> test:1:5 + | + 1 | x.0_!= + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '>' + --> test:1:5 + | + 1 | x.0_> + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '>=' + --> test:1:5 + | + 1 | x.0_>= + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '<' + --> test:1:5 + | + 1 | x.0_< + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '<=' + --> test:1:5 + | + 1 | x.0_<= + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '>' + --> test:1:5 + | + 1 | x.0_> + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '..' + --> test:1:5 + | + 1 | x.0_.. + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'as' + --> test:1:5 + | + 1 | x.0_as + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'console' + --> test:1:5 + | + 1 | x.0_console + | ^^^^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'const' + --> test:1:5 + | + 1 | x.0_const + | ^^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'let' + --> test:1:5 + | + 1 | x.0_let + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'for' + --> test:1:5 + | + 1 | x.0_for + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'if' + --> test:1:5 + | + 1 | x.0_if + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'else' + --> test:1:5 + | + 1 | x.0_else + | ^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i8' + --> test:1:5 + | + 1 | x.0_i8 + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i16' + --> test:1:5 + | + 1 | x.0_i16 + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i32' + --> test:1:5 + | + 1 | x.0_i32 + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i64' + --> test:1:5 + | + 1 | x.0_i64 + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'i128' + --> test:1:5 + | + 1 | x.0_i128 + | ^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u8' + --> test:1:5 + | + 1 | x.0_u8 + | ^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u16' + --> test:1:5 + | + 1 | x.0_u16 + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u32' + --> test:1:5 + | + 1 | x.0_u32 + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u64' + --> test:1:5 + | + 1 | x.0_u64 + | ^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'u128' + --> test:1:5 + | + 1 | x.0_u128 + | ^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found '&' + --> test:1:5 + | + 1 | x.0_& + | ^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'return' + --> test:1:5 + | + 1 | x.0_return + | ^^^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'self' + --> test:1:5 + | + 1 | x.0_self + | ^^^^""", + "Error [EPAR0370043]: Digit S invalid in radix 10 (token 0_S).", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'true' + --> test:1:5 + | + 1 | x.0_true + | ^^^^""", + """ +Error [EPAR0370033]: expected no underscores or leading zeros -- found 'false' + --> test:1:5 + | + 1 | x.0_false + | ^^^^^""", +] diff --git a/tests/expectations/parser/unreachable/equality_and_order_expression.out b/tests/expectations/parser/unreachable/equality_and_order_expression.out index 6fa21e2342..355de57ed6 100644 --- a/tests/expectations/parser/unreachable/equality_and_order_expression.out +++ b/tests/expectations/parser/unreachable/equality_and_order_expression.out @@ -1,56 +1,316 @@ ---- -namespace: ParseExpression -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 ; {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 . {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 import {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 , {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 * {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 + {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 - {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 / {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 [ {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 ] {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 { {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 } {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 ( {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 ) {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 : {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 :: {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 ? {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 _ {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 = {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 == {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 ! {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 != {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 > {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 >= {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 < {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 <= {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 > {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 .. {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 as {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 console {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 const {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 let {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 for {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 if {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 else {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 i8 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 i16 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 i32 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 i64 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 i128 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 u8 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 u16 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 u32 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 u64 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 u128 {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 & {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 return {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 self {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 Self {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 true {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 false {}\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found 'if'\n --> test:1:1\n |\n 1 | if 10 0 {}\n | ^^" +namespace = "ParseExpression" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 ; {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 . {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 import {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 , {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 * {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 + {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 - {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 / {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 [ {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 ] {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 { {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 } {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 ( {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 ) {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 : {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 :: {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 ? {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 _ {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 = {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 == {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 ! {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 != {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 > {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 >= {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 < {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 <= {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 > {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 .. {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 as {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 console {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 const {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 let {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 for {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 if {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 else {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 i8 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 i16 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 i32 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 i64 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 i128 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 u8 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 u16 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 u32 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 u64 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 u128 {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 & {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 return {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 self {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 Self {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 true {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 false {} + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found 'if' + --> test:1:1 + | + 1 | if 10 0 {} + | ^^""", +] diff --git a/tests/expectations/parser/unreachable/expect_ident.out b/tests/expectations/parser/unreachable/expect_ident.out index a147ba7396..5c24dc5903 100644 --- a/tests/expectations/parser/unreachable/expect_ident.out +++ b/tests/expectations/parser/unreachable/expect_ident.out @@ -1,56 +1,316 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ';'\n --> test:1:4\n |\n 1 | x::;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '.'\n --> test:1:4\n |\n 1 | x::.\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'import'\n --> test:1:4\n |\n 1 | x::import\n | ^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ','\n --> test:1:4\n |\n 1 | x::,\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '*'\n --> test:1:4\n |\n 1 | x::*\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '+'\n --> test:1:4\n |\n 1 | x::+\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '-'\n --> test:1:4\n |\n 1 | x::-\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '/'\n --> test:1:4\n |\n 1 | x::/\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '['\n --> test:1:4\n |\n 1 | x::[\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ']'\n --> test:1:4\n |\n 1 | x::]\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '{'\n --> test:1:4\n |\n 1 | x::{\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '}'\n --> test:1:4\n |\n 1 | x::}\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '('\n --> test:1:4\n |\n 1 | x::(\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ')'\n --> test:1:4\n |\n 1 | x::)\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found ':'\n --> test:1:4\n |\n 1 | x:::\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '::'\n --> test:1:4\n |\n 1 | x::::\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '?'\n --> test:1:4\n |\n 1 | x::?\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '_'\n --> test:1:4\n |\n 1 | x::_\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '='\n --> test:1:4\n |\n 1 | x::=\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '=='\n --> test:1:4\n |\n 1 | x::==\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '!'\n --> test:1:4\n |\n 1 | x::!\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '!='\n --> test:1:4\n |\n 1 | x::!=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '>'\n --> test:1:4\n |\n 1 | x::>\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '>='\n --> test:1:4\n |\n 1 | x::>=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '<'\n --> test:1:4\n |\n 1 | x::<\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '<='\n --> test:1:4\n |\n 1 | x::<=\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '>'\n --> test:1:4\n |\n 1 | x::>\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '..'\n --> test:1:4\n |\n 1 | x::..\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'as'\n --> test:1:4\n |\n 1 | x::as\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'console'\n --> test:1:4\n |\n 1 | x::console\n | ^^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const'\n --> test:1:4\n |\n 1 | x::const\n | ^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'let'\n --> test:1:4\n |\n 1 | x::let\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'for'\n --> test:1:4\n |\n 1 | x::for\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'if'\n --> test:1:4\n |\n 1 | x::if\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'else'\n --> test:1:4\n |\n 1 | x::else\n | ^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i8'\n --> test:1:4\n |\n 1 | x::i8\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i16'\n --> test:1:4\n |\n 1 | x::i16\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i32'\n --> test:1:4\n |\n 1 | x::i32\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i64'\n --> test:1:4\n |\n 1 | x::i64\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i128'\n --> test:1:4\n |\n 1 | x::i128\n | ^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u8'\n --> test:1:4\n |\n 1 | x::u8\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u16'\n --> test:1:4\n |\n 1 | x::u16\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u32'\n --> test:1:4\n |\n 1 | x::u32\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u64'\n --> test:1:4\n |\n 1 | x::u64\n | ^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u128'\n --> test:1:4\n |\n 1 | x::u128\n | ^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '&'\n --> test:1:4\n |\n 1 | x::&\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'return'\n --> test:1:4\n |\n 1 | x::return\n | ^^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'self'\n --> test:1:4\n |\n 1 | x::self\n | ^^^^" - - "Error [EPAR0370005]: expected ; -- found ''\n --> test:1:4\n |\n 1 | x::Self\n | ^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'true'\n --> test:1:4\n |\n 1 | x::true\n | ^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found 'false'\n --> test:1:4\n |\n 1 | x::false\n | ^^^^^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '0'\n --> test:1:4\n |\n 1 | x::0\n | ^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ';' + --> test:1:4 + | + 1 | x::; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '.' + --> test:1:4 + | + 1 | x::. + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'import' + --> test:1:4 + | + 1 | x::import + | ^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ',' + --> test:1:4 + | + 1 | x::, + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '*' + --> test:1:4 + | + 1 | x::* + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '+' + --> test:1:4 + | + 1 | x::+ + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '-' + --> test:1:4 + | + 1 | x::- + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '/' + --> test:1:4 + | + 1 | x::/ + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '[' + --> test:1:4 + | + 1 | x::[ + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ']' + --> test:1:4 + | + 1 | x::] + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '{' + --> test:1:4 + | + 1 | x::{ + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '}' + --> test:1:4 + | + 1 | x::} + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '(' + --> test:1:4 + | + 1 | x::( + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ')' + --> test:1:4 + | + 1 | x::) + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found ':' + --> test:1:4 + | + 1 | x::: + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '::' + --> test:1:4 + | + 1 | x:::: + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '?' + --> test:1:4 + | + 1 | x::? + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '_' + --> test:1:4 + | + 1 | x::_ + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '=' + --> test:1:4 + | + 1 | x::= + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '==' + --> test:1:4 + | + 1 | x::== + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '!' + --> test:1:4 + | + 1 | x::! + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '!=' + --> test:1:4 + | + 1 | x::!= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '>' + --> test:1:4 + | + 1 | x::> + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '>=' + --> test:1:4 + | + 1 | x::>= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '<' + --> test:1:4 + | + 1 | x::< + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '<=' + --> test:1:4 + | + 1 | x::<= + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '>' + --> test:1:4 + | + 1 | x::> + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '..' + --> test:1:4 + | + 1 | x::.. + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'as' + --> test:1:4 + | + 1 | x::as + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'console' + --> test:1:4 + | + 1 | x::console + | ^^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'const' + --> test:1:4 + | + 1 | x::const + | ^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'let' + --> test:1:4 + | + 1 | x::let + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'for' + --> test:1:4 + | + 1 | x::for + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'if' + --> test:1:4 + | + 1 | x::if + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'else' + --> test:1:4 + | + 1 | x::else + | ^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i8' + --> test:1:4 + | + 1 | x::i8 + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i16' + --> test:1:4 + | + 1 | x::i16 + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i32' + --> test:1:4 + | + 1 | x::i32 + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i64' + --> test:1:4 + | + 1 | x::i64 + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'i128' + --> test:1:4 + | + 1 | x::i128 + | ^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u8' + --> test:1:4 + | + 1 | x::u8 + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u16' + --> test:1:4 + | + 1 | x::u16 + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u32' + --> test:1:4 + | + 1 | x::u32 + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u64' + --> test:1:4 + | + 1 | x::u64 + | ^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'u128' + --> test:1:4 + | + 1 | x::u128 + | ^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '&' + --> test:1:4 + | + 1 | x::& + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'return' + --> test:1:4 + | + 1 | x::return + | ^^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'self' + --> test:1:4 + | + 1 | x::self + | ^^^^""", + """ +Error [EPAR0370005]: expected ; -- found '' + --> test:1:4 + | + 1 | x::Self + | ^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'true' + --> test:1:4 + | + 1 | x::true + | ^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found 'false' + --> test:1:4 + | + 1 | x::false + | ^^^^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '0' + --> test:1:4 + | + 1 | x::0 + | ^""", +] diff --git a/tests/expectations/parser/unreachable/math_op_fail.out b/tests/expectations/parser/unreachable/math_op_fail.out index 0ac8b2c313..b2156c2d8f 100644 --- a/tests/expectations/parser/unreachable/math_op_fail.out +++ b/tests/expectations/parser/unreachable/math_op_fail.out @@ -1,58 +1,327 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a ; b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a import b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a , b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a [ b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a ] b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a { b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a } b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a ( b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a ) b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a : b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a ? b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a _ b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a = b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a ! b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a .. b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a console b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a const b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a let b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a for b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a if b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a else b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a i8 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a i16 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a i32 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a i64 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a i128 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a u8 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a u16 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a u32 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a u64 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a u128 b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a & b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a return b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a self b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a Self b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a true b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a false b;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a 0 b;\n | ^" - - "did not consume all input: '=' @ 1:3-4\n'b' @ 1:4-5\n';' @ 1:5-6\n" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '='\n --> test:1:3\n |\n 1 | x.=b;\n | ^" - - "Error [EPAR0370005]: expected ; -- found ','\n --> test:1:2\n |\n 1 | x,=b; // 43\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:3\n |\n 1 | x[=b;\n | ^" - - "Error [EPAR0370005]: expected ; -- found ']'\n --> test:1:2\n |\n 1 | x]=b;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'identifier', found '='\n --> test:1:3\n |\n 1 | x{=b;\n | ^" - - "Error [EPAR0370005]: expected ; -- found '}'\n --> test:1:2\n |\n 1 | x}=b;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ';'\n --> test:1:4\n |\n 1 | x=(;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ')'\n --> test:1:3\n |\n 1 | x=);\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found ':'\n --> test:1:3\n |\n 1 | x=:;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '::'\n --> test:1:3\n |\n 1 | x=::;\n | ^^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:3\n |\n 1 | x?=b;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:4\n |\n 1 | x!==b;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:4\n |\n 1 | x>==b;\n | ^" - - "Error [EPAR0370009]: unexpected string: expected 'expression', found '='\n --> test:1:4\n |\n 1 | x<==b;\n | ^" - - "Error [EPAR0370005]: expected ; -- found '..'\n --> test:1:2\n |\n 1 | x..=b;\n | ^^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a ; b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a import b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a , b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a [ b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a ] b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a { b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a } b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a ( b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a ) b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a : b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a ? b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a _ b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a = b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a ! b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a .. b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a console b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a const b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a let b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a for b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a if b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a else b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a i8 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a i16 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a i32 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a i64 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a i128 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a u8 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a u16 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a u32 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a u64 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a u128 b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a & b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a return b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a self b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a Self b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a true b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a false b; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a 0 b; + | ^""", + """ +did not consume all input: '=' @ 1:3-4 +'b' @ 1:4-5 +';' @ 1:5-6 +""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '=' + --> test:1:3 + | + 1 | x.=b; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found ',' + --> test:1:2 + | + 1 | x,=b; // 43 + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:3 + | + 1 | x[=b; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found ']' + --> test:1:2 + | + 1 | x]=b; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'identifier', found '=' + --> test:1:3 + | + 1 | x{=b; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found '}' + --> test:1:2 + | + 1 | x}=b; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ';' + --> test:1:4 + | + 1 | x=(; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ')' + --> test:1:3 + | + 1 | x=); + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found ':' + --> test:1:3 + | + 1 | x=:; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '::' + --> test:1:3 + | + 1 | x=::; + | ^^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:3 + | + 1 | x?=b; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:4 + | + 1 | x!==b; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:4 + | + 1 | x>==b; + | ^""", + """ +Error [EPAR0370009]: unexpected string: expected 'expression', found '=' + --> test:1:4 + | + 1 | x<==b; + | ^""", + """ +Error [EPAR0370005]: expected ; -- found '..' + --> test:1:2 + | + 1 | x..=b; + | ^^""", +] diff --git a/tests/expectations/parser/unreachable/math_op_pass.out b/tests/expectations/parser/unreachable/math_op_pass.out index 85f45119ac..71b1d80de5 100644 --- a/tests/expectations/parser/unreachable/math_op_pass.out +++ b/tests/expectations/parser/unreachable/math_op_pass.out @@ -1,340 +1,527 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Eq - span: - lo: 12 - hi: 18 - id: 3 - span: - lo: 0 - hi: 18 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Neq - span: - lo: 12 - hi: 18 - id: 3 - span: - lo: 0 - hi: 18 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Gt - span: - lo: 12 - hi: 17 - id: 3 - span: - lo: 0 - hi: 17 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Gte - span: - lo: 12 - hi: 18 - id: 3 - span: - lo: 0 - hi: 18 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Lt - span: - lo: 12 - hi: 17 - id: 3 - span: - lo: 0 - hi: 17 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}" - op: Lte - span: - lo: 12 - hi: 18 - id: 3 - span: - lo: 0 - hi: 18 - id: 4 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Binary: - left: - Identifier: "{\"id\":\"1\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}" - right: - Identifier: "{\"id\":\"2\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}" - op: Gt - span: - lo: 12 - hi: 17 - id: 3 - span: - lo: 0 - hi: 17 - id: 4 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"x_\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":4}\"}" - span: - lo: 0 - hi: 4 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xconsole\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":8}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":9,\\\"hi\\\":10}\"}" - span: - lo: 0 - hi: 10 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xconst\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - span: - lo: 0 - hi: 8 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xlet\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xfor\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xif\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - span: - lo: 0 - hi: 5 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xelse\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - span: - lo: 0 - hi: 7 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xi8\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - span: - lo: 0 - hi: 5 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xi16\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xi32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xi64\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xi128\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - span: - lo: 0 - hi: 7 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xu8\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":3}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - span: - lo: 0 - hi: 5 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xu16\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xu32\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xu64\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}" - span: - lo: 0 - hi: 6 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xu128\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - span: - lo: 0 - hi: 7 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xreturn\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":7}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}" - span: - lo: 0 - hi: 9 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xtrue\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":5}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - span: - lo: 0 - hi: 7 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"xfalse\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":6}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}" - span: - lo: 0 - hi: 8 - id: 3 - - Assign: - place: - Identifier: "{\"id\":\"0\",\"name\":\"x0\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":2}\"}" - value: - Identifier: "{\"id\":\"1\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":4}\"}" - span: - lo: 0 - hi: 4 - id: 3 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Binary] +op = "Eq" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Definition.value.Binary.span] +lo = 12 +hi = 18 + +[outputs.Definition.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Binary] +op = "Neq" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Definition.value.Binary.span] +lo = 12 +hi = 18 + +[outputs.Definition.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Binary] +op = "Gt" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Definition.value.Binary.span] +lo = 12 +hi = 17 + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Binary] +op = "Gte" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Definition.value.Binary.span] +lo = 12 +hi = 18 + +[outputs.Definition.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Binary] +op = "Lt" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Definition.value.Binary.span] +lo = 12 +hi = 17 + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Binary] +op = "Lte" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":17,\"hi\":18}"}' + +[outputs.Definition.value.Binary.span] +lo = 12 +hi = 18 + +[outputs.Definition.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 4 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value.Binary] +op = "Gt" +id = 3 + +[outputs.Definition.value.Binary.left] +Identifier = '{"id":"1","name":"a","span":"{\"lo\":12,\"hi\":13}"}' + +[outputs.Definition.value.Binary.right] +Identifier = '{"id":"2","name":"b","span":"{\"lo\":16,\"hi\":17}"}' + +[outputs.Definition.value.Binary.span] +lo = 12 +hi = 17 + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"x_","span":"{\"lo\":0,\"hi\":2}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":3,\"hi\":4}"}' + +[outputs.Assign.span] +lo = 0 +hi = 4 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xconsole","span":"{\"lo\":0,\"hi\":8}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":9,\"hi\":10}"}' + +[outputs.Assign.span] +lo = 0 +hi = 10 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xconst","span":"{\"lo\":0,\"hi\":6}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Assign.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xlet","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xfor","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xif","span":"{\"lo\":0,\"hi\":3}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Assign.span] +lo = 0 +hi = 5 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xelse","span":"{\"lo\":0,\"hi\":5}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Assign.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xi8","span":"{\"lo\":0,\"hi\":3}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Assign.span] +lo = 0 +hi = 5 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xi16","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xi32","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xi64","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xi128","span":"{\"lo\":0,\"hi\":5}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Assign.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xu8","span":"{\"lo\":0,\"hi\":3}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Assign.span] +lo = 0 +hi = 5 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xu16","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xu32","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xu64","span":"{\"lo\":0,\"hi\":4}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":5,\"hi\":6}"}' + +[outputs.Assign.span] +lo = 0 +hi = 6 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xu128","span":"{\"lo\":0,\"hi\":5}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Assign.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xreturn","span":"{\"lo\":0,\"hi\":7}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":8,\"hi\":9}"}' + +[outputs.Assign.span] +lo = 0 +hi = 9 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xtrue","span":"{\"lo\":0,\"hi\":5}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":6,\"hi\":7}"}' + +[outputs.Assign.span] +lo = 0 +hi = 7 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"xfalse","span":"{\"lo\":0,\"hi\":6}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":7,\"hi\":8}"}' + +[outputs.Assign.span] +lo = 0 +hi = 8 + +[[outputs]] + +[outputs.Assign] +id = 3 + +[outputs.Assign.place] +Identifier = '{"id":"0","name":"x0","span":"{\"lo\":0,\"hi\":2}"}' + +[outputs.Assign.value] +Identifier = '{"id":"1","name":"b","span":"{\"lo\":3,\"hi\":4}"}' + +[outputs.Assign.span] +lo = 0 +hi = 4 diff --git a/tests/expectations/parser/unreachable/postfix_fail.out b/tests/expectations/parser/unreachable/postfix_fail.out index 1391c02928..49bf4f63e2 100644 --- a/tests/expectations/parser/unreachable/postfix_fail.out +++ b/tests/expectations/parser/unreachable/postfix_fail.out @@ -1,24 +1,124 @@ ---- -namespace: ParseStatement -expectation: Fail -outputs: - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a;;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a.;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a,;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a[;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a];\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a{;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a};\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a);\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a:;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a?;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a=;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a==;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a!;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a!=;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a>;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a>=;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a<;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a<=;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a>;\n | ^" - - "Error [EPAR0370005]: expected : -- found '='\n --> test:1:7\n |\n 1 | let x = a..;\n | ^" +namespace = "ParseStatement" +expectation = "Fail" +outputs = [ + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a;; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a.; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a,; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a[; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a]; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a{; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a}; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a); + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a:; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a?; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a=; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a==; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a!; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a!=; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a>; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a>=; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a<; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a<=; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a>; + | ^""", + """ +Error [EPAR0370005]: expected : -- found '=' + --> test:1:7 + | + 1 | let x = a..; + | ^""", +] diff --git a/tests/expectations/parser/unreachable/postfix_pass.out b/tests/expectations/parser/unreachable/postfix_pass.out index c8f6b716d8..c11bdc9eb9 100644 --- a/tests/expectations/parser/unreachable/postfix_pass.out +++ b/tests/expectations/parser/unreachable/postfix_pass.out @@ -1,304 +1,477 @@ ---- -namespace: ParseStatement -expectation: Pass -outputs: - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aimport\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":19}\"}" - span: - lo: 0 - hi: 19 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"a_\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":14}\"}" - span: - lo: 0 - hi: 14 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aas\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" - span: - lo: 0 - hi: 15 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aconsole\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":20}\"}" - span: - lo: 0 - hi: 20 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aconst\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":18}\"}" - span: - lo: 0 - hi: 18 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"alet\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"afor\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aif\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" - span: - lo: 0 - hi: 15 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aelse\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"ai8\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" - span: - lo: 0 - hi: 15 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"ai16\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"ai32\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"ai64\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"ai128\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"au8\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" - span: - lo: 0 - hi: 15 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"au16\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"au32\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"au64\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" - span: - lo: 0 - hi: 16 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"au128\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"areturn\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":19}\"}" - span: - lo: 0 - hi: 19 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aself\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"aSelf\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"atrue\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" - span: - lo: 0 - hi: 17 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"afalse\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":18}\"}" - span: - lo: 0 - hi: 18 - id: 2 - - Definition: - declaration_type: Let - place: - Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: - Integer: U8 - value: - Identifier: "{\"id\":\"1\",\"name\":\"a0\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":14}\"}" - span: - lo: 0 - hi: 14 - id: 2 +namespace = "ParseStatement" +expectation = "Pass" + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aimport","span":"{\"lo\":12,\"hi\":19}"}' + +[outputs.Definition.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"a_","span":"{\"lo\":12,\"hi\":14}"}' + +[outputs.Definition.span] +lo = 0 +hi = 14 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aas","span":"{\"lo\":12,\"hi\":15}"}' + +[outputs.Definition.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aconsole","span":"{\"lo\":12,\"hi\":20}"}' + +[outputs.Definition.span] +lo = 0 +hi = 20 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aconst","span":"{\"lo\":12,\"hi\":18}"}' + +[outputs.Definition.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"alet","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"afor","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aif","span":"{\"lo\":12,\"hi\":15}"}' + +[outputs.Definition.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aelse","span":"{\"lo\":12,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"ai8","span":"{\"lo\":12,\"hi\":15}"}' + +[outputs.Definition.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"ai16","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"ai32","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"ai64","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"ai128","span":"{\"lo\":12,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"au8","span":"{\"lo\":12,\"hi\":15}"}' + +[outputs.Definition.span] +lo = 0 +hi = 15 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"au16","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"au32","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"au64","span":"{\"lo\":12,\"hi\":16}"}' + +[outputs.Definition.span] +lo = 0 +hi = 16 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"au128","span":"{\"lo\":12,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"areturn","span":"{\"lo\":12,\"hi\":19}"}' + +[outputs.Definition.span] +lo = 0 +hi = 19 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aself","span":"{\"lo\":12,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"aSelf","span":"{\"lo\":12,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"atrue","span":"{\"lo\":12,\"hi\":17}"}' + +[outputs.Definition.span] +lo = 0 +hi = 17 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"afalse","span":"{\"lo\":12,\"hi\":18}"}' + +[outputs.Definition.span] +lo = 0 +hi = 18 + +[[outputs]] + +[outputs.Definition] +declaration_type = "Let" +id = 2 + +[outputs.Definition.place] +Identifier = '{"id":"0","name":"x","span":"{\"lo\":4,\"hi\":5}"}' + +[outputs.Definition.type_] +Integer = "U8" + +[outputs.Definition.value] +Identifier = '{"id":"1","name":"a0","span":"{\"lo\":12,\"hi\":14}"}' + +[outputs.Definition.span] +lo = 0 +hi = 14 diff --git a/tests/test-framework/Cargo.toml b/tests/test-framework/Cargo.toml index d83137da74..b469629962 100644 --- a/tests/test-framework/Cargo.toml +++ b/tests/test-framework/Cargo.toml @@ -42,8 +42,8 @@ workspace = true [dependencies.serde_json] workspace = true -[dependencies.serde_yaml] -version = "0.8" +[dependencies.toml] +workspace = true [dependencies.walkdir] version = "2.5" diff --git a/tests/test-framework/src/error.rs b/tests/test-framework/src/error.rs index 568215a0d6..66c0fa3e64 100644 --- a/tests/test-framework/src/error.rs +++ b/tests/test-framework/src/error.rs @@ -16,7 +16,7 @@ use std::fmt; -use serde_yaml::Value; +use toml::Value; use crate::test::TestExpectationMode; @@ -50,8 +50,8 @@ impl fmt::Display for TestError { "test #{}: {}expected\n{}\ngot\n{}", index + 1, format_test(test), - serde_yaml::to_string(&expected).expect("serialization failed"), - serde_yaml::to_string(&output).expect("serialization failed") + toml::to_string(&expected).expect("serialization failed"), + toml::to_string(&output).expect("serialization failed") ) } TestError::PassedAndShouldntHave { test, index } => { @@ -101,13 +101,13 @@ pub fn emit_errors( } (Ok(Err(err)), TestExpectationMode::Fail) => { let expected_output: Option = - expected_output.map(|x| serde_yaml::from_value(x).expect("test expectation deserialize failed")); - if let Some(expected_output) = expected_output.as_deref() { - if err != expected_output { + expected_output.map(|x| if let Value::String(s) = x { s } else { panic!("output should be string") }); + if let Some(expected_output) = expected_output { + if err != &expected_output { // invalid output return Some(TestError::UnexpectedError { test: test.to_string(), - expected: expected_output.to_string(), + expected: expected_output, output: err.to_string(), index: test_index, }); diff --git a/tests/test-framework/src/output.rs b/tests/test-framework/src/output.rs index 40f6955b01..c7a157e336 100644 --- a/tests/test-framework/src/output.rs +++ b/tests/test-framework/src/output.rs @@ -15,7 +15,7 @@ // along with the Leo library. If not, see . use crate::test::TestExpectationMode; -use serde_yaml::Value; +use toml::Value; #[derive(serde::Serialize, serde::Deserialize, Clone)] pub struct TestExpectation { diff --git a/tests/test-framework/src/runner.rs b/tests/test-framework/src/runner.rs index 09a1380c90..1221ba541d 100644 --- a/tests/test-framework/src/runner.rs +++ b/tests/test-framework/src/runner.rs @@ -14,7 +14,6 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use serde_yaml::Value; use std::{ any::Any, panic::{self, RefUnwindSafe, UnwindSafe}, @@ -22,6 +21,7 @@ use std::{ sync::{Arc, Mutex}, thread, }; +use toml::Value; use crate::{error::*, fetch::find_tests, output::TestExpectation, test::*}; @@ -175,7 +175,7 @@ impl TestCases { (expectation_path, None) } else { let raw = std::fs::read_to_string(&expectation_path).expect("failed to read expectations file"); - (expectation_path, Some(serde_yaml::from_str(&raw).expect("invalid yaml in expectations file"))) + (expectation_path, Some(toml::from_str(&raw).expect("invalid toml in expectations file"))) } } else { (expectation_path, None) @@ -236,7 +236,7 @@ pub fn run_tests(runner: &T, expectation_category: &str) { output .unwrap() .as_ref() - .map(|x| serde_yaml::to_value(x).expect("serialization failed")) + .map(|x| Value::try_from(x).expect("serialization failed")) .unwrap_or_else(|e| Value::String(e.clone())), ); } @@ -276,7 +276,7 @@ pub fn run_tests(runner: &T, expectation_category: &str) { std::fs::create_dir_all(path.parent().unwrap()).expect("failed to make test expectation parent directory"); std::fs::write( &path, - serde_yaml::to_string(&new_expectation).expect("failed to serialize expectation yaml"), + toml::to_string_pretty(&new_expectation).expect("failed to serialize expectation toml"), ) .expect("failed to write expectation file"); } diff --git a/tests/test-framework/src/test.rs b/tests/test-framework/src/test.rs index 7fe5340ed1..86cc930547 100644 --- a/tests/test-framework/src/test.rs +++ b/tests/test-framework/src/test.rs @@ -31,12 +31,12 @@ pub struct TestConfig { pub namespace: String, pub expectation: TestExpectationMode, #[serde(flatten)] - pub extra: BTreeMap, + pub extra: BTreeMap, } pub fn extract_test_config(source: &str) -> Option { let first_comment_start = source.find("/*")?; let end_first_comment = source[first_comment_start + 2..].find("*/")?; let comment_inner = &source[first_comment_start + 2..first_comment_start + 2 + end_first_comment]; - Some(serde_yaml::from_str(comment_inner).expect("invalid test configuration")) + Some(toml::from_str(comment_inner).expect("invalid test configuration")) } diff --git a/tests/test-framework/src/unused/both_sign_high.leo b/tests/test-framework/src/unused/both_sign_high.leo index 0b00daf25c..611464b3e1 100644 --- a/tests/test-framework/src/unused/both_sign_high.leo +++ b/tests/test-framework/src/unused/both_sign_high.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main() -> bool { diff --git a/tests/test-framework/src/unused/both_sign_inferred.leo b/tests/test-framework/src/unused/both_sign_inferred.leo index 7b41a0a480..7c464667ef 100644 --- a/tests/test-framework/src/unused/both_sign_inferred.leo +++ b/tests/test-framework/src/unused/both_sign_inferred.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main() -> bool { diff --git a/tests/test-framework/src/unused/both_sign_low.leo b/tests/test-framework/src/unused/both_sign_low.leo index 88517b55a7..3337dab54b 100644 --- a/tests/test-framework/src/unused/both_sign_low.leo +++ b/tests/test-framework/src/unused/both_sign_low.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main() -> bool { diff --git a/tests/test-framework/src/unused/repeated.leo b/tests/test-framework/src/unused/repeated.leo index f82ceb200a..e91bd7c1df 100644 --- a/tests/test-framework/src/unused/repeated.leo +++ b/tests/test-framework/src/unused/repeated.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function one(x: bool) -> bool { diff --git a/tests/test-framework/src/unused/return.leo b/tests/test-framework/src/unused/return.leo index 635a81de00..db16635763 100644 --- a/tests/test-framework/src/unused/return.leo +++ b/tests/test-framework/src/unused/return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function one() -> u32 { diff --git a/tests/test-framework/src/unused/string/invalid_char.leo b/tests/test-framework/src/unused/string/invalid_char.leo index 16d2a9f4e4..3abffccca1 100644 --- a/tests/test-framework/src/unused/string/invalid_char.leo +++ b/tests/test-framework/src/unused/string/invalid_char.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ function main() { diff --git a/tests/test-framework/src/unused/string/neq.leo b/tests/test-framework/src/unused/string/neq.leo index 0fc1fe66d7..726777e90f 100644 --- a/tests/test-framework/src/unused/string/neq.leo +++ b/tests/test-framework/src/unused/string/neq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ function main(character: char) -> char { diff --git a/tests/test-framework/src/unused/string/out.leo b/tests/test-framework/src/unused/string/out.leo index 53bf1e2f7e..e69b4ae26b 100644 --- a/tests/test-framework/src/unused/string/out.leo +++ b/tests/test-framework/src/unused/string/out.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ function main(character: char) -> char { console.log("{}", character); diff --git a/tests/test-framework/src/unused/string/string.leo b/tests/test-framework/src/unused/string/string.leo index 1488256345..eaf02d529c 100644 --- a/tests/test-framework/src/unused/string/string.leo +++ b/tests/test-framework/src/unused/string/string.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main(hello: string) -> string { diff --git a/tests/test-framework/src/unused/y_sign_high.leo b/tests/test-framework/src/unused/y_sign_high.leo index 6a56027dae..a570ba5146 100644 --- a/tests/test-framework/src/unused/y_sign_high.leo +++ b/tests/test-framework/src/unused/y_sign_high.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main() -> group { diff --git a/tests/test-framework/src/unused/y_sign_inferred.leo b/tests/test-framework/src/unused/y_sign_inferred.leo index 86ab11f5ea..bf27d62b30 100644 --- a/tests/test-framework/src/unused/y_sign_inferred.leo +++ b/tests/test-framework/src/unused/y_sign_inferred.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main() -> group { diff --git a/tests/test-framework/src/unused/y_sign_low.leo b/tests/test-framework/src/unused/y_sign_low.leo index 80e233badf..f41ca2261b 100644 --- a/tests/test-framework/src/unused/y_sign_low.leo +++ b/tests/test-framework/src/unused/y_sign_low.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main() -> group { diff --git a/tests/tests/compiler/additional_benches/big.leo b/tests/tests/compiler/additional_benches/big.leo index 0cc211857d..d8efa06531 100644 --- a/tests/tests/compiler/additional_benches/big.leo +++ b/tests/tests/compiler/additional_benches/big.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Pass +namespace = "Bench" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/big_circuit.leo b/tests/tests/compiler/additional_benches/big_circuit.leo index 2fc763321f..11e3c62d10 100644 --- a/tests/tests/compiler/additional_benches/big_circuit.leo +++ b/tests/tests/compiler/additional_benches/big_circuit.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/big_if_else.leo b/tests/tests/compiler/additional_benches/big_if_else.leo index bd9300ed35..4cd0f0ff9a 100644 --- a/tests/tests/compiler/additional_benches/big_if_else.leo +++ b/tests/tests/compiler/additional_benches/big_if_else.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/big_ternary.leo b/tests/tests/compiler/additional_benches/big_ternary.leo index 19703da287..820160d3b3 100644 --- a/tests/tests/compiler/additional_benches/big_ternary.leo +++ b/tests/tests/compiler/additional_benches/big_ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/large_1.leo b/tests/tests/compiler/additional_benches/large_1.leo index 61e294b84c..0e4b17e0db 100644 --- a/tests/tests/compiler/additional_benches/large_1.leo +++ b/tests/tests/compiler/additional_benches/large_1.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/large_2.leo b/tests/tests/compiler/additional_benches/large_2.leo index 4420619985..072367c4a1 100644 --- a/tests/tests/compiler/additional_benches/large_2.leo +++ b/tests/tests/compiler/additional_benches/large_2.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/large_3.leo b/tests/tests/compiler/additional_benches/large_3.leo index 04ab5ed103..7819d2bfa4 100644 --- a/tests/tests/compiler/additional_benches/large_3.leo +++ b/tests/tests/compiler/additional_benches/large_3.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/large_4.leo b/tests/tests/compiler/additional_benches/large_4.leo index 0ab4b390c0..95a3394b88 100644 --- a/tests/tests/compiler/additional_benches/large_4.leo +++ b/tests/tests/compiler/additional_benches/large_4.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/large_5.leo b/tests/tests/compiler/additional_benches/large_5.leo index 18c4139b8a..c97c58ddad 100644 --- a/tests/tests/compiler/additional_benches/large_5.leo +++ b/tests/tests/compiler/additional_benches/large_5.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/long_array.leo b/tests/tests/compiler/additional_benches/long_array.leo index bf4b6c827b..8d521054bc 100644 --- a/tests/tests/compiler/additional_benches/long_array.leo +++ b/tests/tests/compiler/additional_benches/long_array.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/long_expr.leo b/tests/tests/compiler/additional_benches/long_expr.leo index 099b90077c..83d3a78075 100644 --- a/tests/tests/compiler/additional_benches/long_expr.leo +++ b/tests/tests/compiler/additional_benches/long_expr.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Pass +namespace = "Bench" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/many_assigns.leo b/tests/tests/compiler/additional_benches/many_assigns.leo index 3599c592f7..8d350746f7 100644 --- a/tests/tests/compiler/additional_benches/many_assigns.leo +++ b/tests/tests/compiler/additional_benches/many_assigns.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/many_foos.leo b/tests/tests/compiler/additional_benches/many_foos.leo index 1e2a5750ae..6f57bc9944 100644 --- a/tests/tests/compiler/additional_benches/many_foos.leo +++ b/tests/tests/compiler/additional_benches/many_foos.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Pass +namespace = "Bench" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/massive.leo b/tests/tests/compiler/additional_benches/massive.leo index d2e127beed..dcda26b54f 100644 --- a/tests/tests/compiler/additional_benches/massive.leo +++ b/tests/tests/compiler/additional_benches/massive.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/medium_1.leo b/tests/tests/compiler/additional_benches/medium_1.leo index 11ba5fc5ff..5390ef68df 100644 --- a/tests/tests/compiler/additional_benches/medium_1.leo +++ b/tests/tests/compiler/additional_benches/medium_1.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/medium_2.leo b/tests/tests/compiler/additional_benches/medium_2.leo index 260de8fb35..cc1d194583 100644 --- a/tests/tests/compiler/additional_benches/medium_2.leo +++ b/tests/tests/compiler/additional_benches/medium_2.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/medium_3.leo b/tests/tests/compiler/additional_benches/medium_3.leo index 85e1a319e9..8adce838f4 100644 --- a/tests/tests/compiler/additional_benches/medium_3.leo +++ b/tests/tests/compiler/additional_benches/medium_3.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/medium_4.leo b/tests/tests/compiler/additional_benches/medium_4.leo index 819c658825..5271d91d77 100644 --- a/tests/tests/compiler/additional_benches/medium_4.leo +++ b/tests/tests/compiler/additional_benches/medium_4.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/medium_5.leo b/tests/tests/compiler/additional_benches/medium_5.leo index 961926edd0..de563bedde 100644 --- a/tests/tests/compiler/additional_benches/medium_5.leo +++ b/tests/tests/compiler/additional_benches/medium_5.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/small_1.leo b/tests/tests/compiler/additional_benches/small_1.leo index d556215405..ae26eccc92 100644 --- a/tests/tests/compiler/additional_benches/small_1.leo +++ b/tests/tests/compiler/additional_benches/small_1.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/small_2.leo b/tests/tests/compiler/additional_benches/small_2.leo index 7b1d448bef..18d6f7b816 100644 --- a/tests/tests/compiler/additional_benches/small_2.leo +++ b/tests/tests/compiler/additional_benches/small_2.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/small_3.leo b/tests/tests/compiler/additional_benches/small_3.leo index 4c8f5f239e..580ece688b 100644 --- a/tests/tests/compiler/additional_benches/small_3.leo +++ b/tests/tests/compiler/additional_benches/small_3.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/small_4.leo b/tests/tests/compiler/additional_benches/small_4.leo index 36057b0b15..9d4092bf25 100644 --- a/tests/tests/compiler/additional_benches/small_4.leo +++ b/tests/tests/compiler/additional_benches/small_4.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/additional_benches/small_5.leo b/tests/tests/compiler/additional_benches/small_5.leo index ca2507911e..5fe0780cad 100644 --- a/tests/tests/compiler/additional_benches/small_5.leo +++ b/tests/tests/compiler/additional_benches/small_5.leo @@ -1,6 +1,6 @@ /* -namespace: Bench -expectation: Skip +namespace = "Bench" +expectation = "Skip" */ program test.aleo { diff --git a/tests/tests/compiler/address/binary.leo b/tests/tests/compiler/address/binary.leo index c42c293c0a..76f15dd110 100644 --- a/tests/tests/compiler/address/binary.leo +++ b/tests/tests/compiler/address/binary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/address/branch.leo b/tests/tests/compiler/address/branch.leo index 3f16eec41b..eadfcedaf9 100644 --- a/tests/tests/compiler/address/branch.leo +++ b/tests/tests/compiler/address/branch.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/address/equal.leo b/tests/tests/compiler/address/equal.leo index 5d83f725a1..d4d046791a 100644 --- a/tests/tests/compiler/address/equal.leo +++ b/tests/tests/compiler/address/equal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/address/gt_fail.leo b/tests/tests/compiler/address/gt_fail.leo index d3bb4ffac4..558b60ca62 100644 --- a/tests/tests/compiler/address/gt_fail.leo +++ b/tests/tests/compiler/address/gt_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/address/gte_fail.leo b/tests/tests/compiler/address/gte_fail.leo index 8aec620353..b9523dce2f 100644 --- a/tests/tests/compiler/address/gte_fail.leo +++ b/tests/tests/compiler/address/gte_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/address/lt_fail.leo b/tests/tests/compiler/address/lt_fail.leo index 520e8ff4dc..05524501bc 100644 --- a/tests/tests/compiler/address/lt_fail.leo +++ b/tests/tests/compiler/address/lt_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/address/lte_fail.leo b/tests/tests/compiler/address/lte_fail.leo index 8f196d49c9..1c1257afd6 100644 --- a/tests/tests/compiler/address/lte_fail.leo +++ b/tests/tests/compiler/address/lte_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/address/special_address.leo b/tests/tests/compiler/address/special_address.leo index 0a3365ff67..f265652ffc 100644 --- a/tests/tests/compiler/address/special_address.leo +++ b/tests/tests/compiler/address/special_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/address/ternary.leo b/tests/tests/compiler/address/ternary.leo index 21b32b6341..8252eb64e7 100644 --- a/tests/tests/compiler/address/ternary.leo +++ b/tests/tests/compiler/address/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/access_array_with_loop_counter.leo b/tests/tests/compiler/array/access_array_with_loop_counter.leo index 23e38e4bde..82d987d8d9 100644 --- a/tests/tests/compiler/array/access_array_with_loop_counter.leo +++ b/tests/tests/compiler/array/access_array_with_loop_counter.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ diff --git a/tests/tests/compiler/array/array_access.leo b/tests/tests/compiler/array/array_access.leo index e3fddfd8ee..1b5c79e03a 100644 --- a/tests/tests/compiler/array/array_access.leo +++ b/tests/tests/compiler/array/array_access.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_in_composite_data_types.leo b/tests/tests/compiler/array/array_in_composite_data_types.leo index 619b33d104..d01eff0acb 100644 --- a/tests/tests/compiler/array/array_in_composite_data_types.leo +++ b/tests/tests/compiler/array/array_in_composite_data_types.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_in_finalize.leo b/tests/tests/compiler/array/array_in_finalize.leo index 3ad8ab73c2..89a671aa8e 100644 --- a/tests/tests/compiler/array/array_in_finalize.leo +++ b/tests/tests/compiler/array/array_in_finalize.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_in_function_signature.leo b/tests/tests/compiler/array/array_in_function_signature.leo index d472b72ebb..54bfde8800 100644 --- a/tests/tests/compiler/array/array_in_function_signature.leo +++ b/tests/tests/compiler/array/array_in_function_signature.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_in_mapping.leo b/tests/tests/compiler/array/array_in_mapping.leo index 24e91e3151..b71cfda270 100644 --- a/tests/tests/compiler/array/array_in_mapping.leo +++ b/tests/tests/compiler/array/array_in_mapping.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_initialization.leo b/tests/tests/compiler/array/array_initialization.leo index e6058bf54e..cb070b17d8 100644 --- a/tests/tests/compiler/array/array_initialization.leo +++ b/tests/tests/compiler/array/array_initialization.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_initialization_fail.leo b/tests/tests/compiler/array/array_initialization_fail.leo index 46d07e37a2..3f4faff193 100644 --- a/tests/tests/compiler/array/array_initialization_fail.leo +++ b/tests/tests/compiler/array/array_initialization_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_of_records.leo b/tests/tests/compiler/array/array_of_records.leo index e42ce452d0..c3c1de1bb0 100644 --- a/tests/tests/compiler/array/array_of_records.leo +++ b/tests/tests/compiler/array/array_of_records.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_of_structs.leo b/tests/tests/compiler/array/array_of_structs.leo index 08be797fa7..9910ae1ec0 100644 --- a/tests/tests/compiler/array/array_of_structs.leo +++ b/tests/tests/compiler/array/array_of_structs.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_size_limits.leo b/tests/tests/compiler/array/array_size_limits.leo index 2952576b6d..8c9f74b159 100644 --- a/tests/tests/compiler/array/array_size_limits.leo +++ b/tests/tests/compiler/array/array_size_limits.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_too_large_fail.leo b/tests/tests/compiler/array/array_too_large_fail.leo index 46b600adac..8ba891e809 100644 --- a/tests/tests/compiler/array/array_too_large_fail.leo +++ b/tests/tests/compiler/array/array_too_large_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_too_small_fail.leo b/tests/tests/compiler/array/array_too_small_fail.leo index 76b044e0da..9a55222b75 100644 --- a/tests/tests/compiler/array/array_too_small_fail.leo +++ b/tests/tests/compiler/array/array_too_small_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_variable_access_fail.leo b/tests/tests/compiler/array/array_variable_access_fail.leo index e2d40e1cd9..dcf98824fc 100644 --- a/tests/tests/compiler/array/array_variable_access_fail.leo +++ b/tests/tests/compiler/array/array_variable_access_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_with_units_fail.leo b/tests/tests/compiler/array/array_with_units_fail.leo index 77e0f38c28..a6a18d5e10 100644 --- a/tests/tests/compiler/array/array_with_units_fail.leo +++ b/tests/tests/compiler/array/array_with_units_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/array/array_write_fail.leo b/tests/tests/compiler/array/array_write_fail.leo index bdef62b730..c8086e7b30 100644 --- a/tests/tests/compiler/array/array_write_fail.leo +++ b/tests/tests/compiler/array/array_write_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/array/nested_array_sum_fail.leo b/tests/tests/compiler/array/nested_array_sum_fail.leo index b476326602..3379df464a 100644 --- a/tests/tests/compiler/array/nested_array_sum_fail.leo +++ b/tests/tests/compiler/array/nested_array_sum_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ diff --git a/tests/tests/compiler/assert/early_return.leo b/tests/tests/compiler/assert/early_return.leo index 3d0046b074..bf2dd1b4df 100644 --- a/tests/tests/compiler/assert/early_return.leo +++ b/tests/tests/compiler/assert/early_return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // This test intends to make sure the assertion diff --git a/tests/tests/compiler/boolean/and.leo b/tests/tests/compiler/boolean/and.leo index 1a49baf707..539b33ce44 100644 --- a/tests/tests/compiler/boolean/and.leo +++ b/tests/tests/compiler/boolean/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/boolean/conditional.leo b/tests/tests/compiler/boolean/conditional.leo index 1861e0bc67..cdfc7c60f7 100644 --- a/tests/tests/compiler/boolean/conditional.leo +++ b/tests/tests/compiler/boolean/conditional.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/boolean/equal.leo b/tests/tests/compiler/boolean/equal.leo index b4b9eacbf1..8d2e860490 100644 --- a/tests/tests/compiler/boolean/equal.leo +++ b/tests/tests/compiler/boolean/equal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/boolean/not_equal.leo b/tests/tests/compiler/boolean/not_equal.leo index c886ea7f4d..cc6ea46967 100644 --- a/tests/tests/compiler/boolean/not_equal.leo +++ b/tests/tests/compiler/boolean/not_equal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/boolean/operator_methods.leo b/tests/tests/compiler/boolean/operator_methods.leo index db7a6ddeb9..83ea79d7fa 100644 --- a/tests/tests/compiler/boolean/operator_methods.leo +++ b/tests/tests/compiler/boolean/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/boolean/or.leo b/tests/tests/compiler/boolean/or.leo index f15ae352d2..17bb9dce64 100644 --- a/tests/tests/compiler/boolean/or.leo +++ b/tests/tests/compiler/boolean/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/bugs/unknown_variable_fail.leo b/tests/tests/compiler/bugs/unknown_variable_fail.leo index 0abed51013..9f69c4f5bb 100644 --- a/tests/tests/compiler/bugs/unknown_variable_fail.leo +++ b/tests/tests/compiler/bugs/unknown_variable_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/console/assert.leo b/tests/tests/compiler/console/assert.leo index 04bd32fd1e..5552ab08e3 100644 --- a/tests/tests/compiler/console/assert.leo +++ b/tests/tests/compiler/console/assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/console/assert_fail.leo b/tests/tests/compiler/console/assert_fail.leo index 4b91ad11ba..261e5c1211 100644 --- a/tests/tests/compiler/console/assert_fail.leo +++ b/tests/tests/compiler/console/assert_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/console/conditional_assert.leo b/tests/tests/compiler/console/conditional_assert.leo index 9bbe84f442..9b5d4db71f 100644 --- a/tests/tests/compiler/console/conditional_assert.leo +++ b/tests/tests/compiler/console/conditional_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/constants/const_tuple_declaration.leo b/tests/tests/compiler/constants/const_tuple_declaration.leo index cd06b8e5f6..be0225bffe 100644 --- a/tests/tests/compiler/constants/const_tuple_declaration.leo +++ b/tests/tests/compiler/constants/const_tuple_declaration.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/constants/const_type_error_fail.leo b/tests/tests/compiler/constants/const_type_error_fail.leo index 21bab39f53..82ef7ed7ff 100644 --- a/tests/tests/compiler/constants/const_type_error_fail.leo +++ b/tests/tests/compiler/constants/const_type_error_fail.leo @@ -1,6 +1,6 @@ /* - namespace: Compile - expectation: Fail + namespace = "Compile" + expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/constant_finalize.leo b/tests/tests/compiler/constants/constant_finalize.leo index a6bec06311..41cf88ed17 100644 --- a/tests/tests/compiler/constants/constant_finalize.leo +++ b/tests/tests/compiler/constants/constant_finalize.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/constants/constant_loop_bound.leo b/tests/tests/compiler/constants/constant_loop_bound.leo index d57c3b1d11..86673b1ca8 100644 --- a/tests/tests/compiler/constants/constant_loop_bound.leo +++ b/tests/tests/compiler/constants/constant_loop_bound.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/constants/constant_loop_bound_type_mismatch_fail.leo b/tests/tests/compiler/constants/constant_loop_bound_type_mismatch_fail.leo index 6f8ad97b10..736a26d5d8 100644 --- a/tests/tests/compiler/constants/constant_loop_bound_type_mismatch_fail.leo +++ b/tests/tests/compiler/constants/constant_loop_bound_type_mismatch_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/decreasing_constant_loop_bound_fail.leo b/tests/tests/compiler/constants/decreasing_constant_loop_bound_fail.leo index 6bc3699a10..101f2fdee1 100644 --- a/tests/tests/compiler/constants/decreasing_constant_loop_bound_fail.leo +++ b/tests/tests/compiler/constants/decreasing_constant_loop_bound_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/global_shadowing_constant_fail.leo b/tests/tests/compiler/constants/global_shadowing_constant_fail.leo index cd5c87f2fb..3cb84aff22 100644 --- a/tests/tests/compiler/constants/global_shadowing_constant_fail.leo +++ b/tests/tests/compiler/constants/global_shadowing_constant_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/local_shadowing_fail.leo b/tests/tests/compiler/constants/local_shadowing_fail.leo index 96658c6c54..7d26c9bf93 100644 --- a/tests/tests/compiler/constants/local_shadowing_fail.leo +++ b/tests/tests/compiler/constants/local_shadowing_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/loop_unrolling.leo b/tests/tests/compiler/constants/loop_unrolling.leo index fbfa74474d..f76d32166e 100644 --- a/tests/tests/compiler/constants/loop_unrolling.leo +++ b/tests/tests/compiler/constants/loop_unrolling.leo @@ -1,6 +1,6 @@ /* - namespace: Compile - expectation: Pass + namespace = "Compile" + expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/constants/reassignment_fail.leo b/tests/tests/compiler/constants/reassignment_fail.leo index 983ea7d601..d707146d60 100644 --- a/tests/tests/compiler/constants/reassignment_fail.leo +++ b/tests/tests/compiler/constants/reassignment_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/tuple_definition_fail.leo b/tests/tests/compiler/constants/tuple_definition_fail.leo index e8f09ec404..431028dabd 100644 --- a/tests/tests/compiler/constants/tuple_definition_fail.leo +++ b/tests/tests/compiler/constants/tuple_definition_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/tuple_shadow_fail.leo b/tests/tests/compiler/constants/tuple_shadow_fail.leo index 1e713cca84..00a4fd719f 100644 --- a/tests/tests/compiler/constants/tuple_shadow_fail.leo +++ b/tests/tests/compiler/constants/tuple_shadow_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/constants/unroll_loop_with_tuple_definition.leo b/tests/tests/compiler/constants/unroll_loop_with_tuple_definition.leo index 0a79df0418..48cc2aa328 100644 --- a/tests/tests/compiler/constants/unroll_loop_with_tuple_definition.leo +++ b/tests/tests/compiler/constants/unroll_loop_with_tuple_definition.leo @@ -1,6 +1,6 @@ /* - namespace: Compile - expectation: Pass + namespace = "Compile" + expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp1024_commit_to_address.leo b/tests/tests/compiler/core/algorithms/bhp1024_commit_to_address.leo index 432bc19f0f..52315da057 100644 --- a/tests/tests/compiler/core/algorithms/bhp1024_commit_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp1024_commit_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp1024_commit_to_field.leo b/tests/tests/compiler/core/algorithms/bhp1024_commit_to_field.leo index 32e5a0c399..71dfbfb5e5 100644 --- a/tests/tests/compiler/core/algorithms/bhp1024_commit_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp1024_commit_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp1024_commit_to_group.leo b/tests/tests/compiler/core/algorithms/bhp1024_commit_to_group.leo index e9ea85b06f..26d38fa6f3 100644 --- a/tests/tests/compiler/core/algorithms/bhp1024_commit_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp1024_commit_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_address.leo b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_address.leo index 4f7ab5b90e..941fb2eb65 100644 --- a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_field.leo b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_field.leo index 441702ea6e..f45219de75 100644 --- a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_group.leo b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_group.leo index 1062679d99..158654eadd 100644 --- a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_scalar.leo index e1c1727a69..0ff48bdc48 100644 --- a/tests/tests/compiler/core/algorithms/bhp1024_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/bhp1024_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp256_commit_to_address.leo b/tests/tests/compiler/core/algorithms/bhp256_commit_to_address.leo index 4d7be51cfd..a186968f58 100644 --- a/tests/tests/compiler/core/algorithms/bhp256_commit_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp256_commit_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp256_commit_to_field.leo b/tests/tests/compiler/core/algorithms/bhp256_commit_to_field.leo index b359eed804..1f395f6576 100644 --- a/tests/tests/compiler/core/algorithms/bhp256_commit_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp256_commit_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp256_commit_to_group.leo b/tests/tests/compiler/core/algorithms/bhp256_commit_to_group.leo index 2e76deb9ad..4cd682f91c 100644 --- a/tests/tests/compiler/core/algorithms/bhp256_commit_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp256_commit_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp256_hash_to_address.leo b/tests/tests/compiler/core/algorithms/bhp256_hash_to_address.leo index efbc8fcf35..937647b5e6 100644 --- a/tests/tests/compiler/core/algorithms/bhp256_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp256_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp256_hash_to_field.leo b/tests/tests/compiler/core/algorithms/bhp256_hash_to_field.leo index 5962cdd71f..448317de95 100644 --- a/tests/tests/compiler/core/algorithms/bhp256_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp256_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp256_hash_to_group.leo b/tests/tests/compiler/core/algorithms/bhp256_hash_to_group.leo index 177cd051fb..94b56e7df9 100644 --- a/tests/tests/compiler/core/algorithms/bhp256_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp256_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp256_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/bhp256_hash_to_scalar.leo index 245053df9d..05d7b07318 100644 --- a/tests/tests/compiler/core/algorithms/bhp256_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/bhp256_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp512_commit_to_address.leo b/tests/tests/compiler/core/algorithms/bhp512_commit_to_address.leo index f733a08920..8b5eb4e6d1 100644 --- a/tests/tests/compiler/core/algorithms/bhp512_commit_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp512_commit_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp512_commit_to_field.leo b/tests/tests/compiler/core/algorithms/bhp512_commit_to_field.leo index 52f2cb699b..00423c6f8b 100644 --- a/tests/tests/compiler/core/algorithms/bhp512_commit_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp512_commit_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp512_commit_to_group.leo b/tests/tests/compiler/core/algorithms/bhp512_commit_to_group.leo index 7cdd0b135e..8092d53fba 100644 --- a/tests/tests/compiler/core/algorithms/bhp512_commit_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp512_commit_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp512_hash_to_address.leo b/tests/tests/compiler/core/algorithms/bhp512_hash_to_address.leo index 7e93d032f1..fef57608b1 100644 --- a/tests/tests/compiler/core/algorithms/bhp512_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp512_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp512_hash_to_field.leo b/tests/tests/compiler/core/algorithms/bhp512_hash_to_field.leo index 9e23648053..6b5d35916e 100644 --- a/tests/tests/compiler/core/algorithms/bhp512_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp512_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp512_hash_to_group.leo b/tests/tests/compiler/core/algorithms/bhp512_hash_to_group.leo index 6297f448e2..d7a5410596 100644 --- a/tests/tests/compiler/core/algorithms/bhp512_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp512_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp512_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/bhp512_hash_to_scalar.leo index 4b9b4817ce..11cec659c0 100644 --- a/tests/tests/compiler/core/algorithms/bhp512_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/bhp512_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp768_commit_to_address.leo b/tests/tests/compiler/core/algorithms/bhp768_commit_to_address.leo index 03bc5dbfe2..f12760c0cd 100644 --- a/tests/tests/compiler/core/algorithms/bhp768_commit_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp768_commit_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp768_commit_to_field.leo b/tests/tests/compiler/core/algorithms/bhp768_commit_to_field.leo index 6535c218a0..b68771ee59 100644 --- a/tests/tests/compiler/core/algorithms/bhp768_commit_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp768_commit_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp768_commit_to_group.leo b/tests/tests/compiler/core/algorithms/bhp768_commit_to_group.leo index c6d451d713..810d02f275 100644 --- a/tests/tests/compiler/core/algorithms/bhp768_commit_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp768_commit_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp768_hash_to_address.leo b/tests/tests/compiler/core/algorithms/bhp768_hash_to_address.leo index d95eebb028..7f83462cf6 100644 --- a/tests/tests/compiler/core/algorithms/bhp768_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/bhp768_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp768_hash_to_field.leo b/tests/tests/compiler/core/algorithms/bhp768_hash_to_field.leo index 6a698988f8..3b3c4c8316 100644 --- a/tests/tests/compiler/core/algorithms/bhp768_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/bhp768_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp768_hash_to_group.leo b/tests/tests/compiler/core/algorithms/bhp768_hash_to_group.leo index 0354d4ebac..1bf9a28681 100644 --- a/tests/tests/compiler/core/algorithms/bhp768_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/bhp768_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/bhp768_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/bhp768_hash_to_scalar.leo index 245053df9d..05d7b07318 100644 --- a/tests/tests/compiler/core/algorithms/bhp768_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/bhp768_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.leo index 18b108a30e..e8eec6cb05 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.leo index 4a74b747c3..9f5d1cec50 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.leo index caa1a7f43a..7c94294ccb 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.leo index c8d5d14869..4b71a33f34 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.leo index 8c0e776dff..3d87e1625a 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.leo index e6ce66680a..327c5edbe4 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.leo index b7fb40bbcb..04ecb19894 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.leo index ad7952c186..8757edb557 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.leo index 4bee0f2295..eed5114a7b 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.leo index 4e0d874240..1b2174d689 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp1024/bhp1024_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.leo index 7a82baf2e7..3c2d290cb0 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.leo index f7661b49a1..9a4802cf66 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.leo index db64dc32af..4e19b8607e 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.leo index 44327abaac..f9cafff6f7 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.leo index 497327b085..aec8749c46 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.leo index a3869e65bf..c048614912 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.leo index fbdc9c56c8..7fb7138db9 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.leo index 5f14099bfa..4710673da5 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.leo index c3e7847753..16ece4ddb0 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.leo index 09232caa0e..1d4afad132 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp256/bhp256_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.leo index 7e2be7c595..588cd3237a 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.leo index 70baf21ffe..76a82c9f11 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.leo index 9001771f86..11f83bbae2 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.leo index 86163b2b97..da58d26ab8 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.leo index 8ba74b85a9..d351e921d5 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.leo index f8e028045a..14357aa002 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.leo index e6ffc7dcfe..441bd75058 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.leo index 59ab1eaf5f..ac6676cabd 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.leo index 37e17b83fc..49eacbc2e1 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.leo index 5b6e0111cb..875d2b4b06 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp512/bhp512_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.leo index ddda3ed376..7fbe002ba9 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.leo index 9e9952eadf..9d2bd5673b 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.leo index fbd32509b7..6941ec9822 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.leo index 65593a0295..d698877877 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.leo index ae461bf094..d689d26e1c 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.leo index 471d1dbeee..8cc16def53 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.leo index cc470cfd26..6d28cf9081 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.leo index 5c20ed007c..6bc28bc967 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.leo index 183db71994..89062f5ab3 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.leo index 78ea882e82..4c7eabea29 100644 --- a/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/bhp768/bhp768_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.leo index ef3d9a5e02..25871a1571 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.leo index a72047cd5b..dab13cc07c 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.leo index 4fd72df1d2..a83b4216bc 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.leo index 88ed60a9ec..977f154883 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.leo index 88fa58877e..065a077ad5 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.leo index 329d90f682..8b7bdd7ae9 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.leo index f6398803b7..6abd86f2c0 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.leo index 2942b5b8bc..137422d313 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.leo index d1a36f06a2..f7d8e36ee6 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.leo index 1df7e292f2..1522f8a19a 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak256/keccak256_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.leo index 180e158b23..0ec2b70ce4 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.leo index a0d60a327c..964b23f5b5 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.leo index a9fd3deb18..960202fde3 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.leo index 777bb3d942..17741f05ed 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.leo index bc3c0a827c..66d23286ef 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.leo index cb27ac589c..7655bf7214 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.leo index b20200cd0e..0113079f71 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.leo index ee3bc2ad0a..d0d094c8af 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.leo index 9905d6635a..2cf5834bd4 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.leo index 683457f723..70db47ddc0 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak384/keccak384_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.leo index 9f95cfdb08..58496cf49f 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.leo index 91764a9b9c..91e7e414eb 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.leo index b54b9b6b84..9158a2cbc1 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.leo index f8e8ee73a8..637f8bf83e 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.leo index a7ae5b82fd..c541417cea 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.leo index 12c666f9dc..1eba21304e 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.leo index 90806acf00..5036153774 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.leo index bd82ce5adf..b55a63566b 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.leo index e5674d859d..1d7c418025 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.leo index 6c6d5a67e8..9f985d1fe7 100644 --- a/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/keccak512/keccak512_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.leo index 4aea243401..4f8b25c87f 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.leo index ae36d4fdb0..cf6d008782 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.leo index 94debe3702..1641fafde5 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.leo index 2e7a33a67b..4999280d03 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.leo index 303fd0ac76..db6d1ef8ed 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.leo index ea71cb1972..a8fec57862 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.leo index 6e2d745262..d62473a4b6 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.leo index 6e6ec231d8..042e75ae82 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.leo index 22b2442e90..dd9da9b83e 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.leo index 05538ba988..2e2013d54a 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen128/pedersen128_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.leo index ef69eb6b62..3aa6aa0ff0 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.leo index c9e80769c9..9d7178dc84 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.leo index d247628b05..5f50677a43 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.leo index f11f5446a9..1895870269 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.leo index 576e9cb36f..37b4d26edd 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.leo index b98a70260c..cf1330e41e 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.leo index ad0f67b262..b41e54c79f 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.leo index 8648ea4a37..1385c21856 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.leo index 432078bbf3..3867c486f8 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.leo index 3cb4eee785..997a7c707e 100644 --- a/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/pedersen64/pedersen64_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.leo index d6251894e7..b990b4e467 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.leo index 5161f2c317..5375193db6 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.leo index f707d9cf5f..2bcce076d3 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.leo index 86d3abaaec..bd835bc378 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.leo index 1402a28c47..3d3a5c6a49 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.leo index 107ca2e9b7..6a25329e8f 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.leo index 2d31f41925..cc73a3b170 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.leo index 03cdd13539..0651a7e64b 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.leo index 7f3b3b6a4b..2ace9c7eb5 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.leo index 92b33b48cc..07e714ead5 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon2/poseidon2_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.leo index 19677b2717..6c60793648 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.leo index 4a687cc977..18f2f68670 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.leo index c08372a8a5..bf73c945e9 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.leo index bd9aba2b60..1a2cbc5b71 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.leo index 5db5daeb75..aed85b5ed1 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.leo index 3c0491dbc4..610a526e48 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.leo index 0dec3d90dd..3f6485ef82 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.leo index 048d773ee6..66a7e40b38 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.leo index 915cd188ce..248efc958f 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.leo index af0ce3827b..b30eaf25a6 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon4/poseidon4_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.leo index 7287157a71..4c82af9eb3 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.leo index 375ae6a92e..18ea0dcbfa 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.leo index 5c00e97105..4bc06987f8 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.leo index fda2866c19..a26be28e57 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.leo index 5aec799bd8..fbe0d6b379 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.leo index 91536640a9..8bdffb3e8e 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.leo index f22a3220cd..5fae03f1b7 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.leo index 161e788495..61b05fcebc 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.leo index 5e5884c936..fd64ac0c9a 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.leo index bb04665c36..3012fd891d 100644 --- a/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/poseidon8/poseidon8_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.leo index 57815744aa..8e0924dd0e 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.leo index 6dae9c57db..058f1da91d 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.leo index f6e2380284..8ff6e033e1 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.leo index 1f642fcb7c..8a021ad124 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.leo index f80db8b397..156006e540 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.leo index 65ec73cee5..f250f3a9d1 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.leo index 33ed79d4c4..ecf3775453 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.leo index 85ed0736b6..23e36420e2 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.leo index 159df152b4..d3720dabac 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.leo index f1a66d0b2a..b46024691e 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_256/sha3_256_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.leo index 7ad2d494e1..580f3fd57f 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.leo index bc609c6e37..9a8272a220 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.leo index dd73b1771b..14dac1bbd6 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.leo index f0fc24a143..fff30b35c4 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.leo index 1186b02594..4afa848338 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.leo index d3b03ab88a..6123b08041 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.leo index d45df86f0d..ddd7b6ab40 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.leo index 6d11166106..0d708e1438 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.leo index c6dac38671..be41776fee 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.leo index b90441ed53..cbd9307d7f 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_384/sha3_384_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.leo index 4451b1602b..2587fa34c0 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.leo index 8e1523cdd7..9e2af0676c 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.leo index 6196d8534e..f3ea1428e7 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.leo index cc8484a87c..6f1287c01b 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.leo index 527bfc1b25..9ad6180776 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_i8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.leo index d9ad3b0600..16b2b6ad49 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u128.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.leo index aa2f862a49..71c473dad3 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u16.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.leo index 685e9cbf51..f905234e2a 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u32.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.leo index a98668db06..e0c4166d18 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u64.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.leo b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.leo index de65cd6802..ef559ec213 100644 --- a/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.leo +++ b/tests/tests/compiler/core/algorithms/integers/sha3_512/sha3_512_hash_to_u8.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak256_hash_to_address.leo b/tests/tests/compiler/core/algorithms/keccak256_hash_to_address.leo index b22301c568..1b9a623183 100644 --- a/tests/tests/compiler/core/algorithms/keccak256_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/keccak256_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak256_hash_to_field.leo b/tests/tests/compiler/core/algorithms/keccak256_hash_to_field.leo index 9c65823c3c..e5dc63ee6f 100644 --- a/tests/tests/compiler/core/algorithms/keccak256_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/keccak256_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak256_hash_to_group.leo b/tests/tests/compiler/core/algorithms/keccak256_hash_to_group.leo index 870fff846d..86960d2a40 100644 --- a/tests/tests/compiler/core/algorithms/keccak256_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/keccak256_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak256_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/keccak256_hash_to_scalar.leo index e2cd515362..69a9db501b 100644 --- a/tests/tests/compiler/core/algorithms/keccak256_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/keccak256_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak384_hash_to_address.leo b/tests/tests/compiler/core/algorithms/keccak384_hash_to_address.leo index 0edcadb9d4..61c8d4f1fd 100644 --- a/tests/tests/compiler/core/algorithms/keccak384_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/keccak384_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak384_hash_to_field.leo b/tests/tests/compiler/core/algorithms/keccak384_hash_to_field.leo index d4825e23f4..c980ff6a31 100644 --- a/tests/tests/compiler/core/algorithms/keccak384_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/keccak384_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak384_hash_to_group.leo b/tests/tests/compiler/core/algorithms/keccak384_hash_to_group.leo index 8890a28252..2145064228 100644 --- a/tests/tests/compiler/core/algorithms/keccak384_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/keccak384_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak384_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/keccak384_hash_to_scalar.leo index 2b487962c6..500c465c8a 100644 --- a/tests/tests/compiler/core/algorithms/keccak384_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/keccak384_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak512_hash_to_address.leo b/tests/tests/compiler/core/algorithms/keccak512_hash_to_address.leo index 919c690d04..e3a88c7fde 100644 --- a/tests/tests/compiler/core/algorithms/keccak512_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/keccak512_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak512_hash_to_field.leo b/tests/tests/compiler/core/algorithms/keccak512_hash_to_field.leo index 3fa7c16525..2dce1c398b 100644 --- a/tests/tests/compiler/core/algorithms/keccak512_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/keccak512_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak512_hash_to_group.leo b/tests/tests/compiler/core/algorithms/keccak512_hash_to_group.leo index 7ed8ff5585..907a5f0b49 100644 --- a/tests/tests/compiler/core/algorithms/keccak512_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/keccak512_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/keccak512_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/keccak512_hash_to_scalar.leo index 4523f822e1..393ddff799 100644 --- a/tests/tests/compiler/core/algorithms/keccak512_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/keccak512_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen128_commit_to_address.leo b/tests/tests/compiler/core/algorithms/pedersen128_commit_to_address.leo index 9a38d42a4a..a906ceb39c 100644 --- a/tests/tests/compiler/core/algorithms/pedersen128_commit_to_address.leo +++ b/tests/tests/compiler/core/algorithms/pedersen128_commit_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen128_commit_to_field.leo b/tests/tests/compiler/core/algorithms/pedersen128_commit_to_field.leo index 99d659a223..b7fb885aae 100644 --- a/tests/tests/compiler/core/algorithms/pedersen128_commit_to_field.leo +++ b/tests/tests/compiler/core/algorithms/pedersen128_commit_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen128_commit_to_group.leo b/tests/tests/compiler/core/algorithms/pedersen128_commit_to_group.leo index a6a8b51425..94b36e5a20 100644 --- a/tests/tests/compiler/core/algorithms/pedersen128_commit_to_group.leo +++ b/tests/tests/compiler/core/algorithms/pedersen128_commit_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen128_hash_to_address.leo b/tests/tests/compiler/core/algorithms/pedersen128_hash_to_address.leo index 8b7cffbf34..9dddbdea41 100644 --- a/tests/tests/compiler/core/algorithms/pedersen128_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/pedersen128_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen128_hash_to_field.leo b/tests/tests/compiler/core/algorithms/pedersen128_hash_to_field.leo index eb56e08258..27c89acc35 100644 --- a/tests/tests/compiler/core/algorithms/pedersen128_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/pedersen128_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen128_hash_to_group.leo b/tests/tests/compiler/core/algorithms/pedersen128_hash_to_group.leo index b94fcc4325..8a64234b3c 100644 --- a/tests/tests/compiler/core/algorithms/pedersen128_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/pedersen128_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen64_commit_to_address.leo b/tests/tests/compiler/core/algorithms/pedersen64_commit_to_address.leo index ad0916e54a..c36d479e7d 100644 --- a/tests/tests/compiler/core/algorithms/pedersen64_commit_to_address.leo +++ b/tests/tests/compiler/core/algorithms/pedersen64_commit_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen64_commit_to_field.leo b/tests/tests/compiler/core/algorithms/pedersen64_commit_to_field.leo index 6b8b005248..e885c33ad1 100644 --- a/tests/tests/compiler/core/algorithms/pedersen64_commit_to_field.leo +++ b/tests/tests/compiler/core/algorithms/pedersen64_commit_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen64_commit_to_group.leo b/tests/tests/compiler/core/algorithms/pedersen64_commit_to_group.leo index f58d098811..b94363498d 100644 --- a/tests/tests/compiler/core/algorithms/pedersen64_commit_to_group.leo +++ b/tests/tests/compiler/core/algorithms/pedersen64_commit_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_address.leo b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_address.leo index d3ae7ab1bd..853515f0c8 100644 --- a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_field.leo b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_field.leo index 18545cefa1..1b4105943d 100644 --- a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_group.leo b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_group.leo index 732fcf52cd..b63625fe75 100644 --- a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_scalar.leo index d44fa3b490..71777c292e 100644 --- a/tests/tests/compiler/core/algorithms/pedersen64_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/pedersen64_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/pedersen_fail.leo b/tests/tests/compiler/core/algorithms/pedersen_fail.leo index 0d14638ef1..dc885d0a1a 100644 --- a/tests/tests/compiler/core/algorithms/pedersen_fail.leo +++ b/tests/tests/compiler/core/algorithms/pedersen_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_address.leo b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_address.leo index 73fd88246c..f5debd96d2 100644 --- a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_field.leo b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_field.leo index c1da1990db..cfc2653e0b 100644 --- a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_group.leo b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_group.leo index 248288b32e..97fcab47ba 100644 --- a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_scalar.leo index d79f285c8c..ceb6b1291a 100644 --- a/tests/tests/compiler/core/algorithms/poseidon2_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/poseidon2_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_address.leo b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_address.leo index ab18c0b8c2..22f9dba334 100644 --- a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_field.leo b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_field.leo index 637c08778b..0876d970d3 100644 --- a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_group.leo b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_group.leo index 2af3561d59..4a5332c2d6 100644 --- a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_scalar.leo index 3c2dd667e9..94faf18f00 100644 --- a/tests/tests/compiler/core/algorithms/poseidon4_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/poseidon4_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_address.leo b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_address.leo index 64ad064bb6..e5d0d9bd99 100644 --- a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_field.leo b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_field.leo index 77c7aae331..d83d7d8308 100644 --- a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_group.leo b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_group.leo index 7e4d9e58c9..9345380b0c 100644 --- a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_scalar.leo index 38ee60973e..e8899ab6c0 100644 --- a/tests/tests/compiler/core/algorithms/poseidon8_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/poseidon8_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_address.leo b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_address.leo index a3dd846494..e67f283884 100644 --- a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_field.leo b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_field.leo index d165218c6c..25cef9b1f4 100644 --- a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_group.leo b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_group.leo index a91781e5e0..ff1ae96c47 100644 --- a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_scalar.leo index 78038ada78..7fe47f994b 100644 --- a/tests/tests/compiler/core/algorithms/sha3_256_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/sha3_256_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_address.leo b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_address.leo index d7716aa77f..ad7cad12fa 100644 --- a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_field.leo b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_field.leo index 5c49f8ec01..65303ed6eb 100644 --- a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_group.leo b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_group.leo index 3b174dd970..522870984e 100644 --- a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_scalar.leo index c45b9a22c8..2a0909d51c 100644 --- a/tests/tests/compiler/core/algorithms/sha3_384_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/sha3_384_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_address.leo b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_address.leo index 6c466b9f32..e01fe31e66 100644 --- a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_address.leo +++ b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_address.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_field.leo b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_field.leo index 873661b315..b902b1b6e2 100644 --- a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_field.leo +++ b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_group.leo b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_group.leo index 93c395759f..caf55227ca 100644 --- a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_group.leo +++ b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_group.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_scalar.leo b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_scalar.leo index 2ac16dbd21..2a1bc70d7f 100644 --- a/tests/tests/compiler/core/algorithms/sha3_512_hash_to_scalar.leo +++ b/tests/tests/compiler/core/algorithms/sha3_512_hash_to_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/constants/group_gen.leo b/tests/tests/compiler/core/constants/group_gen.leo index 1b6f1b9e11..07d4a3120c 100644 --- a/tests/tests/compiler/core/constants/group_gen.leo +++ b/tests/tests/compiler/core/constants/group_gen.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/core/constants/group_gen_fail.leo b/tests/tests/compiler/core/constants/group_gen_fail.leo index babc2c18a3..276c58e486 100644 --- a/tests/tests/compiler/core/constants/group_gen_fail.leo +++ b/tests/tests/compiler/core/constants/group_gen_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/definition/define_multiple_variables_fail.leo b/tests/tests/compiler/definition/define_multiple_variables_fail.leo index 69a001e6d8..5467470df8 100644 --- a/tests/tests/compiler/definition/define_multiple_variables_fail.leo +++ b/tests/tests/compiler/definition/define_multiple_variables_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/definition/out_of_order.leo b/tests/tests/compiler/definition/out_of_order.leo index 2a5932ee66..0a3a2870dc 100644 --- a/tests/tests/compiler/definition/out_of_order.leo +++ b/tests/tests/compiler/definition/out_of_order.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/definition/tuple_def_fail.leo b/tests/tests/compiler/definition/tuple_def_fail.leo index 9fe012351b..cb99818ed3 100644 --- a/tests/tests/compiler/definition/tuple_def_fail.leo +++ b/tests/tests/compiler/definition/tuple_def_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/definition/use_decl_variable_as_assign_fail.leo b/tests/tests/compiler/definition/use_decl_variable_as_assign_fail.leo index e2ba818be6..d01c607085 100644 --- a/tests/tests/compiler/definition/use_decl_variable_as_assign_fail.leo +++ b/tests/tests/compiler/definition/use_decl_variable_as_assign_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/examples/auction.leo b/tests/tests/compiler/examples/auction.leo index f620f36116..bb1dbfde19 100644 --- a/tests/tests/compiler/examples/auction.leo +++ b/tests/tests/compiler/examples/auction.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/basic_bank.leo b/tests/tests/compiler/examples/basic_bank.leo index 5519bc32e5..1cd7a30b58 100644 --- a/tests/tests/compiler/examples/basic_bank.leo +++ b/tests/tests/compiler/examples/basic_bank.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program basic_bank.aleo { diff --git a/tests/tests/compiler/examples/board.leo b/tests/tests/compiler/examples/board.leo index c57204383b..d26f6d5759 100644 --- a/tests/tests/compiler/examples/board.leo +++ b/tests/tests/compiler/examples/board.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/bubblesort.leo b/tests/tests/compiler/examples/bubblesort.leo index bf1c10c6ef..a845067d47 100644 --- a/tests/tests/compiler/examples/bubblesort.leo +++ b/tests/tests/compiler/examples/bubblesort.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/core.leo b/tests/tests/compiler/examples/core.leo index a36549c8cc..ffaed1772e 100644 --- a/tests/tests/compiler/examples/core.leo +++ b/tests/tests/compiler/examples/core.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/fibonacci.leo b/tests/tests/compiler/examples/fibonacci.leo index d9399cd95e..ff6b6c6026 100644 --- a/tests/tests/compiler/examples/fibonacci.leo +++ b/tests/tests/compiler/examples/fibonacci.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/groups.leo b/tests/tests/compiler/examples/groups.leo index 1515e957ce..477e3de051 100644 --- a/tests/tests/compiler/examples/groups.leo +++ b/tests/tests/compiler/examples/groups.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/helloworld.leo b/tests/tests/compiler/examples/helloworld.leo index e003dd2ab0..138ff382d3 100644 --- a/tests/tests/compiler/examples/helloworld.leo +++ b/tests/tests/compiler/examples/helloworld.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/interest.leo b/tests/tests/compiler/examples/interest.leo index 6205eed4bc..ba2c62f061 100644 --- a/tests/tests/compiler/examples/interest.leo +++ b/tests/tests/compiler/examples/interest.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/lottery.leo b/tests/tests/compiler/examples/lottery.leo index 0317f32428..39e6e1726d 100644 --- a/tests/tests/compiler/examples/lottery.leo +++ b/tests/tests/compiler/examples/lottery.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // The 'lottery' program. diff --git a/tests/tests/compiler/examples/message.leo b/tests/tests/compiler/examples/message.leo index aa261d5396..bf116e2ccf 100644 --- a/tests/tests/compiler/examples/message.leo +++ b/tests/tests/compiler/examples/message.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // This example demonstrates the definition and initialization of a "struct" in Leo. diff --git a/tests/tests/compiler/examples/move.leo b/tests/tests/compiler/examples/move.leo index 08b542adba..08b5c1ae8d 100644 --- a/tests/tests/compiler/examples/move.leo +++ b/tests/tests/compiler/examples/move.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzdebruijn.leo b/tests/tests/compiler/examples/ntzdebruijn.leo index f4c4885ac0..71ab23dbe8 100644 --- a/tests/tests/compiler/examples/ntzdebruijn.leo +++ b/tests/tests/compiler/examples/ntzdebruijn.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzgaudet.leo b/tests/tests/compiler/examples/ntzgaudet.leo index 9107f0a4e5..04874b1a7c 100644 --- a/tests/tests/compiler/examples/ntzgaudet.leo +++ b/tests/tests/compiler/examples/ntzgaudet.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzloops.leo b/tests/tests/compiler/examples/ntzloops.leo index 03bb9df0c6..bfc6158165 100644 --- a/tests/tests/compiler/examples/ntzloops.leo +++ b/tests/tests/compiler/examples/ntzloops.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzmasks.leo b/tests/tests/compiler/examples/ntzmasks.leo index e056391a1e..2f67bba66c 100644 --- a/tests/tests/compiler/examples/ntzmasks.leo +++ b/tests/tests/compiler/examples/ntzmasks.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzreisers.leo b/tests/tests/compiler/examples/ntzreisers.leo index 65b83e71e0..197ad23500 100644 --- a/tests/tests/compiler/examples/ntzreisers.leo +++ b/tests/tests/compiler/examples/ntzreisers.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzseals.leo b/tests/tests/compiler/examples/ntzseals.leo index af1ba9bdbc..b5b43f9d28 100644 --- a/tests/tests/compiler/examples/ntzseals.leo +++ b/tests/tests/compiler/examples/ntzseals.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzsearchtree.leo b/tests/tests/compiler/examples/ntzsearchtree.leo index 5c3622818e..93f9a0825c 100644 --- a/tests/tests/compiler/examples/ntzsearchtree.leo +++ b/tests/tests/compiler/examples/ntzsearchtree.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/ntzsmallvals.leo b/tests/tests/compiler/examples/ntzsmallvals.leo index 0a2ed956bf..cabd777144 100644 --- a/tests/tests/compiler/examples/ntzsmallvals.leo +++ b/tests/tests/compiler/examples/ntzsmallvals.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/simple_token.leo b/tests/tests/compiler/examples/simple_token.leo index 03e01a7a8b..1f6a690afb 100644 --- a/tests/tests/compiler/examples/simple_token.leo +++ b/tests/tests/compiler/examples/simple_token.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // This example demonstrates an example of a minting and transferring a token in Leo. diff --git a/tests/tests/compiler/examples/tictactoe.leo b/tests/tests/compiler/examples/tictactoe.leo index b8680f377d..97608dd23d 100644 --- a/tests/tests/compiler/examples/tictactoe.leo +++ b/tests/tests/compiler/examples/tictactoe.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/token.leo b/tests/tests/compiler/examples/token.leo index cedeb1dcdd..001145b4e1 100644 --- a/tests/tests/compiler/examples/token.leo +++ b/tests/tests/compiler/examples/token.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program token.aleo { diff --git a/tests/tests/compiler/examples/twoadicity.leo b/tests/tests/compiler/examples/twoadicity.leo index dc2c0590b7..465d73e5d4 100644 --- a/tests/tests/compiler/examples/twoadicity.leo +++ b/tests/tests/compiler/examples/twoadicity.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/verify.leo b/tests/tests/compiler/examples/verify.leo index 746f133a5b..c07f121fa5 100644 --- a/tests/tests/compiler/examples/verify.leo +++ b/tests/tests/compiler/examples/verify.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/examples/vote.leo b/tests/tests/compiler/examples/vote.leo index e6ec070564..2ff4add8f6 100644 --- a/tests/tests/compiler/examples/vote.leo +++ b/tests/tests/compiler/examples/vote.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // The 'vote.leo' program. diff --git a/tests/tests/compiler/expression/cast.leo b/tests/tests/compiler/expression/cast.leo index 2e08725ee8..79fc817c8f 100644 --- a/tests/tests/compiler/expression/cast.leo +++ b/tests/tests/compiler/expression/cast.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/expression/cast_coersion.leo b/tests/tests/compiler/expression/cast_coersion.leo index ab135a5cd2..5903b7da2e 100644 --- a/tests/tests/compiler/expression/cast_coersion.leo +++ b/tests/tests/compiler/expression/cast_coersion.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/expression/cast_fail.leo b/tests/tests/compiler/expression/cast_fail.leo index f11addb5ed..a035abd882 100644 --- a/tests/tests/compiler/expression/cast_fail.leo +++ b/tests/tests/compiler/expression/cast_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/expression/network_id.leo b/tests/tests/compiler/expression/network_id.leo index 991fbe7e88..27aca2fbfe 100644 --- a/tests/tests/compiler/expression/network_id.leo +++ b/tests/tests/compiler/expression/network_id.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { async transition main(a: u16) -> Future { diff --git a/tests/tests/compiler/expression/ternary.leo b/tests/tests/compiler/expression/ternary.leo index bb3e73e425..b6aa0dd550 100644 --- a/tests/tests/compiler/expression/ternary.leo +++ b/tests/tests/compiler/expression/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/add.leo b/tests/tests/compiler/field/add.leo index 9350ddf808..9eb3fd66ac 100644 --- a/tests/tests/compiler/field/add.leo +++ b/tests/tests/compiler/field/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/div.leo b/tests/tests/compiler/field/div.leo index db0797d97e..18c3f8450b 100644 --- a/tests/tests/compiler/field/div.leo +++ b/tests/tests/compiler/field/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/eq.leo b/tests/tests/compiler/field/eq.leo index 10c70b5738..8a85658254 100644 --- a/tests/tests/compiler/field/eq.leo +++ b/tests/tests/compiler/field/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/field.leo b/tests/tests/compiler/field/field.leo index 098a68415d..743d2f64cb 100644 --- a/tests/tests/compiler/field/field.leo +++ b/tests/tests/compiler/field/field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/mul.leo b/tests/tests/compiler/field/mul.leo index f426dfdfac..1feb1f326e 100644 --- a/tests/tests/compiler/field/mul.leo +++ b/tests/tests/compiler/field/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/negate.leo b/tests/tests/compiler/field/negate.leo index e4daeb45e6..6d8421c18b 100644 --- a/tests/tests/compiler/field/negate.leo +++ b/tests/tests/compiler/field/negate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/no_space_between_literal.leo b/tests/tests/compiler/field/no_space_between_literal.leo index 259f17f468..fe161635a6 100644 --- a/tests/tests/compiler/field/no_space_between_literal.leo +++ b/tests/tests/compiler/field/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/field/operator_methods.leo b/tests/tests/compiler/field/operator_methods.leo index cc7c514013..c92e081eeb 100644 --- a/tests/tests/compiler/field/operator_methods.leo +++ b/tests/tests/compiler/field/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/pow.leo b/tests/tests/compiler/field/pow.leo index acaef554a5..09cebe4154 100644 --- a/tests/tests/compiler/field/pow.leo +++ b/tests/tests/compiler/field/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/sub.leo b/tests/tests/compiler/field/sub.leo index 298766df48..3ba1253b93 100644 --- a/tests/tests/compiler/field/sub.leo +++ b/tests/tests/compiler/field/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/field/ternary.leo b/tests/tests/compiler/field/ternary.leo index 3c488e8004..a51c492d89 100644 --- a/tests/tests/compiler/field/ternary.leo +++ b/tests/tests/compiler/field/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/block_height.leo b/tests/tests/compiler/finalize/block_height.leo index d129990fc0..c17e27c36c 100644 --- a/tests/tests/compiler/finalize/block_height.leo +++ b/tests/tests/compiler/finalize/block_height.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/block_height_fail.leo b/tests/tests/compiler/finalize/block_height_fail.leo index 68830e12f0..35abdf3f77 100644 --- a/tests/tests/compiler/finalize/block_height_fail.leo +++ b/tests/tests/compiler/finalize/block_height_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/closure_with_finalize_fail.leo b/tests/tests/compiler/finalize/closure_with_finalize_fail.leo index 83d9733d73..60f691916e 100644 --- a/tests/tests/compiler/finalize/closure_with_finalize_fail.leo +++ b/tests/tests/compiler/finalize/closure_with_finalize_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/contains.leo b/tests/tests/compiler/finalize/contains.leo index 43e254978a..7957695555 100644 --- a/tests/tests/compiler/finalize/contains.leo +++ b/tests/tests/compiler/finalize/contains.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/decrement_fail.leo b/tests/tests/compiler/finalize/decrement_fail.leo index 13486f1b7e..b1840f0333 100644 --- a/tests/tests/compiler/finalize/decrement_fail.leo +++ b/tests/tests/compiler/finalize/decrement_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/decrement_via_get_set.leo b/tests/tests/compiler/finalize/decrement_via_get_set.leo index 710598a813..0a3337f185 100644 --- a/tests/tests/compiler/finalize/decrement_via_get_set.leo +++ b/tests/tests/compiler/finalize/decrement_via_get_set.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/empty_finalize_fail.leo b/tests/tests/compiler/finalize/empty_finalize_fail.leo index bacf3884bf..630184bb5e 100644 --- a/tests/tests/compiler/finalize/empty_finalize_fail.leo +++ b/tests/tests/compiler/finalize/empty_finalize_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize.leo b/tests/tests/compiler/finalize/finalize.leo index f760c08829..e4b6948ae0 100644 --- a/tests/tests/compiler/finalize/finalize.leo +++ b/tests/tests/compiler/finalize/finalize.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_fail.leo b/tests/tests/compiler/finalize/finalize_fail.leo index 74f91d7c07..964f47f0fa 100644 --- a/tests/tests/compiler/finalize/finalize_fail.leo +++ b/tests/tests/compiler/finalize/finalize_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_incorrect_modes_fail.leo b/tests/tests/compiler/finalize/finalize_incorrect_modes_fail.leo index 24db42bb6c..83ecb7ccd3 100644 --- a/tests/tests/compiler/finalize/finalize_incorrect_modes_fail.leo +++ b/tests/tests/compiler/finalize/finalize_incorrect_modes_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_incorrect_return_fail.leo b/tests/tests/compiler/finalize/finalize_incorrect_return_fail.leo index e9cf2a2492..03cc7515d3 100644 --- a/tests/tests/compiler/finalize/finalize_incorrect_return_fail.leo +++ b/tests/tests/compiler/finalize/finalize_incorrect_return_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_missing_return_fail.leo b/tests/tests/compiler/finalize/finalize_missing_return_fail.leo index 4111aff052..32ba9fafdc 100644 --- a/tests/tests/compiler/finalize/finalize_missing_return_fail.leo +++ b/tests/tests/compiler/finalize/finalize_missing_return_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_name_mismatch_fail.leo b/tests/tests/compiler/finalize/finalize_name_mismatch_fail.leo index a1a83965ad..239f9b4238 100644 --- a/tests/tests/compiler/finalize/finalize_name_mismatch_fail.leo +++ b/tests/tests/compiler/finalize/finalize_name_mismatch_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_reassign_to_outer_scope_fail.leo b/tests/tests/compiler/finalize/finalize_reassign_to_outer_scope_fail.leo index 295f7d2262..e272b143ac 100644 --- a/tests/tests/compiler/finalize/finalize_reassign_to_outer_scope_fail.leo +++ b/tests/tests/compiler/finalize/finalize_reassign_to_outer_scope_fail.leo @@ -1,8 +1,8 @@ /* -namespace: Compile -expectation: Fail -configs: - - dce_enabled : false +namespace = "Compile" +expectation = "Fail" +[[configs]] +dce_enabled = false */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_returns_value_fail.leo b/tests/tests/compiler/finalize/finalize_returns_value_fail.leo index 1655e882f5..06f8d391c2 100644 --- a/tests/tests/compiler/finalize/finalize_returns_value_fail.leo +++ b/tests/tests/compiler/finalize/finalize_returns_value_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_statement_incorrect_args_fail.leo b/tests/tests/compiler/finalize/finalize_statement_incorrect_args_fail.leo index 3fbe73ecac..449505904c 100644 --- a/tests/tests/compiler/finalize/finalize_statement_incorrect_args_fail.leo +++ b/tests/tests/compiler/finalize/finalize_statement_incorrect_args_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_with_method_calls.leo b/tests/tests/compiler/finalize/finalize_with_method_calls.leo index 26f0cc6c0d..77eb682964 100644 --- a/tests/tests/compiler/finalize/finalize_with_method_calls.leo +++ b/tests/tests/compiler/finalize/finalize_with_method_calls.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_with_return.leo b/tests/tests/compiler/finalize/finalize_with_return.leo index e546c2b9ca..aeb034c2bf 100644 --- a/tests/tests/compiler/finalize/finalize_with_return.leo +++ b/tests/tests/compiler/finalize/finalize_with_return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/finalize_without_finalize_statement_fail.leo b/tests/tests/compiler/finalize/finalize_without_finalize_statement_fail.leo index ea56897c3e..f62ff247f8 100644 --- a/tests/tests/compiler/finalize/finalize_without_finalize_statement_fail.leo +++ b/tests/tests/compiler/finalize/finalize_without_finalize_statement_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/get_incorrect_num_operands.leo b/tests/tests/compiler/finalize/get_incorrect_num_operands.leo index fba89997bd..cd0e008d8a 100644 --- a/tests/tests/compiler/finalize/get_incorrect_num_operands.leo +++ b/tests/tests/compiler/finalize/get_incorrect_num_operands.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/get_incorrect_type_fail.leo b/tests/tests/compiler/finalize/get_incorrect_type_fail.leo index 0cd4f84e98..406e6785ef 100644 --- a/tests/tests/compiler/finalize/get_incorrect_type_fail.leo +++ b/tests/tests/compiler/finalize/get_incorrect_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/get_or_incorrect_num_operands.leo b/tests/tests/compiler/finalize/get_or_incorrect_num_operands.leo index ff3207c9c1..5dcaaf5d4a 100644 --- a/tests/tests/compiler/finalize/get_or_incorrect_num_operands.leo +++ b/tests/tests/compiler/finalize/get_or_incorrect_num_operands.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/get_or_incorrect_type_fail.leo b/tests/tests/compiler/finalize/get_or_incorrect_type_fail.leo index bb705a00bb..e01b306729 100644 --- a/tests/tests/compiler/finalize/get_or_incorrect_type_fail.leo +++ b/tests/tests/compiler/finalize/get_or_incorrect_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/increment_fail.leo b/tests/tests/compiler/finalize/increment_fail.leo index 3e52278d3f..32781ad38d 100644 --- a/tests/tests/compiler/finalize/increment_fail.leo +++ b/tests/tests/compiler/finalize/increment_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/increment_via_get_set.leo b/tests/tests/compiler/finalize/increment_via_get_set.leo index 23c0c3991d..777050ac9a 100644 --- a/tests/tests/compiler/finalize/increment_via_get_set.leo +++ b/tests/tests/compiler/finalize/increment_via_get_set.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/inline_in_finalize.leo b/tests/tests/compiler/finalize/inline_in_finalize.leo index eb9058e41d..b8adab40bb 100644 --- a/tests/tests/compiler/finalize/inline_in_finalize.leo +++ b/tests/tests/compiler/finalize/inline_in_finalize.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/mapping.leo b/tests/tests/compiler/finalize/mapping.leo index 686994a888..e7d27e6c34 100644 --- a/tests/tests/compiler/finalize/mapping.leo +++ b/tests/tests/compiler/finalize/mapping.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/mapping_fail.leo b/tests/tests/compiler/finalize/mapping_fail.leo index 452d5e5bd6..e4ae333d8d 100644 --- a/tests/tests/compiler/finalize/mapping_fail.leo +++ b/tests/tests/compiler/finalize/mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/mapping_operations_in_inline_fail.leo b/tests/tests/compiler/finalize/mapping_operations_in_inline_fail.leo index ce316b7e8a..ee5dd231e9 100644 --- a/tests/tests/compiler/finalize/mapping_operations_in_inline_fail.leo +++ b/tests/tests/compiler/finalize/mapping_operations_in_inline_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/only_finalize_with_flattening.leo b/tests/tests/compiler/finalize/only_finalize_with_flattening.leo index 1e3adddfc4..786ff81ca0 100644 --- a/tests/tests/compiler/finalize/only_finalize_with_flattening.leo +++ b/tests/tests/compiler/finalize/only_finalize_with_flattening.leo @@ -1,8 +1,8 @@ /* -namespace: Compile -expectation: Pass -configs: - - dce_enabled : false +namespace = "Compile" +expectation = "Pass" +[[configs]] +dce_enabled = false */ program test.aleo { diff --git a/tests/tests/compiler/finalize/private_input_ouput_fail.leo b/tests/tests/compiler/finalize/private_input_ouput_fail.leo index 6177c294a7..fdab528937 100644 --- a/tests/tests/compiler/finalize/private_input_ouput_fail.leo +++ b/tests/tests/compiler/finalize/private_input_ouput_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/rand.leo b/tests/tests/compiler/finalize/rand.leo index a78c68420d..033c21ab97 100644 --- a/tests/tests/compiler/finalize/rand.leo +++ b/tests/tests/compiler/finalize/rand.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/rand_incorrect_num_operands.leo b/tests/tests/compiler/finalize/rand_incorrect_num_operands.leo index 07bef1dcc9..b2fc0d5bd6 100644 --- a/tests/tests/compiler/finalize/rand_incorrect_num_operands.leo +++ b/tests/tests/compiler/finalize/rand_incorrect_num_operands.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/rand_incorrect_type_fail.leo b/tests/tests/compiler/finalize/rand_incorrect_type_fail.leo index 403d5c7774..86812d13b0 100644 --- a/tests/tests/compiler/finalize/rand_incorrect_type_fail.leo +++ b/tests/tests/compiler/finalize/rand_incorrect_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/rand_not_in_finalize.leo b/tests/tests/compiler/finalize/rand_not_in_finalize.leo index 921a892217..f8d4dbdb6f 100644 --- a/tests/tests/compiler/finalize/rand_not_in_finalize.leo +++ b/tests/tests/compiler/finalize/rand_not_in_finalize.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/read_write_mapping_fail.leo b/tests/tests/compiler/finalize/read_write_mapping_fail.leo index c287ba8153..5ab62a2488 100644 --- a/tests/tests/compiler/finalize/read_write_mapping_fail.leo +++ b/tests/tests/compiler/finalize/read_write_mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/remove.leo b/tests/tests/compiler/finalize/remove.leo index b5f54fa404..964e4c1bcd 100644 --- a/tests/tests/compiler/finalize/remove.leo +++ b/tests/tests/compiler/finalize/remove.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/set_in_an_assignment_fail.leo b/tests/tests/compiler/finalize/set_in_an_assignment_fail.leo index d382dfc2fb..844f9feba6 100644 --- a/tests/tests/compiler/finalize/set_in_an_assignment_fail.leo +++ b/tests/tests/compiler/finalize/set_in_an_assignment_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/set_incorrect_num_operands.leo b/tests/tests/compiler/finalize/set_incorrect_num_operands.leo index 4a66a3fa1f..af1586b826 100644 --- a/tests/tests/compiler/finalize/set_incorrect_num_operands.leo +++ b/tests/tests/compiler/finalize/set_incorrect_num_operands.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/set_incorrect_type_fail.leo b/tests/tests/compiler/finalize/set_incorrect_type_fail.leo index e6cfd749f5..7676cd5889 100644 --- a/tests/tests/compiler/finalize/set_incorrect_type_fail.leo +++ b/tests/tests/compiler/finalize/set_incorrect_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/shadow_mapping_fail.leo b/tests/tests/compiler/finalize/shadow_mapping_fail.leo index af8543f03c..63ef7c46e4 100644 --- a/tests/tests/compiler/finalize/shadow_mapping_fail.leo +++ b/tests/tests/compiler/finalize/shadow_mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/finalize/unknown_mapping_operation_fail.leo b/tests/tests/compiler/finalize/unknown_mapping_operation_fail.leo index ad4230bbf7..03632efcc7 100644 --- a/tests/tests/compiler/finalize/unknown_mapping_operation_fail.leo +++ b/tests/tests/compiler/finalize/unknown_mapping_operation_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/9_inputs_fail.leo b/tests/tests/compiler/function/9_inputs_fail.leo index cd93421af0..6176c8a7c8 100644 --- a/tests/tests/compiler/function/9_inputs_fail.leo +++ b/tests/tests/compiler/function/9_inputs_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/annotated_function_fail.leo b/tests/tests/compiler/function/annotated_function_fail.leo index 2ab44c31cc..2eb1425e09 100644 --- a/tests/tests/compiler/function/annotated_function_fail.leo +++ b/tests/tests/compiler/function/annotated_function_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/basic_async.leo b/tests/tests/compiler/function/basic_async.leo index 88a222162b..8722bf83d8 100644 --- a/tests/tests/compiler/function/basic_async.leo +++ b/tests/tests/compiler/function/basic_async.leo @@ -1,7 +1,7 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/complex_recursion_fail.leo b/tests/tests/compiler/function/complex_recursion_fail.leo index edff664d51..493f0efca0 100644 --- a/tests/tests/compiler/function/complex_recursion_fail.leo +++ b/tests/tests/compiler/function/complex_recursion_fail.leo @@ -1,7 +1,7 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ diff --git a/tests/tests/compiler/function/conditional_return.leo b/tests/tests/compiler/function/conditional_return.leo index fa771763ce..2a6a8be7a0 100644 --- a/tests/tests/compiler/function/conditional_return.leo +++ b/tests/tests/compiler/function/conditional_return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/dead_code_elimination.leo b/tests/tests/compiler/function/dead_code_elimination.leo index 1065368f81..d89a90dc49 100644 --- a/tests/tests/compiler/function/dead_code_elimination.leo +++ b/tests/tests/compiler/function/dead_code_elimination.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ /* diff --git a/tests/tests/compiler/function/duplicate_definition_fail.leo b/tests/tests/compiler/function/duplicate_definition_fail.leo index 9307c36ec7..3d8e560982 100644 --- a/tests/tests/compiler/function/duplicate_definition_fail.leo +++ b/tests/tests/compiler/function/duplicate_definition_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/duplicate_parameter_fail.leo b/tests/tests/compiler/function/duplicate_parameter_fail.leo index 210acaa91e..95f1098f15 100644 --- a/tests/tests/compiler/function/duplicate_parameter_fail.leo +++ b/tests/tests/compiler/function/duplicate_parameter_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/flatten_arrays.leo b/tests/tests/compiler/function/flatten_arrays.leo index f7f3361567..09e9521b50 100644 --- a/tests/tests/compiler/function/flatten_arrays.leo +++ b/tests/tests/compiler/function/flatten_arrays.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/flatten_inlined_tuples_of_structs.leo b/tests/tests/compiler/function/flatten_inlined_tuples_of_structs.leo index 0994490a73..ecc3db0e5c 100644 --- a/tests/tests/compiler/function/flatten_inlined_tuples_of_structs.leo +++ b/tests/tests/compiler/function/flatten_inlined_tuples_of_structs.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/flatten_test.leo b/tests/tests/compiler/function/flatten_test.leo index f70760c2e1..1756fa725b 100644 --- a/tests/tests/compiler/function/flatten_test.leo +++ b/tests/tests/compiler/function/flatten_test.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/flatten_test_2.leo b/tests/tests/compiler/function/flatten_test_2.leo index 2d24aa5ca6..8a5d8d7ade 100644 --- a/tests/tests/compiler/function/flatten_test_2.leo +++ b/tests/tests/compiler/function/flatten_test_2.leo @@ -1,9 +1,10 @@ /* -namespace: Compile -expectation: Pass -configs: - - dce_enabled : true - - dce_enabled : false +namespace = "Compile" +expectation = "Pass" +[[configs]] +dce_enabled = true +[[configs]] +dce_enabled = false */ program test.aleo { diff --git a/tests/tests/compiler/function/flatten_tuples_of_structs.leo b/tests/tests/compiler/function/flatten_tuples_of_structs.leo index 881ab11934..d92d539752 100644 --- a/tests/tests/compiler/function/flatten_tuples_of_structs.leo +++ b/tests/tests/compiler/function/flatten_tuples_of_structs.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/flatten_unit_expressions.leo b/tests/tests/compiler/function/flatten_unit_expressions.leo index 88df48957e..09dcbcf649 100644 --- a/tests/tests/compiler/function/flatten_unit_expressions.leo +++ b/tests/tests/compiler/function/flatten_unit_expressions.leo @@ -1,9 +1,12 @@ /* -namespace: Compile -expectation: Pass -configs: - - dce_enabled : true - - dce_enabled : false +namespace = "Compile" +expectation = "Pass" + +[[configs]] +dce_enabled = true + +[[configs]] +dce_enabled = false */ program test.aleo { diff --git a/tests/tests/compiler/function/function_call.leo b/tests/tests/compiler/function/function_call.leo index 9f0113b534..e91211c46d 100644 --- a/tests/tests/compiler/function/function_call.leo +++ b/tests/tests/compiler/function/function_call.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/function_call_inline.leo b/tests/tests/compiler/function/function_call_inline.leo index 35a11863b4..edc2c4c5aa 100644 --- a/tests/tests/compiler/function/function_call_inline.leo +++ b/tests/tests/compiler/function/function_call_inline.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/function_call_out_of_order.leo b/tests/tests/compiler/function/function_call_out_of_order.leo index d4ab003ea4..08fa136999 100644 --- a/tests/tests/compiler/function/function_call_out_of_order.leo +++ b/tests/tests/compiler/function/function_call_out_of_order.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ diff --git a/tests/tests/compiler/function/function_call_tyc_fail.leo b/tests/tests/compiler/function/function_call_tyc_fail.leo index 1c2ee60356..183c3c5b0c 100644 --- a/tests/tests/compiler/function/function_call_tyc_fail.leo +++ b/tests/tests/compiler/function/function_call_tyc_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/function_input_else_assignment.leo b/tests/tests/compiler/function/function_input_else_assignment.leo index b6ef0d847a..7348872097 100644 --- a/tests/tests/compiler/function/function_input_else_assignment.leo +++ b/tests/tests/compiler/function/function_input_else_assignment.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/function_returns_record_fail.leo b/tests/tests/compiler/function/function_returns_record_fail.leo index 55fbabb269..62de948a25 100644 --- a/tests/tests/compiler/function/function_returns_record_fail.leo +++ b/tests/tests/compiler/function/function_returns_record_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/global_shadow_function_fail.leo b/tests/tests/compiler/function/global_shadow_function_fail.leo index 36df289b12..c275e60b6c 100644 --- a/tests/tests/compiler/function/global_shadow_function_fail.leo +++ b/tests/tests/compiler/function/global_shadow_function_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/helper_function_with_interface.leo b/tests/tests/compiler/function/helper_function_with_interface.leo index 018bfb6304..0f08fa4c4c 100644 --- a/tests/tests/compiler/function/helper_function_with_interface.leo +++ b/tests/tests/compiler/function/helper_function_with_interface.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/inline_expr_statement.leo b/tests/tests/compiler/function/inline_expr_statement.leo index 0d4abb9b54..63f7245633 100644 --- a/tests/tests/compiler/function/inline_expr_statement.leo +++ b/tests/tests/compiler/function/inline_expr_statement.leo @@ -1,9 +1,10 @@ /* -namespace: Compile -expectation: Pass -configs: - - dce_enabled : true - - dce_enabled : false +namespace = "Compile" +expectation = "Pass" +[[configs]] +dce_enabled = true +[[configs]] +dce_enabled = false */ program test.aleo { @@ -22,4 +23,4 @@ program test.aleo { another_function_that_returns_a_value(a); let b: u32 = another_function_that_returns_a_value(a); } -} \ No newline at end of file +} diff --git a/tests/tests/compiler/function/inline_twice.leo b/tests/tests/compiler/function/inline_twice.leo index 73236dcca3..b7c219d771 100644 --- a/tests/tests/compiler/function/inline_twice.leo +++ b/tests/tests/compiler/function/inline_twice.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/mutual_recursion_fail.leo b/tests/tests/compiler/function/mutual_recursion_fail.leo index 3fab02bd74..140ed1b6d3 100644 --- a/tests/tests/compiler/function/mutual_recursion_fail.leo +++ b/tests/tests/compiler/function/mutual_recursion_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/no_return.leo b/tests/tests/compiler/function/no_return.leo index 22ec6a85a6..5194be34dc 100644 --- a/tests/tests/compiler/function/no_return.leo +++ b/tests/tests/compiler/function/no_return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/no_transition_fail.leo b/tests/tests/compiler/function/no_transition_fail.leo index b158046533..825e6c4409 100644 --- a/tests/tests/compiler/function/no_transition_fail.leo +++ b/tests/tests/compiler/function/no_transition_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/non_transition_variant_input_record_fail.leo b/tests/tests/compiler/function/non_transition_variant_input_record_fail.leo index 15c840bc76..97dfc1bcef 100644 --- a/tests/tests/compiler/function/non_transition_variant_input_record_fail.leo +++ b/tests/tests/compiler/function/non_transition_variant_input_record_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/private_input_output.leo b/tests/tests/compiler/function/private_input_output.leo index 7a664e37f6..21e2881456 100644 --- a/tests/tests/compiler/function/private_input_output.leo +++ b/tests/tests/compiler/function/private_input_output.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/program_function_any_number_of_inputs_and_outputs.leo b/tests/tests/compiler/function/program_function_any_number_of_inputs_and_outputs.leo index 06ca311ced..15969c109b 100644 --- a/tests/tests/compiler/function/program_function_any_number_of_inputs_and_outputs.leo +++ b/tests/tests/compiler/function/program_function_any_number_of_inputs_and_outputs.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/program_function_empty_body.leo b/tests/tests/compiler/function/program_function_empty_body.leo index 4b8d5879f0..e84b3b6c0c 100644 --- a/tests/tests/compiler/function/program_function_empty_body.leo +++ b/tests/tests/compiler/function/program_function_empty_body.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/program_function_no_constant_mode_fail.leo b/tests/tests/compiler/function/program_function_no_constant_mode_fail.leo index d19031d546..7ee3d24b2f 100644 --- a/tests/tests/compiler/function/program_function_no_constant_mode_fail.leo +++ b/tests/tests/compiler/function/program_function_no_constant_mode_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/program_function_unit_type.leo b/tests/tests/compiler/function/program_function_unit_type.leo index fef776fbba..9d85a1eb82 100644 --- a/tests/tests/compiler/function/program_function_unit_type.leo +++ b/tests/tests/compiler/function/program_function_unit_type.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/program_function_with_mode.leo b/tests/tests/compiler/function/program_function_with_mode.leo index 7f42fcd3f3..3dc65e9fa6 100644 --- a/tests/tests/compiler/function/program_function_with_mode.leo +++ b/tests/tests/compiler/function/program_function_with_mode.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/record_in_conditional_return.leo b/tests/tests/compiler/function/record_in_conditional_return.leo index 3e42d4117b..efa6be3433 100644 --- a/tests/tests/compiler/function/record_in_conditional_return.leo +++ b/tests/tests/compiler/function/record_in_conditional_return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/scope_fail.leo b/tests/tests/compiler/function/scope_fail.leo index b7c7bca385..ba0f117814 100644 --- a/tests/tests/compiler/function/scope_fail.leo +++ b/tests/tests/compiler/function/scope_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/self.leo b/tests/tests/compiler/function/self.leo index 2663fc280a..f4127a180f 100644 --- a/tests/tests/compiler/function/self.leo +++ b/tests/tests/compiler/function/self.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/function/self_fail.leo b/tests/tests/compiler/function/self_fail.leo index b5df33ef2c..e6f34842f3 100644 --- a/tests/tests/compiler/function/self_fail.leo +++ b/tests/tests/compiler/function/self_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/self_finalize_fail.leo b/tests/tests/compiler/function/self_finalize_fail.leo index 0d843e3c32..9e761d22d1 100644 --- a/tests/tests/compiler/function/self_finalize_fail.leo +++ b/tests/tests/compiler/function/self_finalize_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/self_recursive_cycle_fail.leo b/tests/tests/compiler/function/self_recursive_cycle_fail.leo index 058e030638..76af609a4c 100644 --- a/tests/tests/compiler/function/self_recursive_cycle_fail.leo +++ b/tests/tests/compiler/function/self_recursive_cycle_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/shadow_parameter_fail.leo b/tests/tests/compiler/function/shadow_parameter_fail.leo index bc0ae674aa..728fe6138a 100644 --- a/tests/tests/compiler/function/shadow_parameter_fail.leo +++ b/tests/tests/compiler/function/shadow_parameter_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/standard_function_calls_standard_function_fail.leo b/tests/tests/compiler/function/standard_function_calls_standard_function_fail.leo index e0120a05db..55433223e3 100644 --- a/tests/tests/compiler/function/standard_function_calls_standard_function_fail.leo +++ b/tests/tests/compiler/function/standard_function_calls_standard_function_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/standard_function_calls_transition_function_fail.leo b/tests/tests/compiler/function/standard_function_calls_transition_function_fail.leo index fec0fb5949..dc7be417d0 100644 --- a/tests/tests/compiler/function/standard_function_calls_transition_function_fail.leo +++ b/tests/tests/compiler/function/standard_function_calls_transition_function_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/too_many_transitions_fail.leo b/tests/tests/compiler/function/too_many_transitions_fail.leo index 58aa6af37b..9fd96c4d10 100644 --- a/tests/tests/compiler/function/too_many_transitions_fail.leo +++ b/tests/tests/compiler/function/too_many_transitions_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/transition_calls_async_function_fail.leo b/tests/tests/compiler/function/transition_calls_async_function_fail.leo index ce0d870fcb..63ad677572 100644 --- a/tests/tests/compiler/function/transition_calls_async_function_fail.leo +++ b/tests/tests/compiler/function/transition_calls_async_function_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/transition_function_calls_transition_function_fail.leo b/tests/tests/compiler/function/transition_function_calls_transition_function_fail.leo index c9c14d3cbd..0c103360ba 100644 --- a/tests/tests/compiler/function/transition_function_calls_transition_function_fail.leo +++ b/tests/tests/compiler/function/transition_function_calls_transition_function_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/undefined_data_type_fail.leo b/tests/tests/compiler/function/undefined_data_type_fail.leo index 03df7d6b16..0cd40f43be 100644 --- a/tests/tests/compiler/function/undefined_data_type_fail.leo +++ b/tests/tests/compiler/function/undefined_data_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/undefined_fail.leo b/tests/tests/compiler/function/undefined_fail.leo index 4e18744da4..8600134fe1 100644 --- a/tests/tests/compiler/function/undefined_fail.leo +++ b/tests/tests/compiler/function/undefined_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/function/unknown_parameter_type_fail.leo b/tests/tests/compiler/function/unknown_parameter_type_fail.leo index 3b4bedc554..272b745260 100644 --- a/tests/tests/compiler/function/unknown_parameter_type_fail.leo +++ b/tests/tests/compiler/function/unknown_parameter_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/futures/explicit_return_type_fail.leo b/tests/tests/compiler/futures/explicit_return_type_fail.leo index 2056a0a28c..e93da61c4d 100644 --- a/tests/tests/compiler/futures/explicit_return_type_fail.leo +++ b/tests/tests/compiler/futures/explicit_return_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { mapping foo: u32 => u32; diff --git a/tests/tests/compiler/futures/explicit_type_simple.leo b/tests/tests/compiler/futures/explicit_type_simple.leo index 01cbd960a5..503980236c 100644 --- a/tests/tests/compiler/futures/explicit_type_simple.leo +++ b/tests/tests/compiler/futures/explicit_type_simple.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { mapping foo: u32 => u32; diff --git a/tests/tests/compiler/futures/future_in_tuple.leo b/tests/tests/compiler/futures/future_in_tuple.leo index c7f65ce0f8..9f2aa3ea26 100644 --- a/tests/tests/compiler/futures/future_in_tuple.leo +++ b/tests/tests/compiler/futures/future_in_tuple.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program credits.aleo { record credits { diff --git a/tests/tests/compiler/futures/future_not_all_awaited_fail.leo b/tests/tests/compiler/futures/future_not_all_awaited_fail.leo index 4361e02e82..12eb54461b 100644 --- a/tests/tests/compiler/futures/future_not_all_awaited_fail.leo +++ b/tests/tests/compiler/futures/future_not_all_awaited_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program child.aleo { diff --git a/tests/tests/compiler/futures/future_not_all_passed_to_async_call_fail.leo b/tests/tests/compiler/futures/future_not_all_passed_to_async_call_fail.leo index a4aefffd24..13a9ba7296 100644 --- a/tests/tests/compiler/futures/future_not_all_passed_to_async_call_fail.leo +++ b/tests/tests/compiler/futures/future_not_all_passed_to_async_call_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program child.aleo { diff --git a/tests/tests/compiler/futures/nested.leo b/tests/tests/compiler/futures/nested.leo index b370617e4b..9faaa0db89 100644 --- a/tests/tests/compiler/futures/nested.leo +++ b/tests/tests/compiler/futures/nested.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // The 'test_dep' program. diff --git a/tests/tests/compiler/futures/partial_type_specification.leo b/tests/tests/compiler/futures/partial_type_specification.leo index 53e3d660e8..1b36a3c337 100644 --- a/tests/tests/compiler/futures/partial_type_specification.leo +++ b/tests/tests/compiler/futures/partial_type_specification.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // The 'test_dep' program. diff --git a/tests/tests/compiler/futures/simple.leo b/tests/tests/compiler/futures/simple.leo index b6632fd927..4bfa589c76 100644 --- a/tests/tests/compiler/futures/simple.leo +++ b/tests/tests/compiler/futures/simple.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { mapping foo: u32 => u32; diff --git a/tests/tests/compiler/group/add.leo b/tests/tests/compiler/group/add.leo index f1649bcceb..faddc39a8b 100644 --- a/tests/tests/compiler/group/add.leo +++ b/tests/tests/compiler/group/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/assert_eq.leo b/tests/tests/compiler/group/assert_eq.leo index c9810e48a0..44d332a5c1 100644 --- a/tests/tests/compiler/group/assert_eq.leo +++ b/tests/tests/compiler/group/assert_eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/eq.leo b/tests/tests/compiler/group/eq.leo index c9810e48a0..44d332a5c1 100644 --- a/tests/tests/compiler/group/eq.leo +++ b/tests/tests/compiler/group/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/group_mul.leo b/tests/tests/compiler/group/group_mul.leo index 2dba4f6b81..2f081c78cc 100644 --- a/tests/tests/compiler/group/group_mul.leo +++ b/tests/tests/compiler/group/group_mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/input.leo b/tests/tests/compiler/group/input.leo index c9810e48a0..44d332a5c1 100644 --- a/tests/tests/compiler/group/input.leo +++ b/tests/tests/compiler/group/input.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/mul.leo b/tests/tests/compiler/group/mul.leo index 9986f31838..e1895b4832 100644 --- a/tests/tests/compiler/group/mul.leo +++ b/tests/tests/compiler/group/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/mult_by_group_fail.leo b/tests/tests/compiler/group/mult_by_group_fail.leo index 046e403905..5b3132e9ce 100644 --- a/tests/tests/compiler/group/mult_by_group_fail.leo +++ b/tests/tests/compiler/group/mult_by_group_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/group/mult_by_scalar.leo b/tests/tests/compiler/group/mult_by_scalar.leo index 2affb1200c..8e3c3f41d8 100644 --- a/tests/tests/compiler/group/mult_by_scalar.leo +++ b/tests/tests/compiler/group/mult_by_scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/negate.leo b/tests/tests/compiler/group/negate.leo index e83100e8d1..73bc61364c 100644 --- a/tests/tests/compiler/group/negate.leo +++ b/tests/tests/compiler/group/negate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/no_space_between_literal.leo b/tests/tests/compiler/group/no_space_between_literal.leo index 4f86a791a5..364e277c50 100644 --- a/tests/tests/compiler/group/no_space_between_literal.leo +++ b/tests/tests/compiler/group/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/group/operator_methods.leo b/tests/tests/compiler/group/operator_methods.leo index d46c004b30..160e7ac66d 100644 --- a/tests/tests/compiler/group/operator_methods.leo +++ b/tests/tests/compiler/group/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/point_input.leo b/tests/tests/compiler/group/point_input.leo index a3c987d124..73b2154bb2 100644 --- a/tests/tests/compiler/group/point_input.leo +++ b/tests/tests/compiler/group/point_input.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/sub.leo b/tests/tests/compiler/group/sub.leo index b5aa082c47..04b0dd14ee 100644 --- a/tests/tests/compiler/group/sub.leo +++ b/tests/tests/compiler/group/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/ternary.leo b/tests/tests/compiler/group/ternary.leo index ed5f2c89c1..4f2d328f50 100644 --- a/tests/tests/compiler/group/ternary.leo +++ b/tests/tests/compiler/group/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/to_x_coordinate.leo b/tests/tests/compiler/group/to_x_coordinate.leo index 4bbd40f38b..b3b2030d71 100644 --- a/tests/tests/compiler/group/to_x_coordinate.leo +++ b/tests/tests/compiler/group/to_x_coordinate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/to_y_coordinate.leo b/tests/tests/compiler/group/to_y_coordinate.leo index 3687999cc0..20f3d60244 100644 --- a/tests/tests/compiler/group/to_y_coordinate.leo +++ b/tests/tests/compiler/group/to_y_coordinate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/x_and_y.leo b/tests/tests/compiler/group/x_and_y.leo index d2cf13053e..8c02816e73 100644 --- a/tests/tests/compiler/group/x_and_y.leo +++ b/tests/tests/compiler/group/x_and_y.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/x_sign_high.leo b/tests/tests/compiler/group/x_sign_high.leo index 4b92ad6b98..78ba4b4e1e 100644 --- a/tests/tests/compiler/group/x_sign_high.leo +++ b/tests/tests/compiler/group/x_sign_high.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/x_sign_inferred.leo b/tests/tests/compiler/group/x_sign_inferred.leo index 733b42f03d..a27b3220dc 100644 --- a/tests/tests/compiler/group/x_sign_inferred.leo +++ b/tests/tests/compiler/group/x_sign_inferred.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/x_sign_low.leo b/tests/tests/compiler/group/x_sign_low.leo index 56e83f3c11..9cff501b83 100644 --- a/tests/tests/compiler/group/x_sign_low.leo +++ b/tests/tests/compiler/group/x_sign_low.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/group/zero.leo b/tests/tests/compiler/group/zero.leo index b4ce0fd67a..767943f8b7 100644 --- a/tests/tests/compiler/group/zero.leo +++ b/tests/tests/compiler/group/zero.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/input/main.leo b/tests/tests/compiler/input/main.leo index 84e0e51490..582eadc2a7 100644 --- a/tests/tests/compiler/input/main.leo +++ b/tests/tests/compiler/input/main.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/input/main_field.leo b/tests/tests/compiler/input/main_field.leo index da61a5bc41..62c78b1635 100644 --- a/tests/tests/compiler/input/main_field.leo +++ b/tests/tests/compiler/input/main_field.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/add.leo b/tests/tests/compiler/integers/i128/add.leo index 8319b456f9..4ae1631f2f 100644 --- a/tests/tests/compiler/integers/i128/add.leo +++ b/tests/tests/compiler/integers/i128/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/and.leo b/tests/tests/compiler/integers/i128/and.leo index 04d7f91d7e..f0371eadcb 100644 --- a/tests/tests/compiler/integers/i128/and.leo +++ b/tests/tests/compiler/integers/i128/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/console_assert.leo b/tests/tests/compiler/integers/i128/console_assert.leo index 275e33485e..89b66b124d 100644 --- a/tests/tests/compiler/integers/i128/console_assert.leo +++ b/tests/tests/compiler/integers/i128/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/div.leo b/tests/tests/compiler/integers/i128/div.leo index dec05349e0..66e716ca2b 100644 --- a/tests/tests/compiler/integers/i128/div.leo +++ b/tests/tests/compiler/integers/i128/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/eq.leo b/tests/tests/compiler/integers/i128/eq.leo index 8009a75d3f..c488ad6ead 100644 --- a/tests/tests/compiler/integers/i128/eq.leo +++ b/tests/tests/compiler/integers/i128/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/ge.leo b/tests/tests/compiler/integers/i128/ge.leo index 786e16b27d..f9db967992 100644 --- a/tests/tests/compiler/integers/i128/ge.leo +++ b/tests/tests/compiler/integers/i128/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/gt.leo b/tests/tests/compiler/integers/i128/gt.leo index 1645d5e6fc..e6f2fe24e5 100644 --- a/tests/tests/compiler/integers/i128/gt.leo +++ b/tests/tests/compiler/integers/i128/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/hex_and_bin.leo b/tests/tests/compiler/integers/i128/hex_and_bin.leo index 4ae6aa4e03..3aa6df6bfe 100644 --- a/tests/tests/compiler/integers/i128/hex_and_bin.leo +++ b/tests/tests/compiler/integers/i128/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/le.leo b/tests/tests/compiler/integers/i128/le.leo index 0b0046724a..c785cc2d07 100644 --- a/tests/tests/compiler/integers/i128/le.leo +++ b/tests/tests/compiler/integers/i128/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/lt.leo b/tests/tests/compiler/integers/i128/lt.leo index a2a3aea978..c81513b6a7 100644 --- a/tests/tests/compiler/integers/i128/lt.leo +++ b/tests/tests/compiler/integers/i128/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/max.leo b/tests/tests/compiler/integers/i128/max.leo index 1917c94e45..042e3eea98 100644 --- a/tests/tests/compiler/integers/i128/max.leo +++ b/tests/tests/compiler/integers/i128/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/max_fail.leo b/tests/tests/compiler/integers/i128/max_fail.leo index 878088b99b..9dc32c26f5 100644 --- a/tests/tests/compiler/integers/i128/max_fail.leo +++ b/tests/tests/compiler/integers/i128/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/min.leo b/tests/tests/compiler/integers/i128/min.leo index 28b5c1802b..e7329fe8a2 100644 --- a/tests/tests/compiler/integers/i128/min.leo +++ b/tests/tests/compiler/integers/i128/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/min_fail.leo b/tests/tests/compiler/integers/i128/min_fail.leo index 0ff4938b70..57465578f2 100644 --- a/tests/tests/compiler/integers/i128/min_fail.leo +++ b/tests/tests/compiler/integers/i128/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/mul.leo b/tests/tests/compiler/integers/i128/mul.leo index 93a3cbb450..902e0f4feb 100644 --- a/tests/tests/compiler/integers/i128/mul.leo +++ b/tests/tests/compiler/integers/i128/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/ne.leo b/tests/tests/compiler/integers/i128/ne.leo index 6e1e3718a4..7d598b1830 100644 --- a/tests/tests/compiler/integers/i128/ne.leo +++ b/tests/tests/compiler/integers/i128/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/negate.leo b/tests/tests/compiler/integers/i128/negate.leo index fbc443b658..673947e3d6 100644 --- a/tests/tests/compiler/integers/i128/negate.leo +++ b/tests/tests/compiler/integers/i128/negate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/negate_min_fail.leo b/tests/tests/compiler/integers/i128/negate_min_fail.leo index ec25e27b1e..114f9a2a16 100644 --- a/tests/tests/compiler/integers/i128/negate_min_fail.leo +++ b/tests/tests/compiler/integers/i128/negate_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/negate_zero.leo b/tests/tests/compiler/integers/i128/negate_zero.leo index f28c054c8d..cf9f5494d6 100644 --- a/tests/tests/compiler/integers/i128/negate_zero.leo +++ b/tests/tests/compiler/integers/i128/negate_zero.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/no_space_between_literal.leo b/tests/tests/compiler/integers/i128/no_space_between_literal.leo index 72a78fe7cc..4288ecec88 100644 --- a/tests/tests/compiler/integers/i128/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/i128/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/operator_methods.leo b/tests/tests/compiler/integers/i128/operator_methods.leo index 5cb659ce3c..e5f11a8422 100644 --- a/tests/tests/compiler/integers/i128/operator_methods.leo +++ b/tests/tests/compiler/integers/i128/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/or.leo b/tests/tests/compiler/integers/i128/or.leo index 262de8117d..7b5c44c8a6 100644 --- a/tests/tests/compiler/integers/i128/or.leo +++ b/tests/tests/compiler/integers/i128/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/pow.leo b/tests/tests/compiler/integers/i128/pow.leo index 0a5fea7cae..68098a3b24 100644 --- a/tests/tests/compiler/integers/i128/pow.leo +++ b/tests/tests/compiler/integers/i128/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/rem.leo b/tests/tests/compiler/integers/i128/rem.leo index 46532e8543..eb323af8c2 100644 --- a/tests/tests/compiler/integers/i128/rem.leo +++ b/tests/tests/compiler/integers/i128/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/shl.leo b/tests/tests/compiler/integers/i128/shl.leo index 53199a4999..797a53c138 100644 --- a/tests/tests/compiler/integers/i128/shl.leo +++ b/tests/tests/compiler/integers/i128/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/shr.leo b/tests/tests/compiler/integers/i128/shr.leo index 54290fe97d..2d2c8595af 100644 --- a/tests/tests/compiler/integers/i128/shr.leo +++ b/tests/tests/compiler/integers/i128/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/sub.leo b/tests/tests/compiler/integers/i128/sub.leo index 784f4a2794..7e7a95dcbe 100644 --- a/tests/tests/compiler/integers/i128/sub.leo +++ b/tests/tests/compiler/integers/i128/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/ternary.leo b/tests/tests/compiler/integers/i128/ternary.leo index b4657dc07f..81881138ed 100644 --- a/tests/tests/compiler/integers/i128/ternary.leo +++ b/tests/tests/compiler/integers/i128/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i128/xor.leo b/tests/tests/compiler/integers/i128/xor.leo index ff47fa385d..c0936077ef 100644 --- a/tests/tests/compiler/integers/i128/xor.leo +++ b/tests/tests/compiler/integers/i128/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/add.leo b/tests/tests/compiler/integers/i16/add.leo index 317986501e..22af4cb6e0 100644 --- a/tests/tests/compiler/integers/i16/add.leo +++ b/tests/tests/compiler/integers/i16/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/and.leo b/tests/tests/compiler/integers/i16/and.leo index f01dd00c23..b8d5d921ca 100644 --- a/tests/tests/compiler/integers/i16/and.leo +++ b/tests/tests/compiler/integers/i16/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/console_assert.leo b/tests/tests/compiler/integers/i16/console_assert.leo index 2ec4d64e7b..f72c59e7ab 100644 --- a/tests/tests/compiler/integers/i16/console_assert.leo +++ b/tests/tests/compiler/integers/i16/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/div.leo b/tests/tests/compiler/integers/i16/div.leo index 4933861544..c53007f290 100644 --- a/tests/tests/compiler/integers/i16/div.leo +++ b/tests/tests/compiler/integers/i16/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/eq.leo b/tests/tests/compiler/integers/i16/eq.leo index b11b2a22d1..a0889ae2b9 100644 --- a/tests/tests/compiler/integers/i16/eq.leo +++ b/tests/tests/compiler/integers/i16/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/ge.leo b/tests/tests/compiler/integers/i16/ge.leo index 07cf807803..3cb5177995 100644 --- a/tests/tests/compiler/integers/i16/ge.leo +++ b/tests/tests/compiler/integers/i16/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/gt.leo b/tests/tests/compiler/integers/i16/gt.leo index e5904f1290..e555beb436 100644 --- a/tests/tests/compiler/integers/i16/gt.leo +++ b/tests/tests/compiler/integers/i16/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/hex_and_bin.leo b/tests/tests/compiler/integers/i16/hex_and_bin.leo index 9754fd5672..0468289b1d 100644 --- a/tests/tests/compiler/integers/i16/hex_and_bin.leo +++ b/tests/tests/compiler/integers/i16/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/le.leo b/tests/tests/compiler/integers/i16/le.leo index 003a3af5bd..8e2b6b9047 100644 --- a/tests/tests/compiler/integers/i16/le.leo +++ b/tests/tests/compiler/integers/i16/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/lt.leo b/tests/tests/compiler/integers/i16/lt.leo index fc89c5720f..ceff3c36d6 100644 --- a/tests/tests/compiler/integers/i16/lt.leo +++ b/tests/tests/compiler/integers/i16/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/max.leo b/tests/tests/compiler/integers/i16/max.leo index ebc3a9999a..1870cccf52 100644 --- a/tests/tests/compiler/integers/i16/max.leo +++ b/tests/tests/compiler/integers/i16/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/max_fail.leo b/tests/tests/compiler/integers/i16/max_fail.leo index 3ef7587fce..f9e865c4ac 100644 --- a/tests/tests/compiler/integers/i16/max_fail.leo +++ b/tests/tests/compiler/integers/i16/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/min.leo b/tests/tests/compiler/integers/i16/min.leo index ca91be2f9a..f148604f19 100644 --- a/tests/tests/compiler/integers/i16/min.leo +++ b/tests/tests/compiler/integers/i16/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/min_fail.leo b/tests/tests/compiler/integers/i16/min_fail.leo index aaada8671a..5200aa48de 100644 --- a/tests/tests/compiler/integers/i16/min_fail.leo +++ b/tests/tests/compiler/integers/i16/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/mul.leo b/tests/tests/compiler/integers/i16/mul.leo index 8bc331688d..8cfaf144af 100644 --- a/tests/tests/compiler/integers/i16/mul.leo +++ b/tests/tests/compiler/integers/i16/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/ne.leo b/tests/tests/compiler/integers/i16/ne.leo index 19f5c3b4ed..a4a6ad7c15 100644 --- a/tests/tests/compiler/integers/i16/ne.leo +++ b/tests/tests/compiler/integers/i16/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/negate.leo b/tests/tests/compiler/integers/i16/negate.leo index 3694b6de59..2cc8eb7dc4 100644 --- a/tests/tests/compiler/integers/i16/negate.leo +++ b/tests/tests/compiler/integers/i16/negate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/negate_min_fail.leo b/tests/tests/compiler/integers/i16/negate_min_fail.leo index 7e908278ec..36dc784b89 100644 --- a/tests/tests/compiler/integers/i16/negate_min_fail.leo +++ b/tests/tests/compiler/integers/i16/negate_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/negate_zero.leo b/tests/tests/compiler/integers/i16/negate_zero.leo index cf13fc1a03..634aa93c72 100644 --- a/tests/tests/compiler/integers/i16/negate_zero.leo +++ b/tests/tests/compiler/integers/i16/negate_zero.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/no_space_between_literal.leo b/tests/tests/compiler/integers/i16/no_space_between_literal.leo index e65b9e487c..c76c3797ba 100644 --- a/tests/tests/compiler/integers/i16/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/i16/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/operator_methods.leo b/tests/tests/compiler/integers/i16/operator_methods.leo index 99048b5da7..758ec21c48 100644 --- a/tests/tests/compiler/integers/i16/operator_methods.leo +++ b/tests/tests/compiler/integers/i16/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/or.leo b/tests/tests/compiler/integers/i16/or.leo index ffffe0836d..5bd88b6c6d 100644 --- a/tests/tests/compiler/integers/i16/or.leo +++ b/tests/tests/compiler/integers/i16/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/pow.leo b/tests/tests/compiler/integers/i16/pow.leo index e04266da0f..1f4da44982 100644 --- a/tests/tests/compiler/integers/i16/pow.leo +++ b/tests/tests/compiler/integers/i16/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/rem.leo b/tests/tests/compiler/integers/i16/rem.leo index 93e246c729..889a9b5f86 100644 --- a/tests/tests/compiler/integers/i16/rem.leo +++ b/tests/tests/compiler/integers/i16/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/shl.leo b/tests/tests/compiler/integers/i16/shl.leo index dfd79b24d7..15e4e02813 100644 --- a/tests/tests/compiler/integers/i16/shl.leo +++ b/tests/tests/compiler/integers/i16/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/shr.leo b/tests/tests/compiler/integers/i16/shr.leo index 573e2e363e..a1eb9681b0 100644 --- a/tests/tests/compiler/integers/i16/shr.leo +++ b/tests/tests/compiler/integers/i16/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/sub.leo b/tests/tests/compiler/integers/i16/sub.leo index 752e802e1e..c83ace94db 100644 --- a/tests/tests/compiler/integers/i16/sub.leo +++ b/tests/tests/compiler/integers/i16/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/ternary.leo b/tests/tests/compiler/integers/i16/ternary.leo index ac44c0fc58..0361ea53cc 100644 --- a/tests/tests/compiler/integers/i16/ternary.leo +++ b/tests/tests/compiler/integers/i16/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i16/xor.leo b/tests/tests/compiler/integers/i16/xor.leo index 38f8449c6a..fa06d57a37 100644 --- a/tests/tests/compiler/integers/i16/xor.leo +++ b/tests/tests/compiler/integers/i16/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/add.leo b/tests/tests/compiler/integers/i32/add.leo index 5fe2629e0b..54d8fb808e 100644 --- a/tests/tests/compiler/integers/i32/add.leo +++ b/tests/tests/compiler/integers/i32/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/and.leo b/tests/tests/compiler/integers/i32/and.leo index 4899e28c8d..fb637a2f48 100644 --- a/tests/tests/compiler/integers/i32/and.leo +++ b/tests/tests/compiler/integers/i32/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/console_assert.leo b/tests/tests/compiler/integers/i32/console_assert.leo index 6fe7fe8c67..befbdc4dd8 100644 --- a/tests/tests/compiler/integers/i32/console_assert.leo +++ b/tests/tests/compiler/integers/i32/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/div.leo b/tests/tests/compiler/integers/i32/div.leo index 36dde73535..7e09254d77 100644 --- a/tests/tests/compiler/integers/i32/div.leo +++ b/tests/tests/compiler/integers/i32/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/eq.leo b/tests/tests/compiler/integers/i32/eq.leo index 490784170a..5e7ca621af 100644 --- a/tests/tests/compiler/integers/i32/eq.leo +++ b/tests/tests/compiler/integers/i32/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/ge.leo b/tests/tests/compiler/integers/i32/ge.leo index e44ce1738c..091dc15a93 100644 --- a/tests/tests/compiler/integers/i32/ge.leo +++ b/tests/tests/compiler/integers/i32/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/gt.leo b/tests/tests/compiler/integers/i32/gt.leo index 746dcb2eb4..64e7ea726c 100644 --- a/tests/tests/compiler/integers/i32/gt.leo +++ b/tests/tests/compiler/integers/i32/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/hex_and_bin.leo b/tests/tests/compiler/integers/i32/hex_and_bin.leo index 80774d472d..618fd70012 100644 --- a/tests/tests/compiler/integers/i32/hex_and_bin.leo +++ b/tests/tests/compiler/integers/i32/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/le.leo b/tests/tests/compiler/integers/i32/le.leo index ad31d2b55a..34d71a6f68 100644 --- a/tests/tests/compiler/integers/i32/le.leo +++ b/tests/tests/compiler/integers/i32/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/lt.leo b/tests/tests/compiler/integers/i32/lt.leo index b7a71c0351..231a84b3d1 100644 --- a/tests/tests/compiler/integers/i32/lt.leo +++ b/tests/tests/compiler/integers/i32/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/max.leo b/tests/tests/compiler/integers/i32/max.leo index 9c2840a554..fd72d960bb 100644 --- a/tests/tests/compiler/integers/i32/max.leo +++ b/tests/tests/compiler/integers/i32/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/max_fail.leo b/tests/tests/compiler/integers/i32/max_fail.leo index ee5f7248e9..60d544aa50 100644 --- a/tests/tests/compiler/integers/i32/max_fail.leo +++ b/tests/tests/compiler/integers/i32/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/min.leo b/tests/tests/compiler/integers/i32/min.leo index 3c023ac70f..a8ef7458a9 100644 --- a/tests/tests/compiler/integers/i32/min.leo +++ b/tests/tests/compiler/integers/i32/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/min_fail.leo b/tests/tests/compiler/integers/i32/min_fail.leo index a062599920..0259fb4c41 100644 --- a/tests/tests/compiler/integers/i32/min_fail.leo +++ b/tests/tests/compiler/integers/i32/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/mul.leo b/tests/tests/compiler/integers/i32/mul.leo index 36eab92f18..1c4798ce71 100644 --- a/tests/tests/compiler/integers/i32/mul.leo +++ b/tests/tests/compiler/integers/i32/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/ne.leo b/tests/tests/compiler/integers/i32/ne.leo index ec926e3c1b..7a26634996 100644 --- a/tests/tests/compiler/integers/i32/ne.leo +++ b/tests/tests/compiler/integers/i32/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/negate.leo b/tests/tests/compiler/integers/i32/negate.leo index 8cbd25d9b5..abaf66a98d 100644 --- a/tests/tests/compiler/integers/i32/negate.leo +++ b/tests/tests/compiler/integers/i32/negate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/negate_min_fail.leo b/tests/tests/compiler/integers/i32/negate_min_fail.leo index b8694f1dae..e12a40fd51 100644 --- a/tests/tests/compiler/integers/i32/negate_min_fail.leo +++ b/tests/tests/compiler/integers/i32/negate_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/negate_zero.leo b/tests/tests/compiler/integers/i32/negate_zero.leo index 5854142599..ed042f23d5 100644 --- a/tests/tests/compiler/integers/i32/negate_zero.leo +++ b/tests/tests/compiler/integers/i32/negate_zero.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/no_space_between_literal.leo b/tests/tests/compiler/integers/i32/no_space_between_literal.leo index 77215db2a5..51d257df49 100644 --- a/tests/tests/compiler/integers/i32/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/i32/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/operator_methods.leo b/tests/tests/compiler/integers/i32/operator_methods.leo index 61a4bb456c..20548e650d 100644 --- a/tests/tests/compiler/integers/i32/operator_methods.leo +++ b/tests/tests/compiler/integers/i32/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/or.leo b/tests/tests/compiler/integers/i32/or.leo index 8a9cc78f91..6f10b313a2 100644 --- a/tests/tests/compiler/integers/i32/or.leo +++ b/tests/tests/compiler/integers/i32/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/pow.leo b/tests/tests/compiler/integers/i32/pow.leo index 6ddb435f74..bd91f2e118 100644 --- a/tests/tests/compiler/integers/i32/pow.leo +++ b/tests/tests/compiler/integers/i32/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/rem.leo b/tests/tests/compiler/integers/i32/rem.leo index 301737548d..b265ee91d8 100644 --- a/tests/tests/compiler/integers/i32/rem.leo +++ b/tests/tests/compiler/integers/i32/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/shl.leo b/tests/tests/compiler/integers/i32/shl.leo index 1ec64b477e..3f709f2047 100644 --- a/tests/tests/compiler/integers/i32/shl.leo +++ b/tests/tests/compiler/integers/i32/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/shr.leo b/tests/tests/compiler/integers/i32/shr.leo index c5072a3dfe..1818d6ddea 100644 --- a/tests/tests/compiler/integers/i32/shr.leo +++ b/tests/tests/compiler/integers/i32/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/sub.leo b/tests/tests/compiler/integers/i32/sub.leo index 88db75cdc5..81d850967e 100644 --- a/tests/tests/compiler/integers/i32/sub.leo +++ b/tests/tests/compiler/integers/i32/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/ternary.leo b/tests/tests/compiler/integers/i32/ternary.leo index 7343324ceb..1b3933dcdd 100644 --- a/tests/tests/compiler/integers/i32/ternary.leo +++ b/tests/tests/compiler/integers/i32/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i32/xor.leo b/tests/tests/compiler/integers/i32/xor.leo index c483312350..2669aa5b91 100644 --- a/tests/tests/compiler/integers/i32/xor.leo +++ b/tests/tests/compiler/integers/i32/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/add.leo b/tests/tests/compiler/integers/i64/add.leo index a01e799e9a..97fb3474f8 100644 --- a/tests/tests/compiler/integers/i64/add.leo +++ b/tests/tests/compiler/integers/i64/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/and.leo b/tests/tests/compiler/integers/i64/and.leo index d6a7f9011c..e1fa96362f 100644 --- a/tests/tests/compiler/integers/i64/and.leo +++ b/tests/tests/compiler/integers/i64/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/console_assert.leo b/tests/tests/compiler/integers/i64/console_assert.leo index 8f9d83ba61..b52c1ff062 100644 --- a/tests/tests/compiler/integers/i64/console_assert.leo +++ b/tests/tests/compiler/integers/i64/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/div.leo b/tests/tests/compiler/integers/i64/div.leo index 3c85a53eb5..7b6056d6e1 100644 --- a/tests/tests/compiler/integers/i64/div.leo +++ b/tests/tests/compiler/integers/i64/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/eq.leo b/tests/tests/compiler/integers/i64/eq.leo index 4c6bc197e4..9e7a6ca237 100644 --- a/tests/tests/compiler/integers/i64/eq.leo +++ b/tests/tests/compiler/integers/i64/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/ge.leo b/tests/tests/compiler/integers/i64/ge.leo index 87d7bf2ae5..bc364e435f 100644 --- a/tests/tests/compiler/integers/i64/ge.leo +++ b/tests/tests/compiler/integers/i64/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/gt.leo b/tests/tests/compiler/integers/i64/gt.leo index 410092843e..d9a0a54156 100644 --- a/tests/tests/compiler/integers/i64/gt.leo +++ b/tests/tests/compiler/integers/i64/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/hex_and_bin.leo b/tests/tests/compiler/integers/i64/hex_and_bin.leo index a33700199a..a89ff465d8 100644 --- a/tests/tests/compiler/integers/i64/hex_and_bin.leo +++ b/tests/tests/compiler/integers/i64/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/le.leo b/tests/tests/compiler/integers/i64/le.leo index a39f192904..99507c2509 100644 --- a/tests/tests/compiler/integers/i64/le.leo +++ b/tests/tests/compiler/integers/i64/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/lt.leo b/tests/tests/compiler/integers/i64/lt.leo index 84929f423f..606bd8772a 100644 --- a/tests/tests/compiler/integers/i64/lt.leo +++ b/tests/tests/compiler/integers/i64/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/max.leo b/tests/tests/compiler/integers/i64/max.leo index ceeee83c32..10daaff25c 100644 --- a/tests/tests/compiler/integers/i64/max.leo +++ b/tests/tests/compiler/integers/i64/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/max_fail.leo b/tests/tests/compiler/integers/i64/max_fail.leo index 46bfd7fa72..a8d3bab932 100644 --- a/tests/tests/compiler/integers/i64/max_fail.leo +++ b/tests/tests/compiler/integers/i64/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/min.leo b/tests/tests/compiler/integers/i64/min.leo index 846e1fcb21..2fa4c17297 100644 --- a/tests/tests/compiler/integers/i64/min.leo +++ b/tests/tests/compiler/integers/i64/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/min_fail.leo b/tests/tests/compiler/integers/i64/min_fail.leo index ed4f05c185..2175320f0b 100644 --- a/tests/tests/compiler/integers/i64/min_fail.leo +++ b/tests/tests/compiler/integers/i64/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/mul.leo b/tests/tests/compiler/integers/i64/mul.leo index 8494099dd5..59a426e033 100644 --- a/tests/tests/compiler/integers/i64/mul.leo +++ b/tests/tests/compiler/integers/i64/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/ne.leo b/tests/tests/compiler/integers/i64/ne.leo index a09153a413..6be49b4fa5 100644 --- a/tests/tests/compiler/integers/i64/ne.leo +++ b/tests/tests/compiler/integers/i64/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/negate.leo b/tests/tests/compiler/integers/i64/negate.leo index 56a090beca..0826d9ded6 100644 --- a/tests/tests/compiler/integers/i64/negate.leo +++ b/tests/tests/compiler/integers/i64/negate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/negate_min_fail.leo b/tests/tests/compiler/integers/i64/negate_min_fail.leo index 5f699209dd..1cd26656e8 100644 --- a/tests/tests/compiler/integers/i64/negate_min_fail.leo +++ b/tests/tests/compiler/integers/i64/negate_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/negate_zero.leo b/tests/tests/compiler/integers/i64/negate_zero.leo index 25d3199ed4..19653f5470 100644 --- a/tests/tests/compiler/integers/i64/negate_zero.leo +++ b/tests/tests/compiler/integers/i64/negate_zero.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/no_space_between_literal.leo b/tests/tests/compiler/integers/i64/no_space_between_literal.leo index 8669cac997..5684ec6c70 100644 --- a/tests/tests/compiler/integers/i64/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/i64/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/operator_methods.leo b/tests/tests/compiler/integers/i64/operator_methods.leo index 342a00805d..054a6f8f03 100644 --- a/tests/tests/compiler/integers/i64/operator_methods.leo +++ b/tests/tests/compiler/integers/i64/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/or.leo b/tests/tests/compiler/integers/i64/or.leo index cd05c966a8..c7b61e4f91 100644 --- a/tests/tests/compiler/integers/i64/or.leo +++ b/tests/tests/compiler/integers/i64/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/pow.leo b/tests/tests/compiler/integers/i64/pow.leo index 1f63a8ef20..92bf334c27 100644 --- a/tests/tests/compiler/integers/i64/pow.leo +++ b/tests/tests/compiler/integers/i64/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/rem.leo b/tests/tests/compiler/integers/i64/rem.leo index 7a6093e276..e45dd6119d 100644 --- a/tests/tests/compiler/integers/i64/rem.leo +++ b/tests/tests/compiler/integers/i64/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/shl.leo b/tests/tests/compiler/integers/i64/shl.leo index b3fb61a178..3c4fb31f1b 100644 --- a/tests/tests/compiler/integers/i64/shl.leo +++ b/tests/tests/compiler/integers/i64/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/shr.leo b/tests/tests/compiler/integers/i64/shr.leo index d9d95c4d6b..7d1021ffbf 100644 --- a/tests/tests/compiler/integers/i64/shr.leo +++ b/tests/tests/compiler/integers/i64/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/sub.leo b/tests/tests/compiler/integers/i64/sub.leo index 86ed05a24c..6e5fca6dcb 100644 --- a/tests/tests/compiler/integers/i64/sub.leo +++ b/tests/tests/compiler/integers/i64/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/ternary.leo b/tests/tests/compiler/integers/i64/ternary.leo index 3961b8dc1e..8c4f9b9322 100644 --- a/tests/tests/compiler/integers/i64/ternary.leo +++ b/tests/tests/compiler/integers/i64/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i64/xor.leo b/tests/tests/compiler/integers/i64/xor.leo index 29f6b2ebbd..0f479bc2eb 100644 --- a/tests/tests/compiler/integers/i64/xor.leo +++ b/tests/tests/compiler/integers/i64/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/add.leo b/tests/tests/compiler/integers/i8/add.leo index 4b41b8a01f..84b87365d5 100644 --- a/tests/tests/compiler/integers/i8/add.leo +++ b/tests/tests/compiler/integers/i8/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/and.leo b/tests/tests/compiler/integers/i8/and.leo index 5f2f56c264..4a7eda5326 100644 --- a/tests/tests/compiler/integers/i8/and.leo +++ b/tests/tests/compiler/integers/i8/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/console_assert.leo b/tests/tests/compiler/integers/i8/console_assert.leo index 4bddfc81aa..2cd3f2d623 100644 --- a/tests/tests/compiler/integers/i8/console_assert.leo +++ b/tests/tests/compiler/integers/i8/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/div.leo b/tests/tests/compiler/integers/i8/div.leo index e59452550a..a1862494d6 100644 --- a/tests/tests/compiler/integers/i8/div.leo +++ b/tests/tests/compiler/integers/i8/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/eq.leo b/tests/tests/compiler/integers/i8/eq.leo index 410f025a54..086c7068fe 100644 --- a/tests/tests/compiler/integers/i8/eq.leo +++ b/tests/tests/compiler/integers/i8/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/ge.leo b/tests/tests/compiler/integers/i8/ge.leo index 980b584746..ddc9ef9f2a 100644 --- a/tests/tests/compiler/integers/i8/ge.leo +++ b/tests/tests/compiler/integers/i8/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/gt.leo b/tests/tests/compiler/integers/i8/gt.leo index 5286949691..e96b21d77e 100644 --- a/tests/tests/compiler/integers/i8/gt.leo +++ b/tests/tests/compiler/integers/i8/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/hex_and_bin.leo b/tests/tests/compiler/integers/i8/hex_and_bin.leo index c41ef0bead..a8f935d5d5 100644 --- a/tests/tests/compiler/integers/i8/hex_and_bin.leo +++ b/tests/tests/compiler/integers/i8/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/le.leo b/tests/tests/compiler/integers/i8/le.leo index 06d07f3947..7ccf5d771e 100644 --- a/tests/tests/compiler/integers/i8/le.leo +++ b/tests/tests/compiler/integers/i8/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/lt.leo b/tests/tests/compiler/integers/i8/lt.leo index 96063db658..b2594d798b 100644 --- a/tests/tests/compiler/integers/i8/lt.leo +++ b/tests/tests/compiler/integers/i8/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/max.leo b/tests/tests/compiler/integers/i8/max.leo index 5911d1e743..8dcecde227 100644 --- a/tests/tests/compiler/integers/i8/max.leo +++ b/tests/tests/compiler/integers/i8/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/max_fail.leo b/tests/tests/compiler/integers/i8/max_fail.leo index ed8f80056c..19a5c6f602 100644 --- a/tests/tests/compiler/integers/i8/max_fail.leo +++ b/tests/tests/compiler/integers/i8/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/min.leo b/tests/tests/compiler/integers/i8/min.leo index 458aaac766..4af41e493c 100644 --- a/tests/tests/compiler/integers/i8/min.leo +++ b/tests/tests/compiler/integers/i8/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/min_fail.leo b/tests/tests/compiler/integers/i8/min_fail.leo index b26c906922..f2c20d3c08 100644 --- a/tests/tests/compiler/integers/i8/min_fail.leo +++ b/tests/tests/compiler/integers/i8/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/mul.leo b/tests/tests/compiler/integers/i8/mul.leo index a4f81776ca..a03ac307d2 100644 --- a/tests/tests/compiler/integers/i8/mul.leo +++ b/tests/tests/compiler/integers/i8/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/ne.leo b/tests/tests/compiler/integers/i8/ne.leo index 3c35b09e20..1c04e49e7d 100644 --- a/tests/tests/compiler/integers/i8/ne.leo +++ b/tests/tests/compiler/integers/i8/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/negate.leo b/tests/tests/compiler/integers/i8/negate.leo index d5ad8acb63..c13a86c518 100644 --- a/tests/tests/compiler/integers/i8/negate.leo +++ b/tests/tests/compiler/integers/i8/negate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/negate_min_fail.leo b/tests/tests/compiler/integers/i8/negate_min_fail.leo index 0ba07137b3..7bf64b5063 100644 --- a/tests/tests/compiler/integers/i8/negate_min_fail.leo +++ b/tests/tests/compiler/integers/i8/negate_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/negate_zero.leo b/tests/tests/compiler/integers/i8/negate_zero.leo index f803729363..aa97eeb490 100644 --- a/tests/tests/compiler/integers/i8/negate_zero.leo +++ b/tests/tests/compiler/integers/i8/negate_zero.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/no_space_between_literal.leo b/tests/tests/compiler/integers/i8/no_space_between_literal.leo index 9a6232c129..40412b071d 100644 --- a/tests/tests/compiler/integers/i8/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/i8/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/operator_methods.leo b/tests/tests/compiler/integers/i8/operator_methods.leo index 5f35349478..087aa09208 100644 --- a/tests/tests/compiler/integers/i8/operator_methods.leo +++ b/tests/tests/compiler/integers/i8/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/or.leo b/tests/tests/compiler/integers/i8/or.leo index 6f42bd8cbd..e82f787edc 100644 --- a/tests/tests/compiler/integers/i8/or.leo +++ b/tests/tests/compiler/integers/i8/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/pow.leo b/tests/tests/compiler/integers/i8/pow.leo index af0f4e7ab3..725d9828f0 100644 --- a/tests/tests/compiler/integers/i8/pow.leo +++ b/tests/tests/compiler/integers/i8/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/rem.leo b/tests/tests/compiler/integers/i8/rem.leo index 16a55de84e..31815ff4de 100644 --- a/tests/tests/compiler/integers/i8/rem.leo +++ b/tests/tests/compiler/integers/i8/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/shl.leo b/tests/tests/compiler/integers/i8/shl.leo index 149101d732..447f382772 100644 --- a/tests/tests/compiler/integers/i8/shl.leo +++ b/tests/tests/compiler/integers/i8/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/shr.leo b/tests/tests/compiler/integers/i8/shr.leo index 1099e5ac63..c3df58feaf 100644 --- a/tests/tests/compiler/integers/i8/shr.leo +++ b/tests/tests/compiler/integers/i8/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/sub.leo b/tests/tests/compiler/integers/i8/sub.leo index 2697462e43..102099301b 100644 --- a/tests/tests/compiler/integers/i8/sub.leo +++ b/tests/tests/compiler/integers/i8/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/ternary.leo b/tests/tests/compiler/integers/i8/ternary.leo index 8f6fea7d9b..482adeb28d 100644 --- a/tests/tests/compiler/integers/i8/ternary.leo +++ b/tests/tests/compiler/integers/i8/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/i8/xor.leo b/tests/tests/compiler/integers/i8/xor.leo index fd02236312..29ab674269 100644 --- a/tests/tests/compiler/integers/i8/xor.leo +++ b/tests/tests/compiler/integers/i8/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/add.leo b/tests/tests/compiler/integers/u128/add.leo index 7be36ce2cc..7a5dbac25f 100644 --- a/tests/tests/compiler/integers/u128/add.leo +++ b/tests/tests/compiler/integers/u128/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/and.leo b/tests/tests/compiler/integers/u128/and.leo index 68b449ec0c..2504635072 100644 --- a/tests/tests/compiler/integers/u128/and.leo +++ b/tests/tests/compiler/integers/u128/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/console_assert.leo b/tests/tests/compiler/integers/u128/console_assert.leo index 347b381708..457e6cc35a 100644 --- a/tests/tests/compiler/integers/u128/console_assert.leo +++ b/tests/tests/compiler/integers/u128/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/div.leo b/tests/tests/compiler/integers/u128/div.leo index 2f86285f1e..0830460981 100644 --- a/tests/tests/compiler/integers/u128/div.leo +++ b/tests/tests/compiler/integers/u128/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/eq.leo b/tests/tests/compiler/integers/u128/eq.leo index d35b61db7c..8cff6ba47c 100644 --- a/tests/tests/compiler/integers/u128/eq.leo +++ b/tests/tests/compiler/integers/u128/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/ge.leo b/tests/tests/compiler/integers/u128/ge.leo index ec3a6fa1e5..2fe1b94b98 100644 --- a/tests/tests/compiler/integers/u128/ge.leo +++ b/tests/tests/compiler/integers/u128/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/gt.leo b/tests/tests/compiler/integers/u128/gt.leo index 8b1011f5a0..67ebcb92e1 100644 --- a/tests/tests/compiler/integers/u128/gt.leo +++ b/tests/tests/compiler/integers/u128/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/hex_and_bin.leo b/tests/tests/compiler/integers/u128/hex_and_bin.leo index cf84c9daa5..ee679bcbbb 100644 --- a/tests/tests/compiler/integers/u128/hex_and_bin.leo +++ b/tests/tests/compiler/integers/u128/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/hex_min_fail.leo b/tests/tests/compiler/integers/u128/hex_min_fail.leo index 06addcc655..b82c509793 100644 --- a/tests/tests/compiler/integers/u128/hex_min_fail.leo +++ b/tests/tests/compiler/integers/u128/hex_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/le.leo b/tests/tests/compiler/integers/u128/le.leo index 4c2cef3c28..e49e306503 100644 --- a/tests/tests/compiler/integers/u128/le.leo +++ b/tests/tests/compiler/integers/u128/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/lt.leo b/tests/tests/compiler/integers/u128/lt.leo index 6f31523e5d..6e1baf7fcf 100644 --- a/tests/tests/compiler/integers/u128/lt.leo +++ b/tests/tests/compiler/integers/u128/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/max.leo b/tests/tests/compiler/integers/u128/max.leo index 5adf8d1ffc..93832910cf 100644 --- a/tests/tests/compiler/integers/u128/max.leo +++ b/tests/tests/compiler/integers/u128/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/max_fail.leo b/tests/tests/compiler/integers/u128/max_fail.leo index 270acc3a2a..e47f7c73bc 100644 --- a/tests/tests/compiler/integers/u128/max_fail.leo +++ b/tests/tests/compiler/integers/u128/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/min.leo b/tests/tests/compiler/integers/u128/min.leo index dfbe083d71..190cd1781e 100644 --- a/tests/tests/compiler/integers/u128/min.leo +++ b/tests/tests/compiler/integers/u128/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/min_fail.leo b/tests/tests/compiler/integers/u128/min_fail.leo index 23d3f7328e..183cfe4646 100644 --- a/tests/tests/compiler/integers/u128/min_fail.leo +++ b/tests/tests/compiler/integers/u128/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/mul.leo b/tests/tests/compiler/integers/u128/mul.leo index 7b2cfd9709..8b36e24a8b 100644 --- a/tests/tests/compiler/integers/u128/mul.leo +++ b/tests/tests/compiler/integers/u128/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/ne.leo b/tests/tests/compiler/integers/u128/ne.leo index 6db3e718a6..25b4082b95 100644 --- a/tests/tests/compiler/integers/u128/ne.leo +++ b/tests/tests/compiler/integers/u128/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/no_space_between_literal.leo b/tests/tests/compiler/integers/u128/no_space_between_literal.leo index 36a2f77622..faddad6062 100644 --- a/tests/tests/compiler/integers/u128/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/u128/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/operator_methods.leo b/tests/tests/compiler/integers/u128/operator_methods.leo index eb703c47a3..c4f2beeb19 100644 --- a/tests/tests/compiler/integers/u128/operator_methods.leo +++ b/tests/tests/compiler/integers/u128/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/or.leo b/tests/tests/compiler/integers/u128/or.leo index 78de15dddc..650759d0c3 100644 --- a/tests/tests/compiler/integers/u128/or.leo +++ b/tests/tests/compiler/integers/u128/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/pow.leo b/tests/tests/compiler/integers/u128/pow.leo index d58059f8b4..38310ca3c9 100644 --- a/tests/tests/compiler/integers/u128/pow.leo +++ b/tests/tests/compiler/integers/u128/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" # The exponent must be u8, u16, or u32 */ diff --git a/tests/tests/compiler/integers/u128/rem.leo b/tests/tests/compiler/integers/u128/rem.leo index bbde7f201c..175b98c68b 100644 --- a/tests/tests/compiler/integers/u128/rem.leo +++ b/tests/tests/compiler/integers/u128/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/shl.leo b/tests/tests/compiler/integers/u128/shl.leo index 53e330ec52..9e0daf221b 100644 --- a/tests/tests/compiler/integers/u128/shl.leo +++ b/tests/tests/compiler/integers/u128/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/shr.leo b/tests/tests/compiler/integers/u128/shr.leo index 42f31d9061..8bbc34816e 100644 --- a/tests/tests/compiler/integers/u128/shr.leo +++ b/tests/tests/compiler/integers/u128/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/sub.leo b/tests/tests/compiler/integers/u128/sub.leo index 94cc985b2e..f2055a8e72 100644 --- a/tests/tests/compiler/integers/u128/sub.leo +++ b/tests/tests/compiler/integers/u128/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/ternary.leo b/tests/tests/compiler/integers/u128/ternary.leo index fbe821b752..e0276ffea7 100644 --- a/tests/tests/compiler/integers/u128/ternary.leo +++ b/tests/tests/compiler/integers/u128/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u128/xor.leo b/tests/tests/compiler/integers/u128/xor.leo index 88c7c64244..1921e5f01b 100644 --- a/tests/tests/compiler/integers/u128/xor.leo +++ b/tests/tests/compiler/integers/u128/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/add.leo b/tests/tests/compiler/integers/u16/add.leo index 57e29602c2..d7e50dbd33 100644 --- a/tests/tests/compiler/integers/u16/add.leo +++ b/tests/tests/compiler/integers/u16/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/and.leo b/tests/tests/compiler/integers/u16/and.leo index b73cb0048e..452a42290e 100644 --- a/tests/tests/compiler/integers/u16/and.leo +++ b/tests/tests/compiler/integers/u16/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/console_assert.leo b/tests/tests/compiler/integers/u16/console_assert.leo index d5f0b2d085..85056ad7b3 100644 --- a/tests/tests/compiler/integers/u16/console_assert.leo +++ b/tests/tests/compiler/integers/u16/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/div.leo b/tests/tests/compiler/integers/u16/div.leo index 181032c963..37edb38eea 100644 --- a/tests/tests/compiler/integers/u16/div.leo +++ b/tests/tests/compiler/integers/u16/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/eq.leo b/tests/tests/compiler/integers/u16/eq.leo index 66ca94afbf..0b01a0a77c 100644 --- a/tests/tests/compiler/integers/u16/eq.leo +++ b/tests/tests/compiler/integers/u16/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/ge.leo b/tests/tests/compiler/integers/u16/ge.leo index 0710680fae..4bc73ecbb3 100644 --- a/tests/tests/compiler/integers/u16/ge.leo +++ b/tests/tests/compiler/integers/u16/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/gt.leo b/tests/tests/compiler/integers/u16/gt.leo index ea953c674b..e03576264e 100644 --- a/tests/tests/compiler/integers/u16/gt.leo +++ b/tests/tests/compiler/integers/u16/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/hex_and_bin.leo b/tests/tests/compiler/integers/u16/hex_and_bin.leo index e5d012babe..0f6b2300b2 100644 --- a/tests/tests/compiler/integers/u16/hex_and_bin.leo +++ b/tests/tests/compiler/integers/u16/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/hex_min_fail.leo b/tests/tests/compiler/integers/u16/hex_min_fail.leo index 3fc23a4703..566eb9e759 100644 --- a/tests/tests/compiler/integers/u16/hex_min_fail.leo +++ b/tests/tests/compiler/integers/u16/hex_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/le.leo b/tests/tests/compiler/integers/u16/le.leo index 9c4537b49d..ed89a162cf 100644 --- a/tests/tests/compiler/integers/u16/le.leo +++ b/tests/tests/compiler/integers/u16/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/lt.leo b/tests/tests/compiler/integers/u16/lt.leo index d718ef07e8..f6584f2d0f 100644 --- a/tests/tests/compiler/integers/u16/lt.leo +++ b/tests/tests/compiler/integers/u16/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/max.leo b/tests/tests/compiler/integers/u16/max.leo index 8a38fe83d2..f3f56eb863 100644 --- a/tests/tests/compiler/integers/u16/max.leo +++ b/tests/tests/compiler/integers/u16/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/max_fail.leo b/tests/tests/compiler/integers/u16/max_fail.leo index 44d5bf33ed..c4ea0e8168 100644 --- a/tests/tests/compiler/integers/u16/max_fail.leo +++ b/tests/tests/compiler/integers/u16/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/min.leo b/tests/tests/compiler/integers/u16/min.leo index 4e3958d401..491f68ded2 100644 --- a/tests/tests/compiler/integers/u16/min.leo +++ b/tests/tests/compiler/integers/u16/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/min_fail.leo b/tests/tests/compiler/integers/u16/min_fail.leo index 7102f31c18..d8e0dbf817 100644 --- a/tests/tests/compiler/integers/u16/min_fail.leo +++ b/tests/tests/compiler/integers/u16/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/mul.leo b/tests/tests/compiler/integers/u16/mul.leo index b2e040638d..43051a27df 100644 --- a/tests/tests/compiler/integers/u16/mul.leo +++ b/tests/tests/compiler/integers/u16/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/ne.leo b/tests/tests/compiler/integers/u16/ne.leo index 8c4d759d51..ce177a00a4 100644 --- a/tests/tests/compiler/integers/u16/ne.leo +++ b/tests/tests/compiler/integers/u16/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/no_space_between_literal.leo b/tests/tests/compiler/integers/u16/no_space_between_literal.leo index 9344951eaa..60a740bba1 100644 --- a/tests/tests/compiler/integers/u16/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/u16/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/operator_methods.leo b/tests/tests/compiler/integers/u16/operator_methods.leo index 796ca1edc5..49b664bc80 100644 --- a/tests/tests/compiler/integers/u16/operator_methods.leo +++ b/tests/tests/compiler/integers/u16/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/or.leo b/tests/tests/compiler/integers/u16/or.leo index 4e4fd5a15e..6e81083649 100644 --- a/tests/tests/compiler/integers/u16/or.leo +++ b/tests/tests/compiler/integers/u16/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/pow.leo b/tests/tests/compiler/integers/u16/pow.leo index 0b48558163..9f99a2d7aa 100644 --- a/tests/tests/compiler/integers/u16/pow.leo +++ b/tests/tests/compiler/integers/u16/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/rem.leo b/tests/tests/compiler/integers/u16/rem.leo index 24076baaeb..1445f80b2b 100644 --- a/tests/tests/compiler/integers/u16/rem.leo +++ b/tests/tests/compiler/integers/u16/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/shl.leo b/tests/tests/compiler/integers/u16/shl.leo index 3ff8c4b749..3b2dd35497 100644 --- a/tests/tests/compiler/integers/u16/shl.leo +++ b/tests/tests/compiler/integers/u16/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/shr.leo b/tests/tests/compiler/integers/u16/shr.leo index 6ac9909a9c..d9cc47e862 100644 --- a/tests/tests/compiler/integers/u16/shr.leo +++ b/tests/tests/compiler/integers/u16/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/sub.leo b/tests/tests/compiler/integers/u16/sub.leo index 1395ef8066..7896c7249d 100644 --- a/tests/tests/compiler/integers/u16/sub.leo +++ b/tests/tests/compiler/integers/u16/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/ternary.leo b/tests/tests/compiler/integers/u16/ternary.leo index 72df74127d..c8d7ec91fb 100644 --- a/tests/tests/compiler/integers/u16/ternary.leo +++ b/tests/tests/compiler/integers/u16/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u16/xor.leo b/tests/tests/compiler/integers/u16/xor.leo index ec58f9c997..78e775100a 100644 --- a/tests/tests/compiler/integers/u16/xor.leo +++ b/tests/tests/compiler/integers/u16/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/add.leo b/tests/tests/compiler/integers/u32/add.leo index d8c7a286e3..09192309c8 100644 --- a/tests/tests/compiler/integers/u32/add.leo +++ b/tests/tests/compiler/integers/u32/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/and.leo b/tests/tests/compiler/integers/u32/and.leo index 9815a90505..47f41f71ed 100644 --- a/tests/tests/compiler/integers/u32/and.leo +++ b/tests/tests/compiler/integers/u32/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/console_assert.leo b/tests/tests/compiler/integers/u32/console_assert.leo index d01776a1b8..0e5c00d752 100644 --- a/tests/tests/compiler/integers/u32/console_assert.leo +++ b/tests/tests/compiler/integers/u32/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/div.leo b/tests/tests/compiler/integers/u32/div.leo index 069bc9c34e..48b7f964f0 100644 --- a/tests/tests/compiler/integers/u32/div.leo +++ b/tests/tests/compiler/integers/u32/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/eq.leo b/tests/tests/compiler/integers/u32/eq.leo index 500b02e0b3..9cdbbd7d48 100644 --- a/tests/tests/compiler/integers/u32/eq.leo +++ b/tests/tests/compiler/integers/u32/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/ge.leo b/tests/tests/compiler/integers/u32/ge.leo index 241f7fddb7..68dfce58e1 100644 --- a/tests/tests/compiler/integers/u32/ge.leo +++ b/tests/tests/compiler/integers/u32/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/gt.leo b/tests/tests/compiler/integers/u32/gt.leo index f8906828b6..6a39bc651b 100644 --- a/tests/tests/compiler/integers/u32/gt.leo +++ b/tests/tests/compiler/integers/u32/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/hex_and_bin.leo b/tests/tests/compiler/integers/u32/hex_and_bin.leo index faf24c81d5..62139c272d 100644 --- a/tests/tests/compiler/integers/u32/hex_and_bin.leo +++ b/tests/tests/compiler/integers/u32/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/hex_min_fail.leo b/tests/tests/compiler/integers/u32/hex_min_fail.leo index 894b3b72c2..7e6f877c51 100644 --- a/tests/tests/compiler/integers/u32/hex_min_fail.leo +++ b/tests/tests/compiler/integers/u32/hex_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/le.leo b/tests/tests/compiler/integers/u32/le.leo index 746b4bbeb0..bc74944a16 100644 --- a/tests/tests/compiler/integers/u32/le.leo +++ b/tests/tests/compiler/integers/u32/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/lt.leo b/tests/tests/compiler/integers/u32/lt.leo index 112a44c5d9..31570c088d 100644 --- a/tests/tests/compiler/integers/u32/lt.leo +++ b/tests/tests/compiler/integers/u32/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/max.leo b/tests/tests/compiler/integers/u32/max.leo index 7016085a81..074cf19260 100644 --- a/tests/tests/compiler/integers/u32/max.leo +++ b/tests/tests/compiler/integers/u32/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/max_fail.leo b/tests/tests/compiler/integers/u32/max_fail.leo index 99b288778f..6171d4d06a 100644 --- a/tests/tests/compiler/integers/u32/max_fail.leo +++ b/tests/tests/compiler/integers/u32/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/min.leo b/tests/tests/compiler/integers/u32/min.leo index ef85bf6e88..542ef8df33 100644 --- a/tests/tests/compiler/integers/u32/min.leo +++ b/tests/tests/compiler/integers/u32/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/min_fail.leo b/tests/tests/compiler/integers/u32/min_fail.leo index 4cdbac33da..1dd88e0197 100644 --- a/tests/tests/compiler/integers/u32/min_fail.leo +++ b/tests/tests/compiler/integers/u32/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/mul.leo b/tests/tests/compiler/integers/u32/mul.leo index 4477a26aff..b9f756cc81 100644 --- a/tests/tests/compiler/integers/u32/mul.leo +++ b/tests/tests/compiler/integers/u32/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/ne.leo b/tests/tests/compiler/integers/u32/ne.leo index 6f201c7825..701e2a6b50 100644 --- a/tests/tests/compiler/integers/u32/ne.leo +++ b/tests/tests/compiler/integers/u32/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/no_space_between_literal.leo b/tests/tests/compiler/integers/u32/no_space_between_literal.leo index 8892a936f8..fd567edf04 100644 --- a/tests/tests/compiler/integers/u32/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/u32/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/operator_methods.leo b/tests/tests/compiler/integers/u32/operator_methods.leo index a290585b69..183b18252f 100644 --- a/tests/tests/compiler/integers/u32/operator_methods.leo +++ b/tests/tests/compiler/integers/u32/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/or.leo b/tests/tests/compiler/integers/u32/or.leo index f80bda81d8..4614c314bd 100644 --- a/tests/tests/compiler/integers/u32/or.leo +++ b/tests/tests/compiler/integers/u32/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/pow.leo b/tests/tests/compiler/integers/u32/pow.leo index 30b152685b..c9f151ce9c 100644 --- a/tests/tests/compiler/integers/u32/pow.leo +++ b/tests/tests/compiler/integers/u32/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/rem.leo b/tests/tests/compiler/integers/u32/rem.leo index 9f91a7b018..9c8cd8c9f7 100644 --- a/tests/tests/compiler/integers/u32/rem.leo +++ b/tests/tests/compiler/integers/u32/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/shl.leo b/tests/tests/compiler/integers/u32/shl.leo index dee286fbff..d1967d5b0d 100644 --- a/tests/tests/compiler/integers/u32/shl.leo +++ b/tests/tests/compiler/integers/u32/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/shr.leo b/tests/tests/compiler/integers/u32/shr.leo index b6c7d5e865..d681193a49 100644 --- a/tests/tests/compiler/integers/u32/shr.leo +++ b/tests/tests/compiler/integers/u32/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/sub.leo b/tests/tests/compiler/integers/u32/sub.leo index 5c219c46c9..cc57e11ce9 100644 --- a/tests/tests/compiler/integers/u32/sub.leo +++ b/tests/tests/compiler/integers/u32/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/ternary.leo b/tests/tests/compiler/integers/u32/ternary.leo index b0f756b2e1..4f9f2e4cae 100644 --- a/tests/tests/compiler/integers/u32/ternary.leo +++ b/tests/tests/compiler/integers/u32/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u32/xor.leo b/tests/tests/compiler/integers/u32/xor.leo index 552f19dc62..66a28f52b0 100644 --- a/tests/tests/compiler/integers/u32/xor.leo +++ b/tests/tests/compiler/integers/u32/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/add.leo b/tests/tests/compiler/integers/u64/add.leo index c804a3233b..676875966e 100644 --- a/tests/tests/compiler/integers/u64/add.leo +++ b/tests/tests/compiler/integers/u64/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/and.leo b/tests/tests/compiler/integers/u64/and.leo index 1ef0360eaa..f8e871d6f3 100644 --- a/tests/tests/compiler/integers/u64/and.leo +++ b/tests/tests/compiler/integers/u64/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/console_assert.leo b/tests/tests/compiler/integers/u64/console_assert.leo index 1e6e46ce69..8b538c9d06 100644 --- a/tests/tests/compiler/integers/u64/console_assert.leo +++ b/tests/tests/compiler/integers/u64/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/div.leo b/tests/tests/compiler/integers/u64/div.leo index 9923671cf0..f32801e432 100644 --- a/tests/tests/compiler/integers/u64/div.leo +++ b/tests/tests/compiler/integers/u64/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/eq.leo b/tests/tests/compiler/integers/u64/eq.leo index c4bdd30420..ed53b8ae80 100644 --- a/tests/tests/compiler/integers/u64/eq.leo +++ b/tests/tests/compiler/integers/u64/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/ge.leo b/tests/tests/compiler/integers/u64/ge.leo index c852239b0b..6e435aa4b8 100644 --- a/tests/tests/compiler/integers/u64/ge.leo +++ b/tests/tests/compiler/integers/u64/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/gt.leo b/tests/tests/compiler/integers/u64/gt.leo index 557ba61a0f..f519696906 100644 --- a/tests/tests/compiler/integers/u64/gt.leo +++ b/tests/tests/compiler/integers/u64/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/hex_and_bin.leo b/tests/tests/compiler/integers/u64/hex_and_bin.leo index 40da61814e..6a1f450f09 100644 --- a/tests/tests/compiler/integers/u64/hex_and_bin.leo +++ b/tests/tests/compiler/integers/u64/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/hex_min_fail.leo b/tests/tests/compiler/integers/u64/hex_min_fail.leo index 1889dce8c5..93fd6196e7 100644 --- a/tests/tests/compiler/integers/u64/hex_min_fail.leo +++ b/tests/tests/compiler/integers/u64/hex_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/le.leo b/tests/tests/compiler/integers/u64/le.leo index 7fb89738b6..9f00a37f73 100644 --- a/tests/tests/compiler/integers/u64/le.leo +++ b/tests/tests/compiler/integers/u64/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/lt.leo b/tests/tests/compiler/integers/u64/lt.leo index e1c6d6c1a7..eba72233c0 100644 --- a/tests/tests/compiler/integers/u64/lt.leo +++ b/tests/tests/compiler/integers/u64/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/max.leo b/tests/tests/compiler/integers/u64/max.leo index edf1c35fab..35c66cb095 100644 --- a/tests/tests/compiler/integers/u64/max.leo +++ b/tests/tests/compiler/integers/u64/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/max_fail.leo b/tests/tests/compiler/integers/u64/max_fail.leo index 18e0636c5e..f18c1ec822 100644 --- a/tests/tests/compiler/integers/u64/max_fail.leo +++ b/tests/tests/compiler/integers/u64/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/min.leo b/tests/tests/compiler/integers/u64/min.leo index 6532bab363..376ec2d3e5 100644 --- a/tests/tests/compiler/integers/u64/min.leo +++ b/tests/tests/compiler/integers/u64/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/min_fail.leo b/tests/tests/compiler/integers/u64/min_fail.leo index 1201c966ec..b7672d72ca 100644 --- a/tests/tests/compiler/integers/u64/min_fail.leo +++ b/tests/tests/compiler/integers/u64/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/mul.leo b/tests/tests/compiler/integers/u64/mul.leo index bfcb6a8f40..fb10b5fcfd 100644 --- a/tests/tests/compiler/integers/u64/mul.leo +++ b/tests/tests/compiler/integers/u64/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/ne.leo b/tests/tests/compiler/integers/u64/ne.leo index 74a44fcf7d..320f9f7d5e 100644 --- a/tests/tests/compiler/integers/u64/ne.leo +++ b/tests/tests/compiler/integers/u64/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/no_space_between_literal.leo b/tests/tests/compiler/integers/u64/no_space_between_literal.leo index b05c88b941..8df9de41ea 100644 --- a/tests/tests/compiler/integers/u64/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/u64/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/operator_methods.leo b/tests/tests/compiler/integers/u64/operator_methods.leo index 5915d5aac5..60a76624de 100644 --- a/tests/tests/compiler/integers/u64/operator_methods.leo +++ b/tests/tests/compiler/integers/u64/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/or.leo b/tests/tests/compiler/integers/u64/or.leo index 69c232303c..e203ecef16 100644 --- a/tests/tests/compiler/integers/u64/or.leo +++ b/tests/tests/compiler/integers/u64/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/pow.leo b/tests/tests/compiler/integers/u64/pow.leo index 7bcffb7359..2f9aeb4340 100644 --- a/tests/tests/compiler/integers/u64/pow.leo +++ b/tests/tests/compiler/integers/u64/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/rem.leo b/tests/tests/compiler/integers/u64/rem.leo index 95fc2fcaec..75550aa9da 100644 --- a/tests/tests/compiler/integers/u64/rem.leo +++ b/tests/tests/compiler/integers/u64/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/shl.leo b/tests/tests/compiler/integers/u64/shl.leo index 312b4a28bb..be5b569e7c 100644 --- a/tests/tests/compiler/integers/u64/shl.leo +++ b/tests/tests/compiler/integers/u64/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/shr.leo b/tests/tests/compiler/integers/u64/shr.leo index 930302b7bc..08cf727590 100644 --- a/tests/tests/compiler/integers/u64/shr.leo +++ b/tests/tests/compiler/integers/u64/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/sub.leo b/tests/tests/compiler/integers/u64/sub.leo index b37d7b9d80..fa30531d8b 100644 --- a/tests/tests/compiler/integers/u64/sub.leo +++ b/tests/tests/compiler/integers/u64/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/ternary.leo b/tests/tests/compiler/integers/u64/ternary.leo index 1331988c80..c28d84f7d3 100644 --- a/tests/tests/compiler/integers/u64/ternary.leo +++ b/tests/tests/compiler/integers/u64/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u64/xor.leo b/tests/tests/compiler/integers/u64/xor.leo index e0b1c1fb57..981aa0bd8b 100644 --- a/tests/tests/compiler/integers/u64/xor.leo +++ b/tests/tests/compiler/integers/u64/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/add.leo b/tests/tests/compiler/integers/u8/add.leo index 7151ea7111..e4a52fd8c7 100644 --- a/tests/tests/compiler/integers/u8/add.leo +++ b/tests/tests/compiler/integers/u8/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/and.leo b/tests/tests/compiler/integers/u8/and.leo index 7623caeb22..04dcc9a06e 100644 --- a/tests/tests/compiler/integers/u8/and.leo +++ b/tests/tests/compiler/integers/u8/and.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/console_assert.leo b/tests/tests/compiler/integers/u8/console_assert.leo index 535981c1e9..238f73b2d0 100644 --- a/tests/tests/compiler/integers/u8/console_assert.leo +++ b/tests/tests/compiler/integers/u8/console_assert.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/div.leo b/tests/tests/compiler/integers/u8/div.leo index 3820eb577e..8a42a89b6d 100644 --- a/tests/tests/compiler/integers/u8/div.leo +++ b/tests/tests/compiler/integers/u8/div.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/eq.leo b/tests/tests/compiler/integers/u8/eq.leo index 002094736b..eb95f9e633 100644 --- a/tests/tests/compiler/integers/u8/eq.leo +++ b/tests/tests/compiler/integers/u8/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/ge.leo b/tests/tests/compiler/integers/u8/ge.leo index 6ec3e32727..9dc56ab0bd 100644 --- a/tests/tests/compiler/integers/u8/ge.leo +++ b/tests/tests/compiler/integers/u8/ge.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/gt.leo b/tests/tests/compiler/integers/u8/gt.leo index ce35fb1990..5a4791dbaf 100644 --- a/tests/tests/compiler/integers/u8/gt.leo +++ b/tests/tests/compiler/integers/u8/gt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/hex_and_bin.leo b/tests/tests/compiler/integers/u8/hex_and_bin.leo index c921d14b1c..7e28e91945 100644 --- a/tests/tests/compiler/integers/u8/hex_and_bin.leo +++ b/tests/tests/compiler/integers/u8/hex_and_bin.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/hex_min_fail.leo b/tests/tests/compiler/integers/u8/hex_min_fail.leo index 3010be7b8a..f94b63588d 100644 --- a/tests/tests/compiler/integers/u8/hex_min_fail.leo +++ b/tests/tests/compiler/integers/u8/hex_min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/le.leo b/tests/tests/compiler/integers/u8/le.leo index 4c2c429eef..0a7cbe6828 100644 --- a/tests/tests/compiler/integers/u8/le.leo +++ b/tests/tests/compiler/integers/u8/le.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/lt.leo b/tests/tests/compiler/integers/u8/lt.leo index b177b7eb13..e649c25217 100644 --- a/tests/tests/compiler/integers/u8/lt.leo +++ b/tests/tests/compiler/integers/u8/lt.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/max.leo b/tests/tests/compiler/integers/u8/max.leo index b2c07e5eac..7eee5b88e8 100644 --- a/tests/tests/compiler/integers/u8/max.leo +++ b/tests/tests/compiler/integers/u8/max.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/max_fail.leo b/tests/tests/compiler/integers/u8/max_fail.leo index 26dda07886..3c2d962bc9 100644 --- a/tests/tests/compiler/integers/u8/max_fail.leo +++ b/tests/tests/compiler/integers/u8/max_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/min.leo b/tests/tests/compiler/integers/u8/min.leo index 96b0d30691..e6224014d6 100644 --- a/tests/tests/compiler/integers/u8/min.leo +++ b/tests/tests/compiler/integers/u8/min.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/min_fail.leo b/tests/tests/compiler/integers/u8/min_fail.leo index 6938330c3a..b5bac197e9 100644 --- a/tests/tests/compiler/integers/u8/min_fail.leo +++ b/tests/tests/compiler/integers/u8/min_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/mul.leo b/tests/tests/compiler/integers/u8/mul.leo index 0049675db8..a8d82f48eb 100644 --- a/tests/tests/compiler/integers/u8/mul.leo +++ b/tests/tests/compiler/integers/u8/mul.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/ne.leo b/tests/tests/compiler/integers/u8/ne.leo index 24db7c351b..fb3c3f9cef 100644 --- a/tests/tests/compiler/integers/u8/ne.leo +++ b/tests/tests/compiler/integers/u8/ne.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/no_space_between_literal.leo b/tests/tests/compiler/integers/u8/no_space_between_literal.leo index ec3fc03caa..3f2bd2fc39 100644 --- a/tests/tests/compiler/integers/u8/no_space_between_literal.leo +++ b/tests/tests/compiler/integers/u8/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/operator_methods.leo b/tests/tests/compiler/integers/u8/operator_methods.leo index a067b6487a..fd3548f9bc 100644 --- a/tests/tests/compiler/integers/u8/operator_methods.leo +++ b/tests/tests/compiler/integers/u8/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/or.leo b/tests/tests/compiler/integers/u8/or.leo index 6f561906e9..8204c55de5 100644 --- a/tests/tests/compiler/integers/u8/or.leo +++ b/tests/tests/compiler/integers/u8/or.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/pow.leo b/tests/tests/compiler/integers/u8/pow.leo index 40a681009f..40af42e01d 100644 --- a/tests/tests/compiler/integers/u8/pow.leo +++ b/tests/tests/compiler/integers/u8/pow.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/rem.leo b/tests/tests/compiler/integers/u8/rem.leo index b7ffa2bee3..e94bdbf854 100644 --- a/tests/tests/compiler/integers/u8/rem.leo +++ b/tests/tests/compiler/integers/u8/rem.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/shl.leo b/tests/tests/compiler/integers/u8/shl.leo index 08bf150b29..229bb016d2 100644 --- a/tests/tests/compiler/integers/u8/shl.leo +++ b/tests/tests/compiler/integers/u8/shl.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/shr.leo b/tests/tests/compiler/integers/u8/shr.leo index 7346597e22..818d292251 100644 --- a/tests/tests/compiler/integers/u8/shr.leo +++ b/tests/tests/compiler/integers/u8/shr.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/sub.leo b/tests/tests/compiler/integers/u8/sub.leo index fa9291b9b4..d3c5e08b91 100644 --- a/tests/tests/compiler/integers/u8/sub.leo +++ b/tests/tests/compiler/integers/u8/sub.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/ternary.leo b/tests/tests/compiler/integers/u8/ternary.leo index d371a8b4af..a95d7baf32 100644 --- a/tests/tests/compiler/integers/u8/ternary.leo +++ b/tests/tests/compiler/integers/u8/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/integers/u8/xor.leo b/tests/tests/compiler/integers/u8/xor.leo index 2646b628fa..c1bffe038a 100644 --- a/tests/tests/compiler/integers/u8/xor.leo +++ b/tests/tests/compiler/integers/u8/xor.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/mappings/external_read_with_local_fail.leo b/tests/tests/compiler/mappings/external_read_with_local_fail.leo index 7a9112cf16..23e758ae84 100644 --- a/tests/tests/compiler/mappings/external_read_with_local_fail.leo +++ b/tests/tests/compiler/mappings/external_read_with_local_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program registry.aleo { diff --git a/tests/tests/compiler/mappings/global_shadow_mapping_fail.leo b/tests/tests/compiler/mappings/global_shadow_mapping_fail.leo index 6bf9fb6963..314851b168 100644 --- a/tests/tests/compiler/mappings/global_shadow_mapping_fail.leo +++ b/tests/tests/compiler/mappings/global_shadow_mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/mappings/locator_expression_fail.leo b/tests/tests/compiler/mappings/locator_expression_fail.leo index b95347aaf3..8c44def86a 100644 --- a/tests/tests/compiler/mappings/locator_expression_fail.leo +++ b/tests/tests/compiler/mappings/locator_expression_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program relay.aleo { diff --git a/tests/tests/compiler/mappings/max_mappings.leo b/tests/tests/compiler/mappings/max_mappings.leo index ab3e8947ca..1465f51c3e 100644 --- a/tests/tests/compiler/mappings/max_mappings.leo +++ b/tests/tests/compiler/mappings/max_mappings.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/mappings/no_import_external_read_fail.leo b/tests/tests/compiler/mappings/no_import_external_read_fail.leo index 2ad02c9f10..52fc0439b0 100644 --- a/tests/tests/compiler/mappings/no_import_external_read_fail.leo +++ b/tests/tests/compiler/mappings/no_import_external_read_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program registry.aleo { diff --git a/tests/tests/compiler/mappings/read_external_mapping.leo b/tests/tests/compiler/mappings/read_external_mapping.leo index 1ad09f3b0f..7ba445ecb5 100644 --- a/tests/tests/compiler/mappings/read_external_mapping.leo +++ b/tests/tests/compiler/mappings/read_external_mapping.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program registry.aleo { diff --git a/tests/tests/compiler/mappings/shadowed_mapping_fail.leo b/tests/tests/compiler/mappings/shadowed_mapping_fail.leo index 618ca4276a..e680aa0dde 100644 --- a/tests/tests/compiler/mappings/shadowed_mapping_fail.leo +++ b/tests/tests/compiler/mappings/shadowed_mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/mappings/too_many_mappings_fail.leo b/tests/tests/compiler/mappings/too_many_mappings_fail.leo index d89c0e0468..a62b3b57bc 100644 --- a/tests/tests/compiler/mappings/too_many_mappings_fail.leo +++ b/tests/tests/compiler/mappings/too_many_mappings_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/mappings/unknown_external_mapping_fail.leo b/tests/tests/compiler/mappings/unknown_external_mapping_fail.leo index 4b336b8a4f..1ad76c85e0 100644 --- a/tests/tests/compiler/mappings/unknown_external_mapping_fail.leo +++ b/tests/tests/compiler/mappings/unknown_external_mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program registry.aleo { diff --git a/tests/tests/compiler/records/balance_wrong_ty.leo b/tests/tests/compiler/records/balance_wrong_ty.leo index b2f5033a94..a5be317481 100644 --- a/tests/tests/compiler/records/balance_wrong_ty.leo +++ b/tests/tests/compiler/records/balance_wrong_ty.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/declaration.leo b/tests/tests/compiler/records/declaration.leo index 70979a9304..d23f33c20b 100644 --- a/tests/tests/compiler/records/declaration.leo +++ b/tests/tests/compiler/records/declaration.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/duplicate_circuit_name_fail.leo b/tests/tests/compiler/records/duplicate_circuit_name_fail.leo index a2b543f646..3a1e4c841f 100644 --- a/tests/tests/compiler/records/duplicate_circuit_name_fail.leo +++ b/tests/tests/compiler/records/duplicate_circuit_name_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/duplicate_var_fail.leo b/tests/tests/compiler/records/duplicate_var_fail.leo index 28149a2c41..90b466fb28 100644 --- a/tests/tests/compiler/records/duplicate_var_fail.leo +++ b/tests/tests/compiler/records/duplicate_var_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/external_nested_record.leo b/tests/tests/compiler/records/external_nested_record.leo index d7551baa4a..9c3162e14c 100644 --- a/tests/tests/compiler/records/external_nested_record.leo +++ b/tests/tests/compiler/records/external_nested_record.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program child.aleo { diff --git a/tests/tests/compiler/records/gates_is_allowed.leo b/tests/tests/compiler/records/gates_is_allowed.leo index cc05e698fe..2c6baf377c 100644 --- a/tests/tests/compiler/records/gates_is_allowed.leo +++ b/tests/tests/compiler/records/gates_is_allowed.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/global_shadow_records_fail.leo b/tests/tests/compiler/records/global_shadow_records_fail.leo index 797278b8a8..f860244099 100644 --- a/tests/tests/compiler/records/global_shadow_records_fail.leo +++ b/tests/tests/compiler/records/global_shadow_records_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/init_expression.leo b/tests/tests/compiler/records/init_expression.leo index 5648fd874c..764559215c 100644 --- a/tests/tests/compiler/records/init_expression.leo +++ b/tests/tests/compiler/records/init_expression.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/init_expression_shorthand.leo b/tests/tests/compiler/records/init_expression_shorthand.leo index 575599dded..940eb95aeb 100644 --- a/tests/tests/compiler/records/init_expression_shorthand.leo +++ b/tests/tests/compiler/records/init_expression_shorthand.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/init_expression_type_fail.leo b/tests/tests/compiler/records/init_expression_type_fail.leo index a586b17266..bfd5fb009a 100644 --- a/tests/tests/compiler/records/init_expression_type_fail.leo +++ b/tests/tests/compiler/records/init_expression_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/init_expression_var_fail.leo b/tests/tests/compiler/records/init_expression_var_fail.leo index d78d36aeb7..569ff78083 100644 --- a/tests/tests/compiler/records/init_expression_var_fail.leo +++ b/tests/tests/compiler/records/init_expression_var_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/nested_record.leo b/tests/tests/compiler/records/nested_record.leo index ebebd1be7e..b82dab1fba 100644 --- a/tests/tests/compiler/records/nested_record.leo +++ b/tests/tests/compiler/records/nested_record.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/nested_record_1_fail.leo b/tests/tests/compiler/records/nested_record_1_fail.leo index e7b1559d91..417f97b77e 100644 --- a/tests/tests/compiler/records/nested_record_1_fail.leo +++ b/tests/tests/compiler/records/nested_record_1_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/nested_record_2_fail.leo b/tests/tests/compiler/records/nested_record_2_fail.leo index 564f8ebada..15916e59c8 100644 --- a/tests/tests/compiler/records/nested_record_2_fail.leo +++ b/tests/tests/compiler/records/nested_record_2_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/nested_record_3_fail.leo b/tests/tests/compiler/records/nested_record_3_fail.leo index 6e2a8df0a2..f02a721f85 100644 --- a/tests/tests/compiler/records/nested_record_3_fail.leo +++ b/tests/tests/compiler/records/nested_record_3_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/nested_record_4_fail.leo b/tests/tests/compiler/records/nested_record_4_fail.leo index 48f4e6513c..d7a842ccea 100644 --- a/tests/tests/compiler/records/nested_record_4_fail.leo +++ b/tests/tests/compiler/records/nested_record_4_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/nested_record_as_function_io.leo b/tests/tests/compiler/records/nested_record_as_function_io.leo index d25df4cacb..1c7ed16c11 100644 --- a/tests/tests/compiler/records/nested_record_as_function_io.leo +++ b/tests/tests/compiler/records/nested_record_as_function_io.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program program_a.aleo { diff --git a/tests/tests/compiler/records/no_owner_fail.leo b/tests/tests/compiler/records/no_owner_fail.leo index 493f5fbcf5..67b35a1a5b 100644 --- a/tests/tests/compiler/records/no_owner_fail.leo +++ b/tests/tests/compiler/records/no_owner_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/owner_wrong_ty.leo b/tests/tests/compiler/records/owner_wrong_ty.leo index 44326c1c68..5a97bb1295 100644 --- a/tests/tests/compiler/records/owner_wrong_ty.leo +++ b/tests/tests/compiler/records/owner_wrong_ty.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/records/record_declaration_out_of_order.leo b/tests/tests/compiler/records/record_declaration_out_of_order.leo index bcc07eb1dd..77ec4c2101 100644 --- a/tests/tests/compiler/records/record_declaration_out_of_order.leo +++ b/tests/tests/compiler/records/record_declaration_out_of_order.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/record_init_out_of_order.leo b/tests/tests/compiler/records/record_init_out_of_order.leo index 37fda56ddd..a75c26f435 100644 --- a/tests/tests/compiler/records/record_init_out_of_order.leo +++ b/tests/tests/compiler/records/record_init_out_of_order.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // TODO: This should be made into an integration test. diff --git a/tests/tests/compiler/records/record_with_visibility.leo b/tests/tests/compiler/records/record_with_visibility.leo index 39d916dc78..f0d53dd0ea 100644 --- a/tests/tests/compiler/records/record_with_visibility.leo +++ b/tests/tests/compiler/records/record_with_visibility.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/records/return_record_instead_of_unit_fail.leo b/tests/tests/compiler/records/return_record_instead_of_unit_fail.leo index 5472ebd29a..3da260ca9e 100644 --- a/tests/tests/compiler/records/return_record_instead_of_unit_fail.leo +++ b/tests/tests/compiler/records/return_record_instead_of_unit_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/return/ifelse_chain.leo b/tests/tests/compiler/return/ifelse_chain.leo index 2cfef4169e..6a3b2110f1 100644 --- a/tests/tests/compiler/return/ifelse_chain.leo +++ b/tests/tests/compiler/return/ifelse_chain.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // The intent is to test that the amount of code generated diff --git a/tests/tests/compiler/scalar/add.leo b/tests/tests/compiler/scalar/add.leo index e22aa7e9cf..ce767aafaf 100644 --- a/tests/tests/compiler/scalar/add.leo +++ b/tests/tests/compiler/scalar/add.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/cmp.leo b/tests/tests/compiler/scalar/cmp.leo index 56409c3e19..a6b6774c2d 100644 --- a/tests/tests/compiler/scalar/cmp.leo +++ b/tests/tests/compiler/scalar/cmp.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/div_fail.leo b/tests/tests/compiler/scalar/div_fail.leo index 5c11e4deb2..0f272f9fe9 100644 --- a/tests/tests/compiler/scalar/div_fail.leo +++ b/tests/tests/compiler/scalar/div_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/eq.leo b/tests/tests/compiler/scalar/eq.leo index da78928c65..5f12bf019f 100644 --- a/tests/tests/compiler/scalar/eq.leo +++ b/tests/tests/compiler/scalar/eq.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/no_space_between_literal.leo b/tests/tests/compiler/scalar/no_space_between_literal.leo index de897cd106..dbc8448e0b 100644 --- a/tests/tests/compiler/scalar/no_space_between_literal.leo +++ b/tests/tests/compiler/scalar/no_space_between_literal.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/operator_methods.leo b/tests/tests/compiler/scalar/operator_methods.leo index 7ada3db7a0..2c38c5d7f0 100644 --- a/tests/tests/compiler/scalar/operator_methods.leo +++ b/tests/tests/compiler/scalar/operator_methods.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/scalar.leo b/tests/tests/compiler/scalar/scalar.leo index 417c6b806b..3f8a1c9b4d 100644 --- a/tests/tests/compiler/scalar/scalar.leo +++ b/tests/tests/compiler/scalar/scalar.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/square_root_fail.leo b/tests/tests/compiler/scalar/square_root_fail.leo index e5d7bf0cb6..4579a5679e 100644 --- a/tests/tests/compiler/scalar/square_root_fail.leo +++ b/tests/tests/compiler/scalar/square_root_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/scalar/ternary.leo b/tests/tests/compiler/scalar/ternary.leo index f0d18d1db2..d9deb52427 100644 --- a/tests/tests/compiler/scalar/ternary.leo +++ b/tests/tests/compiler/scalar/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/signature/signature.leo b/tests/tests/compiler/signature/signature.leo index 5a422871de..c5127e18e6 100644 --- a/tests/tests/compiler/signature/signature.leo +++ b/tests/tests/compiler/signature/signature.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/signature/signature_with_wrong_types_fail.leo b/tests/tests/compiler/signature/signature_with_wrong_types_fail.leo index 04d64353bf..eb3bd9c06d 100644 --- a/tests/tests/compiler/signature/signature_with_wrong_types_fail.leo +++ b/tests/tests/compiler/signature/signature_with_wrong_types_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/all_loops_fail.leo b/tests/tests/compiler/statements/all_loops_fail.leo index a990cfd6f0..2ede493902 100644 --- a/tests/tests/compiler/statements/all_loops_fail.leo +++ b/tests/tests/compiler/statements/all_loops_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/assign.leo b/tests/tests/compiler/statements/assign.leo index a1b6247fe3..53a98ec39c 100644 --- a/tests/tests/compiler/statements/assign.leo +++ b/tests/tests/compiler/statements/assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/assign_fail.leo b/tests/tests/compiler/statements/assign_fail.leo index fcef05dfc2..578982bee8 100644 --- a/tests/tests/compiler/statements/assign_fail.leo +++ b/tests/tests/compiler/statements/assign_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/assign_ternary.leo b/tests/tests/compiler/statements/assign_ternary.leo index 7df2f4ff9a..fc136b79b8 100644 --- a/tests/tests/compiler/statements/assign_ternary.leo +++ b/tests/tests/compiler/statements/assign_ternary.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/block.leo b/tests/tests/compiler/statements/block.leo index 677409897c..21d5071352 100644 --- a/tests/tests/compiler/statements/block.leo +++ b/tests/tests/compiler/statements/block.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/chain.leo b/tests/tests/compiler/statements/chain.leo index 5c2b4556cb..7231fcd01d 100644 --- a/tests/tests/compiler/statements/chain.leo +++ b/tests/tests/compiler/statements/chain.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/compare_diff_types_fail.leo b/tests/tests/compiler/statements/compare_diff_types_fail.leo index 2af539f209..18bd64052f 100644 --- a/tests/tests/compiler/statements/compare_diff_types_fail.leo +++ b/tests/tests/compiler/statements/compare_diff_types_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/compare_invalid_negates_fail.leo b/tests/tests/compiler/statements/compare_invalid_negates_fail.leo index 90f10bd857..0a1a849f17 100644 --- a/tests/tests/compiler/statements/compare_invalid_negates_fail.leo +++ b/tests/tests/compiler/statements/compare_invalid_negates_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/duplicate_variable.leo b/tests/tests/compiler/statements/duplicate_variable.leo index f41f883f60..3699f55806 100644 --- a/tests/tests/compiler/statements/duplicate_variable.leo +++ b/tests/tests/compiler/statements/duplicate_variable.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/expr_statement.leo b/tests/tests/compiler/statements/expr_statement.leo index c8c462e5f4..8bef389dd7 100644 --- a/tests/tests/compiler/statements/expr_statement.leo +++ b/tests/tests/compiler/statements/expr_statement.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/expr_statement_fail.leo b/tests/tests/compiler/statements/expr_statement_fail.leo index 6368d01f27..6700970a52 100644 --- a/tests/tests/compiler/statements/expr_statement_fail.leo +++ b/tests/tests/compiler/statements/expr_statement_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/iteration_basic.leo b/tests/tests/compiler/statements/iteration_basic.leo index df3d6b6ca3..0facf3b6d2 100644 --- a/tests/tests/compiler/statements/iteration_basic.leo +++ b/tests/tests/compiler/statements/iteration_basic.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/iteration_bound_too_large_fail.leo b/tests/tests/compiler/statements/iteration_bound_too_large_fail.leo index 2f1a65cdb7..23fb124cbb 100644 --- a/tests/tests/compiler/statements/iteration_bound_too_large_fail.leo +++ b/tests/tests/compiler/statements/iteration_bound_too_large_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/iteration_nested.leo b/tests/tests/compiler/statements/iteration_nested.leo index c78c87dd61..a14bf534e1 100644 --- a/tests/tests/compiler/statements/iteration_nested.leo +++ b/tests/tests/compiler/statements/iteration_nested.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/loop_decreasing_fail.leo b/tests/tests/compiler/statements/loop_decreasing_fail.leo index 33aa0d45c3..34b55a1943 100644 --- a/tests/tests/compiler/statements/loop_decreasing_fail.leo +++ b/tests/tests/compiler/statements/loop_decreasing_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/loop_non_literal_bound_fail.leo b/tests/tests/compiler/statements/loop_non_literal_bound_fail.leo index 5ee02314c4..04e7eb8f9e 100644 --- a/tests/tests/compiler/statements/loop_non_literal_bound_fail.leo +++ b/tests/tests/compiler/statements/loop_non_literal_bound_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/loop_returns_fail.leo b/tests/tests/compiler/statements/loop_returns_fail.leo index 6bb3e1b368..3d69612963 100644 --- a/tests/tests/compiler/statements/loop_returns_fail.leo +++ b/tests/tests/compiler/statements/loop_returns_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/multiple_returns.leo b/tests/tests/compiler/statements/multiple_returns.leo index 9f69e57f01..18f692cf02 100644 --- a/tests/tests/compiler/statements/multiple_returns.leo +++ b/tests/tests/compiler/statements/multiple_returns.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/multiple_returns_in_one_block_fail.leo b/tests/tests/compiler/statements/multiple_returns_in_one_block_fail.leo index 62a163bcf1..282023fff4 100644 --- a/tests/tests/compiler/statements/multiple_returns_in_one_block_fail.leo +++ b/tests/tests/compiler/statements/multiple_returns_in_one_block_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/mutate.leo b/tests/tests/compiler/statements/mutate.leo index fa2241ca11..22df367d57 100644 --- a/tests/tests/compiler/statements/mutate.leo +++ b/tests/tests/compiler/statements/mutate.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/non_existant_var_exp_fail.leo b/tests/tests/compiler/statements/non_existant_var_exp_fail.leo index 3278c17077..5284dec892 100644 --- a/tests/tests/compiler/statements/non_existant_var_exp_fail.leo +++ b/tests/tests/compiler/statements/non_existant_var_exp_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/non_existant_vars_mul_fail.leo b/tests/tests/compiler/statements/non_existant_vars_mul_fail.leo index 0c2b44f9cc..f23c592895 100644 --- a/tests/tests/compiler/statements/non_existant_vars_mul_fail.leo +++ b/tests/tests/compiler/statements/non_existant_vars_mul_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/add_assign.leo b/tests/tests/compiler/statements/operations/add_assign.leo index d644d9525c..68d1dda063 100644 --- a/tests/tests/compiler/statements/operations/add_assign.leo +++ b/tests/tests/compiler/statements/operations/add_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/and_assign.leo b/tests/tests/compiler/statements/operations/and_assign.leo index 2d4bebdc45..1ea2bb9beb 100644 --- a/tests/tests/compiler/statements/operations/and_assign.leo +++ b/tests/tests/compiler/statements/operations/and_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/bitand_assign.leo b/tests/tests/compiler/statements/operations/bitand_assign.leo index 44d7b48cad..b0223df844 100644 --- a/tests/tests/compiler/statements/operations/bitand_assign.leo +++ b/tests/tests/compiler/statements/operations/bitand_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/bitor_assign.leo b/tests/tests/compiler/statements/operations/bitor_assign.leo index 6b3b62d637..d00ff930c8 100644 --- a/tests/tests/compiler/statements/operations/bitor_assign.leo +++ b/tests/tests/compiler/statements/operations/bitor_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/bitxor_assign.leo b/tests/tests/compiler/statements/operations/bitxor_assign.leo index 6ffb6e0d0d..e0a82fd2c8 100644 --- a/tests/tests/compiler/statements/operations/bitxor_assign.leo +++ b/tests/tests/compiler/statements/operations/bitxor_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/div_assign.leo b/tests/tests/compiler/statements/operations/div_assign.leo index 2e9d3caac0..9f23068a75 100644 --- a/tests/tests/compiler/statements/operations/div_assign.leo +++ b/tests/tests/compiler/statements/operations/div_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/mul_assign.leo b/tests/tests/compiler/statements/operations/mul_assign.leo index 029b5abfd6..d93e7acab3 100644 --- a/tests/tests/compiler/statements/operations/mul_assign.leo +++ b/tests/tests/compiler/statements/operations/mul_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/or_assign.leo b/tests/tests/compiler/statements/operations/or_assign.leo index 05d7452ba1..f841455c6f 100644 --- a/tests/tests/compiler/statements/operations/or_assign.leo +++ b/tests/tests/compiler/statements/operations/or_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/pow_assign.leo b/tests/tests/compiler/statements/operations/pow_assign.leo index b10a925be1..844541d106 100644 --- a/tests/tests/compiler/statements/operations/pow_assign.leo +++ b/tests/tests/compiler/statements/operations/pow_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/rem_assign.leo b/tests/tests/compiler/statements/operations/rem_assign.leo index 3840f7aa1a..ff179dbb83 100644 --- a/tests/tests/compiler/statements/operations/rem_assign.leo +++ b/tests/tests/compiler/statements/operations/rem_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/shl_assign.leo b/tests/tests/compiler/statements/operations/shl_assign.leo index 842812737f..6c4463f7fc 100644 --- a/tests/tests/compiler/statements/operations/shl_assign.leo +++ b/tests/tests/compiler/statements/operations/shl_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/shr_assign.leo b/tests/tests/compiler/statements/operations/shr_assign.leo index 40697bdea5..45ed208c71 100644 --- a/tests/tests/compiler/statements/operations/shr_assign.leo +++ b/tests/tests/compiler/statements/operations/shr_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/operations/sub_assign.leo b/tests/tests/compiler/statements/operations/sub_assign.leo index 049568e0a4..eb831ea725 100644 --- a/tests/tests/compiler/statements/operations/sub_assign.leo +++ b/tests/tests/compiler/statements/operations/sub_assign.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/statements_after_complete_conditional_return_fail.leo b/tests/tests/compiler/statements/statements_after_complete_conditional_return_fail.leo index 616947b9a6..df209927ab 100644 --- a/tests/tests/compiler/statements/statements_after_complete_conditional_return_fail.leo +++ b/tests/tests/compiler/statements/statements_after_complete_conditional_return_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/ternary_explicit_and_implicit.leo b/tests/tests/compiler/statements/ternary_explicit_and_implicit.leo index 4c0a972f18..79ea1c34c9 100644 --- a/tests/tests/compiler/statements/ternary_explicit_and_implicit.leo +++ b/tests/tests/compiler/statements/ternary_explicit_and_implicit.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/typecheck_statements_fail.leo b/tests/tests/compiler/statements/typecheck_statements_fail.leo index 83cefdf96b..3c39d55dc8 100644 --- a/tests/tests/compiler/statements/typecheck_statements_fail.leo +++ b/tests/tests/compiler/statements/typecheck_statements_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/statements/underscore_for_loop.leo b/tests/tests/compiler/statements/underscore_for_loop.leo index 4568699fc9..af80b5f318 100644 --- a/tests/tests/compiler/statements/underscore_for_loop.leo +++ b/tests/tests/compiler/statements/underscore_for_loop.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/statements/unknown_type_in_definition_fail.leo b/tests/tests/compiler/statements/unknown_type_in_definition_fail.leo index 51474f577a..342bc8ce86 100644 --- a/tests/tests/compiler/statements/unknown_type_in_definition_fail.leo +++ b/tests/tests/compiler/statements/unknown_type_in_definition_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/strings/string.leo b/tests/tests/compiler/strings/string.leo index 70ebd39529..d4b43f8f81 100644 --- a/tests/tests/compiler/strings/string.leo +++ b/tests/tests/compiler/strings/string.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/cyclic_structs_four_fail.leo b/tests/tests/compiler/structs/cyclic_structs_four_fail.leo index 1ba17fe913..2d3cbebdc1 100644 --- a/tests/tests/compiler/structs/cyclic_structs_four_fail.leo +++ b/tests/tests/compiler/structs/cyclic_structs_four_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/cyclic_structs_one_fail.leo b/tests/tests/compiler/structs/cyclic_structs_one_fail.leo index 0d681b5228..f3a520b33b 100644 --- a/tests/tests/compiler/structs/cyclic_structs_one_fail.leo +++ b/tests/tests/compiler/structs/cyclic_structs_one_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/cyclic_structs_three_fail.leo b/tests/tests/compiler/structs/cyclic_structs_three_fail.leo index ba946f0ee2..47d33e269f 100644 --- a/tests/tests/compiler/structs/cyclic_structs_three_fail.leo +++ b/tests/tests/compiler/structs/cyclic_structs_three_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/cyclic_structs_two_fail.leo b/tests/tests/compiler/structs/cyclic_structs_two_fail.leo index 0b27eb32f9..d181226805 100644 --- a/tests/tests/compiler/structs/cyclic_structs_two_fail.leo +++ b/tests/tests/compiler/structs/cyclic_structs_two_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/duplicate_struct_variable.leo b/tests/tests/compiler/structs/duplicate_struct_variable.leo index 69b9904415..b293e42005 100644 --- a/tests/tests/compiler/structs/duplicate_struct_variable.leo +++ b/tests/tests/compiler/structs/duplicate_struct_variable.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/empty_struct_fail.leo b/tests/tests/compiler/structs/empty_struct_fail.leo index 020290cc35..728f99f1f4 100644 --- a/tests/tests/compiler/structs/empty_struct_fail.leo +++ b/tests/tests/compiler/structs/empty_struct_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/external_record.leo b/tests/tests/compiler/structs/external_record.leo index 350fd02f22..a3949bf9c3 100644 --- a/tests/tests/compiler/structs/external_record.leo +++ b/tests/tests/compiler/structs/external_record.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program child.aleo { diff --git a/tests/tests/compiler/structs/external_struct.leo b/tests/tests/compiler/structs/external_struct.leo index 00e9c4df52..1ad6d2df46 100644 --- a/tests/tests/compiler/structs/external_struct.leo +++ b/tests/tests/compiler/structs/external_struct.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program child.aleo { diff --git a/tests/tests/compiler/structs/external_struct_in_async_function.leo b/tests/tests/compiler/structs/external_struct_in_async_function.leo index 9ba026cebd..9f48c3f1be 100644 --- a/tests/tests/compiler/structs/external_struct_in_async_function.leo +++ b/tests/tests/compiler/structs/external_struct_in_async_function.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program parent.aleo { diff --git a/tests/tests/compiler/structs/global_shadow_struct_fail.leo b/tests/tests/compiler/structs/global_shadow_struct_fail.leo index db8774abaf..bee87744de 100644 --- a/tests/tests/compiler/structs/global_shadow_struct_fail.leo +++ b/tests/tests/compiler/structs/global_shadow_struct_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ diff --git a/tests/tests/compiler/structs/inline.leo b/tests/tests/compiler/structs/inline.leo index 191573daae..dbf2030ba9 100644 --- a/tests/tests/compiler/structs/inline.leo +++ b/tests/tests/compiler/structs/inline.leo @@ -1,13 +1,6 @@ /* -namespace: Compile -expectation: Pass -inputs: - - inline.in: | - [main] - x: u32 = 100; - - [registers] - r0: u32 = 0; +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/structs/inline_fail.leo b/tests/tests/compiler/structs/inline_fail.leo index 20ac36b15a..5b7e0ab59d 100644 --- a/tests/tests/compiler/structs/inline_fail.leo +++ b/tests/tests/compiler/structs/inline_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/inline_member_fail.leo b/tests/tests/compiler/structs/inline_member_fail.leo index a546b75ab4..19d0a66466 100644 --- a/tests/tests/compiler/structs/inline_member_fail.leo +++ b/tests/tests/compiler/structs/inline_member_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/inline_member_pass.leo b/tests/tests/compiler/structs/inline_member_pass.leo index 69fc0dde0e..30b5640152 100644 --- a/tests/tests/compiler/structs/inline_member_pass.leo +++ b/tests/tests/compiler/structs/inline_member_pass.leo @@ -1,16 +1,6 @@ /* -namespace: Compile -expectation: Fail -inputs: - - inline.in: | - [main] - y: bool = true; - - [constants] - x: u8 = 10; - - [registers] - r0: bool = false; +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/inline_undefined.leo b/tests/tests/compiler/structs/inline_undefined.leo index a06ce4ea8f..bec8bdad55 100644 --- a/tests/tests/compiler/structs/inline_undefined.leo +++ b/tests/tests/compiler/structs/inline_undefined.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/member_variable.leo b/tests/tests/compiler/structs/member_variable.leo index 99fdfb5717..fc681fa6ac 100644 --- a/tests/tests/compiler/structs/member_variable.leo +++ b/tests/tests/compiler/structs/member_variable.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/structs/member_variable_fail.leo b/tests/tests/compiler/structs/member_variable_fail.leo index e5fd6836c0..12ddfbce2e 100644 --- a/tests/tests/compiler/structs/member_variable_fail.leo +++ b/tests/tests/compiler/structs/member_variable_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/redefine_external_struct.leo b/tests/tests/compiler/structs/redefine_external_struct.leo index 1391849673..268f02db68 100644 --- a/tests/tests/compiler/structs/redefine_external_struct.leo +++ b/tests/tests/compiler/structs/redefine_external_struct.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program child.aleo { diff --git a/tests/tests/compiler/structs/shadow_external_struct_fail.leo b/tests/tests/compiler/structs/shadow_external_struct_fail.leo index f75935a3d9..c68ea00d41 100644 --- a/tests/tests/compiler/structs/shadow_external_struct_fail.leo +++ b/tests/tests/compiler/structs/shadow_external_struct_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program child.aleo { diff --git a/tests/tests/compiler/structs/struct_access_fail.leo b/tests/tests/compiler/structs/struct_access_fail.leo index acaf1769a5..0bffc943a9 100644 --- a/tests/tests/compiler/structs/struct_access_fail.leo +++ b/tests/tests/compiler/structs/struct_access_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ diff --git a/tests/tests/compiler/structs/struct_contains_record_fail.leo b/tests/tests/compiler/structs/struct_contains_record_fail.leo index 193af47ff9..f20e2dfa73 100644 --- a/tests/tests/compiler/structs/struct_contains_record_fail.leo +++ b/tests/tests/compiler/structs/struct_contains_record_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/struct_declaration_out_of_order.leo b/tests/tests/compiler/structs/struct_declaration_out_of_order.leo index 10dd68d906..bbcfd2e854 100644 --- a/tests/tests/compiler/structs/struct_declaration_out_of_order.leo +++ b/tests/tests/compiler/structs/struct_declaration_out_of_order.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/structs/struct_function_namespace_conflict_fail.leo b/tests/tests/compiler/structs/struct_function_namespace_conflict_fail.leo index 511ef2688d..17cfc14f9c 100644 --- a/tests/tests/compiler/structs/struct_function_namespace_conflict_fail.leo +++ b/tests/tests/compiler/structs/struct_function_namespace_conflict_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/struct_init_out_of_order.leo b/tests/tests/compiler/structs/struct_init_out_of_order.leo index 34ed004f6b..ad380af22d 100644 --- a/tests/tests/compiler/structs/struct_init_out_of_order.leo +++ b/tests/tests/compiler/structs/struct_init_out_of_order.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // TODO: This should be made into an integration test. diff --git a/tests/tests/compiler/structs/struct_with_visibility_fail.leo b/tests/tests/compiler/structs/struct_with_visibility_fail.leo index b96329278b..2326a06354 100644 --- a/tests/tests/compiler/structs/struct_with_visibility_fail.leo +++ b/tests/tests/compiler/structs/struct_with_visibility_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/structs/unknown_member_type_fail.leo b/tests/tests/compiler/structs/unknown_member_type_fail.leo index a12bf78669..b20eff650e 100644 --- a/tests/tests/compiler/structs/unknown_member_type_fail.leo +++ b/tests/tests/compiler/structs/unknown_member_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/access_negative_fail.leo b/tests/tests/compiler/tuple/access_negative_fail.leo index 4c86b4f607..fce62776c0 100644 --- a/tests/tests/compiler/tuple/access_negative_fail.leo +++ b/tests/tests/compiler/tuple/access_negative_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/access_out_of_bounds_fail.leo b/tests/tests/compiler/tuple/access_out_of_bounds_fail.leo index db2171a208..62b512a2c5 100644 --- a/tests/tests/compiler/tuple/access_out_of_bounds_fail.leo +++ b/tests/tests/compiler/tuple/access_out_of_bounds_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/assign_unit_fail.leo b/tests/tests/compiler/tuple/assign_unit_fail.leo index 0409a4dfc5..3a3c388588 100644 --- a/tests/tests/compiler/tuple/assign_unit_fail.leo +++ b/tests/tests/compiler/tuple/assign_unit_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/declare_fail.leo b/tests/tests/compiler/tuple/declare_fail.leo index 674eb87bd5..f1adcf839c 100644 --- a/tests/tests/compiler/tuple/declare_fail.leo +++ b/tests/tests/compiler/tuple/declare_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_call_returns_tuple.leo b/tests/tests/compiler/tuple/function_call_returns_tuple.leo index 782e6b721a..d4015fc7e1 100644 --- a/tests/tests/compiler/tuple/function_call_returns_tuple.leo +++ b/tests/tests/compiler/tuple/function_call_returns_tuple.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_early_return.leo b/tests/tests/compiler/tuple/function_early_return.leo index e1f6ce1d7e..8f4791e32a 100644 --- a/tests/tests/compiler/tuple/function_early_return.leo +++ b/tests/tests/compiler/tuple/function_early_return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_return.leo b/tests/tests/compiler/tuple/function_return.leo index bacdb9822f..7c6dce1e23 100644 --- a/tests/tests/compiler/tuple/function_return.leo +++ b/tests/tests/compiler/tuple/function_return.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_return_nothing.leo b/tests/tests/compiler/tuple/function_return_nothing.leo index 0dcb5c216d..10f6550700 100644 --- a/tests/tests/compiler/tuple/function_return_nothing.leo +++ b/tests/tests/compiler/tuple/function_return_nothing.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_return_single_fail.leo b/tests/tests/compiler/tuple/function_return_single_fail.leo index 2c9912a708..e16bff1b00 100644 --- a/tests/tests/compiler/tuple/function_return_single_fail.leo +++ b/tests/tests/compiler/tuple/function_return_single_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_return_unit.leo b/tests/tests/compiler/tuple/function_return_unit.leo index 94f74cea3c..159397025a 100644 --- a/tests/tests/compiler/tuple/function_return_unit.leo +++ b/tests/tests/compiler/tuple/function_return_unit.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_return_varying_modes.leo b/tests/tests/compiler/tuple/function_return_varying_modes.leo index c1dbdaff18..ca0d675c3d 100644 --- a/tests/tests/compiler/tuple/function_return_varying_modes.leo +++ b/tests/tests/compiler/tuple/function_return_varying_modes.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/function_unit_input_fail.leo b/tests/tests/compiler/tuple/function_unit_input_fail.leo index 50835c5977..5e7fb3c14a 100644 --- a/tests/tests/compiler/tuple/function_unit_input_fail.leo +++ b/tests/tests/compiler/tuple/function_unit_input_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/return_statement_fail.leo b/tests/tests/compiler/tuple/return_statement_fail.leo index 0aa398d27a..28ca63049c 100644 --- a/tests/tests/compiler/tuple/return_statement_fail.leo +++ b/tests/tests/compiler/tuple/return_statement_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/return_with_different_modes.leo b/tests/tests/compiler/tuple/return_with_different_modes.leo index afc14bac32..7721438aa7 100644 --- a/tests/tests/compiler/tuple/return_with_different_modes.leo +++ b/tests/tests/compiler/tuple/return_with_different_modes.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/singleton_tuple_fail.leo b/tests/tests/compiler/tuple/singleton_tuple_fail.leo index 6f12b5700c..95e456f8c2 100644 --- a/tests/tests/compiler/tuple/singleton_tuple_fail.leo +++ b/tests/tests/compiler/tuple/singleton_tuple_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ // TODO: Compilation should pass, but warnings should be emitted. diff --git a/tests/tests/compiler/tuple/tuple_access.leo b/tests/tests/compiler/tuple/tuple_access.leo index 988ac705a9..6af00de978 100644 --- a/tests/tests/compiler/tuple/tuple_access.leo +++ b/tests/tests/compiler/tuple/tuple_access.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ diff --git a/tests/tests/compiler/tuple/tuple_destructure.leo b/tests/tests/compiler/tuple/tuple_destructure.leo index f79b182281..4fdfbbc8f8 100644 --- a/tests/tests/compiler/tuple/tuple_destructure.leo +++ b/tests/tests/compiler/tuple/tuple_destructure.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ diff --git a/tests/tests/compiler/tuple/tuple_in_assignment.leo b/tests/tests/compiler/tuple/tuple_in_assignment.leo index 91565a8d34..9d1c3c2f63 100644 --- a/tests/tests/compiler/tuple/tuple_in_assignment.leo +++ b/tests/tests/compiler/tuple/tuple_in_assignment.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/tuple_in_definition.leo b/tests/tests/compiler/tuple/tuple_in_definition.leo index 056ada89a1..400d009631 100644 --- a/tests/tests/compiler/tuple/tuple_in_definition.leo +++ b/tests/tests/compiler/tuple/tuple_in_definition.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/tuple_in_function_param.leo b/tests/tests/compiler/tuple/tuple_in_function_param.leo index b6a0ca5a7a..de29fe2e60 100644 --- a/tests/tests/compiler/tuple/tuple_in_function_param.leo +++ b/tests/tests/compiler/tuple/tuple_in_function_param.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/tuple_in_loop.leo b/tests/tests/compiler/tuple/tuple_in_loop.leo index c82ff6d68b..051560cad8 100644 --- a/tests/tests/compiler/tuple/tuple_in_loop.leo +++ b/tests/tests/compiler/tuple/tuple_in_loop.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/tuple_in_record_fail.leo b/tests/tests/compiler/tuple/tuple_in_record_fail.leo index d1ba072ad3..8efa4322ec 100644 --- a/tests/tests/compiler/tuple/tuple_in_record_fail.leo +++ b/tests/tests/compiler/tuple/tuple_in_record_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/tuple_in_return_type.leo b/tests/tests/compiler/tuple/tuple_in_return_type.leo index c560bed85f..796b049b58 100644 --- a/tests/tests/compiler/tuple/tuple_in_return_type.leo +++ b/tests/tests/compiler/tuple/tuple_in_return_type.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/tuple_in_struct_fail.leo b/tests/tests/compiler/tuple/tuple_in_struct_fail.leo index f6367efb7a..c64e904db5 100644 --- a/tests/tests/compiler/tuple/tuple_in_struct_fail.leo +++ b/tests/tests/compiler/tuple/tuple_in_struct_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/tuple_not_allowed_fail.leo b/tests/tests/compiler/tuple/tuple_not_allowed_fail.leo index cff9c71864..1da7558f16 100644 --- a/tests/tests/compiler/tuple/tuple_not_allowed_fail.leo +++ b/tests/tests/compiler/tuple/tuple_not_allowed_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/type_fail.leo b/tests/tests/compiler/tuple/type_fail.leo index aacf8e50ea..827a19cac0 100644 --- a/tests/tests/compiler/tuple/type_fail.leo +++ b/tests/tests/compiler/tuple/type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Fail +namespace = "Compile" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/compiler/tuple/unit.leo b/tests/tests/compiler/tuple/unit.leo index d75fd2ba10..978b636fee 100644 --- a/tests/tests/compiler/tuple/unit.leo +++ b/tests/tests/compiler/tuple/unit.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/execution/array_sum.leo b/tests/tests/execution/array_sum.leo index 5e544a6eb0..0419667a94 100644 --- a/tests/tests/execution/array_sum.leo +++ b/tests/tests/execution/array_sum.leo @@ -1,13 +1,14 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: sum_manually - input: ["[1u64, 2u64, 3u64, 4u64]"] - - program: test.aleo - function: sum_with_loop - input: ["[1u64, 2u64, 3u64, 4u64]"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "sum_manually" +input = ["[1u64, 2u64, 3u64, 4u64]"] +[[cases]] +program = "test.aleo" +function = "sum_with_loop" +input = ["[1u64, 2u64, 3u64, 4u64]"] */ diff --git a/tests/tests/execution/assert_early_return.leo b/tests/tests/execution/assert_early_return.leo index 1bbacfb9d1..2d056a412a 100644 --- a/tests/tests/execution/assert_early_return.leo +++ b/tests/tests/execution/assert_early_return.leo @@ -1,22 +1,26 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: main - input: ["1u32"] - - program: test.aleo - function: main - input: ["2u32"] - - program: test.aleo - function: main - input: ["3u32"] - - program: test.aleo - function: main - input: ["4u32"] - - program: test.aleo - function: main - input: ["5u32"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "main" +input = ["1u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["2u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["3u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["4u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["5u32"] */ // The intent is to test that the assertion diff --git a/tests/tests/execution/cast_coersion.leo b/tests/tests/execution/cast_coersion.leo index 94a0b7ebfd..5c4230000d 100644 --- a/tests/tests/execution/cast_coersion.leo +++ b/tests/tests/execution/cast_coersion.leo @@ -1,19 +1,22 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: main - input: ["true", "0group", "aleo1x2mh70hxp6hejyrcuhd9te5ddwvwx6papw4tfpdxp00e4sf0ps9qcu8qvn"] - - program: test.aleo - function: main - input: ["false", "0group", "aleo1x2mh70hxp6hejyrcuhd9te5ddwvwx6papw4tfpdxp00e4sf0ps9qcu8qvn"] - - program: test.aleo - function: main - input: ["true", "2group", "aleo1yrmttyqs4gtm8t6dtcg2vd2mtr8p6ukmpe42cp2zm0989rmtr58q0asawh"] - - program: test.aleo - function: main - input: ["false", "2group", "aleo1yrmttyqs4gtm8t6dtcg2vd2mtr8p6ukmpe42cp2zm0989rmtr58q0asawh"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "main" +input = ["true", "0group", "aleo1x2mh70hxp6hejyrcuhd9te5ddwvwx6papw4tfpdxp00e4sf0ps9qcu8qvn"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["false", "0group", "aleo1x2mh70hxp6hejyrcuhd9te5ddwvwx6papw4tfpdxp00e4sf0ps9qcu8qvn"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["true", "2group", "aleo1yrmttyqs4gtm8t6dtcg2vd2mtr8p6ukmpe42cp2zm0989rmtr58q0asawh"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["false", "2group", "aleo1yrmttyqs4gtm8t6dtcg2vd2mtr8p6ukmpe42cp2zm0989rmtr58q0asawh"] */ program test.aleo { diff --git a/tests/tests/execution/chain.leo b/tests/tests/execution/chain.leo index 8cbcd4bfd6..a34701efbc 100644 --- a/tests/tests/execution/chain.leo +++ b/tests/tests/execution/chain.leo @@ -1,19 +1,22 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: main - input: ["1u32"] - - program: test.aleo - function: main - input: ["2u32"] - - program: test.aleo - function: main - input: ["3u32"] - - program: test.aleo - function: main - input: ["4u32"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "main" +input = ["1u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["2u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["3u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["4u32"] */ program test.aleo { diff --git a/tests/tests/execution/complex_finalization.leo b/tests/tests/execution/complex_finalization.leo index 8c90a31c17..137280ca49 100644 --- a/tests/tests/execution/complex_finalization.leo +++ b/tests/tests/execution/complex_finalization.leo @@ -1,10 +1,10 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: four_program.aleo - function: a - input: [] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "four_program.aleo" +function = "a" +input = [] */ // This test checks that the finalization order is correct. diff --git a/tests/tests/execution/cond_exec_in_finalize.leo b/tests/tests/execution/cond_exec_in_finalize.leo index 0a27fad20c..1ff151c3ad 100644 --- a/tests/tests/execution/cond_exec_in_finalize.leo +++ b/tests/tests/execution/cond_exec_in_finalize.leo @@ -1,16 +1,18 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: cond_exec_in_finalize.aleo - function: a - input: ["1u64", "0u64"] - - program: cond_exec_in_finalize.aleo - function: a - input: ["1u64", "1u64"] - - program: cond_exec_in_finalize.aleo - function: a - input: ["1u64", "2u64"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "cond_exec_in_finalize.aleo" +function = "a" +input = ["1u64", "0u64"] +[[cases]] +program = "cond_exec_in_finalize.aleo" +function = "a" +input = ["1u64", "1u64"] +[[cases]] +program = "cond_exec_in_finalize.aleo" +function = "a" +input = ["1u64", "2u64"] */ diff --git a/tests/tests/execution/counter.leo b/tests/tests/execution/counter.leo index 802a73fa4c..554f0069bd 100644 --- a/tests/tests/execution/counter.leo +++ b/tests/tests/execution/counter.leo @@ -1,23 +1,26 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: dubble - input: [] - private_key: APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE - - program: test.aleo - function: dubble - input: [] - private_key: APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE - - program: test.aleo - function: dubble - input: [] - private_key: APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE - - program: test.aleo - function: dubble - input: [] - private_key: APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "dubble" +input = [] +private_key = "APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE" +[[cases]] +program = "test.aleo" +function = "dubble" +input = [] +private_key = "APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE" +[[cases]] +program = "test.aleo" +function = "dubble" +input = [] +private_key = "APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE" +[[cases]] +program = "test.aleo" +function = "dubble" +input = [] +private_key = "APrivateKey1zkpH5Ne1Xfd79t61VhK7b6yaYz92yW5dbuVkiFheR7rwCDE" */ program test.aleo { diff --git a/tests/tests/execution/eq.leo b/tests/tests/execution/eq.leo index f5b7d7bcb6..c7bd93182d 100644 --- a/tests/tests/execution/eq.leo +++ b/tests/tests/execution/eq.leo @@ -1,19 +1,22 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: main - input: ["0u32", "1u32"] - - program: test.aleo - function: main - input: ["1u32", "1u32"] - - program: test.aleo - function: main - input: ["1u32", "2u32"] - - program: test.aleo - function: main - input: ["2u32", "2u32"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "main" +input = ["0u32", "1u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["1u32", "1u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["1u32", "2u32"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["2u32", "2u32"] */ program test.aleo { diff --git a/tests/tests/execution/flattened_function_and_inline_matches.leo b/tests/tests/execution/flattened_function_and_inline_matches.leo index 507da3bc19..5e2ac84e8e 100644 --- a/tests/tests/execution/flattened_function_and_inline_matches.leo +++ b/tests/tests/execution/flattened_function_and_inline_matches.leo @@ -1,31 +1,38 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: bar - input: ["true", "true", "1u8", "0u8"] - - program: test.aleo - function: bar - input: ["true", "false", "1u8", "1u8"] - - program: test.aleo - function: bar - input: ["false", "true", "2u8", "1u8"] - - program: test.aleo - function: bar - input: ["false", "false", "2u8", "2u8"] - - program: test.aleo - function: blar - input: ["true", "true", "1u8", "0u8"] - - program: test.aleo - function: blar - input: ["true", "false", "1u8", "1u8"] - - program: test.aleo - function: blar - input: ["false", "true", "2u8", "1u8"] - - program: test.aleo - function: blar - input: ["false", "false", "2u8", "2u8"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "bar" +input = ["true", "true", "1u8", "0u8"] +[[cases]] +program = "test.aleo" +function = "bar" +input = ["true", "false", "1u8", "1u8"] +[[cases]] +program = "test.aleo" +function = "bar" +input = ["false", "true", "2u8", "1u8"] +[[cases]] +program = "test.aleo" +function = "bar" +input = ["false", "false", "2u8", "2u8"] +[[cases]] +program = "test.aleo" +function = "blar" +input = ["true", "true", "1u8", "0u8"] +[[cases]] +program = "test.aleo" +function = "blar" +input = ["true", "false", "1u8", "1u8"] +[[cases]] +program = "test.aleo" +function = "blar" +input = ["false", "true", "2u8", "1u8"] +[[cases]] +program = "test.aleo" +function = "blar" +input = ["false", "false", "2u8", "2u8"] */ // In this test, we expect bar and blar to produce the same result for all inputs. diff --git a/tests/tests/execution/group_operations.leo b/tests/tests/execution/group_operations.leo index 32315b53a4..4a3c7d36f0 100644 --- a/tests/tests/execution/group_operations.leo +++ b/tests/tests/execution/group_operations.leo @@ -1,13 +1,14 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: main - input: ["0group"] - - program: test.aleo - function: main - input: ["2group"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "main" +input = ["0group"] +[[cases]] +program = "test.aleo" +function = "main" +input = ["2group"] */ program test.aleo { diff --git a/tests/tests/execution/metadata.leo b/tests/tests/execution/metadata.leo index be61695a64..6ddad48acb 100644 --- a/tests/tests/execution/metadata.leo +++ b/tests/tests/execution/metadata.leo @@ -1,31 +1,38 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: metadata.aleo - function: is_block_height - input: ["2u32"] - - program: metadata.aleo - function: is_block_height - input: ["3u32"] - - program: metadata.aleo - function: is_block_height - input: ["4u32"] - - program: metadata.aleo - function: is_block_height - input: ["0u32"] - - program: metadata.aleo - function: is_network_id - input: ["0u16"] - - program: metadata.aleo - function: is_network_id - input: ["1u16"] - - program: metadata.aleo - function: is_network_id - input: ["2u16"] - - program: metadata.aleo - function: is_network_id - input: ["3u16"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "metadata.aleo" +function = "is_block_height" +input = ["2u32"] +[[cases]] +program = "metadata.aleo" +function = "is_block_height" +input = ["3u32"] +[[cases]] +program = "metadata.aleo" +function = "is_block_height" +input = ["4u32"] +[[cases]] +program = "metadata.aleo" +function = "is_block_height" +input = ["0u32"] +[[cases]] +program = "metadata.aleo" +function = "is_network_id" +input = ["0u16"] +[[cases]] +program = "metadata.aleo" +function = "is_network_id" +input = ["1u16"] +[[cases]] +program = "metadata.aleo" +function = "is_network_id" +input = ["2u16"] +[[cases]] +program = "metadata.aleo" +function = "is_network_id" +input = ["3u16"] */ diff --git a/tests/tests/execution/mint.leo b/tests/tests/execution/mint.leo index 342ccac415..bdab8558bf 100644 --- a/tests/tests/execution/mint.leo +++ b/tests/tests/execution/mint.leo @@ -1,13 +1,14 @@ /* -namespace: Execute -expectation: Pass -cases: - - program: test.aleo - function: mint - input: ["aleo14lskz87tkqwwkyt2z44h64ave5gcwqs6yyfdztus37nupxsj8ypsmqsqcs", "0u64"] - - program: test.aleo - function: mint - input: ["aleo12keuztkg4cjzxx7hwwmrnnv85dkeqf8pjm877lf6f6lupma2pqrqcl2d8q", "1u64"] +namespace = "Execute" +expectation = "Pass" +[[cases]] +program = "test.aleo" +function = "mint" +input = ["aleo14lskz87tkqwwkyt2z44h64ave5gcwqs6yyfdztus37nupxsj8ypsmqsqcs", "0u64"] +[[cases]] +program = "test.aleo" +function = "mint" +input = ["aleo12keuztkg4cjzxx7hwwmrnnv85dkeqf8pjm877lf6f6lupma2pqrqcl2d8q", "1u64"] */ diff --git a/tests/tests/execution/primitive_casts.leo b/tests/tests/execution/primitive_casts.leo index 78330b8e2c..6f30c30629 100644 --- a/tests/tests/execution/primitive_casts.leo +++ b/tests/tests/execution/primitive_casts.leo @@ -1,53 +1,67 @@ /* -namespace: Execute -expectation: Pass -seed: 8937249 -cases: - - program: test.aleo - function: address_cast - input: ["aleo1hjnn8jdxlzzlqjywamdx4hzcxny5gszzm0q5xmnae4ed6qqn2gys4ugtey"] - - program: test.aleo - function: bool_cast - input: ["false"] - - program: test.aleo - function: field_casts - input: ["0field"] - - program: test.aleo - function: group_casts - input: ["0group"] - - program: test.aleo - function: i8_casts - input: ["0i8"] - - program: test.aleo - function: i16_casts - input: ["0i16"] - - program: test.aleo - function: i32_casts - input: ["0i32"] - - program: test.aleo - function: i64_casts - input: ["0i64"] - - program: test.aleo - function: i128_casts - input: ["0i128"] - - program: test.aleo - function: u8_casts - input: ["0u8"] - - program: test.aleo - function: u16_casts - input: ["0u16"] - - program: test.aleo - function: u32_casts - input: ["0u32"] - - program: test.aleo - function: u64_casts - input: ["0u64"] - - program: test.aleo - function: u128_casts - input: ["0u128"] - - program: test.aleo - function: scalar_cast - input: ["0scalar"] +namespace = "Execute" +expectation = "Pass" +seed = 8937249 +[[cases]] +program = "test.aleo" +function = "address_cast" +input = ["aleo1hjnn8jdxlzzlqjywamdx4hzcxny5gszzm0q5xmnae4ed6qqn2gys4ugtey"] +[[cases]] +program = "test.aleo" +function = "bool_cast" +input = ["false"] +[[cases]] +program = "test.aleo" +function = "field_casts" +input = ["0field"] +[[cases]] +program = "test.aleo" +function = "group_casts" +input = ["0group"] +[[cases]] +program = "test.aleo" +function = "i8_casts" +input = ["0i8"] +[[cases]] +program = "test.aleo" +function = "i16_casts" +input = ["0i16"] +[[cases]] +program = "test.aleo" +function = "i32_casts" +input = ["0i32"] +[[cases]] +program = "test.aleo" +function = "i64_casts" +input = ["0i64"] +[[cases]] +program = "test.aleo" +function = "i128_casts" +input = ["0i128"] +[[cases]] +program = "test.aleo" +function = "u8_casts" +input = ["0u8"] +[[cases]] +program = "test.aleo" +function = "u16_casts" +input = ["0u16"] +[[cases]] +program = "test.aleo" +function = "u32_casts" +input = ["0u32"] +[[cases]] +program = "test.aleo" +function = "u64_casts" +input = ["0u64"] +[[cases]] +program = "test.aleo" +function = "u128_casts" +input = ["0u128"] +[[cases]] +program = "test.aleo" +function = "scalar_cast" +input = ["0scalar"] */ program test.aleo { diff --git a/tests/tests/parser/expression/access/associated_function.leo b/tests/tests/parser/expression/access/associated_function.leo index a688fe6098..6eea1ae02c 100644 --- a/tests/tests/parser/expression/access/associated_function.leo +++ b/tests/tests/parser/expression/access/associated_function.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ group::to_x_coordinate(a) diff --git a/tests/tests/parser/expression/access/call.leo b/tests/tests/parser/expression/access/call.leo index 28d1d9e2ae..6768c077f8 100644 --- a/tests/tests/parser/expression/access/call.leo +++ b/tests/tests/parser/expression/access/call.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ x() diff --git a/tests/tests/parser/expression/access/method_function.leo b/tests/tests/parser/expression/access/method_function.leo index f2169a44c7..ac87158182 100644 --- a/tests/tests/parser/expression/access/method_function.leo +++ b/tests/tests/parser/expression/access/method_function.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ a.to_x_coordinate() diff --git a/tests/tests/parser/expression/array_init_fail.leo b/tests/tests/parser/expression/array_init_fail.leo index 95b21d3199..768deae5b2 100644 --- a/tests/tests/parser/expression/array_init_fail.leo +++ b/tests/tests/parser/expression/array_init_fail.leo @@ -1,7 +1,7 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ [...0u8; 1] diff --git a/tests/tests/parser/expression/array_inline_fail.leo b/tests/tests/parser/expression/array_inline_fail.leo index 9b1b1eea46..51940cc874 100644 --- a/tests/tests/parser/expression/array_inline_fail.leo +++ b/tests/tests/parser/expression/array_inline_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ [,] diff --git a/tests/tests/parser/expression/binary/add.leo b/tests/tests/parser/expression/binary/add.leo index 58762462ca..84203b8243 100644 --- a/tests/tests/parser/expression/binary/add.leo +++ b/tests/tests/parser/expression/binary/add.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 + 1u8 diff --git a/tests/tests/parser/expression/binary/add_wrapped.leo b/tests/tests/parser/expression/binary/add_wrapped.leo index d50c44a5f8..d6b80dd24a 100644 --- a/tests/tests/parser/expression/binary/add_wrapped.leo +++ b/tests/tests/parser/expression/binary/add_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.add_wrapped(y) diff --git a/tests/tests/parser/expression/binary/and.leo b/tests/tests/parser/expression/binary/and.leo index 7072d5bdc0..4a472181ae 100644 --- a/tests/tests/parser/expression/binary/and.leo +++ b/tests/tests/parser/expression/binary/and.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ true && false diff --git a/tests/tests/parser/expression/binary/bit_and.leo b/tests/tests/parser/expression/binary/bit_and.leo index 506a561c64..b2984ad591 100644 --- a/tests/tests/parser/expression/binary/bit_and.leo +++ b/tests/tests/parser/expression/binary/bit_and.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 & 1u8 diff --git a/tests/tests/parser/expression/binary/bit_or.leo b/tests/tests/parser/expression/binary/bit_or.leo index 7b1a2eff56..2802c3da13 100644 --- a/tests/tests/parser/expression/binary/bit_or.leo +++ b/tests/tests/parser/expression/binary/bit_or.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 | 1u8 diff --git a/tests/tests/parser/expression/binary/bit_xor.leo b/tests/tests/parser/expression/binary/bit_xor.leo index 4153640e3a..ebe83a1eec 100644 --- a/tests/tests/parser/expression/binary/bit_xor.leo +++ b/tests/tests/parser/expression/binary/bit_xor.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 ^ 1u8 diff --git a/tests/tests/parser/expression/binary/div.leo b/tests/tests/parser/expression/binary/div.leo index 37211031e7..40bc2dfef6 100644 --- a/tests/tests/parser/expression/binary/div.leo +++ b/tests/tests/parser/expression/binary/div.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 / 1u8 diff --git a/tests/tests/parser/expression/binary/div_wrapped.leo b/tests/tests/parser/expression/binary/div_wrapped.leo index f9b7d75567..6026953331 100644 --- a/tests/tests/parser/expression/binary/div_wrapped.leo +++ b/tests/tests/parser/expression/binary/div_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.div(y) diff --git a/tests/tests/parser/expression/binary/eq.leo b/tests/tests/parser/expression/binary/eq.leo index 9a043a4bf7..4ef4b86bee 100644 --- a/tests/tests/parser/expression/binary/eq.leo +++ b/tests/tests/parser/expression/binary/eq.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 == 1u8 diff --git a/tests/tests/parser/expression/binary/eq_fail.leo b/tests/tests/parser/expression/binary/eq_fail.leo index d51df10f42..d12070f483 100644 --- a/tests/tests/parser/expression/binary/eq_fail.leo +++ b/tests/tests/parser/expression/binary/eq_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 1 == 2 == 3 \ No newline at end of file diff --git a/tests/tests/parser/expression/binary/ge.leo b/tests/tests/parser/expression/binary/ge.leo index 2dd6a93423..e68c859045 100644 --- a/tests/tests/parser/expression/binary/ge.leo +++ b/tests/tests/parser/expression/binary/ge.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 >= 1u8 diff --git a/tests/tests/parser/expression/binary/ge_fail.leo b/tests/tests/parser/expression/binary/ge_fail.leo index b27d281a15..90f3c8adc2 100644 --- a/tests/tests/parser/expression/binary/ge_fail.leo +++ b/tests/tests/parser/expression/binary/ge_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 1u8 >= 2u8 >= 3u8 diff --git a/tests/tests/parser/expression/binary/gt.leo b/tests/tests/parser/expression/binary/gt.leo index cb25b256fa..b8ef641f18 100644 --- a/tests/tests/parser/expression/binary/gt.leo +++ b/tests/tests/parser/expression/binary/gt.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 > 1u8 diff --git a/tests/tests/parser/expression/binary/gt_fail.leo b/tests/tests/parser/expression/binary/gt_fail.leo index f391c2854b..99f8bc925b 100644 --- a/tests/tests/parser/expression/binary/gt_fail.leo +++ b/tests/tests/parser/expression/binary/gt_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 1u8 > 2u8 > 3u8 diff --git a/tests/tests/parser/expression/binary/le.leo b/tests/tests/parser/expression/binary/le.leo index 199cfc9e5c..118b3c9919 100644 --- a/tests/tests/parser/expression/binary/le.leo +++ b/tests/tests/parser/expression/binary/le.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 <= 1u8 diff --git a/tests/tests/parser/expression/binary/le_fail.leo b/tests/tests/parser/expression/binary/le_fail.leo index a03036cd12..6c31ba913b 100644 --- a/tests/tests/parser/expression/binary/le_fail.leo +++ b/tests/tests/parser/expression/binary/le_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 1u8 <= 2u8 <= 3u8 diff --git a/tests/tests/parser/expression/binary/lt.leo b/tests/tests/parser/expression/binary/lt.leo index 63dd8b6e77..23835817ae 100644 --- a/tests/tests/parser/expression/binary/lt.leo +++ b/tests/tests/parser/expression/binary/lt.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 < 1u8 diff --git a/tests/tests/parser/expression/binary/lt_fail.leo b/tests/tests/parser/expression/binary/lt_fail.leo index c39f00e524..df82214ea2 100644 --- a/tests/tests/parser/expression/binary/lt_fail.leo +++ b/tests/tests/parser/expression/binary/lt_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 1u8 < 2u8 < 3u8 diff --git a/tests/tests/parser/expression/binary/modulo.leo b/tests/tests/parser/expression/binary/modulo.leo index f3bd2f3a8d..c4c18f6caa 100644 --- a/tests/tests/parser/expression/binary/modulo.leo +++ b/tests/tests/parser/expression/binary/modulo.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.mod(y) diff --git a/tests/tests/parser/expression/binary/mul.leo b/tests/tests/parser/expression/binary/mul.leo index b147afa3ca..cce81435e3 100644 --- a/tests/tests/parser/expression/binary/mul.leo +++ b/tests/tests/parser/expression/binary/mul.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 * 1u8 diff --git a/tests/tests/parser/expression/binary/mul_wrapped.leo b/tests/tests/parser/expression/binary/mul_wrapped.leo index dfaaa0ba92..1a05f0c7b3 100644 --- a/tests/tests/parser/expression/binary/mul_wrapped.leo +++ b/tests/tests/parser/expression/binary/mul_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.mul_wrapped(y) diff --git a/tests/tests/parser/expression/binary/nand.leo b/tests/tests/parser/expression/binary/nand.leo index eb5db418d0..4fcaf084e4 100644 --- a/tests/tests/parser/expression/binary/nand.leo +++ b/tests/tests/parser/expression/binary/nand.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.nand(y) diff --git a/tests/tests/parser/expression/binary/neq.leo b/tests/tests/parser/expression/binary/neq.leo index 56c7608173..edb9a57eb4 100644 --- a/tests/tests/parser/expression/binary/neq.leo +++ b/tests/tests/parser/expression/binary/neq.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 != 1u8 diff --git a/tests/tests/parser/expression/binary/neq_fail.leo b/tests/tests/parser/expression/binary/neq_fail.leo index a96d955cb2..ede9d1bb6d 100644 --- a/tests/tests/parser/expression/binary/neq_fail.leo +++ b/tests/tests/parser/expression/binary/neq_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 1 != 2 != 3 \ No newline at end of file diff --git a/tests/tests/parser/expression/binary/nor.leo b/tests/tests/parser/expression/binary/nor.leo index f67ddb0534..9887f6910d 100644 --- a/tests/tests/parser/expression/binary/nor.leo +++ b/tests/tests/parser/expression/binary/nor.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.nor(y) diff --git a/tests/tests/parser/expression/binary/or.leo b/tests/tests/parser/expression/binary/or.leo index 16586f49c7..42635bed52 100644 --- a/tests/tests/parser/expression/binary/or.leo +++ b/tests/tests/parser/expression/binary/or.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ true || true diff --git a/tests/tests/parser/expression/binary/pow.leo b/tests/tests/parser/expression/binary/pow.leo index e59e5424e9..52f50bd16f 100644 --- a/tests/tests/parser/expression/binary/pow.leo +++ b/tests/tests/parser/expression/binary/pow.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 ** 1u8 diff --git a/tests/tests/parser/expression/binary/pow_wrapped.leo b/tests/tests/parser/expression/binary/pow_wrapped.leo index 9a4635df57..f7b44656ff 100644 --- a/tests/tests/parser/expression/binary/pow_wrapped.leo +++ b/tests/tests/parser/expression/binary/pow_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.pow_wrapped(y) diff --git a/tests/tests/parser/expression/binary/rem.leo b/tests/tests/parser/expression/binary/rem.leo index 58b36a374f..224c703540 100644 --- a/tests/tests/parser/expression/binary/rem.leo +++ b/tests/tests/parser/expression/binary/rem.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 % 1u8 diff --git a/tests/tests/parser/expression/binary/rem_wrapped.leo b/tests/tests/parser/expression/binary/rem_wrapped.leo index 509d96364a..8ebf86d566 100644 --- a/tests/tests/parser/expression/binary/rem_wrapped.leo +++ b/tests/tests/parser/expression/binary/rem_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.rem_wrapped(y) diff --git a/tests/tests/parser/expression/binary/shl.leo b/tests/tests/parser/expression/binary/shl.leo index 71f28297a3..f36d7129d3 100644 --- a/tests/tests/parser/expression/binary/shl.leo +++ b/tests/tests/parser/expression/binary/shl.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 << 1u8 diff --git a/tests/tests/parser/expression/binary/shl_wrapped.leo b/tests/tests/parser/expression/binary/shl_wrapped.leo index a010f943c3..a2243701c4 100644 --- a/tests/tests/parser/expression/binary/shl_wrapped.leo +++ b/tests/tests/parser/expression/binary/shl_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.shl_wrapped(y) diff --git a/tests/tests/parser/expression/binary/shr.leo b/tests/tests/parser/expression/binary/shr.leo index 51f3cdd26e..ddd7fabffe 100644 --- a/tests/tests/parser/expression/binary/shr.leo +++ b/tests/tests/parser/expression/binary/shr.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 >> 1u8 diff --git a/tests/tests/parser/expression/binary/shr_wrapped.leo b/tests/tests/parser/expression/binary/shr_wrapped.leo index bd42d7ec37..4d82943eec 100644 --- a/tests/tests/parser/expression/binary/shr_wrapped.leo +++ b/tests/tests/parser/expression/binary/shr_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.shr_wrapped(y) diff --git a/tests/tests/parser/expression/binary/sub.leo b/tests/tests/parser/expression/binary/sub.leo index 9ceb155574..ab3dd14bba 100644 --- a/tests/tests/parser/expression/binary/sub.leo +++ b/tests/tests/parser/expression/binary/sub.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 1u8 - 1u8 diff --git a/tests/tests/parser/expression/binary/sub_wrapped.leo b/tests/tests/parser/expression/binary/sub_wrapped.leo index 136eff14b1..758bf8a031 100644 --- a/tests/tests/parser/expression/binary/sub_wrapped.leo +++ b/tests/tests/parser/expression/binary/sub_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.sub_wrapped(y) diff --git a/tests/tests/parser/expression/cast.leo b/tests/tests/parser/expression/cast.leo index e25255cf72..1c8a760d81 100644 --- a/tests/tests/parser/expression/cast.leo +++ b/tests/tests/parser/expression/cast.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ foo as u8 diff --git a/tests/tests/parser/expression/cast_fail.leo b/tests/tests/parser/expression/cast_fail.leo index a43b3c8e35..2717a47525 100644 --- a/tests/tests/parser/expression/cast_fail.leo +++ b/tests/tests/parser/expression/cast_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ foo aas u8 diff --git a/tests/tests/parser/expression/circuit_init_fail.leo b/tests/tests/parser/expression/circuit_init_fail.leo index 9311b49d4f..54ce2687c7 100644 --- a/tests/tests/parser/expression/circuit_init_fail.leo +++ b/tests/tests/parser/expression/circuit_init_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ x { diff --git a/tests/tests/parser/expression/ident.leo b/tests/tests/parser/expression/ident.leo index 72fefe5c8f..be258c171e 100644 --- a/tests/tests/parser/expression/ident.leo +++ b/tests/tests/parser/expression/ident.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ x diff --git a/tests/tests/parser/expression/literal/address.leo b/tests/tests/parser/expression/literal/address.leo index c242b6ee72..f6dfb46a84 100644 --- a/tests/tests/parser/expression/literal/address.leo +++ b/tests/tests/parser/expression/literal/address.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Pass +namespace = "Token" +expectation = "Pass" */ aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9 diff --git a/tests/tests/parser/expression/literal/address_fail.leo b/tests/tests/parser/expression/literal/address_fail.leo index fb43d2e837..0842be12f5 100644 --- a/tests/tests/parser/expression/literal/address_fail.leo +++ b/tests/tests/parser/expression/literal/address_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57d1aleo1 diff --git a/tests/tests/parser/expression/literal/address_parse.leo b/tests/tests/parser/expression/literal/address_parse.leo index 29da660a6f..a9f6395e70 100644 --- a/tests/tests/parser/expression/literal/address_parse.leo +++ b/tests/tests/parser/expression/literal/address_parse.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8s7pyjh9 diff --git a/tests/tests/parser/expression/literal/bool.leo b/tests/tests/parser/expression/literal/bool.leo index 726aa4124e..1fa7fccf8e 100644 --- a/tests/tests/parser/expression/literal/bool.leo +++ b/tests/tests/parser/expression/literal/bool.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Pass +namespace = "Token" +expectation = "Pass" */ true diff --git a/tests/tests/parser/expression/literal/bool_parse.leo b/tests/tests/parser/expression/literal/bool_parse.leo index a988a54fd6..8888d688e0 100644 --- a/tests/tests/parser/expression/literal/bool_parse.leo +++ b/tests/tests/parser/expression/literal/bool_parse.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ true diff --git a/tests/tests/parser/expression/literal/char.leo b/tests/tests/parser/expression/literal/char.leo index 50fd497cc0..eaaf53cbbd 100644 --- a/tests/tests/parser/expression/literal/char.leo +++ b/tests/tests/parser/expression/literal/char.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Fail +namespace = "Token" +expectation = "Fail" */ 'a' diff --git a/tests/tests/parser/expression/literal/char_fail.leo b/tests/tests/parser/expression/literal/char_fail.leo index 166423f739..d23969c850 100644 --- a/tests/tests/parser/expression/literal/char_fail.leo +++ b/tests/tests/parser/expression/literal/char_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Fail +namespace = "Token" +expectation = "Fail" */ '\' diff --git a/tests/tests/parser/expression/literal/char_parse.leo b/tests/tests/parser/expression/literal/char_parse.leo index a61b5e6500..c13da89450 100644 --- a/tests/tests/parser/expression/literal/char_parse.leo +++ b/tests/tests/parser/expression/literal/char_parse.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Fail +namespace = "Token" +expectation = "Fail" */ 'a' diff --git a/tests/tests/parser/expression/literal/comment.leo b/tests/tests/parser/expression/literal/comment.leo index 17508b4147..dd0fa9fc67 100644 --- a/tests/tests/parser/expression/literal/comment.leo +++ b/tests/tests/parser/expression/literal/comment.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ /* test5 */ diff --git a/tests/tests/parser/expression/literal/comment_fail.leo b/tests/tests/parser/expression/literal/comment_fail.leo index a79becfccf..6a4b664ec9 100644 --- a/tests/tests/parser/expression/literal/comment_fail.leo +++ b/tests/tests/parser/expression/literal/comment_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ /* diff --git a/tests/tests/parser/expression/literal/field_hexbin_fail.leo b/tests/tests/parser/expression/literal/field_hexbin_fail.leo index 5f3db1cf51..7d31caf223 100644 --- a/tests/tests/parser/expression/literal/field_hexbin_fail.leo +++ b/tests/tests/parser/expression/literal/field_hexbin_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 0xAAfield diff --git a/tests/tests/parser/expression/literal/formatted_string.leo b/tests/tests/parser/expression/literal/formatted_string.leo index c359c7f530..7f4bcab8c7 100644 --- a/tests/tests/parser/expression/literal/formatted_string.leo +++ b/tests/tests/parser/expression/literal/formatted_string.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Pass +namespace = "Token" +expectation = "Pass" */ "{}" diff --git a/tests/tests/parser/expression/literal/group.leo b/tests/tests/parser/expression/literal/group.leo index 4157b8fc14..a99fb98fac 100644 --- a/tests/tests/parser/expression/literal/group.leo +++ b/tests/tests/parser/expression/literal/group.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ (+, _)group diff --git a/tests/tests/parser/expression/literal/group_fail.leo b/tests/tests/parser/expression/literal/group_fail.leo index 408e82ec56..8ff2656521 100644 --- a/tests/tests/parser/expression/literal/group_fail.leo +++ b/tests/tests/parser/expression/literal/group_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ ()group diff --git a/tests/tests/parser/expression/literal/group_hexbin_fail.leo b/tests/tests/parser/expression/literal/group_hexbin_fail.leo index b772b5494f..efa37af295 100644 --- a/tests/tests/parser/expression/literal/group_hexbin_fail.leo +++ b/tests/tests/parser/expression/literal/group_hexbin_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 0xAAgroup diff --git a/tests/tests/parser/expression/literal/int.leo b/tests/tests/parser/expression/literal/int.leo index a2421a23a2..24d5ff60b7 100644 --- a/tests/tests/parser/expression/literal/int.leo +++ b/tests/tests/parser/expression/literal/int.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Pass +namespace = "Token" +expectation = "Pass" */ 123abc123 diff --git a/tests/tests/parser/expression/literal/int_parse/field.leo b/tests/tests/parser/expression/literal/int_parse/field.leo index 3c40168661..803a2d2d87 100644 --- a/tests/tests/parser/expression/literal/int_parse/field.leo +++ b/tests/tests/parser/expression/literal/int_parse/field.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123field diff --git a/tests/tests/parser/expression/literal/int_parse/i128.leo b/tests/tests/parser/expression/literal/int_parse/i128.leo index 6ae5d98bf7..27f0122e7d 100644 --- a/tests/tests/parser/expression/literal/int_parse/i128.leo +++ b/tests/tests/parser/expression/literal/int_parse/i128.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123i128 diff --git a/tests/tests/parser/expression/literal/int_parse/i16.leo b/tests/tests/parser/expression/literal/int_parse/i16.leo index 6c3f447008..92fcc0b977 100644 --- a/tests/tests/parser/expression/literal/int_parse/i16.leo +++ b/tests/tests/parser/expression/literal/int_parse/i16.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123i16 diff --git a/tests/tests/parser/expression/literal/int_parse/i32.leo b/tests/tests/parser/expression/literal/int_parse/i32.leo index c36bbd1ede..625d16ac6b 100644 --- a/tests/tests/parser/expression/literal/int_parse/i32.leo +++ b/tests/tests/parser/expression/literal/int_parse/i32.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123i32 diff --git a/tests/tests/parser/expression/literal/int_parse/i64.leo b/tests/tests/parser/expression/literal/int_parse/i64.leo index 0427705709..e2b00196da 100644 --- a/tests/tests/parser/expression/literal/int_parse/i64.leo +++ b/tests/tests/parser/expression/literal/int_parse/i64.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123i64 diff --git a/tests/tests/parser/expression/literal/int_parse/i8.leo b/tests/tests/parser/expression/literal/int_parse/i8.leo index c489a8d78c..f687393817 100644 --- a/tests/tests/parser/expression/literal/int_parse/i8.leo +++ b/tests/tests/parser/expression/literal/int_parse/i8.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123i8 diff --git a/tests/tests/parser/expression/literal/int_parse/implicit.leo b/tests/tests/parser/expression/literal/int_parse/implicit.leo index 2b35e19ff9..5ec82e0900 100644 --- a/tests/tests/parser/expression/literal/int_parse/implicit.leo +++ b/tests/tests/parser/expression/literal/int_parse/implicit.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 123 diff --git a/tests/tests/parser/expression/literal/int_parse/mono_group.leo b/tests/tests/parser/expression/literal/int_parse/mono_group.leo index 96079ebb71..fdc0b0a8b1 100644 --- a/tests/tests/parser/expression/literal/int_parse/mono_group.leo +++ b/tests/tests/parser/expression/literal/int_parse/mono_group.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123group diff --git a/tests/tests/parser/expression/literal/int_parse/scalar.leo b/tests/tests/parser/expression/literal/int_parse/scalar.leo index 35f5e5b1fd..362cfa6c84 100644 --- a/tests/tests/parser/expression/literal/int_parse/scalar.leo +++ b/tests/tests/parser/expression/literal/int_parse/scalar.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123scalar diff --git a/tests/tests/parser/expression/literal/int_parse/u128.leo b/tests/tests/parser/expression/literal/int_parse/u128.leo index b4610d79ac..1fe7a7effa 100644 --- a/tests/tests/parser/expression/literal/int_parse/u128.leo +++ b/tests/tests/parser/expression/literal/int_parse/u128.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123u128 diff --git a/tests/tests/parser/expression/literal/int_parse/u16.leo b/tests/tests/parser/expression/literal/int_parse/u16.leo index c5f2839c14..ebefc8a017 100644 --- a/tests/tests/parser/expression/literal/int_parse/u16.leo +++ b/tests/tests/parser/expression/literal/int_parse/u16.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123u16 diff --git a/tests/tests/parser/expression/literal/int_parse/u32.leo b/tests/tests/parser/expression/literal/int_parse/u32.leo index da3e5ec3a1..499247cf62 100644 --- a/tests/tests/parser/expression/literal/int_parse/u32.leo +++ b/tests/tests/parser/expression/literal/int_parse/u32.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123u32 diff --git a/tests/tests/parser/expression/literal/int_parse/u64.leo b/tests/tests/parser/expression/literal/int_parse/u64.leo index 8b71eb4cf7..bb220e0637 100644 --- a/tests/tests/parser/expression/literal/int_parse/u64.leo +++ b/tests/tests/parser/expression/literal/int_parse/u64.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123u64 diff --git a/tests/tests/parser/expression/literal/int_parse/u8.leo b/tests/tests/parser/expression/literal/int_parse/u8.leo index 097c766886..7c3c7db911 100644 --- a/tests/tests/parser/expression/literal/int_parse/u8.leo +++ b/tests/tests/parser/expression/literal/int_parse/u8.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ 123u8 diff --git a/tests/tests/parser/expression/literal/invalid_digits_fail.leo b/tests/tests/parser/expression/literal/invalid_digits_fail.leo index 5b891b6bc6..10800997c4 100644 --- a/tests/tests/parser/expression/literal/invalid_digits_fail.leo +++ b/tests/tests/parser/expression/literal/invalid_digits_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 0xGAu32 diff --git a/tests/tests/parser/expression/literal/postfix_types.leo b/tests/tests/parser/expression/literal/postfix_types.leo index a0afa641e2..e44c5c121e 100644 --- a/tests/tests/parser/expression/literal/postfix_types.leo +++ b/tests/tests/parser/expression/literal/postfix_types.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Pass +namespace = "Token" +expectation = "Pass" */ field diff --git a/tests/tests/parser/expression/literal/scalar_hexbin_fail.leo b/tests/tests/parser/expression/literal/scalar_hexbin_fail.leo index 3682394183..036017132e 100644 --- a/tests/tests/parser/expression/literal/scalar_hexbin_fail.leo +++ b/tests/tests/parser/expression/literal/scalar_hexbin_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ 0xAAscalar diff --git a/tests/tests/parser/expression/literal/string.leo b/tests/tests/parser/expression/literal/string.leo index 0558dbe1f0..33a32f810c 100644 --- a/tests/tests/parser/expression/literal/string.leo +++ b/tests/tests/parser/expression/literal/string.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Pass +namespace = "Token" +expectation = "Pass" */ "string" diff --git a/tests/tests/parser/expression/literal/string_fail.leo b/tests/tests/parser/expression/literal/string_fail.leo index 04ce32d840..bbc85fe7ea 100644 --- a/tests/tests/parser/expression/literal/string_fail.leo +++ b/tests/tests/parser/expression/literal/string_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Token -expectation: Fail +namespace = "Token" +expectation = "Fail" */ "Hello world! diff --git a/tests/tests/parser/expression/literal/underscore.leo b/tests/tests/parser/expression/literal/underscore.leo index d17688db19..f78d0cc9a8 100644 --- a/tests/tests/parser/expression/literal/underscore.leo +++ b/tests/tests/parser/expression/literal/underscore.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ // i8 diff --git a/tests/tests/parser/expression/literal/underscore_fail.leo b/tests/tests/parser/expression/literal/underscore_fail.leo index 9472cdb5f1..3041e51251 100644 --- a/tests/tests/parser/expression/literal/underscore_fail.leo +++ b/tests/tests/parser/expression/literal/underscore_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ ______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________1i8 diff --git a/tests/tests/parser/expression/ternary.leo b/tests/tests/parser/expression/ternary.leo index 73d7fe8713..7cb8b88506 100644 --- a/tests/tests/parser/expression/ternary.leo +++ b/tests/tests/parser/expression/ternary.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ x ? y : z diff --git a/tests/tests/parser/expression/token_format.leo b/tests/tests/parser/expression/token_format.leo index d639c26ace..faa216ed88 100644 --- a/tests/tests/parser/expression/token_format.leo +++ b/tests/tests/parser/expression/token_format.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ "test" ~ diff --git a/tests/tests/parser/expression/unary/abs.leo b/tests/tests/parser/expression/unary/abs.leo index 4480cd941b..5530ebcd20 100644 --- a/tests/tests/parser/expression/unary/abs.leo +++ b/tests/tests/parser/expression/unary/abs.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ x.abs() diff --git a/tests/tests/parser/expression/unary/abs_wrapped.leo b/tests/tests/parser/expression/unary/abs_wrapped.leo index a2f0568e5d..f49a65ea2e 100644 --- a/tests/tests/parser/expression/unary/abs_wrapped.leo +++ b/tests/tests/parser/expression/unary/abs_wrapped.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ x.abs_wrapped() diff --git a/tests/tests/parser/expression/unary/double.leo b/tests/tests/parser/expression/unary/double.leo index ce939b7ada..b120acd8d3 100644 --- a/tests/tests/parser/expression/unary/double.leo +++ b/tests/tests/parser/expression/unary/double.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ x.double() diff --git a/tests/tests/parser/expression/unary/inv.leo b/tests/tests/parser/expression/unary/inv.leo index 3013772fb4..6fca0475ce 100644 --- a/tests/tests/parser/expression/unary/inv.leo +++ b/tests/tests/parser/expression/unary/inv.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ x.inv() diff --git a/tests/tests/parser/expression/unary/neg.leo b/tests/tests/parser/expression/unary/neg.leo index 959f805b3a..7281da2afc 100644 --- a/tests/tests/parser/expression/unary/neg.leo +++ b/tests/tests/parser/expression/unary/neg.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ -x diff --git a/tests/tests/parser/expression/unary/not.leo b/tests/tests/parser/expression/unary/not.leo index b54b11168f..2aa265c9eb 100644 --- a/tests/tests/parser/expression/unary/not.leo +++ b/tests/tests/parser/expression/unary/not.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !x diff --git a/tests/tests/parser/expression/unary/sqrt.leo b/tests/tests/parser/expression/unary/sqrt.leo index 5bba3e7fdd..a1f3b8e74e 100644 --- a/tests/tests/parser/expression/unary/sqrt.leo +++ b/tests/tests/parser/expression/unary/sqrt.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.square_root() diff --git a/tests/tests/parser/expression/unary/square.leo b/tests/tests/parser/expression/unary/square.leo index 8d26d5a487..e37a42207d 100644 --- a/tests/tests/parser/expression/unary/square.leo +++ b/tests/tests/parser/expression/unary/square.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Pass +namespace = "ParseExpression" +expectation = "Pass" */ !-x.square() diff --git a/tests/tests/parser/finalize/decrement.leo b/tests/tests/parser/finalize/decrement.leo index 15092d44df..7d90001c60 100644 --- a/tests/tests/parser/finalize/decrement.leo +++ b/tests/tests/parser/finalize/decrement.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ decrement(foo, bar, baz); diff --git a/tests/tests/parser/finalize/decrement_fail.leo b/tests/tests/parser/finalize/decrement_fail.leo index 3d6365e8dc..62c185a12e 100644 --- a/tests/tests/parser/finalize/decrement_fail.leo +++ b/tests/tests/parser/finalize/decrement_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ decrement[foo, bar, baz]; diff --git a/tests/tests/parser/finalize/finalize.leo b/tests/tests/parser/finalize/finalize.leo index 0c76dfd683..9f04435129 100644 --- a/tests/tests/parser/finalize/finalize.leo +++ b/tests/tests/parser/finalize/finalize.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/finalize/finalize_fail.leo b/tests/tests/parser/finalize/finalize_fail.leo index cba1e22fc8..75380f3e9b 100644 --- a/tests/tests/parser/finalize/finalize_fail.leo +++ b/tests/tests/parser/finalize/finalize_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/finalize/finalize_statement_fail.leo b/tests/tests/parser/finalize/finalize_statement_fail.leo index 5f839df9a8..6c37cb9200 100644 --- a/tests/tests/parser/finalize/finalize_statement_fail.leo +++ b/tests/tests/parser/finalize/finalize_statement_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ return then finalize; diff --git a/tests/tests/parser/finalize/increment.leo b/tests/tests/parser/finalize/increment.leo index bcc19f20a6..ac0b2a41a2 100644 --- a/tests/tests/parser/finalize/increment.leo +++ b/tests/tests/parser/finalize/increment.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ increment(foo, bar, baz); diff --git a/tests/tests/parser/finalize/increment_fail.leo b/tests/tests/parser/finalize/increment_fail.leo index dbe9efd349..de8d97692d 100644 --- a/tests/tests/parser/finalize/increment_fail.leo +++ b/tests/tests/parser/finalize/increment_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ increment[foo, bar, baz]; diff --git a/tests/tests/parser/finalize/mapping.leo b/tests/tests/parser/finalize/mapping.leo index d2f89eec80..798a3aae3f 100644 --- a/tests/tests/parser/finalize/mapping.leo +++ b/tests/tests/parser/finalize/mapping.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/finalize/mapping_fail.leo b/tests/tests/parser/finalize/mapping_fail.leo index 49c7fb5c31..602b8fc6b8 100644 --- a/tests/tests/parser/finalize/mapping_fail.leo +++ b/tests/tests/parser/finalize/mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/annotated_arg_not_ident_fail.leo b/tests/tests/parser/functions/annotated_arg_not_ident_fail.leo index 9389e5b4cc..8662906c3c 100644 --- a/tests/tests/parser/functions/annotated_arg_not_ident_fail.leo +++ b/tests/tests/parser/functions/annotated_arg_not_ident_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/annotated_context.leo b/tests/tests/parser/functions/annotated_context.leo index 6224c5b6da..f432a71dc6 100644 --- a/tests/tests/parser/functions/annotated_context.leo +++ b/tests/tests/parser/functions/annotated_context.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/annotated_functions.leo b/tests/tests/parser/functions/annotated_functions.leo index b287e549b2..8c6e2e3b03 100644 --- a/tests/tests/parser/functions/annotated_functions.leo +++ b/tests/tests/parser/functions/annotated_functions.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/bounded_recursion.leo b/tests/tests/parser/functions/bounded_recursion.leo index c6cbd19de6..0fbfad2f70 100644 --- a/tests/tests/parser/functions/bounded_recursion.leo +++ b/tests/tests/parser/functions/bounded_recursion.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/const_input_fail.leo b/tests/tests/parser/functions/const_input_fail.leo index 1a71af3fd6..9fe8d02879 100644 --- a/tests/tests/parser/functions/const_input_fail.leo +++ b/tests/tests/parser/functions/const_input_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/const_param.leo b/tests/tests/parser/functions/const_param.leo index 4712b13693..e2fd15e1a0 100644 --- a/tests/tests/parser/functions/const_param.leo +++ b/tests/tests/parser/functions/const_param.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/const_public_param_fail.leo b/tests/tests/parser/functions/const_public_param_fail.leo index 04d98dcfc6..79482c2bf8 100644 --- a/tests/tests/parser/functions/const_public_param_fail.leo +++ b/tests/tests/parser/functions/const_public_param_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/constant_input.leo b/tests/tests/parser/functions/constant_input.leo index 3e3f4f79af..a1a6837a67 100644 --- a/tests/tests/parser/functions/constant_input.leo +++ b/tests/tests/parser/functions/constant_input.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/danling_annotations_fail.leo b/tests/tests/parser/functions/danling_annotations_fail.leo index 818bc0cf3a..0cfcab1628 100644 --- a/tests/tests/parser/functions/danling_annotations_fail.leo +++ b/tests/tests/parser/functions/danling_annotations_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/empty2.leo b/tests/tests/parser/functions/empty2.leo index cc011dc025..14ed61ff9b 100644 --- a/tests/tests/parser/functions/empty2.leo +++ b/tests/tests/parser/functions/empty2.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/escape_fail.leo b/tests/tests/parser/functions/escape_fail.leo index 1726a294a6..d8be81f93f 100644 --- a/tests/tests/parser/functions/escape_fail.leo +++ b/tests/tests/parser/functions/escape_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/function_name_is_not_identifier.leo b/tests/tests/parser/functions/function_name_is_not_identifier.leo index 0bb3a2aee8..cc590e934f 100644 --- a/tests/tests/parser/functions/function_name_is_not_identifier.leo +++ b/tests/tests/parser/functions/function_name_is_not_identifier.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/ident_token_fail.leo b/tests/tests/parser/functions/ident_token_fail.leo index f9842527d1..5738a73a1b 100644 --- a/tests/tests/parser/functions/ident_token_fail.leo +++ b/tests/tests/parser/functions/ident_token_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/infinite_recursion.leo b/tests/tests/parser/functions/infinite_recursion.leo index 4648dec594..cae5a6af9b 100644 --- a/tests/tests/parser/functions/infinite_recursion.leo +++ b/tests/tests/parser/functions/infinite_recursion.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/inline_function.leo b/tests/tests/parser/functions/inline_function.leo index d9380ef118..9a63873e00 100644 --- a/tests/tests/parser/functions/inline_function.leo +++ b/tests/tests/parser/functions/inline_function.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/mode_outside_tuple.leo b/tests/tests/parser/functions/mode_outside_tuple.leo index a90679ba7f..a347d181ae 100644 --- a/tests/tests/parser/functions/mode_outside_tuple.leo +++ b/tests/tests/parser/functions/mode_outside_tuple.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/mut_input_fail.leo b/tests/tests/parser/functions/mut_input_fail.leo index 3c98764b8e..22741befe0 100644 --- a/tests/tests/parser/functions/mut_input_fail.leo +++ b/tests/tests/parser/functions/mut_input_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/params.leo b/tests/tests/parser/functions/params.leo index fa66f9e58a..35178b24a0 100644 --- a/tests/tests/parser/functions/params.leo +++ b/tests/tests/parser/functions/params.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/params_return.leo b/tests/tests/parser/functions/params_return.leo index 864d2d6537..b881f26a71 100644 --- a/tests/tests/parser/functions/params_return.leo +++ b/tests/tests/parser/functions/params_return.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/public_const_param_fail.leo b/tests/tests/parser/functions/public_const_param_fail.leo index 66710fe0fe..86d267a139 100644 --- a/tests/tests/parser/functions/public_const_param_fail.leo +++ b/tests/tests/parser/functions/public_const_param_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/public_param.leo b/tests/tests/parser/functions/public_param.leo index 124613bceb..82511c1520 100644 --- a/tests/tests/parser/functions/public_param.leo +++ b/tests/tests/parser/functions/public_param.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/return.leo b/tests/tests/parser/functions/return.leo index 23b25c392b..6494b7a3d9 100644 --- a/tests/tests/parser/functions/return.leo +++ b/tests/tests/parser/functions/return.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/functions/spaced_annotation_fail.leo b/tests/tests/parser/functions/spaced_annotation_fail.leo index 4588a455cc..0b91f3b42d 100644 --- a/tests/tests/parser/functions/spaced_annotation_fail.leo +++ b/tests/tests/parser/functions/spaced_annotation_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/test_keyword_fail.leo b/tests/tests/parser/functions/test_keyword_fail.leo index 4d3945e8cb..8e9730d1b9 100644 --- a/tests/tests/parser/functions/test_keyword_fail.leo +++ b/tests/tests/parser/functions/test_keyword_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/functions/transition_function.leo b/tests/tests/parser/functions/transition_function.leo index b54eae1801..afa367ebe6 100644 --- a/tests/tests/parser/functions/transition_function.leo +++ b/tests/tests/parser/functions/transition_function.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/future/explicit_future_typing.leo b/tests/tests/parser/future/explicit_future_typing.leo index 93c18b8ba5..88e7935401 100644 --- a/tests/tests/parser/future/explicit_future_typing.leo +++ b/tests/tests/parser/future/explicit_future_typing.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { async transition main() -> Future, Future)>)> { diff --git a/tests/tests/parser/inputs/input_const.leo b/tests/tests/parser/inputs/input_const.leo index 0bfda8e5c3..5c184a19ff 100644 --- a/tests/tests/parser/inputs/input_const.leo +++ b/tests/tests/parser/inputs/input_const.leo @@ -1,6 +1,6 @@ /* -namespace: Input -expectation: Fail +namespace = "Input" +expectation = "Fail" */ [main] diff --git a/tests/tests/parser/inputs/input_constant.leo b/tests/tests/parser/inputs/input_constant.leo index 52fafe0066..a4c508e562 100644 --- a/tests/tests/parser/inputs/input_constant.leo +++ b/tests/tests/parser/inputs/input_constant.leo @@ -1,6 +1,6 @@ /* -namespace: Input -expectation: Pass +namespace = "Input" +expectation = "Pass" */ [main] diff --git a/tests/tests/parser/inputs/input_constant_public_fail.leo b/tests/tests/parser/inputs/input_constant_public_fail.leo index a48d05a3ab..76236b4afd 100644 --- a/tests/tests/parser/inputs/input_constant_public_fail.leo +++ b/tests/tests/parser/inputs/input_constant_public_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Input -expectation: Fail +namespace = "Input" +expectation = "Fail" */ [main] diff --git a/tests/tests/parser/inputs/input_fail.leo b/tests/tests/parser/inputs/input_fail.leo index f678affff7..afe709b3db 100644 --- a/tests/tests/parser/inputs/input_fail.leo +++ b/tests/tests/parser/inputs/input_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Input -expectation: Fail +namespace = "Input" +expectation = "Fail" */ main \ No newline at end of file diff --git a/tests/tests/parser/inputs/input_public.leo b/tests/tests/parser/inputs/input_public.leo index 6a0113ecca..156fad888a 100644 --- a/tests/tests/parser/inputs/input_public.leo +++ b/tests/tests/parser/inputs/input_public.leo @@ -1,6 +1,6 @@ /* -namespace: Input -expectation: Pass +namespace = "Input" +expectation = "Pass" */ [main] diff --git a/tests/tests/parser/inputs/input_public_constant_fail.leo b/tests/tests/parser/inputs/input_public_constant_fail.leo index c7e1420f63..e739271abf 100644 --- a/tests/tests/parser/inputs/input_public_constant_fail.leo +++ b/tests/tests/parser/inputs/input_public_constant_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Input -expectation: Fail +namespace = "Input" +expectation = "Fail" */ [main] diff --git a/tests/tests/parser/program/async_basic.leo b/tests/tests/parser/program/async_basic.leo index bf9d665060..0ea76b79fc 100644 --- a/tests/tests/parser/program/async_basic.leo +++ b/tests/tests/parser/program/async_basic.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/program/backslash_eof.leo b/tests/tests/parser/program/backslash_eof.leo index 1726a294a6..d8be81f93f 100644 --- a/tests/tests/parser/program/backslash_eof.leo +++ b/tests/tests/parser/program/backslash_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/bidi_comment_2_fail.leo b/tests/tests/parser/program/bidi_comment_2_fail.leo index 72c6539904..a510656e3e 100644 --- a/tests/tests/parser/program/bidi_comment_2_fail.leo +++ b/tests/tests/parser/program/bidi_comment_2_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ /* next line starts with 2069 ⁩*/ diff --git a/tests/tests/parser/program/bidi_comment_fail.leo b/tests/tests/parser/program/bidi_comment_fail.leo index 6a50c55852..0f3683f3de 100644 --- a/tests/tests/parser/program/bidi_comment_fail.leo +++ b/tests/tests/parser/program/bidi_comment_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/circuit_deprecated_fail.leo b/tests/tests/parser/program/circuit_deprecated_fail.leo index a50a9d4da0..0e34dda7b8 100644 --- a/tests/tests/parser/program/circuit_deprecated_fail.leo +++ b/tests/tests/parser/program/circuit_deprecated_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/dollar_eof.leo b/tests/tests/parser/program/dollar_eof.leo index d13f968a64..a829533d42 100644 --- a/tests/tests/parser/program/dollar_eof.leo +++ b/tests/tests/parser/program/dollar_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/escape_u8_eof.leo b/tests/tests/parser/program/escape_u8_eof.leo index 2e7596827f..c0118b69b0 100644 --- a/tests/tests/parser/program/escape_u8_eof.leo +++ b/tests/tests/parser/program/escape_u8_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/external_mapping.leo b/tests/tests/parser/program/external_mapping.leo index f92f38a00f..5a0ce6842e 100644 --- a/tests/tests/parser/program/external_mapping.leo +++ b/tests/tests/parser/program/external_mapping.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ import hello.aleo; program test.aleo { diff --git a/tests/tests/parser/program/hex_eof.leo b/tests/tests/parser/program/hex_eof.leo index e6a9a158c5..575ee30d8d 100644 --- a/tests/tests/parser/program/hex_eof.leo +++ b/tests/tests/parser/program/hex_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/illegal_import_fail.leo b/tests/tests/parser/program/illegal_import_fail.leo index be75754f0a..b5c661b04d 100644 --- a/tests/tests/parser/program/illegal_import_fail.leo +++ b/tests/tests/parser/program/illegal_import_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ stub credits.aleo { diff --git a/tests/tests/parser/program/import.leo b/tests/tests/parser/program/import.leo index 3f03d34e72..803a96829b 100644 --- a/tests/tests/parser/program/import.leo +++ b/tests/tests/parser/program/import.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ import hello.aleo; program test.aleo { diff --git a/tests/tests/parser/program/import_fail.leo b/tests/tests/parser/program/import_fail.leo index 9c656ed691..ec67b5c07a 100644 --- a/tests/tests/parser/program/import_fail.leo +++ b/tests/tests/parser/program/import_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ import hello.leo; program test.aleo { diff --git a/tests/tests/parser/program/locator_expression_fail.leo b/tests/tests/parser/program/locator_expression_fail.leo index b2eaded3f8..855e513140 100644 --- a/tests/tests/parser/program/locator_expression_fail.leo +++ b/tests/tests/parser/program/locator_expression_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program relay.aleo { diff --git a/tests/tests/parser/program/mapping.leo b/tests/tests/parser/program/mapping.leo index 855dcec644..80c484f755 100644 --- a/tests/tests/parser/program/mapping.leo +++ b/tests/tests/parser/program/mapping.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/program/mapping_fail.leo b/tests/tests/parser/program/mapping_fail.leo index 07b4f18716..501fbda0da 100644 --- a/tests/tests/parser/program/mapping_fail.leo +++ b/tests/tests/parser/program/mapping_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/network_id.leo b/tests/tests/parser/program/network_id.leo index fca09e291d..c844220f19 100644 --- a/tests/tests/parser/program/network_id.leo +++ b/tests/tests/parser/program/network_id.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { function main(a: address) { diff --git a/tests/tests/parser/program/non_aleo_network_fail.leo b/tests/tests/parser/program/non_aleo_network_fail.leo index 1afae2e7e4..dd9aec1dd7 100644 --- a/tests/tests/parser/program/non_aleo_network_fail.leo +++ b/tests/tests/parser/program/non_aleo_network_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.eth { diff --git a/tests/tests/parser/program/pipe_eof.leo b/tests/tests/parser/program/pipe_eof.leo index cadcc91f9a..a4905effac 100644 --- a/tests/tests/parser/program/pipe_eof.leo +++ b/tests/tests/parser/program/pipe_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/q_eof.leo b/tests/tests/parser/program/q_eof.leo index 462730b7df..b4c513ac34 100644 --- a/tests/tests/parser/program/q_eof.leo +++ b/tests/tests/parser/program/q_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/record_with_visibility.leo b/tests/tests/parser/program/record_with_visibility.leo index 05e9a8f5fa..f5e86d2c8d 100644 --- a/tests/tests/parser/program/record_with_visibility.leo +++ b/tests/tests/parser/program/record_with_visibility.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/program/special_address.leo b/tests/tests/parser/program/special_address.leo index f212c47d6a..8c9c007764 100644 --- a/tests/tests/parser/program/special_address.leo +++ b/tests/tests/parser/program/special_address.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/program/sq_eof.leo b/tests/tests/parser/program/sq_eof.leo index 2160904471..0ed3e18eed 100644 --- a/tests/tests/parser/program/sq_eof.leo +++ b/tests/tests/parser/program/sq_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/struct_with_visibility.leo b/tests/tests/parser/program/struct_with_visibility.leo index 7a2acb4813..f0ab3d110b 100644 --- a/tests/tests/parser/program/struct_with_visibility.leo +++ b/tests/tests/parser/program/struct_with_visibility.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/program/stub_fail.leo b/tests/tests/parser/program/stub_fail.leo index d063f26ad7..1d3097deee 100644 --- a/tests/tests/parser/program/stub_fail.leo +++ b/tests/tests/parser/program/stub_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ stub credits.aleo { diff --git a/tests/tests/parser/program/tilde_eof.leo b/tests/tests/parser/program/tilde_eof.leo index 82f202f3a0..baaf602ead 100644 --- a/tests/tests/parser/program/tilde_eof.leo +++ b/tests/tests/parser/program/tilde_eof.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/program/unclosed_unicode_eof_fail.leo b/tests/tests/parser/program/unclosed_unicode_eof_fail.leo index 202dfdd484..30cbb0e062 100644 --- a/tests/tests/parser/program/unclosed_unicode_eof_fail.leo +++ b/tests/tests/parser/program/unclosed_unicode_eof_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/serialize/one_plus_one.leo b/tests/tests/parser/serialize/one_plus_one.leo index 20f9751816..1329723818 100644 --- a/tests/tests/parser/serialize/one_plus_one.leo +++ b/tests/tests/parser/serialize/one_plus_one.leo @@ -1,6 +1,6 @@ /* -namespace: Serialize -expectation: Pass +namespace = "Serialize" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/serialize/parser_error.leo b/tests/tests/parser/serialize/parser_error.leo index 91be4d8733..d4cdda2d46 100644 --- a/tests/tests/parser/serialize/parser_error.leo +++ b/tests/tests/parser/serialize/parser_error.leo @@ -1,6 +1,6 @@ /* -namespace: Serialize -expectation: Fail +namespace = "Serialize" +expectation = "Fail" */ invalid \ No newline at end of file diff --git a/tests/tests/parser/statement/all_loops.leo b/tests/tests/parser/statement/all_loops.leo index 81a62003ab..3794b999e1 100644 --- a/tests/tests/parser/statement/all_loops.leo +++ b/tests/tests/parser/statement/all_loops.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main(k: bool) -> bool { diff --git a/tests/tests/parser/statement/assert.leo b/tests/tests/parser/statement/assert.leo index b08e53fda1..5493d53c2e 100644 --- a/tests/tests/parser/statement/assert.leo +++ b/tests/tests/parser/statement/assert.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ assert_eq(x, y); diff --git a/tests/tests/parser/statement/assign.leo b/tests/tests/parser/statement/assign.leo index 323adebec3..cb4b207c56 100644 --- a/tests/tests/parser/statement/assign.leo +++ b/tests/tests/parser/statement/assign.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ x = expr; diff --git a/tests/tests/parser/statement/async_fail.leo b/tests/tests/parser/statement/async_fail.leo index 901e9e6d98..de92bbad50 100644 --- a/tests/tests/parser/statement/async_fail.leo +++ b/tests/tests/parser/statement/async_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ async finalize(foo); diff --git a/tests/tests/parser/statement/block.leo b/tests/tests/parser/statement/block.leo index d33128bc6f..10dd5b52f0 100644 --- a/tests/tests/parser/statement/block.leo +++ b/tests/tests/parser/statement/block.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ {} diff --git a/tests/tests/parser/statement/cond_mut.leo b/tests/tests/parser/statement/cond_mut.leo index 9d73e942cd..2541f39cfc 100644 --- a/tests/tests/parser/statement/cond_mut.leo +++ b/tests/tests/parser/statement/cond_mut.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main(y: bool) -> bool { diff --git a/tests/tests/parser/statement/conditional.leo b/tests/tests/parser/statement/conditional.leo index babc32c1e6..d1ab60d60d 100644 --- a/tests/tests/parser/statement/conditional.leo +++ b/tests/tests/parser/statement/conditional.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ if x { diff --git a/tests/tests/parser/statement/conditional_fail.leo b/tests/tests/parser/statement/conditional_fail.leo index b1081556d5..2683e85965 100644 --- a/tests/tests/parser/statement/conditional_fail.leo +++ b/tests/tests/parser/statement/conditional_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ if true {} else let x = 2; \ No newline at end of file diff --git a/tests/tests/parser/statement/console_fail.leo b/tests/tests/parser/statement/console_fail.leo index 5ca4b2349d..aaae70ffce 100644 --- a/tests/tests/parser/statement/console_fail.leo +++ b/tests/tests/parser/statement/console_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ console.error("‪"); // bidi override diff --git a/tests/tests/parser/statement/definition.leo b/tests/tests/parser/statement/definition.leo index 1414287bef..a18113ffb8 100644 --- a/tests/tests/parser/statement/definition.leo +++ b/tests/tests/parser/statement/definition.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ let x: u8 = expr; diff --git a/tests/tests/parser/statement/definition_fail.leo b/tests/tests/parser/statement/definition_fail.leo index 6e570d397e..e07ec52380 100644 --- a/tests/tests/parser/statement/definition_fail.leo +++ b/tests/tests/parser/statement/definition_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ let mut x = expr; diff --git a/tests/tests/parser/statement/exported_type_fail.leo b/tests/tests/parser/statement/exported_type_fail.leo index 79dfdfdcd4..299c0b8e7c 100644 --- a/tests/tests/parser/statement/exported_type_fail.leo +++ b/tests/tests/parser/statement/exported_type_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ return credits.aleo/credits { owner: arg1, amount: arg2}; diff --git a/tests/tests/parser/statement/expression.leo b/tests/tests/parser/statement/expression.leo index f74b74819d..e76072faaf 100644 --- a/tests/tests/parser/statement/expression.leo +++ b/tests/tests/parser/statement/expression.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ expr; diff --git a/tests/tests/parser/statement/expression_fail.leo b/tests/tests/parser/statement/expression_fail.leo index 98efd8b9e0..be344d2c69 100644 --- a/tests/tests/parser/statement/expression_fail.leo +++ b/tests/tests/parser/statement/expression_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ (]; diff --git a/tests/tests/parser/statement/finalize_fail.leo b/tests/tests/parser/statement/finalize_fail.leo index cd7f50a852..6936106977 100644 --- a/tests/tests/parser/statement/finalize_fail.leo +++ b/tests/tests/parser/statement/finalize_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ finalize(foo); diff --git a/tests/tests/parser/statement/for_loop.leo b/tests/tests/parser/statement/for_loop.leo index 22e420674b..6275f626d3 100644 --- a/tests/tests/parser/statement/for_loop.leo +++ b/tests/tests/parser/statement/for_loop.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main(x: u32) -> bool { diff --git a/tests/tests/parser/statement/function_input_mut.leo b/tests/tests/parser/statement/function_input_mut.leo index 7b0c81ac83..90c90fb634 100644 --- a/tests/tests/parser/statement/function_input_mut.leo +++ b/tests/tests/parser/statement/function_input_mut.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ // Function input are mutable by default. diff --git a/tests/tests/parser/statement/import_circuit.leo b/tests/tests/parser/statement/import_circuit.leo index 70e6524e9d..169847a3a5 100644 --- a/tests/tests/parser/statement/import_circuit.leo +++ b/tests/tests/parser/statement/import_circuit.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ import foo.leo; diff --git a/tests/tests/parser/statement/iteration.leo b/tests/tests/parser/statement/iteration.leo index fda5588a7e..bbf596b345 100644 --- a/tests/tests/parser/statement/iteration.leo +++ b/tests/tests/parser/statement/iteration.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ for x: u8 in 0u8..7u8 {} diff --git a/tests/tests/parser/statement/iteration_repeated.leo b/tests/tests/parser/statement/iteration_repeated.leo index 864673de06..592a138b94 100644 --- a/tests/tests/parser/statement/iteration_repeated.leo +++ b/tests/tests/parser/statement/iteration_repeated.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function iteration() -> u32 { diff --git a/tests/tests/parser/statement/iteration_variable.leo b/tests/tests/parser/statement/iteration_variable.leo index 4c426782aa..bea5e43b58 100644 --- a/tests/tests/parser/statement/iteration_variable.leo +++ b/tests/tests/parser/statement/iteration_variable.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main(x: u32) -> bool { diff --git a/tests/tests/parser/statement/let_mut_nested.leo b/tests/tests/parser/statement/let_mut_nested.leo index 97e24534d6..485181c60e 100644 --- a/tests/tests/parser/statement/let_mut_nested.leo +++ b/tests/tests/parser/statement/let_mut_nested.leo @@ -1,6 +1,6 @@ /* -namespace: Compile -expectation: Pass +namespace = "Compile" +expectation = "Pass" */ function main(a: bool) -> bool { diff --git a/tests/tests/parser/statement/let_mut_recover.leo b/tests/tests/parser/statement/let_mut_recover.leo index 8a90ceab5e..4d80569801 100644 --- a/tests/tests/parser/statement/let_mut_recover.leo +++ b/tests/tests/parser/statement/let_mut_recover.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/statement/return.leo b/tests/tests/parser/statement/return.leo index bb59e7987a..7a7237d501 100644 --- a/tests/tests/parser/statement/return.leo +++ b/tests/tests/parser/statement/return.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ return expr; diff --git a/tests/tests/parser/statement/return_fail.leo b/tests/tests/parser/statement/return_fail.leo index 21617c0cc5..d46ebacc82 100644 --- a/tests/tests/parser/statement/return_fail.leo +++ b/tests/tests/parser/statement/return_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ return diff --git a/tests/tests/parser/structs/comma_separators_fail.leo b/tests/tests/parser/structs/comma_separators_fail.leo index 98b10a406c..513a9a6b1a 100644 --- a/tests/tests/parser/structs/comma_separators_fail.leo +++ b/tests/tests/parser/structs/comma_separators_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program comma_separators.aleo { struct none { diff --git a/tests/tests/parser/structs/only_comma_separators_fail.leo b/tests/tests/parser/structs/only_comma_separators_fail.leo index fe0f8da542..85f9ce9c60 100644 --- a/tests/tests/parser/structs/only_comma_separators_fail.leo +++ b/tests/tests/parser/structs/only_comma_separators_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program only_comma_separators.aleo { struct semicolons { diff --git a/tests/tests/parser/type_/signature.leo b/tests/tests/parser/type_/signature.leo index 352ca55cf2..c24b6f95e7 100644 --- a/tests/tests/parser/type_/signature.leo +++ b/tests/tests/parser/type_/signature.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Pass +namespace = "Parse" +expectation = "Pass" */ program test.aleo { diff --git a/tests/tests/parser/type_/signature_verify_bad_syntax_fail.leo b/tests/tests/parser/type_/signature_verify_bad_syntax_fail.leo index c92a84bff5..6d2e519eb2 100644 --- a/tests/tests/parser/type_/signature_verify_bad_syntax_fail.leo +++ b/tests/tests/parser/type_/signature_verify_bad_syntax_fail.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ program test.aleo { diff --git a/tests/tests/parser/unreachable/define.leo b/tests/tests/parser/unreachable/define.leo index b26290edd6..79595284c0 100644 --- a/tests/tests/parser/unreachable/define.leo +++ b/tests/tests/parser/unreachable/define.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ ; x = 10u8; diff --git a/tests/tests/parser/unreachable/eat_ident.leo b/tests/tests/parser/unreachable/eat_ident.leo index 40899b0682..d4fd73fc5f 100644 --- a/tests/tests/parser/unreachable/eat_ident.leo +++ b/tests/tests/parser/unreachable/eat_ident.leo @@ -1,6 +1,6 @@ /* -namespace: Parse -expectation: Fail +namespace = "Parse" +expectation = "Fail" */ struct import diff --git a/tests/tests/parser/unreachable/eat_int.leo b/tests/tests/parser/unreachable/eat_int.leo index 869348728c..6ebc05d69f 100644 --- a/tests/tests/parser/unreachable/eat_int.leo +++ b/tests/tests/parser/unreachable/eat_int.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ x.-12 diff --git a/tests/tests/parser/unreachable/equality_and_order_expression.leo b/tests/tests/parser/unreachable/equality_and_order_expression.leo index f032d1e1af..e9eded466d 100644 --- a/tests/tests/parser/unreachable/equality_and_order_expression.leo +++ b/tests/tests/parser/unreachable/equality_and_order_expression.leo @@ -1,6 +1,6 @@ /* -namespace: ParseExpression -expectation: Fail +namespace = "ParseExpression" +expectation = "Fail" */ if 10 ; {} diff --git a/tests/tests/parser/unreachable/expect_ident.leo b/tests/tests/parser/unreachable/expect_ident.leo index 510317b5e5..b0f849614c 100644 --- a/tests/tests/parser/unreachable/expect_ident.leo +++ b/tests/tests/parser/unreachable/expect_ident.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ x::; diff --git a/tests/tests/parser/unreachable/math_op_fail.leo b/tests/tests/parser/unreachable/math_op_fail.leo index 35343d25e7..77cb793393 100644 --- a/tests/tests/parser/unreachable/math_op_fail.leo +++ b/tests/tests/parser/unreachable/math_op_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ let x = a ; b; diff --git a/tests/tests/parser/unreachable/math_op_pass.leo b/tests/tests/parser/unreachable/math_op_pass.leo index 25abd9e802..e649353157 100644 --- a/tests/tests/parser/unreachable/math_op_pass.leo +++ b/tests/tests/parser/unreachable/math_op_pass.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" */ diff --git a/tests/tests/parser/unreachable/postfix_fail.leo b/tests/tests/parser/unreachable/postfix_fail.leo index 85be94698e..ed05b56a4f 100644 --- a/tests/tests/parser/unreachable/postfix_fail.leo +++ b/tests/tests/parser/unreachable/postfix_fail.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Fail +namespace = "ParseStatement" +expectation = "Fail" */ let x = a;; diff --git a/tests/tests/parser/unreachable/postfix_pass.leo b/tests/tests/parser/unreachable/postfix_pass.leo index 7708a8ba6b..8714758126 100644 --- a/tests/tests/parser/unreachable/postfix_pass.leo +++ b/tests/tests/parser/unreachable/postfix_pass.leo @@ -1,6 +1,6 @@ /* -namespace: ParseStatement -expectation: Pass +namespace = "ParseStatement" +expectation = "Pass" # These ones do not hit the unreachable as they are treated as valid idents rather than postfix. */ From b4f28bf692e8d7dd8eedf8cfdb338448e46c46bc Mon Sep 17 00:00:00 2001 From: Michael Benfield Date: Mon, 21 Oct 2024 13:42:01 -0700 Subject: [PATCH 2/2] Don't hash bytecode output for tests. --- compiler/compiler/tests/compile.rs | 3 +- compiler/compiler/tests/execute.rs | 3 +- .../expectations/compiler/address/binary.out | 11 +- .../expectations/compiler/address/branch.out | 13 +- tests/expectations/compiler/address/equal.out | 11 +- .../compiler/address/special_address.out | 17 +- .../expectations/compiler/address/ternary.out | 14 +- .../array/access_array_with_loop_counter.out | 13 +- .../compiler/array/array_access.out | 10 +- .../array/array_in_composite_data_types.out | 22 +- .../compiler/array/array_in_finalize.out | 17 +- .../array/array_in_function_signature.out | 27 +- .../compiler/array/array_in_mapping.out | 22 +- .../compiler/array/array_initialization.out | 11 +- .../compiler/array/array_of_structs.out | 12 +- .../compiler/array/array_size_limits.out | 15 +- .../compiler/assert/early_return.out | 13 +- tests/expectations/compiler/boolean/and.out | 12 +- .../compiler/boolean/conditional.out | 12 +- tests/expectations/compiler/boolean/equal.out | 12 +- .../compiler/boolean/not_equal.out | 12 +- .../compiler/boolean/operator_methods.out | 12 +- tests/expectations/compiler/boolean/or.out | 12 +- .../expectations/compiler/console/assert.out | 26 +- .../compiler/console/conditional_assert.out | 19 +- .../constants/const_tuple_declaration.out | 9 +- .../compiler/constants/constant_finalize.out | 32 +- .../constants/constant_loop_bound.out | 61 +- .../compiler/constants/loop_unrolling.out | 2912 ++++++++++++++++- .../unroll_loop_with_tuple_definition.out | 12 +- .../algorithms/bhp1024_commit_to_address.out | 20 +- .../algorithms/bhp1024_commit_to_field.out | 23 +- .../algorithms/bhp1024_commit_to_group.out | 23 +- .../algorithms/bhp1024_hash_to_address.out | 20 +- .../core/algorithms/bhp1024_hash_to_field.out | 23 +- .../core/algorithms/bhp1024_hash_to_group.out | 23 +- .../algorithms/bhp1024_hash_to_scalar.out | 23 +- .../algorithms/bhp256_commit_to_address.out | 20 +- .../algorithms/bhp256_commit_to_field.out | 23 +- .../algorithms/bhp256_commit_to_group.out | 23 +- .../algorithms/bhp256_hash_to_address.out | 20 +- .../core/algorithms/bhp256_hash_to_field.out | 23 +- .../core/algorithms/bhp256_hash_to_group.out | 23 +- .../core/algorithms/bhp256_hash_to_scalar.out | 23 +- .../algorithms/bhp512_commit_to_address.out | 20 +- .../algorithms/bhp512_commit_to_field.out | 23 +- .../algorithms/bhp512_commit_to_group.out | 23 +- .../algorithms/bhp512_hash_to_address.out | 20 +- .../core/algorithms/bhp512_hash_to_field.out | 23 +- .../core/algorithms/bhp512_hash_to_group.out | 23 +- .../core/algorithms/bhp512_hash_to_scalar.out | 23 +- .../algorithms/bhp768_commit_to_address.out | 20 +- .../algorithms/bhp768_commit_to_field.out | 23 +- .../algorithms/bhp768_commit_to_group.out | 23 +- .../algorithms/bhp768_hash_to_address.out | 20 +- .../core/algorithms/bhp768_hash_to_field.out | 23 +- .../core/algorithms/bhp768_hash_to_group.out | 23 +- .../core/algorithms/bhp768_hash_to_scalar.out | 23 +- .../integers/bhp1024/bhp1024_hash_to_i128.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i16.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i32.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i64.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_i8.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u128.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u16.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u32.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u64.out | 21 +- .../integers/bhp1024/bhp1024_hash_to_u8.out | 21 +- .../integers/bhp256/bhp256_hash_to_i128.out | 21 +- .../integers/bhp256/bhp256_hash_to_i16.out | 21 +- .../integers/bhp256/bhp256_hash_to_i32.out | 21 +- .../integers/bhp256/bhp256_hash_to_i64.out | 21 +- .../integers/bhp256/bhp256_hash_to_i8.out | 21 +- .../integers/bhp256/bhp256_hash_to_u128.out | 21 +- .../integers/bhp256/bhp256_hash_to_u16.out | 21 +- .../integers/bhp256/bhp256_hash_to_u32.out | 21 +- .../integers/bhp256/bhp256_hash_to_u64.out | 21 +- .../integers/bhp256/bhp256_hash_to_u8.out | 21 +- .../integers/bhp512/bhp512_hash_to_i128.out | 21 +- .../integers/bhp512/bhp512_hash_to_i16.out | 21 +- .../integers/bhp512/bhp512_hash_to_i32.out | 21 +- .../integers/bhp512/bhp512_hash_to_i64.out | 21 +- .../integers/bhp512/bhp512_hash_to_i8.out | 21 +- .../integers/bhp512/bhp512_hash_to_u128.out | 21 +- .../integers/bhp512/bhp512_hash_to_u16.out | 21 +- .../integers/bhp512/bhp512_hash_to_u32.out | 21 +- .../integers/bhp512/bhp512_hash_to_u64.out | 21 +- .../integers/bhp512/bhp512_hash_to_u8.out | 21 +- .../integers/bhp768/bhp768_hash_to_i128.out | 21 +- .../integers/bhp768/bhp768_hash_to_i16.out | 21 +- .../integers/bhp768/bhp768_hash_to_i32.out | 21 +- .../integers/bhp768/bhp768_hash_to_i64.out | 21 +- .../integers/bhp768/bhp768_hash_to_i8.out | 21 +- .../integers/bhp768/bhp768_hash_to_u128.out | 21 +- .../integers/bhp768/bhp768_hash_to_u16.out | 21 +- .../integers/bhp768/bhp768_hash_to_u32.out | 21 +- .../integers/bhp768/bhp768_hash_to_u64.out | 21 +- .../integers/bhp768/bhp768_hash_to_u8.out | 21 +- .../keccak256/keccak256_hash_to_i128.out | 21 +- .../keccak256/keccak256_hash_to_i16.out | 21 +- .../keccak256/keccak256_hash_to_i32.out | 21 +- .../keccak256/keccak256_hash_to_i64.out | 21 +- .../keccak256/keccak256_hash_to_i8.out | 21 +- .../keccak256/keccak256_hash_to_u128.out | 21 +- .../keccak256/keccak256_hash_to_u16.out | 21 +- .../keccak256/keccak256_hash_to_u32.out | 21 +- .../keccak256/keccak256_hash_to_u64.out | 21 +- .../keccak256/keccak256_hash_to_u8.out | 21 +- .../keccak384/keccak384_hash_to_i128.out | 21 +- .../keccak384/keccak384_hash_to_i16.out | 21 +- .../keccak384/keccak384_hash_to_i32.out | 21 +- .../keccak384/keccak384_hash_to_i64.out | 21 +- .../keccak384/keccak384_hash_to_i8.out | 21 +- .../keccak384/keccak384_hash_to_u128.out | 21 +- .../keccak384/keccak384_hash_to_u16.out | 21 +- .../keccak384/keccak384_hash_to_u32.out | 21 +- .../keccak384/keccak384_hash_to_u64.out | 21 +- .../keccak384/keccak384_hash_to_u8.out | 21 +- .../keccak512/keccak512_hash_to_i128.out | 21 +- .../keccak512/keccak512_hash_to_i16.out | 21 +- .../keccak512/keccak512_hash_to_i32.out | 21 +- .../keccak512/keccak512_hash_to_i64.out | 21 +- .../keccak512/keccak512_hash_to_i8.out | 21 +- .../keccak512/keccak512_hash_to_u128.out | 21 +- .../keccak512/keccak512_hash_to_u16.out | 21 +- .../keccak512/keccak512_hash_to_u32.out | 21 +- .../keccak512/keccak512_hash_to_u64.out | 21 +- .../keccak512/keccak512_hash_to_u8.out | 21 +- .../pedersen128/pedersen128_hash_to_i128.out | 21 +- .../pedersen128/pedersen128_hash_to_i16.out | 21 +- .../pedersen128/pedersen128_hash_to_i32.out | 21 +- .../pedersen128/pedersen128_hash_to_i64.out | 21 +- .../pedersen128/pedersen128_hash_to_i8.out | 21 +- .../pedersen128/pedersen128_hash_to_u128.out | 21 +- .../pedersen128/pedersen128_hash_to_u16.out | 21 +- .../pedersen128/pedersen128_hash_to_u32.out | 21 +- .../pedersen128/pedersen128_hash_to_u64.out | 21 +- .../pedersen128/pedersen128_hash_to_u8.out | 21 +- .../pedersen64/pedersen64_hash_to_i128.out | 21 +- .../pedersen64/pedersen64_hash_to_i16.out | 21 +- .../pedersen64/pedersen64_hash_to_i32.out | 21 +- .../pedersen64/pedersen64_hash_to_i64.out | 21 +- .../pedersen64/pedersen64_hash_to_i8.out | 21 +- .../pedersen64/pedersen64_hash_to_u128.out | 21 +- .../pedersen64/pedersen64_hash_to_u16.out | 21 +- .../pedersen64/pedersen64_hash_to_u32.out | 21 +- .../pedersen64/pedersen64_hash_to_u64.out | 21 +- .../pedersen64/pedersen64_hash_to_u8.out | 21 +- .../poseidon2/poseidon2_hash_to_i128.out | 21 +- .../poseidon2/poseidon2_hash_to_i16.out | 21 +- .../poseidon2/poseidon2_hash_to_i32.out | 21 +- .../poseidon2/poseidon2_hash_to_i64.out | 21 +- .../poseidon2/poseidon2_hash_to_i8.out | 21 +- .../poseidon2/poseidon2_hash_to_u128.out | 21 +- .../poseidon2/poseidon2_hash_to_u16.out | 21 +- .../poseidon2/poseidon2_hash_to_u32.out | 21 +- .../poseidon2/poseidon2_hash_to_u64.out | 21 +- .../poseidon2/poseidon2_hash_to_u8.out | 21 +- .../poseidon4/poseidon4_hash_to_i128.out | 21 +- .../poseidon4/poseidon4_hash_to_i16.out | 21 +- .../poseidon4/poseidon4_hash_to_i32.out | 21 +- .../poseidon4/poseidon4_hash_to_i64.out | 21 +- .../poseidon4/poseidon4_hash_to_i8.out | 21 +- .../poseidon4/poseidon4_hash_to_u128.out | 21 +- .../poseidon4/poseidon4_hash_to_u16.out | 21 +- .../poseidon4/poseidon4_hash_to_u32.out | 21 +- .../poseidon4/poseidon4_hash_to_u64.out | 21 +- .../poseidon4/poseidon4_hash_to_u8.out | 21 +- .../poseidon8/poseidon8_hash_to_i128.out | 21 +- .../poseidon8/poseidon8_hash_to_i16.out | 21 +- .../poseidon8/poseidon8_hash_to_i32.out | 21 +- .../poseidon8/poseidon8_hash_to_i64.out | 21 +- .../poseidon8/poseidon8_hash_to_i8.out | 21 +- .../poseidon8/poseidon8_hash_to_u128.out | 21 +- .../poseidon8/poseidon8_hash_to_u16.out | 21 +- .../poseidon8/poseidon8_hash_to_u32.out | 21 +- .../poseidon8/poseidon8_hash_to_u64.out | 21 +- .../poseidon8/poseidon8_hash_to_u8.out | 21 +- .../sha3_256/sha3_256_hash_to_i128.out | 21 +- .../sha3_256/sha3_256_hash_to_i16.out | 21 +- .../sha3_256/sha3_256_hash_to_i32.out | 21 +- .../sha3_256/sha3_256_hash_to_i64.out | 21 +- .../integers/sha3_256/sha3_256_hash_to_i8.out | 21 +- .../sha3_256/sha3_256_hash_to_u128.out | 21 +- .../sha3_256/sha3_256_hash_to_u16.out | 21 +- .../sha3_256/sha3_256_hash_to_u32.out | 21 +- .../sha3_256/sha3_256_hash_to_u64.out | 21 +- .../integers/sha3_256/sha3_256_hash_to_u8.out | 21 +- .../sha3_384/sha3_384_hash_to_i128.out | 21 +- .../sha3_384/sha3_384_hash_to_i16.out | 21 +- .../sha3_384/sha3_384_hash_to_i32.out | 21 +- .../sha3_384/sha3_384_hash_to_i64.out | 21 +- .../integers/sha3_384/sha3_384_hash_to_i8.out | 21 +- .../sha3_384/sha3_384_hash_to_u128.out | 21 +- .../sha3_384/sha3_384_hash_to_u16.out | 21 +- .../sha3_384/sha3_384_hash_to_u32.out | 21 +- .../sha3_384/sha3_384_hash_to_u64.out | 21 +- .../integers/sha3_384/sha3_384_hash_to_u8.out | 21 +- .../sha3_512/sha3_512_hash_to_i128.out | 21 +- .../sha3_512/sha3_512_hash_to_i16.out | 21 +- .../sha3_512/sha3_512_hash_to_i32.out | 21 +- .../sha3_512/sha3_512_hash_to_i64.out | 21 +- .../integers/sha3_512/sha3_512_hash_to_i8.out | 21 +- .../sha3_512/sha3_512_hash_to_u128.out | 21 +- .../sha3_512/sha3_512_hash_to_u16.out | 21 +- .../sha3_512/sha3_512_hash_to_u32.out | 21 +- .../sha3_512/sha3_512_hash_to_u64.out | 21 +- .../integers/sha3_512/sha3_512_hash_to_u8.out | 21 +- .../algorithms/keccak256_hash_to_address.out | 20 +- .../algorithms/keccak256_hash_to_field.out | 23 +- .../algorithms/keccak256_hash_to_group.out | 23 +- .../algorithms/keccak256_hash_to_scalar.out | 23 +- .../algorithms/keccak384_hash_to_address.out | 20 +- .../algorithms/keccak384_hash_to_field.out | 23 +- .../algorithms/keccak384_hash_to_group.out | 23 +- .../algorithms/keccak384_hash_to_scalar.out | 23 +- .../algorithms/keccak512_hash_to_address.out | 20 +- .../algorithms/keccak512_hash_to_field.out | 23 +- .../algorithms/keccak512_hash_to_group.out | 23 +- .../algorithms/keccak512_hash_to_scalar.out | 23 +- .../pedersen128_commit_to_address.out | 23 +- .../pedersen128_commit_to_field.out | 23 +- .../pedersen128_commit_to_group.out | 23 +- .../pedersen128_hash_to_address.out | 21 +- .../algorithms/pedersen128_hash_to_field.out | 21 +- .../algorithms/pedersen128_hash_to_group.out | 21 +- .../pedersen64_commit_to_address.out | 23 +- .../algorithms/pedersen64_commit_to_field.out | 23 +- .../algorithms/pedersen64_commit_to_group.out | 23 +- .../algorithms/pedersen64_hash_to_address.out | 21 +- .../algorithms/pedersen64_hash_to_field.out | 21 +- .../algorithms/pedersen64_hash_to_group.out | 21 +- .../algorithms/pedersen64_hash_to_scalar.out | 21 +- .../algorithms/poseidon2_hash_to_address.out | 20 +- .../algorithms/poseidon2_hash_to_field.out | 23 +- .../algorithms/poseidon2_hash_to_group.out | 23 +- .../algorithms/poseidon2_hash_to_scalar.out | 23 +- .../algorithms/poseidon4_hash_to_address.out | 20 +- .../algorithms/poseidon4_hash_to_field.out | 23 +- .../algorithms/poseidon4_hash_to_group.out | 23 +- .../algorithms/poseidon4_hash_to_scalar.out | 23 +- .../algorithms/poseidon8_hash_to_address.out | 20 +- .../algorithms/poseidon8_hash_to_field.out | 23 +- .../algorithms/poseidon8_hash_to_group.out | 23 +- .../algorithms/poseidon8_hash_to_scalar.out | 23 +- .../algorithms/sha3_256_hash_to_address.out | 20 +- .../algorithms/sha3_256_hash_to_field.out | 23 +- .../algorithms/sha3_256_hash_to_group.out | 23 +- .../algorithms/sha3_256_hash_to_scalar.out | 23 +- .../algorithms/sha3_384_hash_to_address.out | 20 +- .../algorithms/sha3_384_hash_to_field.out | 23 +- .../algorithms/sha3_384_hash_to_group.out | 23 +- .../algorithms/sha3_384_hash_to_scalar.out | 23 +- .../algorithms/sha3_512_hash_to_address.out | 20 +- .../algorithms/sha3_512_hash_to_field.out | 23 +- .../algorithms/sha3_512_hash_to_group.out | 23 +- .../algorithms/sha3_512_hash_to_scalar.out | 23 +- .../compiler/core/constants/group_gen.out | 11 +- .../compiler/definition/out_of_order.out | 11 +- .../compiler/examples/auction.out | 38 +- .../compiler/examples/basic_bank.out | 570 +++- .../expectations/compiler/examples/board.out | 49 +- .../compiler/examples/bubblesort.out | 108 +- tests/expectations/compiler/examples/core.out | 13 +- .../compiler/examples/fibonacci.out | 233 +- .../expectations/compiler/examples/groups.out | 15 +- .../compiler/examples/helloworld.out | 12 +- .../compiler/examples/interest.out | 400 ++- .../compiler/examples/lottery.out | 31 +- .../compiler/examples/message.out | 15 +- tests/expectations/compiler/examples/move.out | 27 +- .../compiler/examples/ntzdebruijn.out | 178 +- .../compiler/examples/ntzgaudet.out | 34 +- .../compiler/examples/ntzloops.out | 171 +- .../compiler/examples/ntzmasks.out | 40 +- .../compiler/examples/ntzreisers.out | 200 +- .../compiler/examples/ntzseals.out | 336 +- .../compiler/examples/ntzsearchtree.out | 212 +- .../compiler/examples/ntzsmallvals.out | 36 +- .../compiler/examples/simple_token.out | 26 +- .../compiler/examples/tictactoe.out | 195 +- .../expectations/compiler/examples/token.out | 104 +- .../compiler/examples/twoadicity.out | 1275 +++++++- .../expectations/compiler/examples/verify.out | 76 +- tests/expectations/compiler/examples/vote.out | 98 +- .../expectations/compiler/expression/cast.out | 25 +- .../compiler/expression/cast_coersion.out | 24 +- .../compiler/expression/network_id.out | 19 +- .../compiler/expression/ternary.out | 50 +- tests/expectations/compiler/field/add.out | 14 +- tests/expectations/compiler/field/div.out | 14 +- tests/expectations/compiler/field/eq.out | 12 +- tests/expectations/compiler/field/field.out | 12 +- tests/expectations/compiler/field/mul.out | 14 +- tests/expectations/compiler/field/negate.out | 14 +- .../compiler/field/operator_methods.out | 12 +- tests/expectations/compiler/field/pow.out | 12 +- tests/expectations/compiler/field/sub.out | 14 +- tests/expectations/compiler/field/ternary.out | 16 +- .../compiler/finalize/block_height.out | 17 +- .../compiler/finalize/contains.out | 22 +- .../finalize/decrement_via_get_set.out | 24 +- .../compiler/finalize/finalize.out | 46 +- .../finalize/finalize_with_method_calls.out | 49 +- .../finalize/increment_via_get_set.out | 24 +- .../compiler/finalize/inline_in_finalize.out | 23 +- .../compiler/finalize/mapping.out | 34 +- .../only_finalize_with_flattening.out | 49 +- tests/expectations/compiler/finalize/rand.out | 16 +- .../expectations/compiler/finalize/remove.out | 26 +- .../compiler/function/basic_async.out | 21 +- .../compiler/function/conditional_return.out | 12 +- .../function/dead_code_elimination.out | 24 +- .../compiler/function/flatten_arrays.out | 63 +- .../flatten_inlined_tuples_of_structs.out | 86 +- .../compiler/function/flatten_test.out | 288 +- .../compiler/function/flatten_test_2.out | 26 +- .../function/flatten_tuples_of_structs.out | 60 +- .../function/flatten_unit_expressions.out | 16 +- .../compiler/function/function_call.out | 29 +- .../function/function_call_inline.out | 23 +- .../function/function_call_out_of_order.out | 25 +- .../function_input_else_assignment.out | 9 +- .../helper_function_with_interface.out | 21 +- .../function/inline_expr_statement.out | 26 +- .../compiler/function/inline_twice.out | 19 +- .../function/private_input_output.out | 12 +- ...ction_any_number_of_inputs_and_outputs.out | 23 +- .../function/program_function_empty_body.out | 10 +- .../function/program_function_unit_type.out | 15 +- .../function/program_function_with_mode.out | 26 +- .../function/record_in_conditional_return.out | 36 +- tests/expectations/compiler/function/self.out | 11 +- .../compiler/futures/explicit_type_simple.out | 49 +- .../compiler/futures/future_in_tuple.out | 43 +- .../expectations/compiler/futures/nested.out | 124 +- .../futures/partial_type_specification.out | 137 +- .../expectations/compiler/futures/simple.out | 47 +- tests/expectations/compiler/group/add.out | 17 +- .../expectations/compiler/group/assert_eq.out | 14 +- tests/expectations/compiler/group/eq.out | 14 +- .../expectations/compiler/group/group_mul.out | 16 +- tests/expectations/compiler/group/input.out | 14 +- tests/expectations/compiler/group/mul.out | 12 +- .../compiler/group/mult_by_scalar.out | 11 +- tests/expectations/compiler/group/negate.out | 18 +- .../compiler/group/operator_methods.out | 12 +- .../compiler/group/point_input.out | 11 +- tests/expectations/compiler/group/sub.out | 17 +- tests/expectations/compiler/group/ternary.out | 16 +- .../compiler/group/to_x_coordinate.out | 11 +- .../compiler/group/to_y_coordinate.out | 11 +- tests/expectations/compiler/group/x_and_y.out | 11 +- .../compiler/group/x_sign_high.out | 11 +- .../compiler/group/x_sign_inferred.out | 11 +- .../compiler/group/x_sign_low.out | 11 +- tests/expectations/compiler/group/zero.out | 11 +- tests/expectations/compiler/input/main.out | 11 +- .../compiler/input/main_field.out | 15 +- .../compiler/integers/i128/add.out | 14 +- .../compiler/integers/i128/and.out | 14 +- .../compiler/integers/i128/console_assert.out | 13 +- .../compiler/integers/i128/div.out | 14 +- .../compiler/integers/i128/eq.out | 14 +- .../compiler/integers/i128/ge.out | 14 +- .../compiler/integers/i128/gt.out | 14 +- .../compiler/integers/i128/hex_and_bin.out | 17 +- .../compiler/integers/i128/le.out | 14 +- .../compiler/integers/i128/lt.out | 14 +- .../compiler/integers/i128/max.out | 11 +- .../compiler/integers/i128/min.out | 11 +- .../compiler/integers/i128/min_fail.out | 11 +- .../compiler/integers/i128/mul.out | 14 +- .../compiler/integers/i128/ne.out | 14 +- .../compiler/integers/i128/negate.out | 13 +- .../integers/i128/negate_min_fail.out | 11 +- .../compiler/integers/i128/negate_zero.out | 13 +- .../integers/i128/operator_methods.out | 12 +- .../compiler/integers/i128/or.out | 14 +- .../compiler/integers/i128/pow.out | 18 +- .../compiler/integers/i128/rem.out | 14 +- .../compiler/integers/i128/shl.out | 18 +- .../compiler/integers/i128/shr.out | 18 +- .../compiler/integers/i128/sub.out | 14 +- .../compiler/integers/i128/ternary.out | 15 +- .../compiler/integers/i128/xor.out | 12 +- .../compiler/integers/i16/add.out | 14 +- .../compiler/integers/i16/and.out | 14 +- .../compiler/integers/i16/console_assert.out | 13 +- .../compiler/integers/i16/div.out | 14 +- .../expectations/compiler/integers/i16/eq.out | 14 +- .../expectations/compiler/integers/i16/ge.out | 14 +- .../expectations/compiler/integers/i16/gt.out | 14 +- .../compiler/integers/i16/hex_and_bin.out | 17 +- .../expectations/compiler/integers/i16/le.out | 14 +- .../expectations/compiler/integers/i16/lt.out | 14 +- .../compiler/integers/i16/max.out | 11 +- .../compiler/integers/i16/min.out | 11 +- .../compiler/integers/i16/min_fail.out | 11 +- .../compiler/integers/i16/mul.out | 14 +- .../expectations/compiler/integers/i16/ne.out | 14 +- .../compiler/integers/i16/negate.out | 13 +- .../compiler/integers/i16/negate_min_fail.out | 11 +- .../compiler/integers/i16/negate_zero.out | 13 +- .../integers/i16/operator_methods.out | 12 +- .../expectations/compiler/integers/i16/or.out | 14 +- .../compiler/integers/i16/pow.out | 18 +- .../compiler/integers/i16/rem.out | 14 +- .../compiler/integers/i16/shl.out | 18 +- .../compiler/integers/i16/shr.out | 18 +- .../compiler/integers/i16/sub.out | 14 +- .../compiler/integers/i16/ternary.out | 15 +- .../compiler/integers/i16/xor.out | 12 +- .../compiler/integers/i32/add.out | 14 +- .../compiler/integers/i32/and.out | 14 +- .../compiler/integers/i32/console_assert.out | 13 +- .../compiler/integers/i32/div.out | 14 +- .../expectations/compiler/integers/i32/eq.out | 14 +- .../expectations/compiler/integers/i32/ge.out | 14 +- .../expectations/compiler/integers/i32/gt.out | 14 +- .../compiler/integers/i32/hex_and_bin.out | 17 +- .../expectations/compiler/integers/i32/le.out | 14 +- .../expectations/compiler/integers/i32/lt.out | 14 +- .../compiler/integers/i32/max.out | 11 +- .../compiler/integers/i32/min.out | 11 +- .../compiler/integers/i32/min_fail.out | 11 +- .../compiler/integers/i32/mul.out | 14 +- .../expectations/compiler/integers/i32/ne.out | 14 +- .../compiler/integers/i32/negate.out | 13 +- .../compiler/integers/i32/negate_min_fail.out | 11 +- .../compiler/integers/i32/negate_zero.out | 13 +- .../integers/i32/operator_methods.out | 12 +- .../expectations/compiler/integers/i32/or.out | 14 +- .../compiler/integers/i32/pow.out | 18 +- .../compiler/integers/i32/rem.out | 14 +- .../compiler/integers/i32/shl.out | 18 +- .../compiler/integers/i32/shr.out | 18 +- .../compiler/integers/i32/sub.out | 14 +- .../compiler/integers/i32/ternary.out | 15 +- .../compiler/integers/i32/xor.out | 12 +- .../compiler/integers/i64/add.out | 14 +- .../compiler/integers/i64/and.out | 14 +- .../compiler/integers/i64/console_assert.out | 13 +- .../compiler/integers/i64/div.out | 14 +- .../expectations/compiler/integers/i64/eq.out | 14 +- .../expectations/compiler/integers/i64/ge.out | 14 +- .../expectations/compiler/integers/i64/gt.out | 14 +- .../compiler/integers/i64/hex_and_bin.out | 17 +- .../expectations/compiler/integers/i64/le.out | 14 +- .../expectations/compiler/integers/i64/lt.out | 14 +- .../compiler/integers/i64/max.out | 11 +- .../compiler/integers/i64/min.out | 11 +- .../compiler/integers/i64/min_fail.out | 11 +- .../compiler/integers/i64/mul.out | 14 +- .../expectations/compiler/integers/i64/ne.out | 14 +- .../compiler/integers/i64/negate.out | 13 +- .../compiler/integers/i64/negate_min_fail.out | 11 +- .../compiler/integers/i64/negate_zero.out | 13 +- .../integers/i64/operator_methods.out | 12 +- .../expectations/compiler/integers/i64/or.out | 14 +- .../compiler/integers/i64/pow.out | 18 +- .../compiler/integers/i64/rem.out | 14 +- .../compiler/integers/i64/shl.out | 18 +- .../compiler/integers/i64/shr.out | 18 +- .../compiler/integers/i64/sub.out | 14 +- .../compiler/integers/i64/ternary.out | 15 +- .../compiler/integers/i64/xor.out | 12 +- .../expectations/compiler/integers/i8/add.out | 17 +- .../expectations/compiler/integers/i8/and.out | 14 +- .../compiler/integers/i8/console_assert.out | 13 +- .../expectations/compiler/integers/i8/div.out | 14 +- .../expectations/compiler/integers/i8/eq.out | 14 +- .../expectations/compiler/integers/i8/ge.out | 14 +- .../expectations/compiler/integers/i8/gt.out | 14 +- .../compiler/integers/i8/hex_and_bin.out | 17 +- .../expectations/compiler/integers/i8/le.out | 14 +- .../expectations/compiler/integers/i8/lt.out | 14 +- .../expectations/compiler/integers/i8/max.out | 11 +- .../expectations/compiler/integers/i8/min.out | 11 +- .../compiler/integers/i8/min_fail.out | 11 +- .../expectations/compiler/integers/i8/mul.out | 14 +- .../expectations/compiler/integers/i8/ne.out | 14 +- .../compiler/integers/i8/negate.out | 13 +- .../compiler/integers/i8/negate_min_fail.out | 11 +- .../compiler/integers/i8/negate_zero.out | 13 +- .../compiler/integers/i8/operator_methods.out | 12 +- .../expectations/compiler/integers/i8/or.out | 14 +- .../expectations/compiler/integers/i8/pow.out | 18 +- .../expectations/compiler/integers/i8/rem.out | 14 +- .../expectations/compiler/integers/i8/shl.out | 18 +- .../expectations/compiler/integers/i8/shr.out | 18 +- .../expectations/compiler/integers/i8/sub.out | 14 +- .../compiler/integers/i8/ternary.out | 15 +- .../expectations/compiler/integers/i8/xor.out | 12 +- .../compiler/integers/u128/add.out | 14 +- .../compiler/integers/u128/and.out | 14 +- .../compiler/integers/u128/console_assert.out | 13 +- .../compiler/integers/u128/div.out | 14 +- .../compiler/integers/u128/eq.out | 14 +- .../compiler/integers/u128/ge.out | 14 +- .../compiler/integers/u128/gt.out | 14 +- .../compiler/integers/u128/hex_and_bin.out | 17 +- .../compiler/integers/u128/le.out | 14 +- .../compiler/integers/u128/lt.out | 14 +- .../compiler/integers/u128/max.out | 11 +- .../compiler/integers/u128/min.out | 11 +- .../compiler/integers/u128/mul.out | 14 +- .../compiler/integers/u128/ne.out | 14 +- .../integers/u128/operator_methods.out | 12 +- .../compiler/integers/u128/or.out | 14 +- .../compiler/integers/u128/pow.out | 18 +- .../compiler/integers/u128/rem.out | 14 +- .../compiler/integers/u128/shl.out | 18 +- .../compiler/integers/u128/shr.out | 18 +- .../compiler/integers/u128/sub.out | 14 +- .../compiler/integers/u128/ternary.out | 15 +- .../compiler/integers/u128/xor.out | 12 +- .../compiler/integers/u16/add.out | 14 +- .../compiler/integers/u16/and.out | 14 +- .../compiler/integers/u16/console_assert.out | 13 +- .../compiler/integers/u16/div.out | 14 +- .../expectations/compiler/integers/u16/eq.out | 14 +- .../expectations/compiler/integers/u16/ge.out | 14 +- .../expectations/compiler/integers/u16/gt.out | 14 +- .../compiler/integers/u16/hex_and_bin.out | 17 +- .../expectations/compiler/integers/u16/le.out | 14 +- .../expectations/compiler/integers/u16/lt.out | 14 +- .../compiler/integers/u16/max.out | 11 +- .../compiler/integers/u16/min.out | 11 +- .../compiler/integers/u16/mul.out | 14 +- .../expectations/compiler/integers/u16/ne.out | 14 +- .../integers/u16/operator_methods.out | 12 +- .../expectations/compiler/integers/u16/or.out | 14 +- .../compiler/integers/u16/pow.out | 18 +- .../compiler/integers/u16/rem.out | 14 +- .../compiler/integers/u16/shl.out | 18 +- .../compiler/integers/u16/shr.out | 18 +- .../compiler/integers/u16/sub.out | 14 +- .../compiler/integers/u16/ternary.out | 15 +- .../compiler/integers/u16/xor.out | 12 +- .../compiler/integers/u32/add.out | 14 +- .../compiler/integers/u32/and.out | 14 +- .../compiler/integers/u32/console_assert.out | 13 +- .../compiler/integers/u32/div.out | 14 +- .../expectations/compiler/integers/u32/eq.out | 14 +- .../expectations/compiler/integers/u32/ge.out | 14 +- .../expectations/compiler/integers/u32/gt.out | 14 +- .../compiler/integers/u32/hex_and_bin.out | 17 +- .../expectations/compiler/integers/u32/le.out | 14 +- .../expectations/compiler/integers/u32/lt.out | 14 +- .../compiler/integers/u32/max.out | 11 +- .../compiler/integers/u32/min.out | 11 +- .../compiler/integers/u32/mul.out | 14 +- .../expectations/compiler/integers/u32/ne.out | 14 +- .../integers/u32/operator_methods.out | 12 +- .../expectations/compiler/integers/u32/or.out | 14 +- .../compiler/integers/u32/pow.out | 18 +- .../compiler/integers/u32/rem.out | 14 +- .../compiler/integers/u32/shl.out | 18 +- .../compiler/integers/u32/shr.out | 18 +- .../compiler/integers/u32/sub.out | 14 +- .../compiler/integers/u32/ternary.out | 15 +- .../compiler/integers/u32/xor.out | 12 +- .../compiler/integers/u64/add.out | 14 +- .../compiler/integers/u64/and.out | 14 +- .../compiler/integers/u64/console_assert.out | 13 +- .../compiler/integers/u64/div.out | 14 +- .../expectations/compiler/integers/u64/eq.out | 14 +- .../expectations/compiler/integers/u64/ge.out | 14 +- .../expectations/compiler/integers/u64/gt.out | 14 +- .../compiler/integers/u64/hex_and_bin.out | 17 +- .../expectations/compiler/integers/u64/le.out | 14 +- .../expectations/compiler/integers/u64/lt.out | 14 +- .../compiler/integers/u64/max.out | 11 +- .../compiler/integers/u64/min.out | 11 +- .../compiler/integers/u64/mul.out | 14 +- .../expectations/compiler/integers/u64/ne.out | 14 +- .../integers/u64/operator_methods.out | 12 +- .../expectations/compiler/integers/u64/or.out | 14 +- .../compiler/integers/u64/pow.out | 18 +- .../compiler/integers/u64/rem.out | 14 +- .../compiler/integers/u64/shl.out | 18 +- .../compiler/integers/u64/shr.out | 18 +- .../compiler/integers/u64/sub.out | 14 +- .../compiler/integers/u64/ternary.out | 15 +- .../compiler/integers/u64/xor.out | 12 +- .../expectations/compiler/integers/u8/add.out | 14 +- .../expectations/compiler/integers/u8/and.out | 14 +- .../compiler/integers/u8/console_assert.out | 13 +- .../expectations/compiler/integers/u8/div.out | 14 +- .../expectations/compiler/integers/u8/eq.out | 14 +- .../expectations/compiler/integers/u8/ge.out | 14 +- .../expectations/compiler/integers/u8/gt.out | 14 +- .../compiler/integers/u8/hex_and_bin.out | 17 +- .../expectations/compiler/integers/u8/le.out | 14 +- .../expectations/compiler/integers/u8/lt.out | 14 +- .../expectations/compiler/integers/u8/max.out | 11 +- .../expectations/compiler/integers/u8/min.out | 11 +- .../expectations/compiler/integers/u8/mul.out | 14 +- .../expectations/compiler/integers/u8/ne.out | 14 +- .../compiler/integers/u8/operator_methods.out | 12 +- .../expectations/compiler/integers/u8/or.out | 14 +- .../expectations/compiler/integers/u8/pow.out | 18 +- .../expectations/compiler/integers/u8/rem.out | 14 +- .../expectations/compiler/integers/u8/shl.out | 18 +- .../expectations/compiler/integers/u8/shr.out | 18 +- .../expectations/compiler/integers/u8/sub.out | 14 +- .../compiler/integers/u8/ternary.out | 15 +- .../expectations/compiler/integers/u8/xor.out | 12 +- .../compiler/mappings/max_mappings.out | 164 +- .../mappings/read_external_mapping.out | 76 +- .../compiler/records/balance_wrong_ty.out | 12 +- .../compiler/records/declaration.out | 12 +- .../records/external_nested_record.out | 31 +- .../compiler/records/gates_is_allowed.out | 16 +- .../compiler/records/init_expression.out | 21 +- .../records/init_expression_shorthand.out | 21 +- .../compiler/records/nested_record.out | 26 +- .../records/nested_record_as_function_io.out | 41 +- .../record_declaration_out_of_order.out | 16 +- .../records/record_init_out_of_order.out | 16 +- .../records/record_with_visibility.out | 17 +- .../compiler/return/ifelse_chain.out | 31 +- tests/expectations/compiler/scalar/add.out | 14 +- tests/expectations/compiler/scalar/cmp.out | 12 +- tests/expectations/compiler/scalar/eq.out | 12 +- .../compiler/scalar/operator_methods.out | 12 +- tests/expectations/compiler/scalar/scalar.out | 12 +- .../expectations/compiler/scalar/ternary.out | 16 +- .../compiler/signature/signature.out | 34 +- .../compiler/statements/assign.out | 16 +- .../compiler/statements/block.out | 12 +- .../compiler/statements/chain.out | 15 +- .../compiler/statements/expr_statement.out | 19 +- .../compiler/statements/iteration_basic.out | 14 +- .../compiler/statements/iteration_nested.out | 14 +- .../compiler/statements/multiple_returns.out | 12 +- .../compiler/statements/mutate.out | 16 +- .../statements/operations/add_assign.out | 11 +- .../statements/operations/and_assign.out | 11 +- .../statements/operations/bitand_assign.out | 11 +- .../statements/operations/bitor_assign.out | 11 +- .../statements/operations/bitxor_assign.out | 11 +- .../statements/operations/div_assign.out | 11 +- .../statements/operations/mul_assign.out | 11 +- .../statements/operations/or_assign.out | 11 +- .../statements/operations/pow_assign.out | 27 +- .../statements/operations/rem_assign.out | 11 +- .../statements/operations/shl_assign.out | 27 +- .../statements/operations/shr_assign.out | 27 +- .../statements/operations/sub_assign.out | 11 +- .../ternary_explicit_and_implicit.out | 12 +- .../statements/underscore_for_loop.out | 10 +- .../compiler/structs/external_record.out | 56 +- .../compiler/structs/external_struct.out | 134 +- .../external_struct_in_async_function.out | 33 +- .../expectations/compiler/structs/inline.out | 13 +- .../compiler/structs/member_variable.out | 15 +- .../structs/redefine_external_struct.out | 64 +- .../struct_declaration_out_of_order.out | 42 +- .../structs/struct_init_out_of_order.out | 23 +- .../tuple/function_call_returns_tuple.out | 30 +- .../compiler/tuple/function_early_return.out | 17 +- .../compiler/tuple/function_return.out | 14 +- .../tuple/function_return_nothing.out | 10 +- .../compiler/tuple/function_return_unit.out | 10 +- .../tuple/function_return_varying_modes.out | 14 +- .../tuple/return_with_different_modes.out | 14 +- .../compiler/tuple/tuple_access.out | 12 +- .../compiler/tuple/tuple_destructure.out | 23 +- .../compiler/tuple/tuple_in_assignment.out | 12 +- .../compiler/tuple/tuple_in_definition.out | 10 +- .../compiler/tuple/tuple_in_loop.out | 93 +- tests/expectations/compiler/tuple/unit.out | 47 +- tests/expectations/execution/array_sum.out | 22 +- .../execution/assert_early_return.out | 14 +- .../expectations/execution/cast_coersion.out | 24 +- tests/expectations/execution/chain.out | 15 +- .../execution/complex_finalization.out | 140 +- .../execution/cond_exec_in_finalize.out | 26 +- tests/expectations/execution/counter.out | 49 +- tests/expectations/execution/eq.out | 13 +- .../flattened_function_and_inline_matches.out | 149 +- .../execution/group_operations.out | 19 +- tests/expectations/execution/metadata.out | 29 +- tests/expectations/execution/mint.out | 16 +- .../execution/primitive_casts.out | 509 ++- 687 files changed, 20336 insertions(+), 716 deletions(-) diff --git a/compiler/compiler/tests/compile.rs b/compiler/compiler/tests/compile.rs index 0fd85c6939..6550dc0b1b 100644 --- a/compiler/compiler/tests/compile.rs +++ b/compiler/compiler/tests/compile.rs @@ -23,7 +23,6 @@ use utilities::{ get_build_options, get_cwd_option, hash_asts, - hash_content, hash_symbol_tables, parse_program, }; @@ -169,7 +168,7 @@ fn run_test(test: Test, handler: &Handler, buf: &BufferEmitter) -> Result Result compiler-test:17:5 | @@ -24,6 +93,53 @@ Warning [WTYC0372000]: Not all paths through the function await all futures. 2/4 | ^ | = Ex: `f.await()` to await a future. Remove this warning by including the `--disable-conditional-branch-type-checking` flag.""" }, - { initial_symbol_table = "11d73259b527776fa2019508fa961ca24850cc2bd0fbbcebfb7310c565289560", type_checked_symbol_table = "fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d", unrolled_symbol_table = "fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d", initial_ast = "05de2b0dcfd85ec6446f4507492e26b2093e771f44c497f92a24d6fff5e8c864", unrolled_ast = "4f09dae0678393afc3cbc5592159df83ca22b947084d3c8e779281724d07a2ca", ssa_ast = "0cb5c531ad471909089716ef6c7382fb3fcbb82dafb6edef541e4f7cff4fb8ba", flattened_ast = "46d54d4d9fe36538d34ac306780262ee1f54a6141aa2281ef7ae74ffcf4dddcf", destructured_ast = "88653b95656b6f56872d7ea452491322e4c122909879b72856b891c474aa8342", inlined_ast = "0f81029815dec13a526530eeea0e92e6eb61313421ce5a7b46ed3739d62beaf6", dce_ast = "6b852bcf601b323678eea14e096f49c72f8800d18ec811b00c31817daf630d63", bytecode = "7a2fd5581e13d3b66f1fad269ba868cf6d272929b84cea2dc1cb6a0af22867c2", errors = "", warnings = "" }, - { initial_symbol_table = "04a3a0ccbf4ed061d19da4e624725caff0e64ac838498cbd09df865f4f9044f2", type_checked_symbol_table = "69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027", unrolled_symbol_table = "69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027", initial_ast = "bf4f5dac2e3cac6f6c8b117a93b7bc9a4b9d31f66b3b0d946866da23003e6a69", unrolled_ast = "a1786c230d46f3b207f118aaaaea373cd1d9935aa7e63b99e403a8faf36df2fe", ssa_ast = "82581ca24afcd79d3e3c1346009981d4a9d3d227afc0540707b6c315ecdce107", flattened_ast = "2ff2d69c6199a5c70a8ffb96d8dc0529f6f1fbf631a1f690169d2d9162e91689", destructured_ast = "8da4c7c91fabf5edb6768e616f223e574b3415c848321f66ad9e587b76259210", inlined_ast = "a740025e070d37bd22f264e37dfd6802eb9e1b10c12c928a08acd14fbe9043d6", dce_ast = "e127a5223a49f123398009b927e96ebb44f266df7271feb7b1ff5f7f748e6ff5", bytecode = "388c60022d4ad4fac382a685cc997c84d142f4e1357eb7c00e3efb545f5f70e5", errors = "", warnings = "" }, + { initial_symbol_table = "11d73259b527776fa2019508fa961ca24850cc2bd0fbbcebfb7310c565289560", type_checked_symbol_table = "fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d", unrolled_symbol_table = "fb91e05612819b16dc6a1fb37cd80f776918dc1f502feca4d9428f42dc21754d", initial_ast = "05de2b0dcfd85ec6446f4507492e26b2093e771f44c497f92a24d6fff5e8c864", unrolled_ast = "4f09dae0678393afc3cbc5592159df83ca22b947084d3c8e779281724d07a2ca", ssa_ast = "0cb5c531ad471909089716ef6c7382fb3fcbb82dafb6edef541e4f7cff4fb8ba", flattened_ast = "46d54d4d9fe36538d34ac306780262ee1f54a6141aa2281ef7ae74ffcf4dddcf", destructured_ast = "88653b95656b6f56872d7ea452491322e4c122909879b72856b891c474aa8342", inlined_ast = "0f81029815dec13a526530eeea0e92e6eb61313421ce5a7b46ed3739d62beaf6", dce_ast = "6b852bcf601b323678eea14e096f49c72f8800d18ec811b00c31817daf630d63", bytecode = """ +import test_dep.aleo; +import test.aleo; +program wrapper.aleo; + + + + +function main: + input r0 as u32.public; + input r1 as u32.private; + call test.aleo/main 1u32 into r2 r3; + call test.aleo/main 1u32 into r4 r5; + call test.aleo/main 1u32 into r6 r7; + async main r3 r5 r7 into r8; + output r2 as u32.private; + output r8 as wrapper.aleo/main.future; + +finalize main: + input r0 as test.aleo/main.future; + input r1 as test.aleo/main.future; + input r2 as test.aleo/main.future; + await r0; + await r1; + await r2; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "04a3a0ccbf4ed061d19da4e624725caff0e64ac838498cbd09df865f4f9044f2", type_checked_symbol_table = "69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027", unrolled_symbol_table = "69550e476553614e01dd39df0b3a8f682556cdf76982503af0e6a77d4916e027", initial_ast = "bf4f5dac2e3cac6f6c8b117a93b7bc9a4b9d31f66b3b0d946866da23003e6a69", unrolled_ast = "a1786c230d46f3b207f118aaaaea373cd1d9935aa7e63b99e403a8faf36df2fe", ssa_ast = "82581ca24afcd79d3e3c1346009981d4a9d3d227afc0540707b6c315ecdce107", flattened_ast = "2ff2d69c6199a5c70a8ffb96d8dc0529f6f1fbf631a1f690169d2d9162e91689", destructured_ast = "8da4c7c91fabf5edb6768e616f223e574b3415c848321f66ad9e587b76259210", inlined_ast = "a740025e070d37bd22f264e37dfd6802eb9e1b10c12c928a08acd14fbe9043d6", dce_ast = "e127a5223a49f123398009b927e96ebb44f266df7271feb7b1ff5f7f748e6ff5", bytecode = """ +import test_dep.aleo; +import test.aleo; +import wrapper.aleo; +program big_wrapper.aleo; + + + + +function main: + input r0 as u32.public; + input r1 as u32.private; + call wrapper.aleo/main 10u32 10u32 into r2 r3; + async main r3 into r4; + output r4[0u32][0u32][0u32][0u32] as u32.private; + output r4 as big_wrapper.aleo/main.future; + +finalize main: + input r0 as wrapper.aleo/main.future; + await r0; + +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/futures/partial_type_specification.out b/tests/expectations/compiler/futures/partial_type_specification.out index f5521b2083..e32686f873 100644 --- a/tests/expectations/compiler/futures/partial_type_specification.out +++ b/tests/expectations/compiler/futures/partial_type_specification.out @@ -1,8 +1,90 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "c3d0ea026b5d60b48e857637a67489b89de75466d257974347c164546b9b9660", type_checked_symbol_table = "ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3", unrolled_symbol_table = "ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3", initial_ast = "6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d", unrolled_ast = "6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d", ssa_ast = "d898f89ce1fbcd93694c06446e31d5ab52ace6fd966c7dd35e082dead74440c7", flattened_ast = "3f8304d2444d4e4132549ae4b530997040c0978d09fc8986bf67a3eba1538e99", destructured_ast = "55c36655c56d82657c07cd352bc12762b12f41a00ca7e8cbf039a4d4d8d6e264", inlined_ast = "b7dda92d9f46b0646ce43f38625e29da41f0273f87990fc0e153cfe61e992523", dce_ast = "638d72b2d6010f5a2a7d699fb69b1a056faae9a878b3c37f2b34e8f41fad5176", bytecode = "d207ac4b2d723295d2e715b2ea29f26bf8adcddbe41b4d5a036b69998a0ecfd6", errors = "", warnings = "" }, - { initial_symbol_table = "1a537ce4873945cd8969e08fd2440d3d9dbf4175306e7a60a18f59305958366e", type_checked_symbol_table = "3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5", unrolled_symbol_table = "3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5", initial_ast = "bcfa98eafaf355e7313773fa4340b88d2530e3d2b279252fc1117327de42d77a", unrolled_ast = "01a9f5e11f5749b408619a513bf7f9eececfd83f9f87c883fcd8db53440babab", ssa_ast = "b6da9c41019a2af6cd137e29fe7b5041cc13a45d574b920101a69f7093c58980", flattened_ast = "7bddc7f16b5ef5baef1fc50ac2f45767844d05fc0de797d267c77306bc586dc5", destructured_ast = "df2c950dd52d4094ef1f2d364aa6dd57020f7ca431ead915353c2c33482ee05d", inlined_ast = "7dd0bb6eee84d038c01e43a8c7fdfd38ec3cbb269bf4990078a49e5202fe177e", dce_ast = "4378a2b09abc850959d98704efb7ec28bd6ad7962cc4ec761e26e57400cec8a0", bytecode = "10ad760ad5a7c1882aca46c034e78125cc5cb06a57163ca694a3cb568be4fff9", errors = "", warnings = """ + { initial_symbol_table = "c3d0ea026b5d60b48e857637a67489b89de75466d257974347c164546b9b9660", type_checked_symbol_table = "ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3", unrolled_symbol_table = "ae06cab6240fce0da07873fbf8159dc2acade6e666375b1c52dc586a98a0f8a3", initial_ast = "6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d", unrolled_ast = "6e3dc0ac11741965498701cb2b5ebb68eecb1e932b9f6d84aca33350b91f6e2d", ssa_ast = "d898f89ce1fbcd93694c06446e31d5ab52ace6fd966c7dd35e082dead74440c7", flattened_ast = "3f8304d2444d4e4132549ae4b530997040c0978d09fc8986bf67a3eba1538e99", destructured_ast = "55c36655c56d82657c07cd352bc12762b12f41a00ca7e8cbf039a4d4d8d6e264", inlined_ast = "b7dda92d9f46b0646ce43f38625e29da41f0273f87990fc0e153cfe61e992523", dce_ast = "638d72b2d6010f5a2a7d699fb69b1a056faae9a878b3c37f2b34e8f41fad5176", bytecode = """ +program test_dep.aleo; + +record yeets: + owner as address.private; + val as u32.private; + + +mapping Yo: +\tkey as u32.public; +\tvalue as u32.public; + + +function main_dep: + input r0 as u32.private; + async main_dep r0 1u32 into r1; + cast self.caller 1u32 into r2 as yeets.record; + output r2 as yeets.record; + output r1 as test_dep.aleo/main_dep.future; + +finalize main_dep: + input r0 as u32.public; + input r1 as u32.public; + set r1 into Yo[r0]; + + + + +function main_dep_2: + input r0 as u32.private; + async main_dep_2 into r1; + cast self.caller 1u32 into r2 as yeets.record; + output r2 as yeets.record; + output r1 as test_dep.aleo/main_dep_2.future; + +finalize main_dep_2: + set 1u32 into Yo[1u32]; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "1a537ce4873945cd8969e08fd2440d3d9dbf4175306e7a60a18f59305958366e", type_checked_symbol_table = "3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5", unrolled_symbol_table = "3c670b67da9da6028e642d487a1382f3de1b554c8c0d51fc531b71e36b5cdef5", initial_ast = "bcfa98eafaf355e7313773fa4340b88d2530e3d2b279252fc1117327de42d77a", unrolled_ast = "01a9f5e11f5749b408619a513bf7f9eececfd83f9f87c883fcd8db53440babab", ssa_ast = "b6da9c41019a2af6cd137e29fe7b5041cc13a45d574b920101a69f7093c58980", flattened_ast = "7bddc7f16b5ef5baef1fc50ac2f45767844d05fc0de797d267c77306bc586dc5", destructured_ast = "df2c950dd52d4094ef1f2d364aa6dd57020f7ca431ead915353c2c33482ee05d", inlined_ast = "7dd0bb6eee84d038c01e43a8c7fdfd38ec3cbb269bf4990078a49e5202fe177e", dce_ast = "4378a2b09abc850959d98704efb7ec28bd6ad7962cc4ec761e26e57400cec8a0", bytecode = """ +import test_dep.aleo; +program test.aleo; + + + +mapping ayo: +\tkey as u32.public; +\tvalue as u32.public; + + +function main: + input r0 as u32.private; + call test_dep.aleo/main_dep 10u32 into r1 r2; + call test_dep.aleo/main_dep 1u32 into r3 r4; + async main r2 r4 1u32 into r5; + add r2[0u32] r4[0u32] into r6; + add r6 1u32 into r7; + add r7 r2[0u32] into r8; + mul r2[0u32] 2u32 into r9; + add r8 r9 into r10; + output r10 as u32.private; + output r5 as test.aleo/main.future; + +finalize main: + input r0 as test_dep.aleo/main_dep.future; + input r1 as test_dep.aleo/main_dep.future; + input r2 as u32.public; + is.eq r2 1u32 into r3; + branch.eq r3 false to end_then_0_0; + await r0; + await r1; + branch.eq true true to end_otherwise_0_1; + position end_then_0_0; + position end_otherwise_0_1; + is.eq r2 2u32 into r4; + branch.eq r4 false to end_then_0_2; + set 1u32 into ayo[1u32]; + branch.eq true true to end_otherwise_0_3; + position end_then_0_2; + position end_otherwise_0_3; + add r0[0u32] r1[0u32] into r5; + set r5 into ayo[1u32]; + +""", errors = "", warnings = """ Warning [WTYC0372000]: Not all paths through the function await all futures. 2/4 paths contain at least one future that is never awaited. --> compiler-test:17:5 | @@ -24,6 +106,53 @@ Warning [WTYC0372000]: Not all paths through the function await all futures. 2/4 | ^ | = Ex: `f.await()` to await a future. Remove this warning by including the `--disable-conditional-branch-type-checking` flag.""" }, - { initial_symbol_table = "04f7d3a44d791763aec79b596224c653e682ab928bc0cba71a1cd6282198e885", type_checked_symbol_table = "d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e", unrolled_symbol_table = "d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e", initial_ast = "856e56d95eaf14f6e9241001763546b7d982402ac87521e2ec3b7ea476764692", unrolled_ast = "75b69748ca1e534c95cf084164773d471f51537b50b2d517dc4be26dddb06e1b", ssa_ast = "6d38bf225e9cf5af37b9d6c595c2973ec31a32d227ca65cb590d27400d442780", flattened_ast = "65fb4138701cad86a5fcd7e024645e833aeb6e88b3ea2a3a6b69269fd1d77620", destructured_ast = "85a81c23da7e97b057ddf4ef71f375781e1dfcb90d656d694a5aa0f0c176b497", inlined_ast = "a1b2367575e170a79ace2ac7ff071bc3c770476b37ee149310c3b2cfe67b1c7f", dce_ast = "f46fa7963b327b9c75c9f7a7569e350d7f62c21964cb5df140cd2186c2043697", bytecode = "7a2fd5581e13d3b66f1fad269ba868cf6d272929b84cea2dc1cb6a0af22867c2", errors = "", warnings = "" }, - { initial_symbol_table = "11c1000ce2f1774ad382af12ba51e8b55d5a98ee0da67cb8620e686c1fcaebb1", type_checked_symbol_table = "9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab", unrolled_symbol_table = "9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab", initial_ast = "575e251f07e552c917ab36bc9877b13dd1638651c4023ade20701dd2a5fe27ff", unrolled_ast = "2a4969ad315e900b5a3f1eecd4e6508dc6946fb5f6c3861ee793961ce6bcc203", ssa_ast = "4a00e3d36cdd4ff4be1fc6a389aaf17cfb02b6c54fa84276fb5be66b8a78b124", flattened_ast = "885c5f8145aa1a82e5fe41abbabae12cbd15eb014b333b246c6c5401b5b6bfea", destructured_ast = "f3b5b961a498f9befec85b69b3012145a6e97774d37a8c8e354ec4e5eeb64f84", inlined_ast = "2bf37fc499b3eca18c8227e61f69f730d36e755d7879dde13bb9161936bafbfc", dce_ast = "390391c2098cf6a910eeec98fc92fdea31303a84a1d6fd6673c8dbd9d20180de", bytecode = "388c60022d4ad4fac382a685cc997c84d142f4e1357eb7c00e3efb545f5f70e5", errors = "", warnings = "" }, + { initial_symbol_table = "04f7d3a44d791763aec79b596224c653e682ab928bc0cba71a1cd6282198e885", type_checked_symbol_table = "d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e", unrolled_symbol_table = "d9d3363d1049a924bbae356d0f90ac3c9bfca7f6ae5ba51ad915d66e9d0b9a1e", initial_ast = "856e56d95eaf14f6e9241001763546b7d982402ac87521e2ec3b7ea476764692", unrolled_ast = "75b69748ca1e534c95cf084164773d471f51537b50b2d517dc4be26dddb06e1b", ssa_ast = "6d38bf225e9cf5af37b9d6c595c2973ec31a32d227ca65cb590d27400d442780", flattened_ast = "65fb4138701cad86a5fcd7e024645e833aeb6e88b3ea2a3a6b69269fd1d77620", destructured_ast = "85a81c23da7e97b057ddf4ef71f375781e1dfcb90d656d694a5aa0f0c176b497", inlined_ast = "a1b2367575e170a79ace2ac7ff071bc3c770476b37ee149310c3b2cfe67b1c7f", dce_ast = "f46fa7963b327b9c75c9f7a7569e350d7f62c21964cb5df140cd2186c2043697", bytecode = """ +import test_dep.aleo; +import test.aleo; +program wrapper.aleo; + + + + +function main: + input r0 as u32.public; + input r1 as u32.private; + call test.aleo/main 1u32 into r2 r3; + call test.aleo/main 1u32 into r4 r5; + call test.aleo/main 1u32 into r6 r7; + async main r3 r5 r7 into r8; + output r2 as u32.private; + output r8 as wrapper.aleo/main.future; + +finalize main: + input r0 as test.aleo/main.future; + input r1 as test.aleo/main.future; + input r2 as test.aleo/main.future; + await r0; + await r1; + await r2; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "11c1000ce2f1774ad382af12ba51e8b55d5a98ee0da67cb8620e686c1fcaebb1", type_checked_symbol_table = "9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab", unrolled_symbol_table = "9f27eb3f177ceb81d9b14cc85c07b7198eb67d0ee806c04cbbff1cfb18b997ab", initial_ast = "575e251f07e552c917ab36bc9877b13dd1638651c4023ade20701dd2a5fe27ff", unrolled_ast = "2a4969ad315e900b5a3f1eecd4e6508dc6946fb5f6c3861ee793961ce6bcc203", ssa_ast = "4a00e3d36cdd4ff4be1fc6a389aaf17cfb02b6c54fa84276fb5be66b8a78b124", flattened_ast = "885c5f8145aa1a82e5fe41abbabae12cbd15eb014b333b246c6c5401b5b6bfea", destructured_ast = "f3b5b961a498f9befec85b69b3012145a6e97774d37a8c8e354ec4e5eeb64f84", inlined_ast = "2bf37fc499b3eca18c8227e61f69f730d36e755d7879dde13bb9161936bafbfc", dce_ast = "390391c2098cf6a910eeec98fc92fdea31303a84a1d6fd6673c8dbd9d20180de", bytecode = """ +import test_dep.aleo; +import test.aleo; +import wrapper.aleo; +program big_wrapper.aleo; + + + + +function main: + input r0 as u32.public; + input r1 as u32.private; + call wrapper.aleo/main 10u32 10u32 into r2 r3; + async main r3 into r4; + output r4[0u32][0u32][0u32][0u32] as u32.private; + output r4 as big_wrapper.aleo/main.future; + +finalize main: + input r0 as wrapper.aleo/main.future; + await r0; + +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/futures/simple.out b/tests/expectations/compiler/futures/simple.out index acbe95cfcc..915da3f979 100644 --- a/tests/expectations/compiler/futures/simple.out +++ b/tests/expectations/compiler/futures/simple.out @@ -1,6 +1,49 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "116d58ba03f7a7d97eed6581380790a8f53f04bae1ba88b75602f860ec303795", type_checked_symbol_table = "9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b", unrolled_symbol_table = "9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b", initial_ast = "0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc", unrolled_ast = "0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc", ssa_ast = "2a1a92101ca526d604626f5ba6c0e4d032877119538e3f1f11a184d7e1c9820e", flattened_ast = "16987d115d2346155c394f964ddc7ad81d13c9f825a0e4e206c46bb7b3c3250f", destructured_ast = "e237c687b23978180a04086c93fd6e894743e0bf2a95d4de408b0e4d2ecfc636", inlined_ast = "479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04", dce_ast = "479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04", bytecode = "7e95d1c0ff9c0edfb2081fe98cc11fb567b41a1c5c586688a2586aed8629b3be", errors = "", warnings = "" }, - { initial_symbol_table = "e68fd2fbfc3ff3832375c1c2df1e6a67787480498938fc77e766ca07ae751992", type_checked_symbol_table = "a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43", unrolled_symbol_table = "a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43", initial_ast = "90315edede362afca47bb3f8c861ab8bbbdb049ea56db7ebbbf8f20ce60aeb4a", unrolled_ast = "6541d8c338b4eeb027aedd7c9151f3eac30d61ab2986d22a008ef5bd4a67ffc7", ssa_ast = "80086e21c3779f9da4b57c755eedf9132709a1edc63644ef4ec574ce047b076f", flattened_ast = "a9988b6cbd9cb03bc49e6850084531888e0cc04e456496fe7eff390812d39611", destructured_ast = "a94ba575cc25982052a729a8a1b8fa3560a0043b305cf4dede91d17a71202fcb", inlined_ast = "7a6d98c84ce9a50bd944f11bca3d98f8262ab57b55fcc7f15537650b3d4bc6ef", dce_ast = "ef3d06f7a3ed3bba09c3fda4378aaa2f700384fc28e5d8c3751633bbc03f9f4e", bytecode = "7a91652b8a95d6a25f0ad68011d37481570f9c7b5e79d05c0ae8476c6754f7a8", errors = "", warnings = "" }, + { initial_symbol_table = "116d58ba03f7a7d97eed6581380790a8f53f04bae1ba88b75602f860ec303795", type_checked_symbol_table = "9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b", unrolled_symbol_table = "9569a2562f21f4b374ec99175f9be361e146ba2e7c552fd5389c945c4c764b4b", initial_ast = "0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc", unrolled_ast = "0a137d4df2ce8a6bb3c9b82e12856ba4769f6a0ee60b9d44fe4e5b112383accc", ssa_ast = "2a1a92101ca526d604626f5ba6c0e4d032877119538e3f1f11a184d7e1c9820e", flattened_ast = "16987d115d2346155c394f964ddc7ad81d13c9f825a0e4e206c46bb7b3c3250f", destructured_ast = "e237c687b23978180a04086c93fd6e894743e0bf2a95d4de408b0e4d2ecfc636", inlined_ast = "479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04", dce_ast = "479ac6fdc020109c406fa654f6e8bcbec37069b9b68ff63e39dbfa09c5a40f04", bytecode = """ +program test.aleo; + + + +mapping foo: +\tkey as u32.public; +\tvalue as u32.public; + + +function main_inner: + input r0 as u32.public; + input r1 as u32.private; + add r0 r1 into r2; + async main_inner into r3; + output r2 as u32.private; + output r3 as test.aleo/main_inner.future; + +finalize main_inner: + set 1u32 into foo[1u32]; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "e68fd2fbfc3ff3832375c1c2df1e6a67787480498938fc77e766ca07ae751992", type_checked_symbol_table = "a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43", unrolled_symbol_table = "a3dbe89fee3c01d1a1798775bd34ee5e9a160d9a31bc223cf8d949ad08310b43", initial_ast = "90315edede362afca47bb3f8c861ab8bbbdb049ea56db7ebbbf8f20ce60aeb4a", unrolled_ast = "6541d8c338b4eeb027aedd7c9151f3eac30d61ab2986d22a008ef5bd4a67ffc7", ssa_ast = "80086e21c3779f9da4b57c755eedf9132709a1edc63644ef4ec574ce047b076f", flattened_ast = "a9988b6cbd9cb03bc49e6850084531888e0cc04e456496fe7eff390812d39611", destructured_ast = "a94ba575cc25982052a729a8a1b8fa3560a0043b305cf4dede91d17a71202fcb", inlined_ast = "7a6d98c84ce9a50bd944f11bca3d98f8262ab57b55fcc7f15537650b3d4bc6ef", dce_ast = "ef3d06f7a3ed3bba09c3fda4378aaa2f700384fc28e5d8c3751633bbc03f9f4e", bytecode = """ +import test.aleo; +program basic.aleo; + + + + +function main: + input r0 as u32.public; + input r1 as u32.private; + add r0 r1 into r2; + call test.aleo/main_inner 1u32 1u32 into r3 r4; + async main r2 r4 into r5; + output r2 as u32.private; + output r5 as basic.aleo/main.future; + +finalize main: + input r0 as u32.public; + input r1 as test.aleo/main_inner.future; + await r1; + assert.eq r0 1u32; + +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/group/add.out b/tests/expectations/compiler/group/add.out index 35488717a0..f26eceff2c 100644 --- a/tests/expectations/compiler/group/add.out +++ b/tests/expectations/compiler/group/add.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", unrolled_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", initial_ast = "53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8", unrolled_ast = "53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8", ssa_ast = "49647b0f3d05fc59eca5611e5d4a0458980af0e18291fd5d52e67b43487823cb", flattened_ast = "2f93017a99f8aa024c4a63144d80f4736c1c1ba5250cfc08e69942bbe66d5fc0", destructured_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", inlined_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", dce_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", bytecode = "e5ff5cd670d0f32a96530eeba1b403bf2d6d5ff8ed31f4328227bb8857708f76", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", unrolled_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", initial_ast = "53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8", unrolled_ast = "53ccff6fd63b4ecdb0bc0af77bd239f221cb60a452e1de6a304c424f401ce0f8", ssa_ast = "49647b0f3d05fc59eca5611e5d4a0458980af0e18291fd5d52e67b43487823cb", flattened_ast = "2f93017a99f8aa024c4a63144d80f4736c1c1ba5250cfc08e69942bbe66d5fc0", destructured_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", inlined_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", dce_ast = "4e8db25dab7205a57c3ec607b066947bbdd59a1351ca7d831588a0a4965bd51c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + input r2 as group.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + assert.eq r4 true; + add r0 r1 into r5; + is.eq r5 r2 into r6; + output r6 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/assert_eq.out b/tests/expectations/compiler/group/assert_eq.out index 15041600db..d3987562f2 100644 --- a/tests/expectations/compiler/group/assert_eq.out +++ b/tests/expectations/compiler/group/assert_eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = "eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + is.eq r0 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/eq.out b/tests/expectations/compiler/group/eq.out index 15041600db..d3987562f2 100644 --- a/tests/expectations/compiler/group/eq.out +++ b/tests/expectations/compiler/group/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = "eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + is.eq r0 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/group_mul.out b/tests/expectations/compiler/group/group_mul.out index 8645a02141..00073da147 100644 --- a/tests/expectations/compiler/group/group_mul.out +++ b/tests/expectations/compiler/group/group_mul.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "95edd6b4d38b52bc1ae9148b35110cd2849c0c90f59703d18737077bdb6cd3f8", type_checked_symbol_table = "e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b", unrolled_symbol_table = "e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b", initial_ast = "d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534", unrolled_ast = "d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534", ssa_ast = "69eca3bd0e2e74cd650cb4265d4cdf64420a0798290aefb5775321b68ca8e52f", flattened_ast = "73ef2575140139c704d6c6492ba5cf5e19bccf490e010f116eec2a68b28c77a1", destructured_ast = "92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411", inlined_ast = "92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411", dce_ast = "7d9ea267543a0c4e333ccd18e48d607d8daddcfefb1413145c67aad50ba0d516", bytecode = "893927d508e10659ff793c68266c2702a5002dab713b22c8e5d00abec91925e7", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "95edd6b4d38b52bc1ae9148b35110cd2849c0c90f59703d18737077bdb6cd3f8", type_checked_symbol_table = "e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b", unrolled_symbol_table = "e1e7d71c556aa3a80cdabc3b9d974d718873a9279444e432d1b14bd573b45c1b", initial_ast = "d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534", unrolled_ast = "d1c4c6672dc185e8755c9911ceae0b1a45f10f064a9b6d1f164799a2a5d45534", ssa_ast = "69eca3bd0e2e74cd650cb4265d4cdf64420a0798290aefb5775321b68ca8e52f", flattened_ast = "73ef2575140139c704d6c6492ba5cf5e19bccf490e010f116eec2a68b28c77a1", destructured_ast = "92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411", inlined_ast = "92b2dfc0c1558bd9d858c1a0b8a0ebc82358cd1d5c7ecf3565a85686a18b7411", dce_ast = "7d9ea267543a0c4e333ccd18e48d607d8daddcfefb1413145c67aad50ba0d516", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + input r1 as group.private; + input r2 as scalar.private; + mul 1817767092074430972953743941103352519057913259183777531581123188265134806220group r0 into r3; + mul r0 r1 into r4; + mul r0 r4 into r5; + is.eq r5 r3 into r6; + output r6 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/input.out b/tests/expectations/compiler/group/input.out index 15041600db..d3987562f2 100644 --- a/tests/expectations/compiler/group/input.out +++ b/tests/expectations/compiler/group/input.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = "eb0861b61cc665bd3edf10993c284116f86a8853e5c44847b4f0ec2d99fd6c3f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", unrolled_ast = "1b6580de73329de10faa67c92f1d27b4c29c7df60b154fa566e239c070ff5c5e", ssa_ast = "6cc7748c48e7bab9eddaaddea8be256155058affad07e8bb956d93dc98bd092b", flattened_ast = "06fa43912720e9ab24ed6a119cb4e6c18ad5f1d0a5dc0d91397874cab6fe0d0b", destructured_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", inlined_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", dce_ast = "be1ceff66cde97f7f51ccef6b85d7f0a2cfc2423641803eb54c8a68cc4f876b2", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + is.eq r0 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/mul.out b/tests/expectations/compiler/group/mul.out index 868578cf5a..6130d9221c 100644 --- a/tests/expectations/compiler/group/mul.out +++ b/tests/expectations/compiler/group/mul.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b4603cce49e2a73039e43471c5df2351921bf489a622b2a8461cb5d0251683a8", type_checked_symbol_table = "40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0", unrolled_symbol_table = "40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0", initial_ast = "4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b", unrolled_ast = "4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b", ssa_ast = "bbf850eabfff9caa4798a7a7bc772d1dd30b7b22f7d810e7490aa06c4c86163f", flattened_ast = "3fc29f8537f766907dc1c304627f52271d76b3008a26a9e00c4a44caa6a644dc", destructured_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", inlined_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", dce_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", bytecode = "5ae93b430e99846cd18eedb09361257138ec9e2708bdb12c5f8de43ee470c031", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b4603cce49e2a73039e43471c5df2351921bf489a622b2a8461cb5d0251683a8", type_checked_symbol_table = "40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0", unrolled_symbol_table = "40496ec84e0fd12af6043a2a054f6535ca530eebc156096d7b2262ec53dc3cd0", initial_ast = "4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b", unrolled_ast = "4689239079a0aeca79a29a6c57554dce8bf73e82f2c283bfb74e1c1931d8cc9b", ssa_ast = "bbf850eabfff9caa4798a7a7bc772d1dd30b7b22f7d810e7490aa06c4c86163f", flattened_ast = "3fc29f8537f766907dc1c304627f52271d76b3008a26a9e00c4a44caa6a644dc", destructured_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", inlined_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", dce_ast = "6ff124d4658e2031b2fddff9c8040b152e42ac53e29dd9466bf2f3f22dca839a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + input r1 as group.private; + mul r0 r1 into r2; + output r2 as group.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/mult_by_scalar.out b/tests/expectations/compiler/group/mult_by_scalar.out index 902fa78383..c598dfdf7c 100644 --- a/tests/expectations/compiler/group/mult_by_scalar.out +++ b/tests/expectations/compiler/group/mult_by_scalar.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "3a9a0ba6ea861ff989eb097197b98a508fa71fe6cce5b36901be680fa786ecc5", type_checked_symbol_table = "564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a", unrolled_symbol_table = "564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a", initial_ast = "64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746", unrolled_ast = "64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746", ssa_ast = "8ea933d83175a83b0e722497effd993d5587c3da1c52a5b44e41bc23ece99b98", flattened_ast = "ef31ce530d35a160d8b1c8b844f2b53b5775e63014181ab57490dafa55b9c847", destructured_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", inlined_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", dce_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", bytecode = "8d98c485074bce1870f038811bfa40e7910f16e7e489f22263f9b1816b1e2d8c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "3a9a0ba6ea861ff989eb097197b98a508fa71fe6cce5b36901be680fa786ecc5", type_checked_symbol_table = "564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a", unrolled_symbol_table = "564813476bd45e015eb239004b64ec475451d1db8a67f87984a76ae4288e226a", initial_ast = "64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746", unrolled_ast = "64f83d84a228940a89cfab4d6e7f3ae8c6ccaa1ba7cdcab45f27fd7514f40746", ssa_ast = "8ea933d83175a83b0e722497effd993d5587c3da1c52a5b44e41bc23ece99b98", flattened_ast = "ef31ce530d35a160d8b1c8b844f2b53b5775e63014181ab57490dafa55b9c847", destructured_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", inlined_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", dce_ast = "56026c40e8cf5ce7923645889287fa2a426a92781ff9b6fd31b1f66a04f125ae", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + mul 1scalar r0 into r1; + output r1 as group.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/negate.out b/tests/expectations/compiler/group/negate.out index f38ebd5ae7..79472958fe 100644 --- a/tests/expectations/compiler/group/negate.out +++ b/tests/expectations/compiler/group/negate.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04", unrolled_ast = "431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04", ssa_ast = "8e1a60195d0a265423ac4c187f73ad26288c990fdd3f9d8a4f8e3832ee824cb3", flattened_ast = "3d047394c4ebce0e9f38aa0c762781ad92fe26f5a834309c3a79d7f871e03bcf", destructured_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", inlined_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", dce_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", bytecode = "0d7662a131d11ba04a4f945b24906a6f1899ac4260e423cc48aadd781371d3f5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", unrolled_symbol_table = "64400d0cd99e83db706c03cd38c864ee18fe246a0f5024a2681d461321c3ce6a", initial_ast = "431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04", unrolled_ast = "431ac4843732eb1f1967e292f14fa1fcd6d1ae802bbe7e852803841b0ddd4c04", ssa_ast = "8e1a60195d0a265423ac4c187f73ad26288c990fdd3f9d8a4f8e3832ee824cb3", flattened_ast = "3d047394c4ebce0e9f38aa0c762781ad92fe26f5a834309c3a79d7f871e03bcf", destructured_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", inlined_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", dce_ast = "fd98288a4891a79dd82fd5a033cfb7915a2ee93563957a3d68088b5e597f196b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + neg r0 into r2; + is.eq r2 r1 into r3; + assert.eq r3 true; + is.neq r0 -2group into r4; + assert.eq r4 true; + neg r0 into r5; + is.eq r5 r1 into r6; + output r6 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/operator_methods.out b/tests/expectations/compiler/group/operator_methods.out index e5550ae9b2..fa641292fb 100644 --- a/tests/expectations/compiler/group/operator_methods.out +++ b/tests/expectations/compiler/group/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e", unrolled_symbol_table = "7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e", initial_ast = "26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1", unrolled_ast = "26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1", ssa_ast = "2a2483edd24e9001227c4c99a036161f2e904cbe1e9339154f5b38194a9bc108", flattened_ast = "fafce6cb12679320397f2410b2433c52d3426f7c0f5e841339b036cf8f20211a", destructured_ast = "e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7", inlined_ast = "e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7", dce_ast = "232230e71ca8f2f98423f7e382d3ec7897f6a72d8450158f2bbd4983cfdf6bba", bytecode = "f8f1b8520fc2b0b64155f840db31d03aeee1afecd309f7a4be10038ee72fc5ea", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "86d6113b6277211f15f11f56a2d2cd18df578e8710f5135b0723d36c9f599abd", type_checked_symbol_table = "7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e", unrolled_symbol_table = "7d77568c28538c2456f0dd6bf27186a4be40b96b29cd27a994b023c13bee311e", initial_ast = "26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1", unrolled_ast = "26f734e743c834cdddbf7870b7f008b9f431a385bf399389f30d2e41687c42b1", ssa_ast = "2a2483edd24e9001227c4c99a036161f2e904cbe1e9339154f5b38194a9bc108", flattened_ast = "fafce6cb12679320397f2410b2433c52d3426f7c0f5e841339b036cf8f20211a", destructured_ast = "e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7", inlined_ast = "e37b3cd5653dde891a55134c9073ca66627e194ed6b3fd6842544510136035e7", dce_ast = "232230e71ca8f2f98423f7e382d3ec7897f6a72d8450158f2bbd4983cfdf6bba", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/point_input.out b/tests/expectations/compiler/group/point_input.out index f0d9c88d8a..d5b7b19233 100644 --- a/tests/expectations/compiler/group/point_input.out +++ b/tests/expectations/compiler/group/point_input.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "6246af416dc46ede0bd79789b9b3490b49cbd3da23fe30624c4b9fbc54f59de9", type_checked_symbol_table = "5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea", unrolled_symbol_table = "5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea", initial_ast = "23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11", unrolled_ast = "23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11", ssa_ast = "d48d0d28b458729afd3befacf63b29754be219e5aa05100e1413b0697d0c9f14", flattened_ast = "eeae8377846e994279413c0e734d8f58f3b3e51ddf867c71f4d1e298da90b763", destructured_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", inlined_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", dce_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", bytecode = "e7f080384059049f2c24ec0a010b5ec6b055497b51b78d736a5e2e8fa7b441eb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "6246af416dc46ede0bd79789b9b3490b49cbd3da23fe30624c4b9fbc54f59de9", type_checked_symbol_table = "5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea", unrolled_symbol_table = "5b5ac0a65365f5b7e8e0b221867c494133b2fcf0c1ffdd5052cbab8d77aaf3ea", initial_ast = "23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11", unrolled_ast = "23bd06a9caaee457acb0a9f0866a6a649626e8eaf0a0bb8b3957f7233ef6bd11", ssa_ast = "d48d0d28b458729afd3befacf63b29754be219e5aa05100e1413b0697d0c9f14", flattened_ast = "eeae8377846e994279413c0e734d8f58f3b3e51ddf867c71f4d1e298da90b763", destructured_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", inlined_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", dce_ast = "c606febcfe2a61fb26c23ae399916c0b546c3a328ee1a6586fd56ff392c7e806", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + is.eq r0 0group into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/sub.out b/tests/expectations/compiler/group/sub.out index ad4707d0f2..e8e18435b7 100644 --- a/tests/expectations/compiler/group/sub.out +++ b/tests/expectations/compiler/group/sub.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", unrolled_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", initial_ast = "c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d", unrolled_ast = "c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d", ssa_ast = "573a08fc6569fd4e7ccd86cd6cfabf84769244776466de7d7180e28ba2e831c0", flattened_ast = "01b87aae812c33d594dbdf36efe7101a30942fd084b1d69ad04ab73d970601ab", destructured_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", inlined_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", dce_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", bytecode = "cab98d3ba5835201a8db5ce82ab32e51dc68f37a01156374e2f00a8bcbd82308", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", unrolled_symbol_table = "73c9bae0f71db581746da0c4fb95642bd16187a982e828b59dd7662a81c4fd74", initial_ast = "c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d", unrolled_ast = "c82a79d16151cbdcd822403ad8f763fcdbbb0f95fcb2f2ad367ff84d83b7088d", ssa_ast = "573a08fc6569fd4e7ccd86cd6cfabf84769244776466de7d7180e28ba2e831c0", flattened_ast = "01b87aae812c33d594dbdf36efe7101a30942fd084b1d69ad04ab73d970601ab", destructured_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", inlined_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", dce_ast = "2a39bee4074a8eaa5776ee975411f41a714a09e5257b4145415364dfb791d08b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + input r2 as group.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + assert.eq r4 true; + sub r0 r1 into r5; + is.eq r5 r2 into r6; + output r6 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/ternary.out b/tests/expectations/compiler/group/ternary.out index 4e56a5a44d..6b2e0f285e 100644 --- a/tests/expectations/compiler/group/ternary.out +++ b/tests/expectations/compiler/group/ternary.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1", unrolled_symbol_table = "005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1", initial_ast = "3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def", unrolled_ast = "3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def", ssa_ast = "62d476da8c7d7e6e4dcdee879f591954c4f32812b473eebfff9a949d6ce6bbe6", flattened_ast = "f1ba9eaf698f1e2fc703b9ac7e158837cc7636667fe82e135f7350421e47d0c0", destructured_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", inlined_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", dce_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", bytecode = "d60be9014c6563fb9bb800891ce6238d2f99473faf47c92cf99893ad1474a64e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b195a063e94fadef1c06b657c5872bed8ebc9c0460b804956fdfab56177ac367", type_checked_symbol_table = "005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1", unrolled_symbol_table = "005b2160dc4780a6a083ea81c323461b054fe56b652adacd49985b8536a193a1", initial_ast = "3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def", unrolled_ast = "3a4b5cc4267b6b323c4cc6b14e86694165e066133bc1fc2709d2bbf1036d0def", ssa_ast = "62d476da8c7d7e6e4dcdee879f591954c4f32812b473eebfff9a949d6ce6bbe6", flattened_ast = "f1ba9eaf698f1e2fc703b9ac7e158837cc7636667fe82e135f7350421e47d0c0", destructured_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", inlined_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", dce_ast = "66ed03637c8aef4acaa5b1c735f1550d898faafe0b5999708a6d75cb02166b6a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + input r1 as group.private; + input r2 as group.private; + ternary true r0 r1 into r3; + is.eq r3 r2 into r4; + assert.eq r4 true; + is.eq r3 r2 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/to_x_coordinate.out b/tests/expectations/compiler/group/to_x_coordinate.out index 627943e07d..61385db1e2 100644 --- a/tests/expectations/compiler/group/to_x_coordinate.out +++ b/tests/expectations/compiler/group/to_x_coordinate.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156", type_checked_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", unrolled_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", initial_ast = "676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8", unrolled_ast = "676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8", ssa_ast = "c7221fce1a07017b44db28e701c14fd1046de2272e2ef49333db2eb2e10f6a6a", flattened_ast = "a932fc45f884624db67fe5948600384c7aa5bff863a181bc13f06c4ca4f79b66", destructured_ast = "4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07", inlined_ast = "4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07", dce_ast = "8762ebc07b19bbcb9961fc23acb584cb91daf52787426b6bcf55a9cbdee8ce10", bytecode = "51e95e10668242bec30e9917715d9856da632e933c33207ee41c5ed38d6366aa", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156", type_checked_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", unrolled_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", initial_ast = "676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8", unrolled_ast = "676d71376bf2a1df04b89f06274de446d2e28b3036ffd0bb11140ab52503d3c8", ssa_ast = "c7221fce1a07017b44db28e701c14fd1046de2272e2ef49333db2eb2e10f6a6a", flattened_ast = "a932fc45f884624db67fe5948600384c7aa5bff863a181bc13f06c4ca4f79b66", destructured_ast = "4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07", inlined_ast = "4216762e4492a408c2809e521eba457d96d3b7cd7b6093cde3cbeab06a43fd07", dce_ast = "8762ebc07b19bbcb9961fc23acb584cb91daf52787426b6bcf55a9cbdee8ce10", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + cast r0 into r1 as group.x; + output r1 as field.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/to_y_coordinate.out b/tests/expectations/compiler/group/to_y_coordinate.out index 105570b8df..0a0aee8203 100644 --- a/tests/expectations/compiler/group/to_y_coordinate.out +++ b/tests/expectations/compiler/group/to_y_coordinate.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156", type_checked_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", unrolled_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", initial_ast = "d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1", unrolled_ast = "d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1", ssa_ast = "5dc07267a99edfc008039448a461c2a86120afcdcc1f358987169ae1fbe920cb", flattened_ast = "a791fe154beb662ea85c3180b5960fa7764bccdcd350f34043fa4d75dc85c344", destructured_ast = "c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8", inlined_ast = "c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8", dce_ast = "89b21f088c668c849c8c4050663108f46b964cc81cad4f243ccb844150ee1d3e", bytecode = "ea2e94f0f589fac4565040575643b1b7cd7813fe513d5b09b17c191bbf0f727e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed102d6070e08fab26ba65e42a47b8e94b39279ac3a93d2f1a5161213a808156", type_checked_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", unrolled_symbol_table = "791b325f87fca65c6e88162d087200b74a8285b1b9b1f4d46a0af85aa1cac94b", initial_ast = "d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1", unrolled_ast = "d483d7fd3eb931e6224542daa0b8d86b7241c1e96a3ef5a28a91a4c4839753c1", ssa_ast = "5dc07267a99edfc008039448a461c2a86120afcdcc1f358987169ae1fbe920cb", flattened_ast = "a791fe154beb662ea85c3180b5960fa7764bccdcd350f34043fa4d75dc85c344", destructured_ast = "c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8", inlined_ast = "c73f8fb9324fd05759a6b7231f4263a2ddef0df3cd42144472813dee671f87d8", dce_ast = "89b21f088c668c849c8c4050663108f46b964cc81cad4f243ccb844150ee1d3e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + cast r0 into r1 as group.y; + output r1 as field.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_and_y.out b/tests/expectations/compiler/group/x_and_y.out index 36ca6c8f12..42fe4caf9d 100644 --- a/tests/expectations/compiler/group/x_and_y.out +++ b/tests/expectations/compiler/group/x_and_y.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e", unrolled_ast = "68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e", ssa_ast = "257ba6437ede6d72fa4a30ec158432088d3dc94b957bf1a2ac9fd4346d49bbda", flattened_ast = "ea3470c8284c0e5e5f92b0ef5504e90d97b596c4722b89fcb7267d6305026f66", destructured_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", inlined_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", dce_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e", unrolled_ast = "68afe9dc106303803b7ee3084a8a406d755d9d18d473b3830c5d39d7c520ea4e", ssa_ast = "257ba6437ede6d72fa4a30ec158432088d3dc94b957bf1a2ac9fd4346d49bbda", flattened_ast = "ea3470c8284c0e5e5f92b0ef5504e90d97b596c4722b89fcb7267d6305026f66", destructured_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", inlined_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", dce_ast = "24ed7701ff5bc8daea7ced809e21c6bb7b90ec497e4fac6fcfecb61acd868836", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + mul r0 0group into r1; + output r1 as group.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_sign_high.out b/tests/expectations/compiler/group/x_sign_high.out index e456eafd5e..2488e0338f 100644 --- a/tests/expectations/compiler/group/x_sign_high.out +++ b/tests/expectations/compiler/group/x_sign_high.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3", unrolled_ast = "fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3", ssa_ast = "f3d3314fc3bc3138d62b02405c9412e0a69856d30ec919eb356d466925d9de05", flattened_ast = "8a78e0ab842b7b38b90bb7b3557d71ebf489ccd3f87f00aaa90472a31b1e7731", destructured_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", inlined_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", dce_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3", unrolled_ast = "fa897b5357a3d3acea29a21385813b2669d34c943c48bed0a7691e3b3e922ce3", ssa_ast = "f3d3314fc3bc3138d62b02405c9412e0a69856d30ec919eb356d466925d9de05", flattened_ast = "8a78e0ab842b7b38b90bb7b3557d71ebf489ccd3f87f00aaa90472a31b1e7731", destructured_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", inlined_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", dce_ast = "8b8dfa376e4b875577c17450f188cc6057a1f89cf836b0b6a371bfd58e342f4d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + mul r0 0group into r1; + output r1 as group.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_sign_inferred.out b/tests/expectations/compiler/group/x_sign_inferred.out index e0a8962b40..e536a825bf 100644 --- a/tests/expectations/compiler/group/x_sign_inferred.out +++ b/tests/expectations/compiler/group/x_sign_inferred.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596", unrolled_ast = "0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596", ssa_ast = "3febba2ab3c3333fde6b0fb8bcb53bcf7f2bf29b992d8e767107f776d6a56639", flattened_ast = "ff26f857f1c756dd199b7484ba8748112f0f3a236a55fdf6106adb53e96ddbc1", destructured_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", inlined_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", dce_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596", unrolled_ast = "0f0fdae8467f508cdbadeec2eacffd01e4b26add2dc1b21e112c6c3b59667596", ssa_ast = "3febba2ab3c3333fde6b0fb8bcb53bcf7f2bf29b992d8e767107f776d6a56639", flattened_ast = "ff26f857f1c756dd199b7484ba8748112f0f3a236a55fdf6106adb53e96ddbc1", destructured_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", inlined_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", dce_ast = "fadc791b284f6b2ba539416ee5f44ea31f8c3f00a301aee56333e0b7d01d0189", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + mul r0 0group into r1; + output r1 as group.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/x_sign_low.out b/tests/expectations/compiler/group/x_sign_low.out index 340d8abb83..42accee21d 100644 --- a/tests/expectations/compiler/group/x_sign_low.out +++ b/tests/expectations/compiler/group/x_sign_low.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c", unrolled_ast = "56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c", ssa_ast = "89d9ee763b994f9a5b721590fb6c5260280b2badadc39c17842178d2fe412998", flattened_ast = "8a5680a5ac1460233aa4b01aab7583877253adc510f51f4366abd393673e2a4f", destructured_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", inlined_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", dce_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", bytecode = "c8688cd1fc15c816d4af483fa444f44414acb4b679b0165f9fb7093f77738f5a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", unrolled_symbol_table = "c40f806dfd918dc4bd47359f2d5d83e7fa46d45fc22cca84828f936b676822f8", initial_ast = "56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c", unrolled_ast = "56c50a0976a18422453034b5b84f70bc4fa63cc0a77b924fd258bb094f07f34c", ssa_ast = "89d9ee763b994f9a5b721590fb6c5260280b2badadc39c17842178d2fe412998", flattened_ast = "8a5680a5ac1460233aa4b01aab7583877253adc510f51f4366abd393673e2a4f", destructured_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", inlined_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", dce_ast = "d5ba091ad55a9d8840db44364443c7107a4a6c8c01aea36b7b3b5f305766f1b1", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + mul r0 0group into r1; + output r1 as group.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/group/zero.out b/tests/expectations/compiler/group/zero.out index 33c01cbc58..896d8a4743 100644 --- a/tests/expectations/compiler/group/zero.out +++ b/tests/expectations/compiler/group/zero.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab", unrolled_symbol_table = "b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab", initial_ast = "1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf", unrolled_ast = "1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf", ssa_ast = "3f1b803aa3810824e912e78501ed7806047154cf6774b82243066ed6704b8386", flattened_ast = "463e73f9be58935dd081921c62272369b8a3f7eb15d6a41d373ee78f5b509581", destructured_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", inlined_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", dce_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", bytecode = "1d6fcff80cb39d7f9451de676f70ab1e4dd1bcca8f7c9d0f1ddd34d12f159594", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "13f721ce9f26cc63129064ed106144e5ad4798d2483335974dcef63c2b047875", type_checked_symbol_table = "b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab", unrolled_symbol_table = "b90a0f5ef8355a8604db0c683dde5ce52f0beb7c44832c05964527d7a3f9b0ab", initial_ast = "1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf", unrolled_ast = "1ab67a46b1e18f07cb0cbf1f0d7224dacad95905b78baa7ec37b4253acc67dcf", ssa_ast = "3f1b803aa3810824e912e78501ed7806047154cf6774b82243066ed6704b8386", flattened_ast = "463e73f9be58935dd081921c62272369b8a3f7eb15d6a41d373ee78f5b509581", destructured_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", inlined_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", dce_ast = "66db27ba955bd6c93f987abd3ee6cfa9dabf2830046aff921998ec59bb99f581", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + mul 0group r0 into r1; + output r1 as group.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/input/main.out b/tests/expectations/compiler/input/main.out index 2b707d4772..69886657fe 100644 --- a/tests/expectations/compiler/input/main.out +++ b/tests/expectations/compiler/input/main.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cd4ebade513aae8761f790956bbb0844fb86590191f420485545414b6d4fe56e", type_checked_symbol_table = "5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc", unrolled_symbol_table = "5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc", initial_ast = "9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7", unrolled_ast = "9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7", ssa_ast = "3b323cbbac9b545411df261c0b5e11f600b7f2419f69bfa4ec05bec5b49f9d06", flattened_ast = "d3b2dc2367790c6ac743f182dadcf616ad0e05fdb1e91dea074251f8832a9c11", destructured_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", inlined_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", dce_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cd4ebade513aae8761f790956bbb0844fb86590191f420485545414b6d4fe56e", type_checked_symbol_table = "5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc", unrolled_symbol_table = "5c64b6460751bfe68a8fcc6ba0716161748a538d7d90ad9ce9b24933bb3d33fc", initial_ast = "9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7", unrolled_ast = "9ecbc0015f69652e6708a84de2dd36d114b6832cd0703c9a4d1dcec6b3dc41c7", ssa_ast = "3b323cbbac9b545411df261c0b5e11f600b7f2419f69bfa4ec05bec5b49f9d06", flattened_ast = "d3b2dc2367790c6ac743f182dadcf616ad0e05fdb1e91dea074251f8832a9c11", destructured_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", inlined_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", dce_ast = "840adb8006f1cebf04b778bf3adb8169634b2f84221c528895c40ec40dd60cd3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/input/main_field.out b/tests/expectations/compiler/input/main_field.out index f78730fb8c..a76ef0ac26 100644 --- a/tests/expectations/compiler/input/main_field.out +++ b/tests/expectations/compiler/input/main_field.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "76a79fc5516ffc652065c7ab76c208ea22d02413a23052097243711150266802", type_checked_symbol_table = "a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4", unrolled_symbol_table = "a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4", initial_ast = "bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6", unrolled_ast = "bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6", ssa_ast = "3890848349e17661ababdd618ca99be6ec6cc56f631bd0eabec3fd2ec0f57b04", flattened_ast = "172a76b682ecfa210a5d18a51e5c48a4d9d9103392d45d38b513cccdeab46573", destructured_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", inlined_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", dce_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", bytecode = "5634fe853e1a2815f0828063a855b798b56cc6051b24205568908a5490c7d531", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "76a79fc5516ffc652065c7ab76c208ea22d02413a23052097243711150266802", type_checked_symbol_table = "a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4", unrolled_symbol_table = "a3bbf8c7f50b50465a91eaf44d8551378b8f67ae221243efaf13e888e1421cc4", initial_ast = "bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6", unrolled_ast = "bbec20b0ddf251ac7c3401e7be89ad0c2d56cb31503efe54fb84eccfdb83f4e6", ssa_ast = "3890848349e17661ababdd618ca99be6ec6cc56f631bd0eabec3fd2ec0f57b04", flattened_ast = "172a76b682ecfa210a5d18a51e5c48a4d9d9103392d45d38b513cccdeab46573", destructured_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", inlined_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", dce_ast = "a46fddc59b61c418d7fdefb569fbf8211e20c493739f3c8a125e4edf0750e89d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as field.private; + input r1 as field.private; + input r2 as boolean.private; + is.eq r2 true into r3; + is.eq r0 r1 into r4; + and r3 r4 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/add.out b/tests/expectations/compiler/integers/i128/add.out index 31f6f2bbca..60eacab058 100644 --- a/tests/expectations/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/integers/i128/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3", unrolled_ast = "ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3", ssa_ast = "7b96c27836ae377f3f645c66a013d022938dbb74f9d0bcb194b0c4af4fd7b845", flattened_ast = "574c59799ae92538c78300a4c37120d4fa6e1d187e6c0c1db15c323a07ffeddd", destructured_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", inlined_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", dce_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", bytecode = "494e6857a1963542c9c28acd1b0d3584e2fa7aa4541a3c4d2accdaffa21a5363", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3", unrolled_ast = "ea1ce28c4816984ad4bc9f93e477a438d5309686ba2f2313eaec7d3fdb7a2af3", ssa_ast = "7b96c27836ae377f3f645c66a013d022938dbb74f9d0bcb194b0c4af4fd7b845", flattened_ast = "574c59799ae92538c78300a4c37120d4fa6e1d187e6c0c1db15c323a07ffeddd", destructured_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", inlined_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", dce_ast = "c41c7fd4e02ef38a56c1f1b1a3247d3527a222bf8055ff3edf0d85662e5fbd89", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/and.out b/tests/expectations/compiler/integers/i128/and.out index 2dabbe3bd8..1e5be2075c 100644 --- a/tests/expectations/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/integers/i128/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758", unrolled_ast = "97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758", ssa_ast = "d31ecf76bf4e48a4d87912b10f5324cbf8f9f5269dccc3bb5c9bf98681cd3298", flattened_ast = "1b3affd478da373952c6d57edfab48a60f62aa84f27798be99e2eec7b42838d6", destructured_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", inlined_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", dce_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", bytecode = "8285a2e1709b0ec4a12c265fcbfc8fafe3168599b60c587c0c4cb2eead7d4cb5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758", unrolled_ast = "97b5809cec0dbce8a9a954ba23f3a2aa5ee76e0f85880062e7e5c23a4a26a758", ssa_ast = "d31ecf76bf4e48a4d87912b10f5324cbf8f9f5269dccc3bb5c9bf98681cd3298", flattened_ast = "1b3affd478da373952c6d57edfab48a60f62aa84f27798be99e2eec7b42838d6", destructured_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", inlined_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", dce_ast = "6c4e99f3ae3dd8ac709ef99b4a2c45887584a187bb6d76211380ed7a7f0ea198", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/integers/i128/console_assert.out index 59a1a665aa..5673d91379 100644 --- a/tests/expectations/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/integers/i128/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a", unrolled_symbol_table = "91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a", initial_ast = "5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd", unrolled_ast = "5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd", ssa_ast = "f40ea6c3defb7ad2b1593b75ebf1e5605cecee6e9d03ecb904a010a6830c0604", flattened_ast = "0478991ca32fdf1302f9f4a71750b8248baf9b04ea279643120632d645e67005", destructured_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", inlined_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", dce_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", bytecode = "cfb775c32747a200198579e073ead1a4acd478ed2346b0e51ff488e71b5f806c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a", unrolled_symbol_table = "91f5bff4b4bdff211a17aad8ff9803793e6319e451f0b04d75361e7caf0f0b8a", initial_ast = "5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd", unrolled_ast = "5eb0103c1405fb008fd026fb3e2fd7d6a47241b7d231cd4054a99dd7b6c6c6cd", ssa_ast = "f40ea6c3defb7ad2b1593b75ebf1e5605cecee6e9d03ecb904a010a6830c0604", flattened_ast = "0478991ca32fdf1302f9f4a71750b8248baf9b04ea279643120632d645e67005", destructured_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", inlined_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", dce_ast = "eeaec122e5af670bcd69a594044871a33edb242faa663bbb546accf96d9ef243", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/div.out b/tests/expectations/compiler/integers/i128/div.out index 62bb6cc633..6e696e7a64 100644 --- a/tests/expectations/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/integers/i128/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f", unrolled_ast = "06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f", ssa_ast = "0d406271c5309d18ec58ba5541f484cf0294538ddfda6b069b8a6074c979f4a9", flattened_ast = "3ccd42d195e163bcf97060f245618ad1e3c24f37798767e04813731903e02ec2", destructured_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", inlined_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", dce_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", bytecode = "65f57028681592ca0f5c4fed50abb89f4aa53139b2371bc00c3e701d5b8e896f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f", unrolled_ast = "06defad20bb4a8deec30fbe1e4dbe96ae5c061723f64f7b73c54ee3bb828560f", ssa_ast = "0d406271c5309d18ec58ba5541f484cf0294538ddfda6b069b8a6074c979f4a9", flattened_ast = "3ccd42d195e163bcf97060f245618ad1e3c24f37798767e04813731903e02ec2", destructured_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", inlined_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", dce_ast = "b33b14b03fdd9d09d6d36494f8fe4533ae8590ba60d6bfabff30145547eb6932", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/eq.out b/tests/expectations/compiler/integers/i128/eq.out index dc2bdb9434..8046ddcab2 100644 --- a/tests/expectations/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/integers/i128/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f", unrolled_ast = "9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f", ssa_ast = "64963113917d17c9887355e5440b51d6d85512fd54bfa536c54cbec21d4fc3b1", flattened_ast = "5d5cd3e01fa92f2b34ecaece9cf31a454ba43a54dbfd2c36aed776ab3724028c", destructured_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", inlined_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", dce_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", bytecode = "3cdd93b31b489b0c21ed940752b5f00fdbde28dc7e52fbe97bd6c0f5b3f2e2e3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f", unrolled_ast = "9caa89e0cba4c18f15c38b23a5e9900bcefec8136de6838cbd5667d9836b862f", ssa_ast = "64963113917d17c9887355e5440b51d6d85512fd54bfa536c54cbec21d4fc3b1", flattened_ast = "5d5cd3e01fa92f2b34ecaece9cf31a454ba43a54dbfd2c36aed776ab3724028c", destructured_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", inlined_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", dce_ast = "13495b4e09495dfb6e64a253e11985be62574a74463efdc5bd561807e756fb03", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/ge.out b/tests/expectations/compiler/integers/i128/ge.out index a68e1ab36f..fb0666d9ee 100644 --- a/tests/expectations/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/integers/i128/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f", unrolled_ast = "4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f", ssa_ast = "4f4bab95d39b85781fe1f6f6e07bcefa45398d690af6b67bbba530a8dc7bb731", flattened_ast = "f9edd90b98b188a11663452fdcc796ddcd5e38f792b526cbb6811647e48e39d7", destructured_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", inlined_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", dce_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", bytecode = "10cd5a11422cda879fb35cd61b5e1b83e0a3b954e6583f44762802917d338085", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f", unrolled_ast = "4a97ae1158da379f97df71c3880ab523c398eaf6298759e557980cfc84fcab6f", ssa_ast = "4f4bab95d39b85781fe1f6f6e07bcefa45398d690af6b67bbba530a8dc7bb731", flattened_ast = "f9edd90b98b188a11663452fdcc796ddcd5e38f792b526cbb6811647e48e39d7", destructured_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", inlined_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", dce_ast = "816012a5af4066b99c8fa487d7cf9bcdb4cf490e3fa2dc19a77a6a885df68893", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/gt.out b/tests/expectations/compiler/integers/i128/gt.out index 0bd33ac6c3..432654b214 100644 --- a/tests/expectations/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/integers/i128/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165", unrolled_ast = "1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165", ssa_ast = "930df778182d362d79dbd7efa4b0c61857bdd362e6de0c13d3f5a80c80416930", flattened_ast = "2ec0058e830d3d6a9978f689988abd49df3b4f1741691e7fd8533e0e678bd641", destructured_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", inlined_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", dce_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", bytecode = "484e03eaf5d4db72c6c47e37433ad15e9bf225f8ee65964eebcbbb627e1229d5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165", unrolled_ast = "1f66b8826995c55576f97695f623bb6d04c6f0b70036d568bca34af2a33dc165", ssa_ast = "930df778182d362d79dbd7efa4b0c61857bdd362e6de0c13d3f5a80c80416930", flattened_ast = "2ec0058e830d3d6a9978f689988abd49df3b4f1741691e7fd8533e0e678bd641", destructured_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", inlined_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", dce_ast = "aca18770d501872f0ca2db4acf59fd4eb49083d8424aade63a030f7977ae80e1", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/hex_and_bin.out b/tests/expectations/compiler/integers/i128/hex_and_bin.out index bc8c52b2c3..69ee703c83 100644 --- a/tests/expectations/compiler/integers/i128/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i128/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b8fa9541b26d44c8348e7ded98e6bd1b235ee9c02e632192fb2da00234e84c5c", type_checked_symbol_table = "9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277", unrolled_symbol_table = "9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277", initial_ast = "1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c", unrolled_ast = "1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c", ssa_ast = "6926cc34fac90a4bed0c819030cf61f0f614e539e4b85b63c2abb3b8776cf532", flattened_ast = "108e01348ff9fd5dbbc00cc94208f98c5a5782a86ddf452ee59602c5bfe046f4", destructured_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", inlined_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", dce_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", bytecode = "7b4ac23af746311a65be3314562eb9247cacd4b29ed1ea20d04b0dc8c06eef19", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b8fa9541b26d44c8348e7ded98e6bd1b235ee9c02e632192fb2da00234e84c5c", type_checked_symbol_table = "9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277", unrolled_symbol_table = "9cc9c032ecfa8ab95f117b6c2f6b5f77335cdc444604a28ddca7ea204c620277", initial_ast = "1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c", unrolled_ast = "1e34f3c30849e79eeba6b5ca17e438efb5bf24fa3ceb50ddc00133a8474be73c", ssa_ast = "6926cc34fac90a4bed0c819030cf61f0f614e539e4b85b63c2abb3b8776cf532", flattened_ast = "108e01348ff9fd5dbbc00cc94208f98c5a5782a86ddf452ee59602c5bfe046f4", destructured_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", inlined_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", dce_ast = "d05df9936ea9ab1e577e8d4a14046ccd75af35b76dab552119728a2d240ed83e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + is.eq r0 127i128 into r3; + is.eq r1 27i128 into r4; + and r3 r4 into r5; + is.eq r2 21i128 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/le.out b/tests/expectations/compiler/integers/i128/le.out index 5573d64c8f..c9a2d71490 100644 --- a/tests/expectations/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/integers/i128/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1", unrolled_ast = "5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1", ssa_ast = "e463395afb5d70d3c16c3c6de30459b5edf7c8768555d05a2c60025328f73034", flattened_ast = "bc5f2a77b2c76ceefc87002024b45fbedd31249e6be19886f9349ba3c58c4a79", destructured_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", inlined_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", dce_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", bytecode = "cc1ee4fde8609e495d29513d4f1ba6088310c0b68929e619e6fef2fbcf127b13", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1", unrolled_ast = "5d8f23da308d016f458aa47d2a0757f66c7f39ba30af1dc93009e578899cdff1", ssa_ast = "e463395afb5d70d3c16c3c6de30459b5edf7c8768555d05a2c60025328f73034", flattened_ast = "bc5f2a77b2c76ceefc87002024b45fbedd31249e6be19886f9349ba3c58c4a79", destructured_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", inlined_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", dce_ast = "421c606986757519eaea1a2f51e4ee58f21d2403e127eb3cba1951fcb6df9c4e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/lt.out b/tests/expectations/compiler/integers/i128/lt.out index 635c51fcbc..ec76a0c96a 100644 --- a/tests/expectations/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/integers/i128/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805", unrolled_ast = "cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805", ssa_ast = "5002f155f28077ebce55d26234abb4f740face120d70096beb59aabd97f898b9", flattened_ast = "7ce217dc14e027bdd8f8ad768b4b9cc97129cff62d197c1e1faeb87204f41ec1", destructured_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", inlined_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", dce_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", bytecode = "b1fc620dc1f15fe250bfd4e7bbf7ec3e51d72f7a47867a1b0ad680f7d97906aa", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805", unrolled_ast = "cba2e2c65a91669cef49590961c461853279d718fd3db46357767886a1231805", ssa_ast = "5002f155f28077ebce55d26234abb4f740face120d70096beb59aabd97f898b9", flattened_ast = "7ce217dc14e027bdd8f8ad768b4b9cc97129cff62d197c1e1faeb87204f41ec1", destructured_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", inlined_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", dce_ast = "509bbbe3ede3dcc293d7a61174f75a1b683048b2e80c9bfb2dd6c40a801f9d25", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/max.out b/tests/expectations/compiler/integers/i128/max.out index 8b81091767..b034bb07dd 100644 --- a/tests/expectations/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/integers/i128/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee", type_checked_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", unrolled_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", initial_ast = "0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501", unrolled_ast = "0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501", ssa_ast = "74dc2fc74b3f986d6323911f118f544d956d485ec40a42807cfd61a212cd1f76", flattened_ast = "ff411ea98f4733147dd800325458dbf480e7543c0d76288d42f17aa55d8192b6", destructured_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", inlined_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", dce_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", bytecode = "0c9250cc00df66aac1199455cdfacc5d1a37bbf3719a4661a022b02d023ef962", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee", type_checked_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", unrolled_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", initial_ast = "0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501", unrolled_ast = "0c24ff61a5ace1cd9071308e3843eb0ecc587a680c36ba3b039b3f187406f501", ssa_ast = "74dc2fc74b3f986d6323911f118f544d956d485ec40a42807cfd61a212cd1f76", flattened_ast = "ff411ea98f4733147dd800325458dbf480e7543c0d76288d42f17aa55d8192b6", destructured_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", inlined_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", dce_ast = "6c403a08cf761399ce3c7e8e5d0db693a0f8669b75da60e4e147c02fb09bab2d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + sub 170141183460469231731687303715884105727i128 r0 into r1; + output r1 as i128.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index 4b1703d3c0..9631ea2ee7 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee", type_checked_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", unrolled_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", initial_ast = "f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f", unrolled_ast = "f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f", ssa_ast = "31cdcf328d7cc18463607e2901e987d3d95aaf83cb20fde0508e70137d9bf487", flattened_ast = "25d111900840664756af2207bc812a3193d1c49236e04ba0902f7f8dd2a3df66", destructured_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", inlined_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", dce_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", bytecode = "3371e90020913ff2646967d8f24bd5da1033f31c46c1b46c1996331bb488b96e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "be48290910224fe179b3286a978e816b24ebd4a5c7ff2c4e2e7c681fc54cbeee", type_checked_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", unrolled_symbol_table = "6762536260d695a3bb6b6cf51173d96ac2643f2b546478343ee90681fe23a025", initial_ast = "f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f", unrolled_ast = "f401733cc62c4052171aca09335a71a480fec6fb2ca8899ae73791b2bc17437f", ssa_ast = "31cdcf328d7cc18463607e2901e987d3d95aaf83cb20fde0508e70137d9bf487", flattened_ast = "25d111900840664756af2207bc812a3193d1c49236e04ba0902f7f8dd2a3df66", destructured_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", inlined_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", dce_ast = "7143c2be4b7ca6c019f396a732c383495405d7ef1c5e421118667bf6805a916d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + sub -170141183460469231731687303715884105727i128 r0 into r1; + output r1 as i128.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index c486b53beb..e8ac38d358 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a", type_checked_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", unrolled_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", initial_ast = "68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb", unrolled_ast = "68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb", ssa_ast = "223d0d71b6c902bc36d98866cd58738c8ef0ae5459dc8c7e4d05306107291dfe", flattened_ast = "9ba67b9062caf22f889f944ff08221577d7326ebac0dd4c4dd6b8fc228cb0680", destructured_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", inlined_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", dce_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", bytecode = "01713226f7ba799a801ed169d73aa94e4a3cb8048c6c069fdc874c2807e8ead6", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a", type_checked_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", unrolled_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", initial_ast = "68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb", unrolled_ast = "68a180f5f098a5fc4b89747705daeb3c8c5363312a3d4ca8716a17aa0f921cbb", ssa_ast = "223d0d71b6c902bc36d98866cd58738c8ef0ae5459dc8c7e4d05306107291dfe", flattened_ast = "9ba67b9062caf22f889f944ff08221577d7326ebac0dd4c4dd6b8fc228cb0680", destructured_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", inlined_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", dce_ast = "a8572199187b58842be5269e59a39451faec99980eccef6c7030d513694eb502", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + sub -170141183460469231731687303715884105727i128 2i128 into r1; + output r1 as i128.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/mul.out b/tests/expectations/compiler/integers/i128/mul.out index 3ca1bf31db..118c877ede 100644 --- a/tests/expectations/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/integers/i128/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c", unrolled_ast = "8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c", ssa_ast = "8e09972165e24aa239fbcb6a8c82560a2f4b398ddc455fc987f562a0e017f0cf", flattened_ast = "af7dc99616e7a80562397108fe540585550a7db22d57500971722308ce8c31e4", destructured_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", inlined_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", dce_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", bytecode = "d0d6aecd823bb5cd501ed807e6a169820dbee3db351de35303d4b8dda007e0d8", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c", unrolled_ast = "8247461a692610884213b47a98b178eefb1dc78529b1a00e1a83a798936cdc4c", ssa_ast = "8e09972165e24aa239fbcb6a8c82560a2f4b398ddc455fc987f562a0e017f0cf", flattened_ast = "af7dc99616e7a80562397108fe540585550a7db22d57500971722308ce8c31e4", destructured_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", inlined_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", dce_ast = "1dccfcfb1e9f6e4c0a00d1fde9c9629e0725b522a9562a562db4be5d6fa5ab1f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/ne.out b/tests/expectations/compiler/integers/i128/ne.out index 386dec3c4b..0713b19c0c 100644 --- a/tests/expectations/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/integers/i128/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6", unrolled_ast = "e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6", ssa_ast = "f39da53b7fe3ad0a873e3076928d405504e32a83cc7d7bef580c63a7b66a32cc", flattened_ast = "6df74c05ced16a151c187403fb88b6394c34b3a129f2a247ad9493af98729a06", destructured_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", inlined_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", dce_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", bytecode = "234d1c18ac19b0979e3bf09581be0370faa2e2b322474f693d90c52cb2991177", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "26967678e99292a22f8f5bfb95e8d8ebdf22b10092b9e224078cb4a7d81dc4c5", type_checked_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", unrolled_symbol_table = "9b03a5a8a469fb1447ce8a3a99f194d20ca54b3adb58bcc24d808792a5fa40f7", initial_ast = "e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6", unrolled_ast = "e533170a128b14fd552e4fb569388fe5e36038946d0565313565eb10983897c6", ssa_ast = "f39da53b7fe3ad0a873e3076928d405504e32a83cc7d7bef580c63a7b66a32cc", flattened_ast = "6df74c05ced16a151c187403fb88b6394c34b3a129f2a247ad9493af98729a06", destructured_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", inlined_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", dce_ast = "a109cbe1743dd9c519d41cf8cb834bf9e2cf1a0d707cacf2232f5b9f4ef1556f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index 0736decd74..4d61fdf4f3 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936", unrolled_symbol_table = "9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936", initial_ast = "3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4", unrolled_ast = "3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4", ssa_ast = "a502c69314fdab5366078b3eecfe0ce21f076509922b279170cf8dd7360e1afc", flattened_ast = "91c9a1708e90ab39f59bafb53f1f70353ad0d05b983803a024ab06f97eae1463", destructured_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", inlined_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", dce_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", bytecode = "8fbbd1ffdc2128ce18c84c8eee60a408dd29cdc99ca197ffe094a8be0c4019c4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936", unrolled_symbol_table = "9a312e0909ec0a77ffca61835de5a7360d6fc1ebc91cfb32e815584ab7ac7936", initial_ast = "3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4", unrolled_ast = "3a47c119a633da109631ba1149a955b60929b000d49cc72c40f8d1a23eef39a4", ssa_ast = "a502c69314fdab5366078b3eecfe0ce21f076509922b279170cf8dd7360e1afc", flattened_ast = "91c9a1708e90ab39f59bafb53f1f70353ad0d05b983803a024ab06f97eae1463", destructured_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", inlined_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", dce_ast = "b7fc2ab9753f5ccae6e61fe5129e07d60d27c469cb38b57fa9b04aa60209b133", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + neg r0 into r2; + is.eq r2 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index b14bf40d4c..caf23538b6 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a", type_checked_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", unrolled_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", initial_ast = "c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9", unrolled_ast = "c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9", ssa_ast = "808fe0b96e382d45a1626f2dd61c774a3060712cd3feb7d499ed161e8f210bfa", flattened_ast = "16da702383e63b60d953c59e7ec7992cdbad720620c417ea70a39490394b03a9", destructured_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", inlined_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", dce_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", bytecode = "a9a22fd3ceba8f7aa3bc7f1e577a63bfdf395c9cad00987880cf75066bdf85c8", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "465444f63a1b533ed8a51947a39c02c91e8daf43fe000c6e6d818b422a52861a", type_checked_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", unrolled_symbol_table = "647f39291b62681aa67c79e28236beb910572b61bad45e605b33fe48acf530cc", initial_ast = "c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9", unrolled_ast = "c206336c87fffa58a841affe6322079a2c599430577112afd77325f3ab56d4b9", ssa_ast = "808fe0b96e382d45a1626f2dd61c774a3060712cd3feb7d499ed161e8f210bfa", flattened_ast = "16da702383e63b60d953c59e7ec7992cdbad720620c417ea70a39490394b03a9", destructured_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", inlined_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", dce_ast = "64a5541393c852ba0ffbeb4b5c21f78592dbbf45d7e2a2e0d6db5e219a6246c0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg -170141183460469231731687303715884105728i128 into r1; + output r1 as i128.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/integers/i128/negate_zero.out index 6752912d4f..d2d4a8ffa0 100644 --- a/tests/expectations/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/integers/i128/negate_zero.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e", unrolled_symbol_table = "3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e", initial_ast = "8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4", unrolled_ast = "8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4", ssa_ast = "e936be1db4ae61f50fa30639555b1fc3d7f9a1fd885b91b2e6cf18cebbf9cd26", flattened_ast = "c5d06b4f52dfa0b15092e7e3ec4ddadb59127a342fdf3f5961bb1a3c3d9ab6f2", destructured_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", inlined_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", dce_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", bytecode = "163f69d6df6294a79a4f27ccb9ed64ebd0e5df96c5205cf176f1201eab229deb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e", unrolled_symbol_table = "3a53a11c2956c5969c4ea29a2fdb6978c39ee66877ab11834a42d277dd6bd79e", initial_ast = "8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4", unrolled_ast = "8a3fdeb4d59d4d1ceadec0b4cf73a54cccbc98fd1ad16ff3426ff39cf790dae4", ssa_ast = "e936be1db4ae61f50fa30639555b1fc3d7f9a1fd885b91b2e6cf18cebbf9cd26", flattened_ast = "c5d06b4f52dfa0b15092e7e3ec4ddadb59127a342fdf3f5961bb1a3c3d9ab6f2", destructured_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", inlined_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", dce_ast = "c09394e0ed26a70f8e85ea229760cbce21e1facaa68b9e2b84a92b0f49afa3fd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg 0i128 into r1; + is.eq r1 0i128 into r2; + is.eq r2 r0 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/integers/i128/operator_methods.out index c6607779cf..8e6ce77396 100644 --- a/tests/expectations/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/integers/i128/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865", unrolled_symbol_table = "8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865", initial_ast = "e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7", unrolled_ast = "e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7", ssa_ast = "5a08712fb7e153575ef5f2e870c33632eae472c2bd1bc30a96fb09afd1c7cbe2", flattened_ast = "5913f34241ce99c06a12c40d3ce9f1f7b52364820397b91cfdf2851ff015d559", destructured_ast = "50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4", inlined_ast = "50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4", dce_ast = "0e025972bbd618d52bdca021a50f5a3cd949bcae1100327fe645c0f981dec495", bytecode = "3f9bcd59307e76bb9f1ec70f6b5aa9d7d279141fd0ac17f03e19ad42c64b292e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e116fb5a4b7f59388f0627230e720e88ecf04e5e73506be4b5f6be855a59f20c", type_checked_symbol_table = "8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865", unrolled_symbol_table = "8413ae27501661233e57dd8c74f57603980235c3ecdb86774949c70a433ff865", initial_ast = "e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7", unrolled_ast = "e7200c2783159f95825f4c782c0f16395f684b5fadf29853d69bb6c3b1e7f0a7", ssa_ast = "5a08712fb7e153575ef5f2e870c33632eae472c2bd1bc30a96fb09afd1c7cbe2", flattened_ast = "5913f34241ce99c06a12c40d3ce9f1f7b52364820397b91cfdf2851ff015d559", destructured_ast = "50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4", inlined_ast = "50c07ff80b06b89bd4283961f54314d9ddc40a6d0aea97675fac3412d8063da4", dce_ast = "0e025972bbd618d52bdca021a50f5a3cd949bcae1100327fe645c0f981dec495", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/or.out b/tests/expectations/compiler/integers/i128/or.out index 48cc1963e4..9a7a734e44 100644 --- a/tests/expectations/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/integers/i128/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411", unrolled_ast = "78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411", ssa_ast = "5ad943b23279ea25edc0ddf58fb553f83e7f648767dd09ed22413d89a4d68a61", flattened_ast = "79657df1a9610f5a711d553b9fe2e165ed2127cbd09b8c9a2d4edcac6bc99524", destructured_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", inlined_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", dce_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", bytecode = "85fa769a183361184804ca78415e58cd4df150b04f1b50a743771dc28df46b4b", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411", unrolled_ast = "78919e6578921ffa218740e345e4baed63a27d685f2fa1dbc1b1e579cf0ea411", ssa_ast = "5ad943b23279ea25edc0ddf58fb553f83e7f648767dd09ed22413d89a4d68a61", flattened_ast = "79657df1a9610f5a711d553b9fe2e165ed2127cbd09b8c9a2d4edcac6bc99524", destructured_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", inlined_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", dce_ast = "6d57ec018d170d14bb56314ac05d00d7331d4a6a8bb8613169d23dd491abdc22", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/pow.out b/tests/expectations/compiler/integers/i128/pow.out index c6d028256f..6aef3b76b0 100644 --- a/tests/expectations/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/integers/i128/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46", unrolled_ast = "961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46", ssa_ast = "146306f6f05eded52b192b9bfee4b86825ae855b719505a28bd15eba8590aa44", flattened_ast = "6eb70dfca778f3c552a2f841f86d669fb84babacb22b31aea760170d9a7f5b58", destructured_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", inlined_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", dce_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", bytecode = "d190616fb105ce612eb0022279524f88dacfa3a9bef033cc54a70954b0140ef6", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46", unrolled_ast = "961bfb743525019a76e6dffd174a840fc06ef26454ae0f40957be24253af5e46", ssa_ast = "146306f6f05eded52b192b9bfee4b86825ae855b719505a28bd15eba8590aa44", flattened_ast = "6eb70dfca778f3c552a2f841f86d669fb84babacb22b31aea760170d9a7f5b58", destructured_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", inlined_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", dce_ast = "5baa97fd15783a0725b26a7227550130ba7116f1bfef909aa88c69250b6033e3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/rem.out b/tests/expectations/compiler/integers/i128/rem.out index 7aa3d69c63..3b19906d1a 100644 --- a/tests/expectations/compiler/integers/i128/rem.out +++ b/tests/expectations/compiler/integers/i128/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181", unrolled_ast = "cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181", ssa_ast = "0423308918cd8a3aa5a15bb008bee3c3e5c982250fe43ce6bd66ba168ebfd5d3", flattened_ast = "c4f52f094312b0ade04c0302d4d8333f4184c11c4e2375870315eacfd1609dba", destructured_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", inlined_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", dce_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", bytecode = "5d53e21705893d69b529fbcd09e2200ac612868aa3b553ab83eac9ab33ecdcad", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181", unrolled_ast = "cf41bc02e3e09ef39d1923fa0f21efdba0d5345a52637b9c66c4b82f78dda181", ssa_ast = "0423308918cd8a3aa5a15bb008bee3c3e5c982250fe43ce6bd66ba168ebfd5d3", flattened_ast = "c4f52f094312b0ade04c0302d4d8333f4184c11c4e2375870315eacfd1609dba", destructured_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", inlined_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", dce_ast = "f930a97c73c41d7bd3ba28dd6df0d45fdbac3f62e6d58fdc3982605b413407e5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/shl.out b/tests/expectations/compiler/integers/i128/shl.out index 3efe05a501..38daab6041 100644 --- a/tests/expectations/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/integers/i128/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d", unrolled_ast = "4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d", ssa_ast = "3e1857f5b77ed36a8d7d514899b278d17887cc0229061bbb36918ba1ca321c67", flattened_ast = "a367d58b22397aadf2a9b50176228388cd5e995ec76e1df1721d1f268cccb767", destructured_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", inlined_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", dce_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", bytecode = "d27718f2372db60651de0720d5d611c3199e4be462f5a122ec9fbf05720f9700", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d", unrolled_ast = "4e22d0070d5ef054960290bf20bbe677532b7cd29656da2416cbb9ad29e4f28d", ssa_ast = "3e1857f5b77ed36a8d7d514899b278d17887cc0229061bbb36918ba1ca321c67", flattened_ast = "a367d58b22397aadf2a9b50176228388cd5e995ec76e1df1721d1f268cccb767", destructured_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", inlined_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", dce_ast = "3dbe369a7480aa6dbf84ec742b034165f42586ab39f2395c4663e1aa2bde69e6", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/shr.out b/tests/expectations/compiler/integers/i128/shr.out index c0d4067bbd..f0b25b8af7 100644 --- a/tests/expectations/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/integers/i128/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a", unrolled_ast = "e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a", ssa_ast = "a077a00172d25a11c338ef2be947723ebc4cc44f37486b2cbfe7e5e13b830894", flattened_ast = "d4acea907a937b5cc361d247b9ac88b467f180108ce51cb46fbc0307ca4165f8", destructured_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", inlined_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", dce_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", bytecode = "3835c59e778362b72f87e954fe6c9777904bf7d390f68b5ff47fb6c8ef5bb258", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a", unrolled_ast = "e033f6264d689a5c7b3d109a4e7bd1c3d2f9dfd9a86712b5cbc709ae5e63db6a", ssa_ast = "a077a00172d25a11c338ef2be947723ebc4cc44f37486b2cbfe7e5e13b830894", flattened_ast = "d4acea907a937b5cc361d247b9ac88b467f180108ce51cb46fbc0307ca4165f8", destructured_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", inlined_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", dce_ast = "45261ddd17313128be562a27978b2481ba390079b79e010671549f13f1d2f2b2", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/sub.out b/tests/expectations/compiler/integers/i128/sub.out index 18ea20ae38..d175ad1ec2 100644 --- a/tests/expectations/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/integers/i128/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2", unrolled_ast = "366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2", ssa_ast = "452a3ded08bdc82a4137f6c83de0d686f794d2628c2f08b8c59570531fbd175c", flattened_ast = "a6787b875bc922630b77f26b2dec98af36ed818d825c4eafff0b00bfacead1dc", destructured_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", inlined_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", dce_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", bytecode = "1adab47eb5efe9d41dbad9d8b31eb8866871818b40ef6bd54a77c8b016683a5a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ed68e1a27ce8421017d6a9ee6d23e2e9cb5c7fbad80c6c27d0878ae4c420d366", type_checked_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", unrolled_symbol_table = "49b912a7c0bbe948c6c049b6e56d90aeb245cdd80d17105302c68a66bea4bd01", initial_ast = "366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2", unrolled_ast = "366d4b0df2cf6d2263b2fd00b3113becf91de4616e8bf5f86684454bebb2cff2", ssa_ast = "452a3ded08bdc82a4137f6c83de0d686f794d2628c2f08b8c59570531fbd175c", flattened_ast = "a6787b875bc922630b77f26b2dec98af36ed818d825c4eafff0b00bfacead1dc", destructured_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", inlined_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", dce_ast = "076206dd1b4a83be588251a571ec952d8ba5771da531a287fe56d36e1dca5e02", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + input r2 as i128.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/ternary.out b/tests/expectations/compiler/integers/i128/ternary.out index 98fb517407..daedd8fcd1 100644 --- a/tests/expectations/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/integers/i128/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "acbedd59b5575955dd3e57c00324a9e42deb95c8c2734a29945bf9e2d1926e73", type_checked_symbol_table = "2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6", unrolled_symbol_table = "2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6", initial_ast = "ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6", unrolled_ast = "ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6", ssa_ast = "17e1a255732c391dfff6fa4fd03f076cef97983916d270fece8cb17fb7bcdfb8", flattened_ast = "79798fc4c657bf4b1f316db4fc70e3be0fef1add5157f39a97bc89abb16c1ae5", destructured_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", inlined_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", dce_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", bytecode = "dfa955d512febab56fa2b549f3f0857663aaddb77a71f0322d48b26af49eb2af", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "acbedd59b5575955dd3e57c00324a9e42deb95c8c2734a29945bf9e2d1926e73", type_checked_symbol_table = "2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6", unrolled_symbol_table = "2b5d52c6c048a69f9d65cc5139276af72ef27e5d6524255fafe3465c247197d6", initial_ast = "ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6", unrolled_ast = "ed5862f46b7b3ef3addca4454ba225646fd1d9cc800a5a4f8d585d631d9d36f6", ssa_ast = "17e1a255732c391dfff6fa4fd03f076cef97983916d270fece8cb17fb7bcdfb8", flattened_ast = "79798fc4c657bf4b1f316db4fc70e3be0fef1add5157f39a97bc89abb16c1ae5", destructured_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", inlined_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", dce_ast = "72361c470c5bacf68944f864aa46d0a26eacecf977d4e3ffaec18f3ad6a58ae9", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as i128.private; + input r2 as i128.private; + input r3 as i128.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i128/xor.out b/tests/expectations/compiler/integers/i128/xor.out index ef07e958aa..9a4d881c5c 100644 --- a/tests/expectations/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/integers/i128/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b507044a654db0c30b45b373e38fa3e58e04ee5d435c1ceeba2dd237828a158a", type_checked_symbol_table = "817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e", unrolled_symbol_table = "817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e", initial_ast = "9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079", unrolled_ast = "9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079", ssa_ast = "acbfeb5f768f531964b2114a7c06ff4e5cbcfa04b9c04a271911a32132f523a4", flattened_ast = "81128b2004af5b82555f63a1b3cb5a8a0be8a827140b0288d5e683f2b60e5ff7", destructured_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", inlined_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", dce_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", bytecode = "a4e52d530daa111c685a34ebf07350f49f886e72fb1af5fd8c789c1ece9813b9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b507044a654db0c30b45b373e38fa3e58e04ee5d435c1ceeba2dd237828a158a", type_checked_symbol_table = "817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e", unrolled_symbol_table = "817f9f9f80502582ed47ad3c2fb0e05a56c4542c965c8d66278b23df159d038e", initial_ast = "9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079", unrolled_ast = "9e76917851d61af22d72f51a13eecddee12d361f36b5f732cf7a89ee77aac079", ssa_ast = "acbfeb5f768f531964b2114a7c06ff4e5cbcfa04b9c04a271911a32132f523a4", flattened_ast = "81128b2004af5b82555f63a1b3cb5a8a0be8a827140b0288d5e683f2b60e5ff7", destructured_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", inlined_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", dce_ast = "41ecb7c203f73526315a53f4378c30b97a20bb9b37dc9ea0d74f766ed21617f5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i128.private; + input r1 as i128.private; + xor r0 r1 into r2; + output r2 as i128.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/add.out b/tests/expectations/compiler/integers/i16/add.out index 1e29932b77..3f8d246e76 100644 --- a/tests/expectations/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/integers/i16/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272", unrolled_ast = "6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272", ssa_ast = "f71009ea8a0fae7bd9a28b477e02df08ff3cfa479b7f81e2f0b63f0100ce3d96", flattened_ast = "d2f11e953067d8bbaaea97bf495dc461a0368f4ec56f61e9d76bff9e5a919002", destructured_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", inlined_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", dce_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", bytecode = "4d6180dac5a97d9a8f2825b4cae41adec00897380b309e1ffadda4ddd4f607fa", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272", unrolled_ast = "6c8f47e04135bd9001ca9fa0c9792f0fe56619f6610c7389ab61ced60c0cd272", ssa_ast = "f71009ea8a0fae7bd9a28b477e02df08ff3cfa479b7f81e2f0b63f0100ce3d96", flattened_ast = "d2f11e953067d8bbaaea97bf495dc461a0368f4ec56f61e9d76bff9e5a919002", destructured_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", inlined_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", dce_ast = "d8eb9c9c0b0518732dc15bf2dd812e6b71b16af1a19e98abe5bdaf642274642f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/and.out b/tests/expectations/compiler/integers/i16/and.out index 293d2bb5ba..7a406ef76f 100644 --- a/tests/expectations/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/integers/i16/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f", unrolled_ast = "7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f", ssa_ast = "3cf17e37c8b7809f7201c566404da558ff53211bd67bcefd7a9410626d6c13d3", flattened_ast = "d050c38ea3e92aa63b796eb0317f920753fbb0de6bd3755a2cb651d8d8f0366d", destructured_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", inlined_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", dce_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", bytecode = "a0056ca7a6a670a9bb0bc979e224136219b6a336c43d3ecd624c218cba49ba22", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f", unrolled_ast = "7e0064f246356a7ff33274423620c3f47ae369132d440b4c34c9beb2a526bd7f", ssa_ast = "3cf17e37c8b7809f7201c566404da558ff53211bd67bcefd7a9410626d6c13d3", flattened_ast = "d050c38ea3e92aa63b796eb0317f920753fbb0de6bd3755a2cb651d8d8f0366d", destructured_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", inlined_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", dce_ast = "236aabb1766a47171bbe9cff06db9414d820d183480a30a9b32232b0fb2f4cf5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/integers/i16/console_assert.out index 9e46db819d..d83b22d33c 100644 --- a/tests/expectations/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/integers/i16/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c", unrolled_symbol_table = "201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c", initial_ast = "bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d", unrolled_ast = "bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d", ssa_ast = "5ab1d2a184285e2cc6a67587bc6b59ad0f6a94492602a6c47a2c870e09b1dcd0", flattened_ast = "51b1dfa630ccfe91d0b4338352400c2817e4ec97d13cebd011b8f8df53dae9b6", destructured_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", inlined_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", dce_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", bytecode = "ac2d2f57bf49761437884caa2b7f46c8c33df05175d3cba3ace16cb068374f18", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c", unrolled_symbol_table = "201e986733822a2677f3fb2ee0b23fef68fbc575a640a9543dbf8849ac08ab4c", initial_ast = "bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d", unrolled_ast = "bdee36b9cbe57911a877087f4eeadfa83c953154bd8e41a76262bbf7d32beb2d", ssa_ast = "5ab1d2a184285e2cc6a67587bc6b59ad0f6a94492602a6c47a2c870e09b1dcd0", flattened_ast = "51b1dfa630ccfe91d0b4338352400c2817e4ec97d13cebd011b8f8df53dae9b6", destructured_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", inlined_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", dce_ast = "bab98c5e44163a1309917bea9ccaf9e8f4cddd02580d5abcb76bbe17b64aaa2f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/div.out b/tests/expectations/compiler/integers/i16/div.out index 41be1f40eb..03df2812bc 100644 --- a/tests/expectations/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/integers/i16/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a", unrolled_ast = "038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a", ssa_ast = "ed5404d130ae5bf4e1135fc198fcda42ac055f1b42648c9ee7f0bb5f118c091e", flattened_ast = "9cd3c3ef2cff9ad4b503775bcec497a86dd3d2d0733751e413e2bf2578220953", destructured_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", inlined_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", dce_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", bytecode = "0d753f8ac24fd6daf4150b9ab5d1469e61c65d75c6eddcc8a5dd859e8084fb2f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a", unrolled_ast = "038f29d9bd864f7ba4fdf5b8816c65608f6cad0a666aa5c0e1b677fec0b43d4a", ssa_ast = "ed5404d130ae5bf4e1135fc198fcda42ac055f1b42648c9ee7f0bb5f118c091e", flattened_ast = "9cd3c3ef2cff9ad4b503775bcec497a86dd3d2d0733751e413e2bf2578220953", destructured_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", inlined_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", dce_ast = "a1f15537cbd436509d0f7042e2a300b733d0abd36323a1595dfe3a6b294816f8", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/eq.out b/tests/expectations/compiler/integers/i16/eq.out index 289dce0031..3e8f984450 100644 --- a/tests/expectations/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/integers/i16/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d", unrolled_ast = "9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d", ssa_ast = "cf36eb27361ccc7f9d18f6feb1f43a2cb3011a32f016663bbb8efd501781cef5", flattened_ast = "d40b7e818e541c629e462b845fabd0505036172f082c2787794b7d25c16e57c5", destructured_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", inlined_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", dce_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", bytecode = "898a6a5cc452219a2c31f1cc7f0c73c6eea23a72d4d331e013cfb866167467e2", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d", unrolled_ast = "9d60d2c086520f8391b0c7374d30cd11cc30acd9a2a49f35bf52e89c4be0674d", ssa_ast = "cf36eb27361ccc7f9d18f6feb1f43a2cb3011a32f016663bbb8efd501781cef5", flattened_ast = "d40b7e818e541c629e462b845fabd0505036172f082c2787794b7d25c16e57c5", destructured_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", inlined_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", dce_ast = "8d726ce0ff0543d808751f23cd0ace00df543021fb1a76286f8d062c52a57cc7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/ge.out b/tests/expectations/compiler/integers/i16/ge.out index f85685f310..80628332f2 100644 --- a/tests/expectations/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/integers/i16/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3", unrolled_ast = "45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3", ssa_ast = "9e4dca84f1c7bc06e7e2f432119bc4a742137b0756da6d628c12a93880dcebef", flattened_ast = "423022ef7438e119cb9f85504614f2806aaff9397b9f5bee728a5e53ce7604d6", destructured_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", inlined_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", dce_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", bytecode = "e35d3733d6b9cdae2cad91fa9100d057efcbdf45f16994f11a75319486a81e64", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3", unrolled_ast = "45987607ac9573cd3cc792bf37953df05191898c6417af32467bbd19836447f3", ssa_ast = "9e4dca84f1c7bc06e7e2f432119bc4a742137b0756da6d628c12a93880dcebef", flattened_ast = "423022ef7438e119cb9f85504614f2806aaff9397b9f5bee728a5e53ce7604d6", destructured_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", inlined_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", dce_ast = "c88b48861a55431b7e0a4bb67c3926771fdede703bc1f654662b5b50ebd51b16", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/gt.out b/tests/expectations/compiler/integers/i16/gt.out index 94b7316972..073e13bdf0 100644 --- a/tests/expectations/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/integers/i16/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d", unrolled_ast = "a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d", ssa_ast = "d343b1ed12fde8c888e41213991b6eed7814058f702efd82af14144ef7c48e44", flattened_ast = "708abf5b9aced79c5f41ee88114ea5b11895cd0335c979853ecb7ba1c2878ca4", destructured_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", inlined_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", dce_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", bytecode = "8195766fd4b565e30f6f4e088c57977e5a558d68847e0a61fe2b8de79bd2590d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d", unrolled_ast = "a3d6d06d64f87e9100c2c29ff404d80f18fa35227f989ebfebaf6bd565539d8d", ssa_ast = "d343b1ed12fde8c888e41213991b6eed7814058f702efd82af14144ef7c48e44", flattened_ast = "708abf5b9aced79c5f41ee88114ea5b11895cd0335c979853ecb7ba1c2878ca4", destructured_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", inlined_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", dce_ast = "65f104dc0166e5e037a71ca5039369c87a383af76bb07e24a77aafabe41aac5c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/hex_and_bin.out b/tests/expectations/compiler/integers/i16/hex_and_bin.out index 00ca4c60ea..009cb6dc30 100644 --- a/tests/expectations/compiler/integers/i16/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i16/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "29029f1a16e25967a35a6ed07eb857a7a14c2aff01cbe5cc53065fb37de75e33", type_checked_symbol_table = "b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09", unrolled_symbol_table = "b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09", initial_ast = "40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30", unrolled_ast = "40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30", ssa_ast = "10914c235af1410bcc77ba6b7ef1378d414b655086650d6b6814b5adfa29cb17", flattened_ast = "042a582d89960ccf8683decbf3a0b3b44c66d53f8922ef878ae83317c16eb777", destructured_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", inlined_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", dce_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", bytecode = "abbe9790219732acac590659c2aa27351a46df65ca5cc03c9def1889d5642d2d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "29029f1a16e25967a35a6ed07eb857a7a14c2aff01cbe5cc53065fb37de75e33", type_checked_symbol_table = "b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09", unrolled_symbol_table = "b18c7816d649a45de2cb8867c4d7f791b48da710b8a68be9ad2e81a8acebbf09", initial_ast = "40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30", unrolled_ast = "40da0941a9022d4da4860586a31ab26d1062f58eb5c254a8729160cc34d62f30", ssa_ast = "10914c235af1410bcc77ba6b7ef1378d414b655086650d6b6814b5adfa29cb17", flattened_ast = "042a582d89960ccf8683decbf3a0b3b44c66d53f8922ef878ae83317c16eb777", destructured_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", inlined_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", dce_ast = "f9434ee8cb2104ba7085d97a57f5e9ff6c25a30064fb1b7cfebcd6c1726b54d6", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + is.eq r0 127i16 into r3; + is.eq r1 27i16 into r4; + and r3 r4 into r5; + is.eq r2 21i16 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/le.out b/tests/expectations/compiler/integers/i16/le.out index f0235e0d06..d5c520c9be 100644 --- a/tests/expectations/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/integers/i16/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892", unrolled_ast = "01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892", ssa_ast = "9a7d0212c75fa433a90af18edd4a5dbb1c4a8f6bf2cc259c2f9b492ecdf4354b", flattened_ast = "10a0d660647a6ff40cac8df4a1815b1e53755480603bf11c8de1a7f8e72e89ab", destructured_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", inlined_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", dce_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", bytecode = "98dc59dd7939556e96fd2a7f222612401d18c45c3d38845f2c68d273b1d848c3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892", unrolled_ast = "01f6e6d33ad437e8b6fb4ce0dff5c514e3171533e64a52ad177408705006e892", ssa_ast = "9a7d0212c75fa433a90af18edd4a5dbb1c4a8f6bf2cc259c2f9b492ecdf4354b", flattened_ast = "10a0d660647a6ff40cac8df4a1815b1e53755480603bf11c8de1a7f8e72e89ab", destructured_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", inlined_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", dce_ast = "b017320038799ac1eee8d3d21424e61350093eb48a9f46a14cc0b181c21c62f8", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/lt.out b/tests/expectations/compiler/integers/i16/lt.out index c939dcf112..2c61503e07 100644 --- a/tests/expectations/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/integers/i16/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce", unrolled_ast = "0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce", ssa_ast = "32be361ea64b6ac8c2d2f67c4d00d9c74f8f65e4667a1e238b38441b57d067e8", flattened_ast = "b55b15c0327af13788356383bec2a16488af78c7604ce7d22ba9c2e4fc3a5200", destructured_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", inlined_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", dce_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", bytecode = "1ce9578b21f22dfd7342da3a2ea28ed86cb30b94475fc02329dab93fe121eaa3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce", unrolled_ast = "0422a0f0a4dc555e53af34cda3cf096e578d2bf3159b93bac928938695f869ce", ssa_ast = "32be361ea64b6ac8c2d2f67c4d00d9c74f8f65e4667a1e238b38441b57d067e8", flattened_ast = "b55b15c0327af13788356383bec2a16488af78c7604ce7d22ba9c2e4fc3a5200", destructured_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", inlined_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", dce_ast = "8f44e3696dabbb42c522c3e5de6e5a6f606a7c569a4569382c1e68bf999c1080", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/max.out b/tests/expectations/compiler/integers/i16/max.out index a8403b03a3..2b9ec4487e 100644 --- a/tests/expectations/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/integers/i16/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591", type_checked_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", unrolled_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", initial_ast = "2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5", unrolled_ast = "2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5", ssa_ast = "db4dd33512c7a427af08beb26d3fd65427f11f211bd0348c8b98e336df53d206", flattened_ast = "dfe4b31e00a15032fa75f0a29d22d6d93344b3bf7d102274ccddfd15628eeb26", destructured_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", inlined_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", dce_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", bytecode = "45295d2179ab802afcc86d7d5b8c0b17afcdab726c8cca491370f77918e64a2b", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591", type_checked_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", unrolled_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", initial_ast = "2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5", unrolled_ast = "2259743a46d3ea04db7e76df9460ced1999fd2a1e3d7edfb6cc511af5d2408a5", ssa_ast = "db4dd33512c7a427af08beb26d3fd65427f11f211bd0348c8b98e336df53d206", flattened_ast = "dfe4b31e00a15032fa75f0a29d22d6d93344b3bf7d102274ccddfd15628eeb26", destructured_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", inlined_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", dce_ast = "319ea3581116c393dc0ae8bbd39809b64eee4e217d0ed32d02a10b897c45c438", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + sub 32767i16 r0 into r1; + output r1 as i16.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index 3601e3e3f0..18b16e1032 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591", type_checked_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", unrolled_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", initial_ast = "7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4", unrolled_ast = "7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4", ssa_ast = "f8499bd22ee01e6da2208cf543c9bd6202d2be17ae2c7245a82ebf2f55fe121b", flattened_ast = "81080692d927e37301b2666e4060cdbe4e7c2a21689fa661e75dde03ccc9a044", destructured_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", inlined_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", dce_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", bytecode = "b4ca9ba0607d70a519a65b1415ffb48639cda59835abf8a7a892710f309b0abc", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d47aa228cf5afeb1a4b11a842278aa70b8a72e1bae896afaf92aeb43b7c7f591", type_checked_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", unrolled_symbol_table = "b0ea0a68e00ce7191185bf0abcaf4d4f143f236d27413b71220b76915ca3061f", initial_ast = "7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4", unrolled_ast = "7738d7689916c25d785448f4b3ee0a5351fed9444ae7d56acb6b634b51cfb2e4", ssa_ast = "f8499bd22ee01e6da2208cf543c9bd6202d2be17ae2c7245a82ebf2f55fe121b", flattened_ast = "81080692d927e37301b2666e4060cdbe4e7c2a21689fa661e75dde03ccc9a044", destructured_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", inlined_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", dce_ast = "491168a3ff75b71acc86d7387f460800f8001bac753b4ace745bedcfc044c2a3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + sub -32767i16 r0 into r1; + output r1 as i16.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index 226f4b7c1a..264e61696d 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718", type_checked_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", unrolled_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", initial_ast = "b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5", unrolled_ast = "b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5", ssa_ast = "2d5267193d78ca01d95362840d84052f846c16c287a6ffb405c4e4b1a31f744f", flattened_ast = "c71c8899a4a2000b54e348eac03181f96e25fceb6a05b1e7fee5acec38e25835", destructured_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", inlined_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", dce_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", bytecode = "5d5bc4c63f62ab0bf4b07e3791e046417ea909f69375729be199bbdba267e742", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718", type_checked_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", unrolled_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", initial_ast = "b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5", unrolled_ast = "b9547796a72872467fcf1dc23cb7fab9faa3384f82ecddbfc652fc37602ba2f5", ssa_ast = "2d5267193d78ca01d95362840d84052f846c16c287a6ffb405c4e4b1a31f744f", flattened_ast = "c71c8899a4a2000b54e348eac03181f96e25fceb6a05b1e7fee5acec38e25835", destructured_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", inlined_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", dce_ast = "01402129008422974cb9a1561be70439e751f9a4f1623fa986e8c7100980f2b3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + sub -32767i16 2i16 into r1; + output r1 as i16.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/mul.out b/tests/expectations/compiler/integers/i16/mul.out index 9f7ab7d091..6df794a60f 100644 --- a/tests/expectations/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/integers/i16/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc", unrolled_ast = "149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc", ssa_ast = "160c673ad78b1e9743597edf8051a9a968236481b9b353dfae1d476577eebd9a", flattened_ast = "bd5667189055bc254b8258a25cf3eeda3d9a8e3a3c5597ecd86c8f28c22381ce", destructured_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", inlined_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", dce_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", bytecode = "dfd9acb20823234cdd87513c5b6ee195f0e5b925b52e035009dcb7ff22e6900a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc", unrolled_ast = "149bcc4b503fba9ff3e58c922b457b8210ffbe0e6fba7d8d0fed366899a239fc", ssa_ast = "160c673ad78b1e9743597edf8051a9a968236481b9b353dfae1d476577eebd9a", flattened_ast = "bd5667189055bc254b8258a25cf3eeda3d9a8e3a3c5597ecd86c8f28c22381ce", destructured_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", inlined_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", dce_ast = "9032d993512e7cb4534820dfbadc5e8eb5cfe840acd9897269575ad199f381e0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/ne.out b/tests/expectations/compiler/integers/i16/ne.out index 8d29a7455f..f9ac451ca4 100644 --- a/tests/expectations/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/integers/i16/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a", unrolled_ast = "7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a", ssa_ast = "c0e6f90c44da98fef1c04a2ca2215dd7e718f8697c25d35e02eabb6c7ea14465", flattened_ast = "03be2b9a03f30c2eec9bf2536e155a6e2635469ee9fe4ba85f37dd6d6840b163", destructured_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", inlined_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", dce_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", bytecode = "955b3e3d4d80a6816de6d59563cc6f31f94dbff43853facba45936dfdc2012ca", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5df2ffe594181b9cc0903c90708400e008e6b311701d2436476b779ba61c1d23", type_checked_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", unrolled_symbol_table = "458c03a73ef827a1e9430685e8ffd7bce7606cce8e984d1eb5d4ed7a0510850d", initial_ast = "7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a", unrolled_ast = "7962efcc973c9f81ff4f4d53e99fd7287233d96e5d038a1e817a5b683258015a", ssa_ast = "c0e6f90c44da98fef1c04a2ca2215dd7e718f8697c25d35e02eabb6c7ea14465", flattened_ast = "03be2b9a03f30c2eec9bf2536e155a6e2635469ee9fe4ba85f37dd6d6840b163", destructured_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", inlined_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", dce_ast = "2a28520a17ab169249e2f7b46ded8514cf9034cc789cab0d3915ee2c2211eb28", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index 5a0aa08466..00d73e2d7c 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6", unrolled_symbol_table = "72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6", initial_ast = "19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872", unrolled_ast = "19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872", ssa_ast = "415a2c2d597270ac91f4d6f37a36b8edf5b1ed8be72068e90bf53a26d94c6ad3", flattened_ast = "740041a346ea9666e5104166eb87435ac1471179f3f428b3e3b592af4807c4d7", destructured_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", inlined_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", dce_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", bytecode = "4c2a08bbf8cfdd45438e33b981a9f3d77b1d44225227714b3189e3e641e428e9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6", unrolled_symbol_table = "72c0ebfb2bd3ca4aa7e9b874e6e503fd4a60c7df86a3b7d93efab8c24b334ad6", initial_ast = "19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872", unrolled_ast = "19c3003aa7806c3901198f5ff002a0a2d4b25903d1031d6433f24ca643868872", ssa_ast = "415a2c2d597270ac91f4d6f37a36b8edf5b1ed8be72068e90bf53a26d94c6ad3", flattened_ast = "740041a346ea9666e5104166eb87435ac1471179f3f428b3e3b592af4807c4d7", destructured_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", inlined_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", dce_ast = "5d67eefaf8bda85fdf59263cc3b78b8428cd7f7d1bc6a461728f99690c968bb3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + neg r0 into r2; + is.eq r2 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index b45a8d14a3..24df831d12 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718", type_checked_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", unrolled_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", initial_ast = "714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773", unrolled_ast = "714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773", ssa_ast = "4312012008bfd431feec056a18efe1bf1053ae3fbe55a30863d1846dc2e8a6a6", flattened_ast = "d4d1a2c0b7799d10df1036aae149fda4bb7b5a909150a24d48ae09b0e5639473", destructured_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", inlined_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", dce_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", bytecode = "f1c720ffbffc836bb5dcc1bdf2b2e9cb95de97275e7798b6f8e508c9116d757c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "853b33211f8e951b0e64fc7b68f80bcf40f4c37d14fdcf796e163bf0a4d6e718", type_checked_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", unrolled_symbol_table = "908930ca10f04f68689ac78dd301a5752ab330a9cb5eef7b65df416f5dcc2eb5", initial_ast = "714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773", unrolled_ast = "714efb95a1083e7f86bc44bb549290f8f42dfad5caa020e228a23cd820038773", ssa_ast = "4312012008bfd431feec056a18efe1bf1053ae3fbe55a30863d1846dc2e8a6a6", flattened_ast = "d4d1a2c0b7799d10df1036aae149fda4bb7b5a909150a24d48ae09b0e5639473", destructured_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", inlined_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", dce_ast = "969d67a86b01949da6b350a43472be5eef917e3f0ad8b19761e53114833f3c67", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg -32768i16 into r1; + output r1 as i16.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/integers/i16/negate_zero.out index 450424c9ce..00953214c6 100644 --- a/tests/expectations/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/integers/i16/negate_zero.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89", unrolled_symbol_table = "d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89", initial_ast = "7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8", unrolled_ast = "7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8", ssa_ast = "d0e8a02c77d5ba131933d0cf93ae70bbfbc1e3b290fa842836221d8ce3de7743", flattened_ast = "289376e403ff4b94e4539312cbd03f89df34bac7fd268366a3775c0e41cfde53", destructured_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", inlined_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", dce_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", bytecode = "041ad04237619df46380596339019563fc1d330a7e3792a3d856e4b600e8501e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89", unrolled_symbol_table = "d32263552cc0f624130ded165f96d938fa0933a1a1ff2dbc0057420c7fb8ca89", initial_ast = "7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8", unrolled_ast = "7028b71fb9f135d260859f39f9703e776ebd2a88bc98d18cc3133c596e8e1ca8", ssa_ast = "d0e8a02c77d5ba131933d0cf93ae70bbfbc1e3b290fa842836221d8ce3de7743", flattened_ast = "289376e403ff4b94e4539312cbd03f89df34bac7fd268366a3775c0e41cfde53", destructured_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", inlined_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", dce_ast = "0eee77a7699a4f5d9b675958a38d750ddad1c0243749ac83a814e67950985f5f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg 0i16 into r1; + is.eq r1 0i16 into r2; + is.eq r2 r0 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/integers/i16/operator_methods.out index 488607bc94..64ca000250 100644 --- a/tests/expectations/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/integers/i16/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a", unrolled_symbol_table = "e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a", initial_ast = "5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb", unrolled_ast = "5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb", ssa_ast = "fde89dfbffc96d97e4154c24167b9ae2e57feabe421a320d2cf6d7e716c3b27d", flattened_ast = "e709202124e35435409f2fb5667b77c3f88def8c2511a15abb5a613e8dae3e0a", destructured_ast = "30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c", inlined_ast = "30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c", dce_ast = "c3baefa1b4e4ef7a17f1382d03767e9895fc3e63f701442bdac209d0b47de477", bytecode = "2ae0c269722de40ebea82115838ca6bc794e781954d9437afc1684c0f171847f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "db67403754f14b3ef4395457b82051ceeea57cf62bee53ae09126dbca5992143", type_checked_symbol_table = "e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a", unrolled_symbol_table = "e5c8c9e27f3e140cadc9ed7909b8063446fa83b6f7428a3ced72197943637a3a", initial_ast = "5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb", unrolled_ast = "5341cd4af280073ce201f990517c6411545366b0f1be9680d5ca22f47fc582eb", ssa_ast = "fde89dfbffc96d97e4154c24167b9ae2e57feabe421a320d2cf6d7e716c3b27d", flattened_ast = "e709202124e35435409f2fb5667b77c3f88def8c2511a15abb5a613e8dae3e0a", destructured_ast = "30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c", inlined_ast = "30754422582fb2008bf80669dd4ffff0ad75abf37c701b4b3103ebf97dedaf7c", dce_ast = "c3baefa1b4e4ef7a17f1382d03767e9895fc3e63f701442bdac209d0b47de477", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/or.out b/tests/expectations/compiler/integers/i16/or.out index 2c94b5f40b..32d1ca75db 100644 --- a/tests/expectations/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/integers/i16/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b", unrolled_ast = "84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b", ssa_ast = "4a319970e8c0bed5a417837135e53cc73257083dc4dc579f6cb8663b23f7fa31", flattened_ast = "d589d1dd8ac18541bbb00050f30777aac25cb7be05826e28849b73256f246887", destructured_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", inlined_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", dce_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", bytecode = "ce2896db5a90c1bfd62a00f9b8721cc2285e1ef077a8e225e2748bb33742564b", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b", unrolled_ast = "84e2f08a54da3a6615a5a28000a9652a721a3d87b715807d3bd00d803848654b", ssa_ast = "4a319970e8c0bed5a417837135e53cc73257083dc4dc579f6cb8663b23f7fa31", flattened_ast = "d589d1dd8ac18541bbb00050f30777aac25cb7be05826e28849b73256f246887", destructured_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", inlined_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", dce_ast = "951f410ca1c91e60731c9e12de2a744e9bef1f2b2004f7d71cb238bcf274fa93", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/pow.out b/tests/expectations/compiler/integers/i16/pow.out index 64cd2705d7..4aafce1931 100644 --- a/tests/expectations/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/integers/i16/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9", unrolled_ast = "d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9", ssa_ast = "4a084d423586810e375172414eb6e9671e7080cd1a628939feaf3f54ae8c7ae9", flattened_ast = "ff147245e6925e970af4ef63f8091a010dce9b6b195013da38951c77de859551", destructured_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", inlined_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", dce_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", bytecode = "5566b622f6c5ea37b1b130db8b59ea5d69140dbe2aae45a1ada003d92482f7a9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9", unrolled_ast = "d6f2bdb563127e390170ef13b2a50bf7156d5d10b850525c1350db16e0d93bd9", ssa_ast = "4a084d423586810e375172414eb6e9671e7080cd1a628939feaf3f54ae8c7ae9", flattened_ast = "ff147245e6925e970af4ef63f8091a010dce9b6b195013da38951c77de859551", destructured_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", inlined_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", dce_ast = "58c01b9e4cd4ddee735df2c9009114d3386dcfcdf5340159f6591e049078b773", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/rem.out b/tests/expectations/compiler/integers/i16/rem.out index 3e33b7ddd3..9f2852c2ed 100644 --- a/tests/expectations/compiler/integers/i16/rem.out +++ b/tests/expectations/compiler/integers/i16/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4", unrolled_ast = "d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4", ssa_ast = "13a9aa57a7630c2b06d428bf91364f01f01e12a020d22e52446d0d0a99f40dd3", flattened_ast = "5c5521d529ad4b82f2c961056292208270c9bd7b08f0d9d5ba85ca742c5fd7b7", destructured_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", inlined_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", dce_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", bytecode = "9db0a74c24c209fa63e0d47919e9fa1a10cde21b15179098872b9c99f821cb16", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4", unrolled_ast = "d4111e2554a96c365bb51eb7c7d700ff10cc361f604cd1780a35a6019d684aa4", ssa_ast = "13a9aa57a7630c2b06d428bf91364f01f01e12a020d22e52446d0d0a99f40dd3", flattened_ast = "5c5521d529ad4b82f2c961056292208270c9bd7b08f0d9d5ba85ca742c5fd7b7", destructured_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", inlined_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", dce_ast = "1677b2698999286c2b47ec7500f434bddbd459d51b8ac72c41e74e4b1694754c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/shl.out b/tests/expectations/compiler/integers/i16/shl.out index 5e066a78ad..cf0790e55f 100644 --- a/tests/expectations/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/integers/i16/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd", unrolled_ast = "9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd", ssa_ast = "25f8703e34a8bd0e480065a66a8cab504b02362b3884e6c1c9ce0bb934fe5e41", flattened_ast = "aceaeefa523b5c2de49d91b7d218f0afb4b3b5def9707716461cdd442fdebf16", destructured_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", inlined_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", dce_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", bytecode = "65af41a661155e3ce64ac1afced0c2ad5098a59a458f1ef3215f34f5a8e4247a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd", unrolled_ast = "9741610ec7f5fbd044757469be98b5105d72f1a38cbdc7ee393e8a9940f662bd", ssa_ast = "25f8703e34a8bd0e480065a66a8cab504b02362b3884e6c1c9ce0bb934fe5e41", flattened_ast = "aceaeefa523b5c2de49d91b7d218f0afb4b3b5def9707716461cdd442fdebf16", destructured_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", inlined_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", dce_ast = "0400dc36323284bbc129aa2a5f65322063c76fb116553ececf8adcf6180effad", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/shr.out b/tests/expectations/compiler/integers/i16/shr.out index 4a2240446e..be3d35ebdf 100644 --- a/tests/expectations/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/integers/i16/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980", unrolled_ast = "130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980", ssa_ast = "14923d98a6596a92030a74f449b03f2ccf1256d71604426eabcf04c05d577720", flattened_ast = "6b720f037ed78f2d27521620a0b4eea03171b9c315a30c9c5fa7308ce514d980", destructured_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", inlined_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", dce_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", bytecode = "1af055915587aced3dca90d1e065481be3648546d2bc465461d50b03c2974f6a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980", unrolled_ast = "130e3a0d81d9f51b426a93bcca76d8936a3cc0e5b456c989f650750d1cb81980", ssa_ast = "14923d98a6596a92030a74f449b03f2ccf1256d71604426eabcf04c05d577720", flattened_ast = "6b720f037ed78f2d27521620a0b4eea03171b9c315a30c9c5fa7308ce514d980", destructured_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", inlined_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", dce_ast = "ed0c0b716094d867efad87a81343f65526fdce500404bb8587188644645fb52f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/sub.out b/tests/expectations/compiler/integers/i16/sub.out index da394085ca..a6df2a8c49 100644 --- a/tests/expectations/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/integers/i16/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9", unrolled_ast = "a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9", ssa_ast = "e46167198f67124edfa8e5f577a390cef4148c743cd62c2b49c9f65f79277ca0", flattened_ast = "80f2a6674f59707ee2623306ff5ce0dd8fbdc3da0a2a83d217eddf4be7c2febe", destructured_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", inlined_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", dce_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", bytecode = "17009388ef3907c90aabc4a26d822d5b361f00d4753cca95dda6539866f8d908", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e9e2bc945e5933b1790da2bce31724ec2e3587715c6dc34c540ffb046b3b297d", type_checked_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", unrolled_symbol_table = "28e164b8f42f236e120517dee666d13e33e5f10ccc491e1d344111539af7c5f0", initial_ast = "a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9", unrolled_ast = "a51fbbeb392939ca7c460c2aa394d1e1f8aae25ee359d1a6fdaceaa53997f5c9", ssa_ast = "e46167198f67124edfa8e5f577a390cef4148c743cd62c2b49c9f65f79277ca0", flattened_ast = "80f2a6674f59707ee2623306ff5ce0dd8fbdc3da0a2a83d217eddf4be7c2febe", destructured_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", inlined_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", dce_ast = "5e99655c6b67404a7e7903f587121b922211731223d601b9bd288eaced55b040", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + input r2 as i16.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/ternary.out b/tests/expectations/compiler/integers/i16/ternary.out index 87800c55b4..12346548da 100644 --- a/tests/expectations/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/integers/i16/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "9cd4e4875276e75cac91418bd801624910ae6e4e3ff74e01a3a9978093d1ac98", type_checked_symbol_table = "82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f", unrolled_symbol_table = "82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f", initial_ast = "ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4", unrolled_ast = "ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4", ssa_ast = "bec1b099e818a8c09554c2d1c6864b72687d56fe36cda7e40ad32e258e5d408b", flattened_ast = "d50fa16894f625dd7b1aacc7ac2c4170ed24acaf5daace3044205ce3f6af1118", destructured_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", inlined_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", dce_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", bytecode = "36a621308b0c9bc17df0d85b9b4734e73d1d64cbcacdd813603f3d79f74e8996", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "9cd4e4875276e75cac91418bd801624910ae6e4e3ff74e01a3a9978093d1ac98", type_checked_symbol_table = "82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f", unrolled_symbol_table = "82f93260d58ee317907342045650f9a354799b9f11a0ef65cfc0b70f5dcc9d2f", initial_ast = "ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4", unrolled_ast = "ca0c72396db5c2ab00f6d0cc4f9263f52eab377e99de3d30324c299de23be7b4", ssa_ast = "bec1b099e818a8c09554c2d1c6864b72687d56fe36cda7e40ad32e258e5d408b", flattened_ast = "d50fa16894f625dd7b1aacc7ac2c4170ed24acaf5daace3044205ce3f6af1118", destructured_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", inlined_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", dce_ast = "89b13a4d6bc836c3e68cc4eff8a0a1b73e117ef39a2f9cc11527303de2b5b326", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as i16.private; + input r2 as i16.private; + input r3 as i16.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i16/xor.out b/tests/expectations/compiler/integers/i16/xor.out index 18d31c874f..42a70348e9 100644 --- a/tests/expectations/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/integers/i16/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ad2b082c26499314be59b13e61a1ba499b5c10275644008b26255b2f76b28c07", type_checked_symbol_table = "bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77", unrolled_symbol_table = "bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77", initial_ast = "f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c", unrolled_ast = "f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c", ssa_ast = "bf6b460264a6871db8d170dd96e52976526b55abed4cb01dfd3809c3760cb84f", flattened_ast = "1f9ff93c34e2ff0e793e2c61ce3a447352cafc89c8d566af7a2a22c84edc4f34", destructured_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", inlined_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", dce_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", bytecode = "b3f7fd0a992ed66d1a25b6669e1387d7567d6fad58e97b43c160249c2109f516", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ad2b082c26499314be59b13e61a1ba499b5c10275644008b26255b2f76b28c07", type_checked_symbol_table = "bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77", unrolled_symbol_table = "bd76b2560d8440d6b8a8416b24f87c4d42985004fe6897a46ab6f85de3d6bc77", initial_ast = "f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c", unrolled_ast = "f8c94070818ce04a201efef13c19208168882cddc22a5f411f00421472d5754c", ssa_ast = "bf6b460264a6871db8d170dd96e52976526b55abed4cb01dfd3809c3760cb84f", flattened_ast = "1f9ff93c34e2ff0e793e2c61ce3a447352cafc89c8d566af7a2a22c84edc4f34", destructured_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", inlined_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", dce_ast = "34f21996615600121623d4cfb6663a83f251681b077b52f0d6eb67e0867de92e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i16.private; + input r1 as i16.private; + xor r0 r1 into r2; + output r2 as i16.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/add.out b/tests/expectations/compiler/integers/i32/add.out index 3cf3448f14..60c6ad8b87 100644 --- a/tests/expectations/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/integers/i32/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf", unrolled_ast = "c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf", ssa_ast = "e216c8b4739f7f568eb1ff0238db7c02b058d5df2c1e09a6c9459b9d2d72aca5", flattened_ast = "45bb4bb53f6532dfa256a2ce7ca645979a7cfe23854b4bd77e00310d8131d30c", destructured_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", inlined_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", dce_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", bytecode = "2a2cbf02e188b3022afe1de563d58f86c9c18a2277c8dbeb307dd1b5dc66f8d3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf", unrolled_ast = "c14c0d7eb4171b7798410f603e543dcbe8f5407aab137c4158f0d0ca356014cf", ssa_ast = "e216c8b4739f7f568eb1ff0238db7c02b058d5df2c1e09a6c9459b9d2d72aca5", flattened_ast = "45bb4bb53f6532dfa256a2ce7ca645979a7cfe23854b4bd77e00310d8131d30c", destructured_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", inlined_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", dce_ast = "c76a34ffdc5bea23502da137cf751d95390d0a105db2082b97a053d0f5a767e6", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/and.out b/tests/expectations/compiler/integers/i32/and.out index f7094db215..2d0063f297 100644 --- a/tests/expectations/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/integers/i32/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c", unrolled_ast = "9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c", ssa_ast = "f68364b096fa8d84127d1fe65e90787daf8ba496d2eb31f106dc2afe2bd9a011", flattened_ast = "91742bb3d50e0436960f11a9dbcf33d10432d0ed59cde4e5992a5c47efcf3061", destructured_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", inlined_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", dce_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", bytecode = "eee50040aac3f0f43988dcc4e46afc2f734d30f614a2ae6ee1ce88f39b5f2827", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c", unrolled_ast = "9c76a63e38f630e4230e21833c4188d6e8b6c9f597d0ce8db4117cabe2f11e7c", ssa_ast = "f68364b096fa8d84127d1fe65e90787daf8ba496d2eb31f106dc2afe2bd9a011", flattened_ast = "91742bb3d50e0436960f11a9dbcf33d10432d0ed59cde4e5992a5c47efcf3061", destructured_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", inlined_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", dce_ast = "6f93397ecf611474c1023e621f37224cea0ecdd2e58aa7ac4ad0db631c6336a1", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/integers/i32/console_assert.out index cb80f3c4ea..12d22d1e4c 100644 --- a/tests/expectations/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/integers/i32/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42", unrolled_symbol_table = "3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42", initial_ast = "d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92", unrolled_ast = "d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92", ssa_ast = "f97819ab4d51bd7f264bc9ac57501f09571e57f47d6c5c3db739fef24d227a33", flattened_ast = "56a418d0009ad0594726fa77691cfe55c0146a4d7453368cf0a54e9ce3b8d31b", destructured_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", inlined_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", dce_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", bytecode = "e8b3b5f71b01963e4df9f24f4f4f47e9976e5e5b099659e6083cef239d37a2d1", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42", unrolled_symbol_table = "3dc20ccb47c855777ba239ea813806810f9d95abfc3564a4470c9d591782db42", initial_ast = "d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92", unrolled_ast = "d573b8cd6ae8a5242697a9e53a0a1dd714a00228a892dac459123011b1434d92", ssa_ast = "f97819ab4d51bd7f264bc9ac57501f09571e57f47d6c5c3db739fef24d227a33", flattened_ast = "56a418d0009ad0594726fa77691cfe55c0146a4d7453368cf0a54e9ce3b8d31b", destructured_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", inlined_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", dce_ast = "8da2ef91eaf842c9ea0260177963bdb52b037e87ed0a97c1c2561e3e8aae47bd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/div.out b/tests/expectations/compiler/integers/i32/div.out index 881ca53e82..6bc1fe8489 100644 --- a/tests/expectations/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/integers/i32/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a", unrolled_ast = "96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a", ssa_ast = "6c0eebf5c03a30327e43bc6036ab7310174afbf0928110bf7a907a123403c343", flattened_ast = "860e3fa1e3ed44496b8d448b9897e4571d4a8c306c9d18fe4be1e106d1c92d89", destructured_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", inlined_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", dce_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", bytecode = "22fa0cb05cba0820444e31f02772af70719116ea4f41c50faaed75a4c50cb845", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a", unrolled_ast = "96dff228d220f9ec7a7af88a5e2eb5896966528881eee10f4252f88e69ec114a", ssa_ast = "6c0eebf5c03a30327e43bc6036ab7310174afbf0928110bf7a907a123403c343", flattened_ast = "860e3fa1e3ed44496b8d448b9897e4571d4a8c306c9d18fe4be1e106d1c92d89", destructured_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", inlined_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", dce_ast = "94387f2fd0f31ede28e39dfbc44837456d2296125a36ca1d80587891e9f3ae27", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/eq.out b/tests/expectations/compiler/integers/i32/eq.out index 3c63211931..1afbdcc070 100644 --- a/tests/expectations/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/integers/i32/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9", unrolled_ast = "7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9", ssa_ast = "7ce698e9c41ef5829263615cc01049e036e5163e42af0a107d1dd2524bf32779", flattened_ast = "045d7ac7e2b492a5d185af57f2c65b1c15feb7a310f03fb14c4d0bf16800e27e", destructured_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", inlined_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", dce_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", bytecode = "db6394a0bd5332bffbca151ba7a0ea7bdb38f83f732c3afef149535db47a71cb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9", unrolled_ast = "7659ed20eb2fee9dc4935cb9e851405b731a2f3988f2b0e74834088aee9cede9", ssa_ast = "7ce698e9c41ef5829263615cc01049e036e5163e42af0a107d1dd2524bf32779", flattened_ast = "045d7ac7e2b492a5d185af57f2c65b1c15feb7a310f03fb14c4d0bf16800e27e", destructured_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", inlined_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", dce_ast = "7ab6f164f2b026d1e4535d8b213ca361b1ca8d82d996a2a0e7db1ee3d483580c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/ge.out b/tests/expectations/compiler/integers/i32/ge.out index 048c58891d..5be494ea0f 100644 --- a/tests/expectations/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/integers/i32/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e", unrolled_ast = "2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e", ssa_ast = "3da1f6cde1a78cb33f124d16da7b34251fa64803410f85d844cc9846ab69dfcd", flattened_ast = "195e3b5e6234aa13ba6a7aa0f23b3a0b1cfefcfde5cd1744f2eaaa3b72426dd6", destructured_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", inlined_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", dce_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", bytecode = "319b96ef20018acc654ec52780087d599a75f6204095ab426882087218865bcc", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e", unrolled_ast = "2c942f8b0e96f59c4a735db001bb7451dccb02d5a7806bbd1194f65a3da7289e", ssa_ast = "3da1f6cde1a78cb33f124d16da7b34251fa64803410f85d844cc9846ab69dfcd", flattened_ast = "195e3b5e6234aa13ba6a7aa0f23b3a0b1cfefcfde5cd1744f2eaaa3b72426dd6", destructured_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", inlined_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", dce_ast = "48f83eaa982f439d5d5855685c3b66950208fa67d77cfeff932f99dba0516887", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/gt.out b/tests/expectations/compiler/integers/i32/gt.out index bdc8127c5f..2312cbae8b 100644 --- a/tests/expectations/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/integers/i32/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5", unrolled_ast = "b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5", ssa_ast = "409246088010a03ecaf951efc555155f02590d688431339aba27b631919e4638", flattened_ast = "1151cd5bdc59c71817d2e87bfff873d0a62bd3850134bc16d210b085c171d743", destructured_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", inlined_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", dce_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", bytecode = "7b0157b83a4db9b46a3c6572aeb5ccae55be420768dc034163508ac4a99308ea", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5", unrolled_ast = "b9c5c190778be0545a4cf9199a31cdd73a7503a58d056a108072bc5b383857c5", ssa_ast = "409246088010a03ecaf951efc555155f02590d688431339aba27b631919e4638", flattened_ast = "1151cd5bdc59c71817d2e87bfff873d0a62bd3850134bc16d210b085c171d743", destructured_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", inlined_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", dce_ast = "ac2e2dd75d61334004a92f14f1bb866c4343febd152795cf7eeb857970b3ddac", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/hex_and_bin.out b/tests/expectations/compiler/integers/i32/hex_and_bin.out index bb2923a2e3..b065af5af6 100644 --- a/tests/expectations/compiler/integers/i32/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i32/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "64448615fb54198853ec0db1342703f538e30c529c17dc1de8ce21e73cb9aec0", type_checked_symbol_table = "f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b", unrolled_symbol_table = "f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b", initial_ast = "d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc", unrolled_ast = "d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc", ssa_ast = "9c01e57aa0ee03cf03b7da15f64c40a6fce773dac8afda6e8722f5d8d16d7730", flattened_ast = "5222a287ea1a208cb950a77630e32621375e0f9d1c78ee74828482c1a3d2d5fa", destructured_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", inlined_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", dce_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", bytecode = "60f3f7cf4996cce21e8854a05cd0018dbbc6f3836e82f110a7327a48d826604a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "64448615fb54198853ec0db1342703f538e30c529c17dc1de8ce21e73cb9aec0", type_checked_symbol_table = "f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b", unrolled_symbol_table = "f91e02cc50da5608d6a4c2ddbb06a08d8887d7a271437ccc1f4f2dc7df4feb8b", initial_ast = "d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc", unrolled_ast = "d6e00a4cb2abea938e9eb0af35e058f5eb749a8d97dc56e434553511cfbf5bdc", ssa_ast = "9c01e57aa0ee03cf03b7da15f64c40a6fce773dac8afda6e8722f5d8d16d7730", flattened_ast = "5222a287ea1a208cb950a77630e32621375e0f9d1c78ee74828482c1a3d2d5fa", destructured_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", inlined_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", dce_ast = "4dd127a21d0013d590115c8f373787c105d754b97ec0fc5e5014c7ddb32b6011", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + is.eq r0 127i32 into r3; + is.eq r1 27i32 into r4; + and r3 r4 into r5; + is.eq r2 21i32 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/le.out b/tests/expectations/compiler/integers/i32/le.out index a7b545191f..fe0bc4e152 100644 --- a/tests/expectations/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/integers/i32/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973", unrolled_ast = "d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973", ssa_ast = "01671d010bd9dd494a0456492e1351b94cb9e4f6b9b47e44ac90807a8831fc53", flattened_ast = "3410a585a98141f594814d13b0a4ffde56205a70f63a70e2f611418fabe7dd2a", destructured_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", inlined_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", dce_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", bytecode = "cc2d953415427376e9e3c26c04b4e66630e4b77f19e04e932b28f04599b7fe77", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973", unrolled_ast = "d32ce60be58a30b22200c47efb2f46ed07084af896e58f689927ecc5b7cc7973", ssa_ast = "01671d010bd9dd494a0456492e1351b94cb9e4f6b9b47e44ac90807a8831fc53", flattened_ast = "3410a585a98141f594814d13b0a4ffde56205a70f63a70e2f611418fabe7dd2a", destructured_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", inlined_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", dce_ast = "4e72a442d4a8435bba7a9533762f4878967df4d46077bad1c6126f8adc69cc69", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/lt.out b/tests/expectations/compiler/integers/i32/lt.out index d8f59e0a0f..1e833cdc0f 100644 --- a/tests/expectations/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/integers/i32/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629", unrolled_ast = "ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629", ssa_ast = "7d5210472cb3ba84643e24a2219b4f3c6740ca6fccc386af4e6b6f835063b03f", flattened_ast = "2924ca209765a19d522a57ad8901cc9cb3d34d40bd3f248f26cc9519b4e22c28", destructured_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", inlined_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", dce_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", bytecode = "815cbaa285c68d1b7707bbe1df33b84fcb00a81bfbae3d4d9cd290902e2ce091", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629", unrolled_ast = "ef5b776447ea445b03abe301a82b72502a64b1f5ff5c49c10fb691437f83e629", ssa_ast = "7d5210472cb3ba84643e24a2219b4f3c6740ca6fccc386af4e6b6f835063b03f", flattened_ast = "2924ca209765a19d522a57ad8901cc9cb3d34d40bd3f248f26cc9519b4e22c28", destructured_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", inlined_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", dce_ast = "607129c1b4c8920c4130722072f7c8fccaaf36df7bded4ea417fe1634e480e3d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/max.out b/tests/expectations/compiler/integers/i32/max.out index f4b5985fa5..c565c8f51a 100644 --- a/tests/expectations/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/integers/i32/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553", type_checked_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", unrolled_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", initial_ast = "4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd", unrolled_ast = "4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd", ssa_ast = "463be3766f9720530ba482a1d25c7ca4b5e6ea65226b74bf7517bebea8e9480f", flattened_ast = "50c266396ffd543f6513374aa4cf3c4c6aad8576e330fc5111528853c47e2915", destructured_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", inlined_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", dce_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", bytecode = "6821174db234fb38a3ded7835589628bf76443f2faff6cf9aa2f2fc5a5da71cb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553", type_checked_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", unrolled_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", initial_ast = "4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd", unrolled_ast = "4ab0d85d10c2e0e82a4acd245606459aac2db567b67e7006f27b3fc520464acd", ssa_ast = "463be3766f9720530ba482a1d25c7ca4b5e6ea65226b74bf7517bebea8e9480f", flattened_ast = "50c266396ffd543f6513374aa4cf3c4c6aad8576e330fc5111528853c47e2915", destructured_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", inlined_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", dce_ast = "a584edf402a78cf3a316eeec3d376fb0ab42ce189dbe965c10bafa7f0600a1fd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + sub 2147483647i32 r0 into r1; + output r1 as i32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index f332c7019c..22dd4c25d5 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553", type_checked_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", unrolled_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", initial_ast = "19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729", unrolled_ast = "19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729", ssa_ast = "fbe1f5fc71b3290a0dc449a0cc0d31f47e71a7e7774e696d2f374ed2a03b8d09", flattened_ast = "b66b7dc4e690de20fabc7614d514e1f18e984b61b87daff236326773f4a3bdae", destructured_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", inlined_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", dce_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", bytecode = "71fa0293c129cb150cfbc206d6709f67884cd0864200dd8a6382ae6d30a3dac2", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "902393b23a765922183af0e0b8baa62a4c07658bcf27882af120469d76822553", type_checked_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", unrolled_symbol_table = "c172af1ad76c425a93965d2e0c320e6d46bcae1794d98756f204e9c7e78ba7c0", initial_ast = "19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729", unrolled_ast = "19bcae6a4106f500341295e337a6fc1601e48a9695e383de8f0f264a8f09b729", ssa_ast = "fbe1f5fc71b3290a0dc449a0cc0d31f47e71a7e7774e696d2f374ed2a03b8d09", flattened_ast = "b66b7dc4e690de20fabc7614d514e1f18e984b61b87daff236326773f4a3bdae", destructured_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", inlined_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", dce_ast = "46f9793b262f21310a65d8d75eb6643ef37d4fda451c503d9ec5539c78a2910f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + sub -2147483647i32 r0 into r1; + output r1 as i32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index d6ded8ad80..8839e7ef89 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06", type_checked_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", unrolled_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", initial_ast = "9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5", unrolled_ast = "9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5", ssa_ast = "3903a214a9257609f79e09b7628e4a266f7203f9d8f6633934cd44c0b17d2b43", flattened_ast = "a68596361eb4f8da3a1a2e158dd55bfce45cb13aa2c7c186618f73fcebb70995", destructured_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", inlined_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", dce_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", bytecode = "e28a0b12a5006a7f44ebd60e001a3b2bb2142f3e2bc03564b5870415a1bd1e6d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06", type_checked_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", unrolled_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", initial_ast = "9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5", unrolled_ast = "9956ae6688256b454155d52b85aa4425070178653babf8f6d7810d7fae51bac5", ssa_ast = "3903a214a9257609f79e09b7628e4a266f7203f9d8f6633934cd44c0b17d2b43", flattened_ast = "a68596361eb4f8da3a1a2e158dd55bfce45cb13aa2c7c186618f73fcebb70995", destructured_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", inlined_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", dce_ast = "462dedf7685f6e60843a4406b228d8483621c259f0cd6a62c026ffd46b815f8d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + sub -2147483647i32 2i32 into r1; + output r1 as i32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/mul.out b/tests/expectations/compiler/integers/i32/mul.out index 13ad147c89..e64ae62452 100644 --- a/tests/expectations/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/integers/i32/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4", unrolled_ast = "fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4", ssa_ast = "f90c33a218cce19c524ca73e099711f306c685bd2eb93a25039213087e62178c", flattened_ast = "b418c443e3a499fa6f5b44248709c23866e0822ee14363adf3f1c5b261e73e71", destructured_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", inlined_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", dce_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", bytecode = "6a5893dfd948c5fa425269a9ddab867cbcf55956e015e95b3d4a5be7a861d763", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4", unrolled_ast = "fce7daf4c7133f50f512f82e238c3d7b348107188245fe974f61d10abe9affc4", ssa_ast = "f90c33a218cce19c524ca73e099711f306c685bd2eb93a25039213087e62178c", flattened_ast = "b418c443e3a499fa6f5b44248709c23866e0822ee14363adf3f1c5b261e73e71", destructured_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", inlined_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", dce_ast = "a65788e03d697b165cec6989321237b28d65aa68754a9e0a30e57607739b7b65", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/ne.out b/tests/expectations/compiler/integers/i32/ne.out index 17c9d4fa23..6040548b5c 100644 --- a/tests/expectations/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/integers/i32/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48", unrolled_ast = "df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48", ssa_ast = "9329dad3b872221b6c12b0ee4906f4121da1a3cd0368f71f6151beb0d2d33c36", flattened_ast = "9ee356775ecb61a67514047a4748361e4b9a279a72e872e07df7177b28e3d347", destructured_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", inlined_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", dce_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", bytecode = "7e3f7a34eaf764f2d9b7119b882a649e4eaceabcd8e54ac5313127b3add0c091", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7947d04305c1d4860d137c7e868d1406c51f40b70c4badc5675b3cf7e0dce5ee", type_checked_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", unrolled_symbol_table = "9adafcb5400446a57fa938634f73e5ee4de8fec8f276a1acf63314f0b3677b27", initial_ast = "df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48", unrolled_ast = "df997022a900205c7287137b782b38594ad7f607cf14db78692f1193cb5dbd48", ssa_ast = "9329dad3b872221b6c12b0ee4906f4121da1a3cd0368f71f6151beb0d2d33c36", flattened_ast = "9ee356775ecb61a67514047a4748361e4b9a279a72e872e07df7177b28e3d347", destructured_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", inlined_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", dce_ast = "53744a264d36b5979cf562eafec57ba8bd88eee601259be051e1aaa58b84328a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index 1d72d9f38c..ae25c897a4 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620", unrolled_symbol_table = "8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620", initial_ast = "6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6", unrolled_ast = "6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6", ssa_ast = "cded77e1331ebd0d5724d69b7182547013040e39761baa885ba5f46d82598078", flattened_ast = "ec71465f20d9b248f94bae954b65f4e8753e6e8612828a12538338a33e6feefd", destructured_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", inlined_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", dce_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", bytecode = "009e138c1ef58588c8c34fdd4b56c5cd984a2f4664d71a3ce1f5811350d5cc1f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620", unrolled_symbol_table = "8769ae66a9044fadb82d48f0eef2cd504d76d8b84814d98170aba60986038620", initial_ast = "6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6", unrolled_ast = "6ceceed851228bf86da79802c53352de3c6e5daddcbffd55bb796362fea8fca6", ssa_ast = "cded77e1331ebd0d5724d69b7182547013040e39761baa885ba5f46d82598078", flattened_ast = "ec71465f20d9b248f94bae954b65f4e8753e6e8612828a12538338a33e6feefd", destructured_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", inlined_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", dce_ast = "7098d17a4e2e2c749e870b15eab94244fda940cc77dd5c29bf4991d82ded40c1", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + neg r0 into r2; + is.eq r2 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index 4e0331efb4..cda199aa64 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06", type_checked_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", unrolled_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", initial_ast = "9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b", unrolled_ast = "9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b", ssa_ast = "8227aad1b63a3978f34062dbb9e84b70731833fd9ab204f2ee4975f2dba217bd", flattened_ast = "8d8fb45f29708a829d0977a1a725ce5d63d3e7c6b8481e3e086ecf7b85cec9e2", destructured_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", inlined_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", dce_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", bytecode = "7014d5adeb6ff035c6415dd1001650301e64c7bb14426a4adc0f9b9daa514f69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f58b2dccb0111fe9cb3531a592e9d95907263b42be88cf9c30c9e67da095ae06", type_checked_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", unrolled_symbol_table = "f08cee7b36f9c3ff5c743979e75b4a51ca5e61d5ff0cd52c425686b509e635d3", initial_ast = "9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b", unrolled_ast = "9f54faff256284cad601c07fe3c896a0f7121f8557b116896a0c02b2ee062e1b", ssa_ast = "8227aad1b63a3978f34062dbb9e84b70731833fd9ab204f2ee4975f2dba217bd", flattened_ast = "8d8fb45f29708a829d0977a1a725ce5d63d3e7c6b8481e3e086ecf7b85cec9e2", destructured_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", inlined_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", dce_ast = "0c73ea47e4d7446e14b1b3372902d9b84b7986add96b19d82249dedf6b56abd5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg -2147483648i32 into r1; + output r1 as i32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/integers/i32/negate_zero.out index 2d2e78c478..8aa5342ef9 100644 --- a/tests/expectations/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/integers/i32/negate_zero.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359", unrolled_symbol_table = "84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359", initial_ast = "b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d", unrolled_ast = "b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d", ssa_ast = "5a243c3bc8e5d90bd3220777170ba703c5c335c12db3dc0b4e4c0f5d303d10b3", flattened_ast = "4414f021e672ae9893e2df65562d035b2eff71e3f4d2a2a06522fd0f7c79a41a", destructured_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", inlined_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", dce_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", bytecode = "0d7b74771220febbbf1600fe72c373d3398998c0d1200c1fd592d3b3da56b928", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359", unrolled_symbol_table = "84b1d6bc36315d6e977e96c8ba7cfae02c3bbf8290c4402386b9b1b6b51e5359", initial_ast = "b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d", unrolled_ast = "b80cb877a7175b4383f0a583ce95573dfb7114f01d0045ae03a916827dc92e0d", ssa_ast = "5a243c3bc8e5d90bd3220777170ba703c5c335c12db3dc0b4e4c0f5d303d10b3", flattened_ast = "4414f021e672ae9893e2df65562d035b2eff71e3f4d2a2a06522fd0f7c79a41a", destructured_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", inlined_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", dce_ast = "7afe04c5b7bfe3ad6bf5df99eccc6874df7d5f6f6ae06adfa2ed0b4036d7e744", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg 0i32 into r1; + is.eq r1 0i32 into r2; + is.eq r2 r0 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/integers/i32/operator_methods.out index 3f8d4054c9..cd3c76d8fd 100644 --- a/tests/expectations/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/integers/i32/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf", unrolled_symbol_table = "55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf", initial_ast = "2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1", unrolled_ast = "2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1", ssa_ast = "e7383b8d25ce13ebd7ba0ce1f6d87a935926a5c6a5b54bf99d34e91d877e0cc5", flattened_ast = "50e13db046a3bb93864073fcbcf1f80fac456457206eb67fef678b34d962e373", destructured_ast = "5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990", inlined_ast = "5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990", dce_ast = "4b044f3729a8886f63143d1429cff39d3f6a780ded96243f6c56be6b41f8dcfe", bytecode = "40661150b3b39dd341d29dab9771982c77efa03e028104d1965c1e2e2fbf3c28", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "0802bf46b8d0e4c40fe3b491794e7413e9ff66a0b0d2abf321830355e4b0ef19", type_checked_symbol_table = "55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf", unrolled_symbol_table = "55dfa055b703ea28a5a601e73b649d71f2127ad3427eaafab8c5545269b6fbdf", initial_ast = "2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1", unrolled_ast = "2fe7b9cea67421314b39d67fa96c71b1394d7c49f894c33670bc9a9aaf573ad1", ssa_ast = "e7383b8d25ce13ebd7ba0ce1f6d87a935926a5c6a5b54bf99d34e91d877e0cc5", flattened_ast = "50e13db046a3bb93864073fcbcf1f80fac456457206eb67fef678b34d962e373", destructured_ast = "5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990", inlined_ast = "5a7875bf71c8604b78025d7595dabc0b76f37bf42cef43e4a181cbc3d3030990", dce_ast = "4b044f3729a8886f63143d1429cff39d3f6a780ded96243f6c56be6b41f8dcfe", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/or.out b/tests/expectations/compiler/integers/i32/or.out index 418e061ae8..e646579504 100644 --- a/tests/expectations/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/integers/i32/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8", unrolled_ast = "8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8", ssa_ast = "8500eac3b091101ce395ff2217809f8a7ef2ef6d12d41adf0d816ad954d5bb1f", flattened_ast = "52b7c1895349087bb9c13b8f797e54d0c72921fa23062a85be0add297e76b61d", destructured_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", inlined_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", dce_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", bytecode = "607f946bff91ee499a6d977e52f6cbc32678d1306e1e6437adc3ed3720d77a02", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8", unrolled_ast = "8674ad993f260dc33e818ba3ae15a87c51e6464bfea831ea3d5a2d7120ca61c8", ssa_ast = "8500eac3b091101ce395ff2217809f8a7ef2ef6d12d41adf0d816ad954d5bb1f", flattened_ast = "52b7c1895349087bb9c13b8f797e54d0c72921fa23062a85be0add297e76b61d", destructured_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", inlined_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", dce_ast = "d0b631f973f606e062a9562f079e8fc90f4761ad11c385506013d3cf09a4629a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/pow.out b/tests/expectations/compiler/integers/i32/pow.out index 33eb06e4b5..fdc7c818e4 100644 --- a/tests/expectations/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/integers/i32/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753", unrolled_ast = "4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753", ssa_ast = "21f1cc483ac5f8accd327a0174066b9332d30e96545579e1c5315dfa7f778650", flattened_ast = "7e7b9c8f934ee0d9f32e2c494c533b14c9dce64cf621c1b086a31d2e932e3155", destructured_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", inlined_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", dce_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", bytecode = "356e8fd9b7a616538d51b58accbf2cb604812f8d4e1d984ed091819b6b1dd7ef", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753", unrolled_ast = "4b5683afd23ee8c9b10b687123f35e41e8db16921e74e483f191f9dae92ab753", ssa_ast = "21f1cc483ac5f8accd327a0174066b9332d30e96545579e1c5315dfa7f778650", flattened_ast = "7e7b9c8f934ee0d9f32e2c494c533b14c9dce64cf621c1b086a31d2e932e3155", destructured_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", inlined_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", dce_ast = "732a6b5c2c30ca692e84bef49d915ed81956cd885c869621a392d83aa404436e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/rem.out b/tests/expectations/compiler/integers/i32/rem.out index 91dedfa187..c8b35d68a9 100644 --- a/tests/expectations/compiler/integers/i32/rem.out +++ b/tests/expectations/compiler/integers/i32/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7", unrolled_ast = "0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7", ssa_ast = "7e9b42f58fd67b703c4d20dea6da6d24fc4ee178d62f68218828c96a6b696a03", flattened_ast = "8860a778786e10b922e114bbcf31305539d5e09ffae176054a39b1a0f2dddb5d", destructured_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", inlined_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", dce_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", bytecode = "58eca9e830625c2f8ae8836c94380e3decec48e4ea0b0b07421a69dffafc9366", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7", unrolled_ast = "0cc0e6cea813f906abfa35117404ec428961e3e2bcd6f35fd92e37ed1c8663f7", ssa_ast = "7e9b42f58fd67b703c4d20dea6da6d24fc4ee178d62f68218828c96a6b696a03", flattened_ast = "8860a778786e10b922e114bbcf31305539d5e09ffae176054a39b1a0f2dddb5d", destructured_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", inlined_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", dce_ast = "6d68ce128df6209b39e837ff87f5f1fbd8e2523fb965ca9001c02fd78b7b1350", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/shl.out b/tests/expectations/compiler/integers/i32/shl.out index 862fe81aec..7afeac8e8d 100644 --- a/tests/expectations/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/integers/i32/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b", unrolled_ast = "7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b", ssa_ast = "6073ada6ac6a5844c76ecb6aceeece916469dbca056db2441b648cb01d3c8ef2", flattened_ast = "438fc5776febf197d8f07748d8c8d8aee5f005c552adce1bbd60399230470df5", destructured_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", inlined_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", dce_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", bytecode = "7b5bbc80ede3dfcc182728241b3f4a889f3c1afc6e5db865947f34cc0eab889c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b", unrolled_ast = "7f5aa3fda972b33a679ea3700eb3530ed56a69527e1a521c524b926fe858837b", ssa_ast = "6073ada6ac6a5844c76ecb6aceeece916469dbca056db2441b648cb01d3c8ef2", flattened_ast = "438fc5776febf197d8f07748d8c8d8aee5f005c552adce1bbd60399230470df5", destructured_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", inlined_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", dce_ast = "5730dfc5923ff0197b6e2ed4aa65bfb96925965c47e5e42f8bb98e13d6587ce7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/shr.out b/tests/expectations/compiler/integers/i32/shr.out index bd1f37e0a6..2fbe94f13f 100644 --- a/tests/expectations/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/integers/i32/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205", unrolled_ast = "a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205", ssa_ast = "ae148dd21f5532cddf5c9202aae9b12cd02756a039a7389c2cfb721f3001432b", flattened_ast = "cdd6dba47cadc95bff43e644259295873c037a5e1acd22703dafe9a251eb9d79", destructured_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", inlined_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", dce_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", bytecode = "4beebe6f64c29d63c9bafe8a3a58e52b14705368f667c1a44fd85d5d46e80f6c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205", unrolled_ast = "a94202473889a81b2cb118db02a2812e8ed66365740eba84ce685931f03b5205", ssa_ast = "ae148dd21f5532cddf5c9202aae9b12cd02756a039a7389c2cfb721f3001432b", flattened_ast = "cdd6dba47cadc95bff43e644259295873c037a5e1acd22703dafe9a251eb9d79", destructured_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", inlined_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", dce_ast = "c74f58238550ee1d59b3cfbfeb313b32cbc18964763e3642a2c63fe68496b859", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/sub.out b/tests/expectations/compiler/integers/i32/sub.out index 71cef74ab7..8e8ca6ab06 100644 --- a/tests/expectations/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/integers/i32/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089", unrolled_ast = "aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089", ssa_ast = "b178dcccd1545e0768bfce699c5c6ad55d1ec4607c7abeb78ffb8d896cec4182", flattened_ast = "63f068cd118cf7f0a3696a432647c07d675368348a0d0f807087b5c0dcf11d56", destructured_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", inlined_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", dce_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", bytecode = "8efbc5343f7c2f0c0978f035231692e7ff00b213495d8713911fe1be40aa91f4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cb3c54aab60e06f54c2c22dce87a5a5c243f424cfbd9f2706ca26715ca340ef7", type_checked_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", unrolled_symbol_table = "0369a0b0b5cbbd5439e220f01d85a00caae5a31bb77f7e266607c36cdf78beb5", initial_ast = "aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089", unrolled_ast = "aa5f4dc5119c279ef8d46c270ba9bc33886216c7b7e99e934975429f65a13089", ssa_ast = "b178dcccd1545e0768bfce699c5c6ad55d1ec4607c7abeb78ffb8d896cec4182", flattened_ast = "63f068cd118cf7f0a3696a432647c07d675368348a0d0f807087b5c0dcf11d56", destructured_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", inlined_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", dce_ast = "5a716d88a4bd2a8ccecd6b66dfd4d6ebd56a2b8d2a6ebe56538f0d96023cb0c2", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + input r2 as i32.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/ternary.out b/tests/expectations/compiler/integers/i32/ternary.out index 3e349ad21f..b45f2ffa4d 100644 --- a/tests/expectations/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/integers/i32/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d0c61a121356719d5fe78692cfdff531cf4bfaf4dbbc30182c5b2493f5cd3778", type_checked_symbol_table = "f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123", unrolled_symbol_table = "f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123", initial_ast = "5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167", unrolled_ast = "5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167", ssa_ast = "98d2f4f3e23b256c86323f4ee4304e6e1e6350bd836fb72e3103cee6fe531e6d", flattened_ast = "e4dfa4f008ad2777e974029ef07c2d1b6e83beb091b55d0dbad1586852feb0a6", destructured_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", inlined_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", dce_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", bytecode = "8255076ed16f7675cce867bf0b6ab1eacad9bdc4735188bb9b1b2dc40cf24ce0", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d0c61a121356719d5fe78692cfdff531cf4bfaf4dbbc30182c5b2493f5cd3778", type_checked_symbol_table = "f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123", unrolled_symbol_table = "f1ff2f9cce01c71a33a9f06c9823d5edf6923c71393ee9addeb42a9ac9383123", initial_ast = "5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167", unrolled_ast = "5911eeb5664c52b61fe6d947181b59591e2b82a9eefdbcab0781bbd1fd257167", ssa_ast = "98d2f4f3e23b256c86323f4ee4304e6e1e6350bd836fb72e3103cee6fe531e6d", flattened_ast = "e4dfa4f008ad2777e974029ef07c2d1b6e83beb091b55d0dbad1586852feb0a6", destructured_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", inlined_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", dce_ast = "880fddbbe5e0f122cf6291f2a9e722c392b24aa710aeb3eb45d35a8bcdd195ae", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as i32.private; + input r2 as i32.private; + input r3 as i32.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i32/xor.out b/tests/expectations/compiler/integers/i32/xor.out index f1878d98fd..ad95a60379 100644 --- a/tests/expectations/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/integers/i32/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "22a7d7792f0fc312fba0af5c6e8e7c7b7e20f38187e0c18150668c26747d78e5", type_checked_symbol_table = "dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd", unrolled_symbol_table = "dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd", initial_ast = "04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b", unrolled_ast = "04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b", ssa_ast = "458d4182af4adbca9a6baaddb4e3529a6feec2b4baa8d5a938023ad48f185b63", flattened_ast = "f3e585a825a43bcd7434e8a6ac25a02f7074799e22205c05f0e2da6bbd956bd8", destructured_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", inlined_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", dce_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", bytecode = "6a7c1505b6d57a26f767b63372873413e4ca3a4b7ff7b42f652a2841d843da64", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "22a7d7792f0fc312fba0af5c6e8e7c7b7e20f38187e0c18150668c26747d78e5", type_checked_symbol_table = "dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd", unrolled_symbol_table = "dce8971547e4a57fb3b633fc1ffe4f7f1cef2f3028c6b65e44a3b4727892b1dd", initial_ast = "04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b", unrolled_ast = "04a881d5cc07074018f87c7b762bff3d764b4c775cb0293c89e27812c0bbc24b", ssa_ast = "458d4182af4adbca9a6baaddb4e3529a6feec2b4baa8d5a938023ad48f185b63", flattened_ast = "f3e585a825a43bcd7434e8a6ac25a02f7074799e22205c05f0e2da6bbd956bd8", destructured_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", inlined_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", dce_ast = "1daf4724fbdb5bcced29fac3082ce8fc54ef8e9e8ec076394726723c046de213", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i32.private; + input r1 as i32.private; + xor r0 r1 into r2; + output r2 as i32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/add.out b/tests/expectations/compiler/integers/i64/add.out index 9fdabd189c..5a1873f5c2 100644 --- a/tests/expectations/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/integers/i64/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3", unrolled_ast = "07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3", ssa_ast = "f1bf04488f9243523a8b99338bc9a05ff144b5760fc73f6290fa3f6e9289c094", flattened_ast = "0ff0661c01e073406e01efdc292cc2169567f204cfbdaf3f2e582edfc7638d44", destructured_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", inlined_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", dce_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", bytecode = "cacab9d7bb5db2f55373c7acaab14386b1e68569b39d0ca4837e07d67d31b78e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3", unrolled_ast = "07c1200a73fca5f1e50a1455b59dc7a21c9ca152efe9e5ee523b7b2a248d24d3", ssa_ast = "f1bf04488f9243523a8b99338bc9a05ff144b5760fc73f6290fa3f6e9289c094", flattened_ast = "0ff0661c01e073406e01efdc292cc2169567f204cfbdaf3f2e582edfc7638d44", destructured_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", inlined_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", dce_ast = "37f5aec20b690acc7db1fcc36a7fd941a4fd1ec5266b50baf3c463e430673b6b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/and.out b/tests/expectations/compiler/integers/i64/and.out index 2bb6305eff..30ef4519ef 100644 --- a/tests/expectations/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/integers/i64/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd", unrolled_ast = "d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd", ssa_ast = "9dc90bb6fbdc7a957cee70e1bae5d33d2756e817fbdc49c1eee9f723cf533575", flattened_ast = "86fa1a2b391a710f539273132109d7a52c39e9f320a0fcbe7abccefd737720a3", destructured_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", inlined_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", dce_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", bytecode = "8867cc02772ac290447a78df347c850a4f5a2cf3077d76fa71c1c3ee43ba6e55", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd", unrolled_ast = "d3d8056d2040433c203046c78c8c38d08231bb41221526c2bd6edef0920262bd", ssa_ast = "9dc90bb6fbdc7a957cee70e1bae5d33d2756e817fbdc49c1eee9f723cf533575", flattened_ast = "86fa1a2b391a710f539273132109d7a52c39e9f320a0fcbe7abccefd737720a3", destructured_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", inlined_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", dce_ast = "12ef2288d96f40e8cbb4ef7cc90f7d7a5a3f2d7bf29346ed64f54d78ca2f9ba3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/integers/i64/console_assert.out index c07ff6b37f..98ff8e5544 100644 --- a/tests/expectations/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/integers/i64/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e", unrolled_symbol_table = "62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e", initial_ast = "857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765", unrolled_ast = "857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765", ssa_ast = "6ff3c42ca326c08ce02b97f7a567e1fa451a7925fd3adebc6809a225bc41f4aa", flattened_ast = "2dd8274f3cf7abfee8b126ca66d897a1635f03db559627cac1085a4c5118b209", destructured_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", inlined_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", dce_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", bytecode = "84d9ec69408c0662a22522e0fde8c535c8f73af3da10f98f7b228a9c9ac2742e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e", unrolled_symbol_table = "62563e32a27e88504c1f20e6674572af9c07bb51679b3e0c385bba310531101e", initial_ast = "857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765", unrolled_ast = "857650787fb06d79336a7b61bc54a8d00cbaa052243a0f9170064abb34db6765", ssa_ast = "6ff3c42ca326c08ce02b97f7a567e1fa451a7925fd3adebc6809a225bc41f4aa", flattened_ast = "2dd8274f3cf7abfee8b126ca66d897a1635f03db559627cac1085a4c5118b209", destructured_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", inlined_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", dce_ast = "a6f8aa52be3364526cb2caa9703f22e8f8fdb7c82bf03d0fe0aafe1294084925", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/div.out b/tests/expectations/compiler/integers/i64/div.out index eb6e4042dd..74de87ea2e 100644 --- a/tests/expectations/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/integers/i64/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83", unrolled_ast = "afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83", ssa_ast = "5878cb4dfcc88bd2608451dd0c2da16dc21babc339787e9db51fa5dbed520b4d", flattened_ast = "f315413e125980569e6db4d506094096b373436476da4c1dad6ef35143b8d6b8", destructured_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", inlined_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", dce_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", bytecode = "1d370b22d4ae239f0bcb12a771b471bfbbf8c43ad4b3f15b8223b6f122f29457", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83", unrolled_ast = "afc27976f164adbeb9cceda42f02071ee5951317c58fb66ad80a82239db1de83", ssa_ast = "5878cb4dfcc88bd2608451dd0c2da16dc21babc339787e9db51fa5dbed520b4d", flattened_ast = "f315413e125980569e6db4d506094096b373436476da4c1dad6ef35143b8d6b8", destructured_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", inlined_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", dce_ast = "a5a1b48af5d863fadf4d75705030571de91ee84348da6afc75c6f6f801014201", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/eq.out b/tests/expectations/compiler/integers/i64/eq.out index 4a602019f3..b5cbf8b3f4 100644 --- a/tests/expectations/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/integers/i64/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828", unrolled_ast = "e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828", ssa_ast = "7ade987b7485dd6c281f1c1b99032369fbdee19fb75d18587301855c3a334b3f", flattened_ast = "7f0773c4e57b2c25554e6ea4384e8258bbf72fff915218cad09829d385e4ca85", destructured_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", inlined_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", dce_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", bytecode = "3b16a9ffcba2d86d0099abfc040442550dad3a04f8ba2bbdec05f93ec3c1b6ec", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828", unrolled_ast = "e94196f738525ff8d3109ad09dd7737d5d5d40d7305690f663a671446635d828", ssa_ast = "7ade987b7485dd6c281f1c1b99032369fbdee19fb75d18587301855c3a334b3f", flattened_ast = "7f0773c4e57b2c25554e6ea4384e8258bbf72fff915218cad09829d385e4ca85", destructured_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", inlined_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", dce_ast = "988cf46b8c5ec4dd2e8a317fd9ddb38366bc71ba2044b6f92d4b901a1f963541", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/ge.out b/tests/expectations/compiler/integers/i64/ge.out index 3ab5de6bba..7d7f72e817 100644 --- a/tests/expectations/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/integers/i64/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc", unrolled_ast = "c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc", ssa_ast = "bacc54616930cc03dabcfa37cc55aa7fa94b9877271ce596199dd4b845dda433", flattened_ast = "b295ca3b902b9c8901c0b0c7b77125c4b5a53d782c35dacecb1c02c3631f929e", destructured_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", inlined_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", dce_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", bytecode = "ed40a103f79cba4bb4b6ca00730fb673def3a223840271519eecbc1ee845f325", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc", unrolled_ast = "c2ae1bc489e8897b2e55ecc15b0167871648e5bb81012bf3fc3f9c80efe886cc", ssa_ast = "bacc54616930cc03dabcfa37cc55aa7fa94b9877271ce596199dd4b845dda433", flattened_ast = "b295ca3b902b9c8901c0b0c7b77125c4b5a53d782c35dacecb1c02c3631f929e", destructured_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", inlined_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", dce_ast = "f84955d534b8cc2c9e59010a535605b84cfe9be2347dfd0d721f943d08e00c6c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/gt.out b/tests/expectations/compiler/integers/i64/gt.out index 0e4d358620..bcb1b63730 100644 --- a/tests/expectations/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/integers/i64/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6", unrolled_ast = "e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6", ssa_ast = "41020c3290293767d84e0206146df452852bbe518109329fccb138e8664c80ee", flattened_ast = "b568cf3748d1ce9ef5087c6da40f1b9467a95f06986b5faf1254f3639b28a38e", destructured_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", inlined_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", dce_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", bytecode = "9e8596394abe6381f7e39ef612e78acc5b9fd4e2cd036a0b3f1296686182a3e5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6", unrolled_ast = "e290e22b20c7c55bf8a0fcb209fe92c844c42c514c89bdc310e3a197b65012d6", ssa_ast = "41020c3290293767d84e0206146df452852bbe518109329fccb138e8664c80ee", flattened_ast = "b568cf3748d1ce9ef5087c6da40f1b9467a95f06986b5faf1254f3639b28a38e", destructured_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", inlined_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", dce_ast = "8ef62110a1a45cc0bbcd7f24310cdf2d82a0d84e5c394779b24de602439a51b7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/hex_and_bin.out b/tests/expectations/compiler/integers/i64/hex_and_bin.out index 235c0d497e..147ac1a551 100644 --- a/tests/expectations/compiler/integers/i64/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i64/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d2e895a60db1d09efc2efbc085307b6c978f705bc7b83dcaaaec16237b67878e", type_checked_symbol_table = "7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607", unrolled_symbol_table = "7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607", initial_ast = "a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e", unrolled_ast = "a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e", ssa_ast = "c0e2803b8c6ad33be5427dc1b78c3c6b92c770ce5836c0a4f78ae8d3e46b86eb", flattened_ast = "e67049b2d3a44fb83a96aaf3c96e133fbaebd0d811626d42c820a24679c5ae69", destructured_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", inlined_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", dce_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", bytecode = "a5e5d9c09c3ad932e4e2c7e04964675bfc54a27e86729fa99520a13c79cbdc81", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d2e895a60db1d09efc2efbc085307b6c978f705bc7b83dcaaaec16237b67878e", type_checked_symbol_table = "7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607", unrolled_symbol_table = "7933630b1e312d9c233d37513c560c18cadd072f2cead39e6b3d4de920808607", initial_ast = "a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e", unrolled_ast = "a60390cab967e18cfdb89052fca822bd3a0fe13862413bc7aa12c7c7f968325e", ssa_ast = "c0e2803b8c6ad33be5427dc1b78c3c6b92c770ce5836c0a4f78ae8d3e46b86eb", flattened_ast = "e67049b2d3a44fb83a96aaf3c96e133fbaebd0d811626d42c820a24679c5ae69", destructured_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", inlined_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", dce_ast = "56c0713c15d43bba27dbcc87637b33c3aff98fa3c7c07e3ba77c38d9166eac81", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + is.eq r0 127i64 into r3; + is.eq r1 27i64 into r4; + and r3 r4 into r5; + is.eq r2 21i64 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/le.out b/tests/expectations/compiler/integers/i64/le.out index 2c538e0cc5..5bec90b837 100644 --- a/tests/expectations/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/integers/i64/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5", unrolled_ast = "6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5", ssa_ast = "19d68ec27d45b3dbaa2eed5a898cf0077cab6c70971a6d07634fa46477e0d177", flattened_ast = "5f7b0296f74c890a2e690c21df6bb4bb3efd29b4071c01448f481c2d38447c67", destructured_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", inlined_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", dce_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", bytecode = "b1f586e188d06fec69970d2cbf367157f2046040b6b848b8b0bc3dd6b02aa095", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5", unrolled_ast = "6275cca8353311539c0123fb54eabd662b9edd6b2b5d61328211583ed2619fd5", ssa_ast = "19d68ec27d45b3dbaa2eed5a898cf0077cab6c70971a6d07634fa46477e0d177", flattened_ast = "5f7b0296f74c890a2e690c21df6bb4bb3efd29b4071c01448f481c2d38447c67", destructured_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", inlined_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", dce_ast = "16dc42d6749f6c5583c691cf9cbefdc1d7a3af214dee3685a60b9a635a5d8658", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/lt.out b/tests/expectations/compiler/integers/i64/lt.out index a0a15ada8a..79401a148d 100644 --- a/tests/expectations/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/integers/i64/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300", unrolled_ast = "1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300", ssa_ast = "500e8bc170e33ef86638afbc66d6c02c8aace89cb0e74feee7173d8d05b93567", flattened_ast = "1c1db737a708829721982482d6f1fc8d965147adc31e515232418158b41107cf", destructured_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", inlined_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", dce_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", bytecode = "146646862a181a2d9c802993b30c04190405d0ec9cf00847c755162af14ab765", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300", unrolled_ast = "1d5952c29a9cdc2f3f9142047c9692ed157c59238fed6917655a4e9cdd59e300", ssa_ast = "500e8bc170e33ef86638afbc66d6c02c8aace89cb0e74feee7173d8d05b93567", flattened_ast = "1c1db737a708829721982482d6f1fc8d965147adc31e515232418158b41107cf", destructured_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", inlined_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", dce_ast = "284c0ad2a0b2fecbbdd4354a4d909ad0d117d5ccbdbfbb7f7884258ab122d6c1", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/max.out b/tests/expectations/compiler/integers/i64/max.out index 3a155050d0..d1bd5febbd 100644 --- a/tests/expectations/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/integers/i64/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa", type_checked_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", unrolled_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", initial_ast = "146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd", unrolled_ast = "146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd", ssa_ast = "77b1a480cc9d78c037f5787b19d9053f378e7071e06ba7dff3210826f6f9dbbf", flattened_ast = "ed80cb411b105de5206e05dfc0c23453d2a6e9a934f7566acaca2319f2c5f139", destructured_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", inlined_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", dce_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", bytecode = "c8d4abba332861ba511e2f210502137e5aeeef23c159740de5649958515e3910", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa", type_checked_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", unrolled_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", initial_ast = "146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd", unrolled_ast = "146c2116ad49214409cee586714cf620d7fad50fe1a33338dd55c6662afac0bd", ssa_ast = "77b1a480cc9d78c037f5787b19d9053f378e7071e06ba7dff3210826f6f9dbbf", flattened_ast = "ed80cb411b105de5206e05dfc0c23453d2a6e9a934f7566acaca2319f2c5f139", destructured_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", inlined_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", dce_ast = "71e9f820525a8d3db0d5e3e987d48949e1cbe723ff78072f9ed90fdcf0c7010f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + sub 9223372036854775807i64 r0 into r1; + output r1 as i64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index ca47db6dd6..32612c473e 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa", type_checked_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", unrolled_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", initial_ast = "d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825", unrolled_ast = "d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825", ssa_ast = "7681c5103eb78223807bdb6c45943ceb0ccfecfd40aef3999482dcf3eb01fe7f", flattened_ast = "31b1828049b3e32978090825bee7086a83a1a4d0d9ed68abda0dfd319531ea1e", destructured_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", inlined_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", dce_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", bytecode = "ba879d9c018e4334cff11992ba1b8a0bcb0901d6efdb29a6daac15ce9bb32e2c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "27d7fdad0ad06a588d992c97c6ce058d0fe3718984c6f25508cfe60d93e824aa", type_checked_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", unrolled_symbol_table = "6e3b553ad0903a0722197b07c270469aa71e3ac7f6490eb35fb0cbaf9b5a1d63", initial_ast = "d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825", unrolled_ast = "d4a953425bee529e34fcd49046bfeb62a3a43819d5daf04f6e2157cd6f89b825", ssa_ast = "7681c5103eb78223807bdb6c45943ceb0ccfecfd40aef3999482dcf3eb01fe7f", flattened_ast = "31b1828049b3e32978090825bee7086a83a1a4d0d9ed68abda0dfd319531ea1e", destructured_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", inlined_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", dce_ast = "5ec1e016e3c61433a09349b8652e9f11d7ba423d4682e3414d22ca8700072094", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + sub -9223372036854775807i64 r0 into r1; + output r1 as i64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index b56d771aa3..49c13bd089 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f", type_checked_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", unrolled_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", initial_ast = "58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10", unrolled_ast = "58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10", ssa_ast = "5f946d7675287a9ff35fbe8f685d6d48a0432a9bea0103fa853444cae572e5ec", flattened_ast = "525e77adcc18de29e3d82d0a63fbb92b257cc5429d85e88911ac6aa5867bcc7a", destructured_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", inlined_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", dce_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", bytecode = "8060d7771b9a815e84dd576354e32cd26c7bf342fb513fe3b589de4c094701b4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f", type_checked_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", unrolled_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", initial_ast = "58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10", unrolled_ast = "58193f3dbcf8fae89c79ec46e503bb179a4f33870563969f803212bcbdd15a10", ssa_ast = "5f946d7675287a9ff35fbe8f685d6d48a0432a9bea0103fa853444cae572e5ec", flattened_ast = "525e77adcc18de29e3d82d0a63fbb92b257cc5429d85e88911ac6aa5867bcc7a", destructured_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", inlined_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", dce_ast = "7d573b779ed5118006b4d7f79cf3fef78f9f4a9feaa6859dca53e2f2da70e836", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + sub -9223372036854775807i64 2i64 into r1; + output r1 as i64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/mul.out b/tests/expectations/compiler/integers/i64/mul.out index ea4a7910ce..66b00604d8 100644 --- a/tests/expectations/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/integers/i64/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97", unrolled_ast = "6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97", ssa_ast = "3e1950fcee0e6c4934579a80e523b29a67e0e726c2ba69ac69e8dd1dab345ffd", flattened_ast = "c3f7c6b3931283857948799b4d11b9412953f344430577ee772b44478efdb129", destructured_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", inlined_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", dce_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", bytecode = "f4641ddee6184f6fc437aa0f4422f2ea01a26648f9c7bf5559a2471505ed8096", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97", unrolled_ast = "6a38d85f4fad72167b0aca7874c2e1f84dd57a4b313434496a9774775bb83b97", ssa_ast = "3e1950fcee0e6c4934579a80e523b29a67e0e726c2ba69ac69e8dd1dab345ffd", flattened_ast = "c3f7c6b3931283857948799b4d11b9412953f344430577ee772b44478efdb129", destructured_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", inlined_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", dce_ast = "fb10d51d9082750f28d8fa059a84816b5ea2245357a855c16d3b32599da42086", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/ne.out b/tests/expectations/compiler/integers/i64/ne.out index c5fd45a094..b75f3ae4b7 100644 --- a/tests/expectations/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/integers/i64/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f", unrolled_ast = "2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f", ssa_ast = "5f16cf626406f6ff9abaa2245ba2b770370679234ed2786182e995112c4c23c4", flattened_ast = "4e61c5999f43222d9ec8103229bedfeb8d6cd5a959623d81f4c269d2065748f4", destructured_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", inlined_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", dce_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", bytecode = "56e6953042e8cf528010b3706c59f9240a38c0e4537f2bcedb790d17e0595327", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7a887157da38d534a1e2b2ad779ecf2e9072b92fc1fa20d58865570c7c430960", type_checked_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", unrolled_symbol_table = "c82bed5c8db9ad167c817850b8b9f8306f4d476711350a223c1c58012b5e7cc8", initial_ast = "2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f", unrolled_ast = "2a5c2eff9977994baafe5e9512b0dc5dc2f246f1fa5510b31ba07a5db250881f", ssa_ast = "5f16cf626406f6ff9abaa2245ba2b770370679234ed2786182e995112c4c23c4", flattened_ast = "4e61c5999f43222d9ec8103229bedfeb8d6cd5a959623d81f4c269d2065748f4", destructured_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", inlined_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", dce_ast = "83d498780a4c6e3140c1e9054df3451d38c682f96f67255b3913d569e7f5ff76", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index ca75001dfd..167a44a279 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634", unrolled_symbol_table = "7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634", initial_ast = "fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc", unrolled_ast = "fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc", ssa_ast = "30cbd0b7adc74624ed3575774698fefa154a0a6063f2711e7258c49d96e4139e", flattened_ast = "e304f3805774bfc301269a8d7b014c8401624b7e7ddd9bc52249ab0393636584", destructured_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", inlined_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", dce_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", bytecode = "4a3cad0d173991e84e84d40f5868e63fccab04b6561f1de4afef8976a90dbf17", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634", unrolled_symbol_table = "7d88cbc662b0ce6282b1588805b62cbab92858c5986042a1a47603acadebb634", initial_ast = "fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc", unrolled_ast = "fb479598bd2a9a2e872e4c15bfcc7ef32aac85d585e652f3b215ac108b7d87fc", ssa_ast = "30cbd0b7adc74624ed3575774698fefa154a0a6063f2711e7258c49d96e4139e", flattened_ast = "e304f3805774bfc301269a8d7b014c8401624b7e7ddd9bc52249ab0393636584", destructured_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", inlined_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", dce_ast = "cd6760362f1bbe1f9b05421e7ede600b762845a068848b92155e4a84aaf387f4", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + neg r0 into r2; + is.eq r2 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index ca7103bec1..d8490439be 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f", type_checked_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", unrolled_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", initial_ast = "8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e", unrolled_ast = "8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e", ssa_ast = "c8545b4e80ca47f5976d7a4acaa03be01fb97f4d9e84631a7db75375dd6fa879", flattened_ast = "26394442d3ffb80b4b6e170055507d93e917de93bfb59a40179eba27dbd24ad0", destructured_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", inlined_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", dce_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", bytecode = "eb8fb8c25730005f5c6c14d190313c0bee2ae389d6295686dd1867663fc93f67", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cfad18617067b89536462ebb06b76d4c3a8504d8929a2800e8078e97a85a576f", type_checked_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", unrolled_symbol_table = "7f53a2348234aed4d43f2e4cce0f42bada5abf0572e6d612c066c1fed006753c", initial_ast = "8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e", unrolled_ast = "8d7f02abb091fbaa8a907c2688b90e44a627dfa9e373f43bf2a35cd71a7ba75e", ssa_ast = "c8545b4e80ca47f5976d7a4acaa03be01fb97f4d9e84631a7db75375dd6fa879", flattened_ast = "26394442d3ffb80b4b6e170055507d93e917de93bfb59a40179eba27dbd24ad0", destructured_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", inlined_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", dce_ast = "ab223647a86e6a00f96cdfe4d47a75114d7a321f14c4bc525fb1bc5fc7b983e0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg -9223372036854775808i64 into r1; + output r1 as i64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/integers/i64/negate_zero.out index 8dbe9b04c2..55c0122125 100644 --- a/tests/expectations/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/integers/i64/negate_zero.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf", unrolled_symbol_table = "960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf", initial_ast = "10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f", unrolled_ast = "10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f", ssa_ast = "cbe6537ddbe8235a12f84d861861ee6d0efa5927bf130d42bf512fff86720eb2", flattened_ast = "cd6bf77f16a955338dc3f584ed4b7f00412f95c230a79b40d7aa18916b6506d7", destructured_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", inlined_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", dce_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", bytecode = "dbe5b65eae7786eb721e8e7bf810718e8482635802c2e5d5da2996d8c0c3f7f4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf", unrolled_symbol_table = "960e09d954db60461fa0a1d55d22d20fa3f9ba0c57f6a7fb9e8eb5717a99dbbf", initial_ast = "10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f", unrolled_ast = "10d3fef01325e89c07df4f67e85b77fc6e18a939d4d2681521a6756eb023b02f", ssa_ast = "cbe6537ddbe8235a12f84d861861ee6d0efa5927bf130d42bf512fff86720eb2", flattened_ast = "cd6bf77f16a955338dc3f584ed4b7f00412f95c230a79b40d7aa18916b6506d7", destructured_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", inlined_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", dce_ast = "d5e0ac31f88f9755a6fb75627f9982be8be7e3836717c20b7b14df8d3e180433", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg 0i64 into r1; + is.eq r1 0i64 into r2; + is.eq r2 r0 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/integers/i64/operator_methods.out index 589a4eb5a1..2b85d27c06 100644 --- a/tests/expectations/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/integers/i64/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f", unrolled_symbol_table = "474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f", initial_ast = "23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2", unrolled_ast = "23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2", ssa_ast = "2d49a1dd99f320172906064647c2fc633c1e053f53eced88fbcf1c9c6d8a6a89", flattened_ast = "12fca38bf8f084ab5ae2f5139e231d0971fab0f1128377fefec5807bcd10b05f", destructured_ast = "e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a", inlined_ast = "e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a", dce_ast = "954d0a8dab70b4ffccc417505525f405c5598ac27466ba8bd4bd95f4943179db", bytecode = "94719443d1e9713563afa7861751ae6fac8380851db816055ed46c207a613efc", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e50384060e9fc0d4efa2b987729a9efa0b7311ebef5a571230d627bbb7259b7f", type_checked_symbol_table = "474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f", unrolled_symbol_table = "474061333b89fa751ea03ea51855279fc4c83bd8f8530b9e45016a8245948d5f", initial_ast = "23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2", unrolled_ast = "23a205e10f3d4d4c5e8d29552fda66562fa295615132d03cb689f7c5f9562dd2", ssa_ast = "2d49a1dd99f320172906064647c2fc633c1e053f53eced88fbcf1c9c6d8a6a89", flattened_ast = "12fca38bf8f084ab5ae2f5139e231d0971fab0f1128377fefec5807bcd10b05f", destructured_ast = "e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a", inlined_ast = "e96500d2a409e1084d3fd952a92556c8a146721ca54613ba6dec4e884856e83a", dce_ast = "954d0a8dab70b4ffccc417505525f405c5598ac27466ba8bd4bd95f4943179db", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/or.out b/tests/expectations/compiler/integers/i64/or.out index 8b8bcd8e33..f54da435a7 100644 --- a/tests/expectations/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/integers/i64/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f", unrolled_ast = "41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f", ssa_ast = "4c83888cfdaf8503cd0ed400951039acbdd77e3fcf973be578b7f05cbfd8945c", flattened_ast = "397e8e4299d1e459ccea9ac0f70d2899141099dffbd0cbca819c4313e3c42a8e", destructured_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", inlined_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", dce_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", bytecode = "4bdb71dbcb23bcb6519ef3ddab06e79a70b155f8be87cc5d2b9d95221affd686", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f", unrolled_ast = "41f68008d28010ac344122f1402e993cdc98b9e374289a2a843c9406e31f7e7f", ssa_ast = "4c83888cfdaf8503cd0ed400951039acbdd77e3fcf973be578b7f05cbfd8945c", flattened_ast = "397e8e4299d1e459ccea9ac0f70d2899141099dffbd0cbca819c4313e3c42a8e", destructured_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", inlined_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", dce_ast = "6b618f7ef607e542e41d6aabd581f860e70f050d62731aa779e4ccd8c56899c3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/pow.out b/tests/expectations/compiler/integers/i64/pow.out index 0595e30c74..42b8cc1657 100644 --- a/tests/expectations/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/integers/i64/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711", unrolled_ast = "784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711", ssa_ast = "880022437100caf15d2134319d59eca6c340beffbd2092db811d37cffd999d29", flattened_ast = "ad672fc7908c24e4bb351539371b65e060e86112256a7368ed425fd40555b72c", destructured_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", inlined_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", dce_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", bytecode = "ff1ba1259f2f4a90553920fc5a9391125c9d5fbc583e2a648b80dc409b62d5fc", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711", unrolled_ast = "784c870a1ee02f43bcc2f2c7e1d2e4f1ed4a040d706e0c31c861c02fec08a711", ssa_ast = "880022437100caf15d2134319d59eca6c340beffbd2092db811d37cffd999d29", flattened_ast = "ad672fc7908c24e4bb351539371b65e060e86112256a7368ed425fd40555b72c", destructured_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", inlined_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", dce_ast = "0aa49f894ff2c27b505c7864d04fd38d25da116137074724ac33963b5de6e643", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/rem.out b/tests/expectations/compiler/integers/i64/rem.out index 3ed74b5990..b23772bf0e 100644 --- a/tests/expectations/compiler/integers/i64/rem.out +++ b/tests/expectations/compiler/integers/i64/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065", unrolled_ast = "2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065", ssa_ast = "785bb8b7a5d9f8184b9a9e72f3b6715018b75ae80f5a09a1d038b07173d1f2eb", flattened_ast = "82a14fb1fef2eada124f7ef5aa480c23cdcfc94518eb00605ec0a9d10d8a7ce4", destructured_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", inlined_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", dce_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", bytecode = "89effef213f290d8097c5e2289a9010d4379e63954959a7eeca9a25e4e5f50b8", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065", unrolled_ast = "2800cd773c3ee8ceef69d7bf4da364c0dd1028ceee40cfbdb407a4f8afb6a065", ssa_ast = "785bb8b7a5d9f8184b9a9e72f3b6715018b75ae80f5a09a1d038b07173d1f2eb", flattened_ast = "82a14fb1fef2eada124f7ef5aa480c23cdcfc94518eb00605ec0a9d10d8a7ce4", destructured_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", inlined_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", dce_ast = "e3cb83cc9c4160e84158f1763db871da21e9b3ddebf7783d605520bb34dd05e3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/shl.out b/tests/expectations/compiler/integers/i64/shl.out index cd8bddc4d3..2a9242a658 100644 --- a/tests/expectations/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/integers/i64/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280", unrolled_ast = "ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280", ssa_ast = "e4ebd9f25aed80b2d217c1f0708208e9cd8a0578e01c0fce04c66b1dbbc329e3", flattened_ast = "6fb7b3ac9af66dfcc73ed177a8b9a2065e172103bdafae046cb0d588b26e9eb6", destructured_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", inlined_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", dce_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", bytecode = "44b4f1e4aff3e8f3343854e8efc5146404333da549cc6e04bca927e7e1484487", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280", unrolled_ast = "ed87284a467f4d25b471d5882ef24ace6d18ced428c71a1a9e8cf56fd821d280", ssa_ast = "e4ebd9f25aed80b2d217c1f0708208e9cd8a0578e01c0fce04c66b1dbbc329e3", flattened_ast = "6fb7b3ac9af66dfcc73ed177a8b9a2065e172103bdafae046cb0d588b26e9eb6", destructured_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", inlined_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", dce_ast = "0f11342476abe7ed2ba9ca4a1e846238f04be8d5086075258f8603c86ac99e59", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/shr.out b/tests/expectations/compiler/integers/i64/shr.out index 2077ff4b7f..bc680cbb34 100644 --- a/tests/expectations/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/integers/i64/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c", unrolled_ast = "05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c", ssa_ast = "7f180f5ff66df1a2c45db1e48496c2ead1ecd6dc2a2f1194eaa7e812e1c171d9", flattened_ast = "731f19d2d45194412a05595dd3cd9febe235a8ee4b16def919e92910b82c787b", destructured_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", inlined_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", dce_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", bytecode = "2768046fc5a9e4812b3b19a67908baca08c0e3d5141323dabb57cff84e659d62", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c", unrolled_ast = "05e9a51407d6452e93625839033fb6c0e7cfb9bd3bef29483d11e0a0d0bce77c", ssa_ast = "7f180f5ff66df1a2c45db1e48496c2ead1ecd6dc2a2f1194eaa7e812e1c171d9", flattened_ast = "731f19d2d45194412a05595dd3cd9febe235a8ee4b16def919e92910b82c787b", destructured_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", inlined_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", dce_ast = "1d76cc6b050a325dde5a35a441889c1a172ddd7e9bb1c5c3be5ccd8db55a3092", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/sub.out b/tests/expectations/compiler/integers/i64/sub.out index ae1208cf71..f38adb6ad5 100644 --- a/tests/expectations/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/integers/i64/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33", unrolled_ast = "62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33", ssa_ast = "5a4d113f22deda4de39ae41cbb166a827713a97205a4f51edff749351ccf6c38", flattened_ast = "6d70115e9ce84d40da5e7c61833a1f465b38d2f2caf111a37bcf5bc7e047cd06", destructured_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", inlined_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", dce_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", bytecode = "3394c4bead78f2ab177206a71d03d27cc9e584d5eb7aa587e7a9101911c1e76d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2427e1179484b368c737f15f9c9170703b40cc287bb09b7571a1adf03da87e83", type_checked_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", unrolled_symbol_table = "23cbc35d681c3fb4e50cceacf6be7291434c1681bf452f5efc45ea42a4f0f658", initial_ast = "62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33", unrolled_ast = "62d0d89a5f71f4f9b02fcbd99c875f3dde170938b7836db086a8b8993a1e1d33", ssa_ast = "5a4d113f22deda4de39ae41cbb166a827713a97205a4f51edff749351ccf6c38", flattened_ast = "6d70115e9ce84d40da5e7c61833a1f465b38d2f2caf111a37bcf5bc7e047cd06", destructured_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", inlined_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", dce_ast = "71ac1903ac008afbc77a08349f222f17e24d7ca7395f1ea42be71ac7f4b3ffa4", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + input r2 as i64.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/ternary.out b/tests/expectations/compiler/integers/i64/ternary.out index 3116323045..ba3f47af5c 100644 --- a/tests/expectations/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/integers/i64/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "584515fa03ae6fc9acb4dea21bd8ce5ea93b9b9cee728a750da4006094ec3fca", type_checked_symbol_table = "cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442", unrolled_symbol_table = "cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442", initial_ast = "ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923", unrolled_ast = "ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923", ssa_ast = "fda31e3159f64c736e377ad7ff9d1b2087da28ed2581a828c2947535ae1c5b1c", flattened_ast = "44135e6f03431601d258a755145673aee4f7b368e4d93b9eb84a253f5957eb39", destructured_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", inlined_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", dce_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", bytecode = "4a10ca6f583fa9516bfbdad6094fdaadefd4d6069c0f87f13cc0e3fc1d36029e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "584515fa03ae6fc9acb4dea21bd8ce5ea93b9b9cee728a750da4006094ec3fca", type_checked_symbol_table = "cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442", unrolled_symbol_table = "cf9f14ec56c89a6513eceb9b2cb2f48ef860f7ea39bc4116b65644cd098ec442", initial_ast = "ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923", unrolled_ast = "ef1d9179e22fcd06dc21877143a7c6720b1a79c3c1cf9468b6f3d71f83436923", ssa_ast = "fda31e3159f64c736e377ad7ff9d1b2087da28ed2581a828c2947535ae1c5b1c", flattened_ast = "44135e6f03431601d258a755145673aee4f7b368e4d93b9eb84a253f5957eb39", destructured_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", inlined_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", dce_ast = "a9861919f19f2648e017fe274635ef93c45a3ea4532e8cae7ccc3b954191e150", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as i64.private; + input r2 as i64.private; + input r3 as i64.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i64/xor.out b/tests/expectations/compiler/integers/i64/xor.out index f998989c73..3adc9b516b 100644 --- a/tests/expectations/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/integers/i64/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "10e758b3ebd50ada2efbeff5bee317b26c77e5654cbd8486181b4531e96d157e", type_checked_symbol_table = "044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68", unrolled_symbol_table = "044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68", initial_ast = "926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39", unrolled_ast = "926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39", ssa_ast = "8063c5f66ec1aefb70ded54c596b9e0212505b37cd95dca69bd3f95e01bafe03", flattened_ast = "8ac8657ca047fe26e28c1a9a9a2250bd810a3a93a1429543cb08ba0899eccc0f", destructured_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", inlined_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", dce_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", bytecode = "202aa93c8b415346f4cc8b49533c89cf2004fb273e78581f033c75ea57dad512", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "10e758b3ebd50ada2efbeff5bee317b26c77e5654cbd8486181b4531e96d157e", type_checked_symbol_table = "044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68", unrolled_symbol_table = "044a7d2de19246daa104f5b0cf2478d5e6b16d90ed1763e38822597401b53f68", initial_ast = "926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39", unrolled_ast = "926bf9164bd49637a4fb44cf4f8c0fd6296abd77d3a76fbdb747326c80156b39", ssa_ast = "8063c5f66ec1aefb70ded54c596b9e0212505b37cd95dca69bd3f95e01bafe03", flattened_ast = "8ac8657ca047fe26e28c1a9a9a2250bd810a3a93a1429543cb08ba0899eccc0f", destructured_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", inlined_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", dce_ast = "9d0049bea5bc2a37364e42c18e7d5689494c7cea36c7a9682ea83f713c40d586", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i64.private; + input r1 as i64.private; + xor r0 r1 into r2; + output r2 as i64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/add.out b/tests/expectations/compiler/integers/i8/add.out index 683f08af84..cb3e9fa483 100644 --- a/tests/expectations/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/integers/i8/add.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a", unrolled_ast = "6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a", ssa_ast = "df8026602cbb445165612ab879fde2336f6fee02d512f1d0c77c5529fced4aba", flattened_ast = "22e54eb89e368862bf939f78cd6b2053d5742ce92c3a4d1a51bad06a28611014", destructured_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", inlined_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", dce_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", bytecode = "b55a8d40426fb145352765c99ed1875c872f2a6a0aeaa46f5734c543b5cc17a0", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a", unrolled_ast = "6bf9f1bd0ef96634db80a9e62255236aa622f6ce3c27c5e772e724c84abbba4a", ssa_ast = "df8026602cbb445165612ab879fde2336f6fee02d512f1d0c77c5529fced4aba", flattened_ast = "22e54eb89e368862bf939f78cd6b2053d5742ce92c3a4d1a51bad06a28611014", destructured_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", inlined_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", dce_ast = "b36caa9dadd9d56989cd6b78713b0c93e697d851c335cf1175295f7287997bd8", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + add r0 r1 into r3; + add r3 1_1i8 into r4; + add r4 1______1i8 into r5; + add r2 1i8 into r6; + is.eq r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/and.out b/tests/expectations/compiler/integers/i8/and.out index 2a5bf4ab9d..2bc55bf26c 100644 --- a/tests/expectations/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/integers/i8/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6", unrolled_ast = "cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6", ssa_ast = "37cc955e96b4cf037ff94ff63a25e4921d366a4ed7e275dfec8ca3ae51e8adae", flattened_ast = "f2f09410b66cac815a24b2503700a952769f52d1a5b289334050a6085d5eb894", destructured_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", inlined_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", dce_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", bytecode = "6696abc2bfb9eeab6ab4255dad93e1c66316b93bf19136e37fdefb22a09b50c9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6", unrolled_ast = "cc698c2beb128c01adec906d540274484ca40a328570ad98207e91072facfbc6", ssa_ast = "37cc955e96b4cf037ff94ff63a25e4921d366a4ed7e275dfec8ca3ae51e8adae", flattened_ast = "f2f09410b66cac815a24b2503700a952769f52d1a5b289334050a6085d5eb894", destructured_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", inlined_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", dce_ast = "3f0d6f9aa749752810926a7b5e4152f4ce51c5a04ec5cdf69168559d64906491", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/integers/i8/console_assert.out index 1e607ae81d..4961db749e 100644 --- a/tests/expectations/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/integers/i8/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0", unrolled_symbol_table = "72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0", initial_ast = "2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3", unrolled_ast = "2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3", ssa_ast = "3040aafd7382a5cef83c471d33124d3356edd44930401a4627f7ef69082a1ac9", flattened_ast = "8f9b19e351342a2156d45e1cd5c29b44a8f1f4a17c2b8121bbc6e82059ed7bfc", destructured_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", inlined_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", dce_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", bytecode = "abe50f2f70110c2d0e6728636967d2e3ef06c1bdad64c39cf82f7402a924f769", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0", unrolled_symbol_table = "72d9daa48eaf10f69b2811f654a915cf80e9c7161526cfad9900cd982a239cb0", initial_ast = "2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3", unrolled_ast = "2efb5bdc95149a2a9dcc220768b6dd9ee5398c053deb5489641c8b3d6ef4fae3", ssa_ast = "3040aafd7382a5cef83c471d33124d3356edd44930401a4627f7ef69082a1ac9", flattened_ast = "8f9b19e351342a2156d45e1cd5c29b44a8f1f4a17c2b8121bbc6e82059ed7bfc", destructured_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", inlined_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", dce_ast = "ec21c297b894468f9a99ed06a68020f29be3c5363826cd782e6f6905773b0528", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/div.out b/tests/expectations/compiler/integers/i8/div.out index e9f4c29056..44cca86a16 100644 --- a/tests/expectations/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/integers/i8/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a", unrolled_ast = "e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a", ssa_ast = "546b56ed336b74c595fbaad228f684b5cba9104e727d807cd2f07552a0804c68", flattened_ast = "10de4abc15f893686734c8692a9151e812b3ad582de2db55873ec80228f2176b", destructured_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", inlined_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", dce_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", bytecode = "a748bd3dea41e7274e04929fa60b4e6e1a93c07f229afe99bf12c5fc29162f68", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a", unrolled_ast = "e2d4f666c4e5fa82bea942ed344b99341199e42076d318e234f6192505be181a", ssa_ast = "546b56ed336b74c595fbaad228f684b5cba9104e727d807cd2f07552a0804c68", flattened_ast = "10de4abc15f893686734c8692a9151e812b3ad582de2db55873ec80228f2176b", destructured_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", inlined_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", dce_ast = "91e2dc4c5d7914343f521c0e1e4bc23bd935fdd5d3ce0b9c85871fc53e62d98a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/eq.out b/tests/expectations/compiler/integers/i8/eq.out index b22e07c100..c1b920ab15 100644 --- a/tests/expectations/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/integers/i8/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421", unrolled_ast = "5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421", ssa_ast = "88df51a824efa41f3441f5a60884b555a4c65061a734585194e0b0d98df439dd", flattened_ast = "41c2c364fc98b8cad593fb1811e54c4ad8e969dbbdf17f298e2155e468c559a9", destructured_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", inlined_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", dce_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", bytecode = "a78d778b5d4c7ab76e80a1c944c5060214f0e474a0892dca998044ec07f736f9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421", unrolled_ast = "5b00321f6f2e5db8a5c85f4f2ab334b65aa8b525c2c6e79ceb41cd55506ad421", ssa_ast = "88df51a824efa41f3441f5a60884b555a4c65061a734585194e0b0d98df439dd", flattened_ast = "41c2c364fc98b8cad593fb1811e54c4ad8e969dbbdf17f298e2155e468c559a9", destructured_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", inlined_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", dce_ast = "a66d318aaa22bcf5cc248d95c5afbded23d1a057f4c278b95bca68dd303c91a0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/ge.out b/tests/expectations/compiler/integers/i8/ge.out index 4d9eb07d5f..f66034158f 100644 --- a/tests/expectations/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/integers/i8/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26", unrolled_ast = "e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26", ssa_ast = "1c8b633c0ecffe5af9d1a1c2a72fa523a77a235b8068b680c54087995863b3af", flattened_ast = "117322d3c36ccb88f418847a5cc7e94bc7a4ca5141cf9936149061177639d79f", destructured_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", inlined_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", dce_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", bytecode = "94572b27b48d4abfd620aa9e9b2826915ffa548e81e7163562a598777c174b9d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26", unrolled_ast = "e3826df3342f985478f31be42eefe0ba3630befd3779a4ba2f168f806b3aaf26", ssa_ast = "1c8b633c0ecffe5af9d1a1c2a72fa523a77a235b8068b680c54087995863b3af", flattened_ast = "117322d3c36ccb88f418847a5cc7e94bc7a4ca5141cf9936149061177639d79f", destructured_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", inlined_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", dce_ast = "2c0bfa61f3ef2eea404ea84be91a062e702852a30cc8cb4208faaf1d4ac94e8e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/gt.out b/tests/expectations/compiler/integers/i8/gt.out index 6b77c6a97b..181695088c 100644 --- a/tests/expectations/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/integers/i8/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e", unrolled_ast = "b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e", ssa_ast = "786646fd5c008b87a6735cf6354be975079727307d7e9ef0a1f6d411ae86dd01", flattened_ast = "7424c5c9aeeb419ed1c2a6eeffcafd70bbe44856d0a379e66d09ca2f3772d058", destructured_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", inlined_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", dce_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", bytecode = "12088489a333361c2ba46423958eb72cf877d9db1e0acc0520b13b02a6d0467e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e", unrolled_ast = "b340b8f211e8969baaf58c34762deeffc2ef61bba993468c823acee2f896d81e", ssa_ast = "786646fd5c008b87a6735cf6354be975079727307d7e9ef0a1f6d411ae86dd01", flattened_ast = "7424c5c9aeeb419ed1c2a6eeffcafd70bbe44856d0a379e66d09ca2f3772d058", destructured_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", inlined_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", dce_ast = "895d121187e579a376b15814cbe3efe4fe14a89fb27cb1d95aacc3301292e68d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/hex_and_bin.out b/tests/expectations/compiler/integers/i8/hex_and_bin.out index 40fc0e0a9a..28ab23c83e 100644 --- a/tests/expectations/compiler/integers/i8/hex_and_bin.out +++ b/tests/expectations/compiler/integers/i8/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "353cdbed822b512ef65bfb0724f108688f363f7e2a7c8ea3719bd71c4975aa48", type_checked_symbol_table = "dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597", unrolled_symbol_table = "dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597", initial_ast = "5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd", unrolled_ast = "5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd", ssa_ast = "3ab6fca47f539d5a00a8b4228c98a4d1dcbc2a568ba673d26d619cf1746607aa", flattened_ast = "dbc980ee51c6a3b45d97a4b732f7c8b4c28655b83955417b2160fd3f8875c2c9", destructured_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", inlined_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", dce_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", bytecode = "576d91d751607b6f8045f511d39072799e174dd899e9962b1dadc94843836620", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "353cdbed822b512ef65bfb0724f108688f363f7e2a7c8ea3719bd71c4975aa48", type_checked_symbol_table = "dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597", unrolled_symbol_table = "dc71d504735e6f386b32e9e3e51be6a8f59b661143983031532ba5ce27037597", initial_ast = "5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd", unrolled_ast = "5403d97f87cbb0fcfe6f7a526d4f798caec145ec178e4779b9c710b52bb08ffd", ssa_ast = "3ab6fca47f539d5a00a8b4228c98a4d1dcbc2a568ba673d26d619cf1746607aa", flattened_ast = "dbc980ee51c6a3b45d97a4b732f7c8b4c28655b83955417b2160fd3f8875c2c9", destructured_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", inlined_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", dce_ast = "10545e3b44c9d34d4dd57f0028b1c3c7740d29f8623b71c27481e41d65cdd7c3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + is.eq r0 127i8 into r3; + is.eq r1 27i8 into r4; + and r3 r4 into r5; + is.eq r2 21i8 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/le.out b/tests/expectations/compiler/integers/i8/le.out index acf534e93c..1e75697fc9 100644 --- a/tests/expectations/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/integers/i8/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e", unrolled_ast = "0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e", ssa_ast = "78fe8e9dd365b2f9f9cf4dd64b020a9a45179054f9a8d6af65b6d1ca887b269f", flattened_ast = "23a6679cd4c5944af49076bea9614344a60d0fae3ec70e4025be62a61f1de4ff", destructured_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", inlined_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", dce_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", bytecode = "13ee1135be90a2ac630bba0dddd170b24bdf375295c4d3e21ddb511d388f9c31", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e", unrolled_ast = "0063230de9d7fbd358cad1c53d6583336cb64b399c348894ae19a25033fd604e", ssa_ast = "78fe8e9dd365b2f9f9cf4dd64b020a9a45179054f9a8d6af65b6d1ca887b269f", flattened_ast = "23a6679cd4c5944af49076bea9614344a60d0fae3ec70e4025be62a61f1de4ff", destructured_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", inlined_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", dce_ast = "6444f15f03f91acef1291cf7ece1f6734f8d82f84d5c3e9fd136e3d08091abac", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/lt.out b/tests/expectations/compiler/integers/i8/lt.out index bc42293a0f..0ec75c8b78 100644 --- a/tests/expectations/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/integers/i8/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c", unrolled_ast = "1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c", ssa_ast = "cc78951f929dbe123f88df4269f4049cf49419496328805b7f3cccacbeebd406", flattened_ast = "863a0585973d5e6536cb97dd3b11e8662b11318e148115ab9483eb088ee11cda", destructured_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", inlined_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", dce_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", bytecode = "603e5cdb76df60951144b9bf25a52c5707dd4286906cae46fccc43f3b87292e2", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c", unrolled_ast = "1b46f9c0d678800f33e2acc95375dc446b755331f7555b30441bb4b0645b665c", ssa_ast = "cc78951f929dbe123f88df4269f4049cf49419496328805b7f3cccacbeebd406", flattened_ast = "863a0585973d5e6536cb97dd3b11e8662b11318e148115ab9483eb088ee11cda", destructured_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", inlined_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", dce_ast = "df9db2518c47cf08ca5798db0c6dbe3b4fea29e13d70156f52e9aff73d52e134", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/max.out b/tests/expectations/compiler/integers/i8/max.out index 3e44676afa..41ba081583 100644 --- a/tests/expectations/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/integers/i8/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6", type_checked_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", unrolled_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", initial_ast = "563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4", unrolled_ast = "563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4", ssa_ast = "3ff75da0b8ee9c02c92cf0cb031ffac194eb35eedbb54f3cbff51812e646f491", flattened_ast = "d2afdef5a4fb9501c6d7ec053c1c778630fc01b6c80d1c07fa9b5274e00d5f70", destructured_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", inlined_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", dce_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", bytecode = "3c067ad506fc41e4e9e7db063d5364cb4b48df235e552f3cae7d5de2cbb781e0", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6", type_checked_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", unrolled_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", initial_ast = "563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4", unrolled_ast = "563178722ffef827250be4f84e9633363dd7d20a17fa74d78c865f7fb88ac0a4", ssa_ast = "3ff75da0b8ee9c02c92cf0cb031ffac194eb35eedbb54f3cbff51812e646f491", flattened_ast = "d2afdef5a4fb9501c6d7ec053c1c778630fc01b6c80d1c07fa9b5274e00d5f70", destructured_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", inlined_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", dce_ast = "e12f2dcbcc35639427e9321927add4ee5798d852ca7e89d38828809216fc53ca", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + sub 127i8 r0 into r1; + output r1 as i8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index 01bdfb20b4..ef37f22fbc 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6", type_checked_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", unrolled_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", initial_ast = "76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c", unrolled_ast = "76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c", ssa_ast = "0eaf70d9182c1dbbb9bb32ad8c8e8dc0b26cfe517c062031443d305fd87b3d19", flattened_ast = "4c0f9e4df2f63f3ce1780031a900b77647269a66e25518fb35ba8a51116b9506", destructured_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", inlined_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", dce_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", bytecode = "55a111c89ca19d386df2b23007d709d5c8787909e9e1160c29499b3f7a01dcf5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "a6a37febbe9d95963b4a44f652b8fdc283cb894facfe966fa3ba70b5ad4758b6", type_checked_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", unrolled_symbol_table = "75aa4f108c0f30f73e8e6b92a8cde9588d28fa4c97c1103349668563c6bf29bf", initial_ast = "76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c", unrolled_ast = "76f03f73aa1896fe8dcd48c65bf0ceb2f7a9376bdcffcf1d3d2397310473b08c", ssa_ast = "0eaf70d9182c1dbbb9bb32ad8c8e8dc0b26cfe517c062031443d305fd87b3d19", flattened_ast = "4c0f9e4df2f63f3ce1780031a900b77647269a66e25518fb35ba8a51116b9506", destructured_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", inlined_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", dce_ast = "8a27854713ee0405c1e6fd11d2bfb13e58f6d6eebfea1d901540ac958454fee7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + sub -127i8 r0 into r1; + output r1 as i8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index 22fbed16ce..0c8a65749d 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2", type_checked_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", unrolled_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", initial_ast = "a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f", unrolled_ast = "a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f", ssa_ast = "b9ead55cf4489b7204556612449ef5c720e38caa15132273a38e19d5f753920f", flattened_ast = "f3ba6b843d5fb71c44ce4a13f1159e41ae420493f93e2b4d71eed92d4106717d", destructured_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", inlined_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", dce_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", bytecode = "2181efe703d35367134a1f8a3601cc57254af6fff5313d65f4b442e1bb24ca38", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2", type_checked_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", unrolled_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", initial_ast = "a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f", unrolled_ast = "a77dad8f4374ae9485cf5209ba53504e4496ddcf3284f527273fedd4d1d6fd0f", ssa_ast = "b9ead55cf4489b7204556612449ef5c720e38caa15132273a38e19d5f753920f", flattened_ast = "f3ba6b843d5fb71c44ce4a13f1159e41ae420493f93e2b4d71eed92d4106717d", destructured_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", inlined_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", dce_ast = "95b27551d0725fc934b662f959957cabb2613ef853bfd301cf92bf96515910fd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + sub -127i8 2i8 into r1; + output r1 as i8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/mul.out b/tests/expectations/compiler/integers/i8/mul.out index 23d32a29c8..a975237664 100644 --- a/tests/expectations/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/integers/i8/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d", unrolled_ast = "56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d", ssa_ast = "6987b36066f53fcba20109d287e6ca22d127015764e893684e013e5af8df1c76", flattened_ast = "437026d837a6f7b5c9985f1689f7061f0c10b828f8d43429b63cd00bdffc2e43", destructured_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", inlined_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", dce_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", bytecode = "4d7f4174af8a36e85cdb61b3aea8ff9d5d2fff98c50e002f82e4e37cec9beab8", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d", unrolled_ast = "56b05e255bee16fe71e37cd5580c06b1f68d5a1fafec969694a762dc527e307d", ssa_ast = "6987b36066f53fcba20109d287e6ca22d127015764e893684e013e5af8df1c76", flattened_ast = "437026d837a6f7b5c9985f1689f7061f0c10b828f8d43429b63cd00bdffc2e43", destructured_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", inlined_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", dce_ast = "d8cd3f58dc75e428f0e5d6ce60b6295454686c75568436253c1edb229663b8ec", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/ne.out b/tests/expectations/compiler/integers/i8/ne.out index 043f16c3e1..9e988e4349 100644 --- a/tests/expectations/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/integers/i8/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb", unrolled_ast = "3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb", ssa_ast = "e700f12a79171f2bcb8793956bca320380fc683e00dea81efcb4beda60179268", flattened_ast = "4d7b441aeba9fe22835ff5af503e598f11ab68ad1075b943ac100f5cba4bd56c", destructured_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", inlined_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", dce_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", bytecode = "d7dd8a73bf281baa5edbf7c488b9752d703a092ec1840c0e35d830a7c6f9c007", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4743c62690fbc67bca8d59e9bb6c787eb3bb6bd0c0ac687147ef041745a3bf63", type_checked_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", unrolled_symbol_table = "42bcece297a0308cbfcc07e26e6a48f50b68d25ded7d1ad6cd185288b799e4df", initial_ast = "3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb", unrolled_ast = "3bd2bf3b999c662c2fb76f7e2bd8d434ae265210315fe6a25bec7f4864be91fb", ssa_ast = "e700f12a79171f2bcb8793956bca320380fc683e00dea81efcb4beda60179268", flattened_ast = "4d7b441aeba9fe22835ff5af503e598f11ab68ad1075b943ac100f5cba4bd56c", destructured_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", inlined_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", dce_ast = "86b1eebf8450a6d76bd76ea1a7bac0be64a78775bfcb624160482b25cf0f2824", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index 9f7ee0a9a1..e4617afdb5 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396", unrolled_symbol_table = "62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396", initial_ast = "a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3", unrolled_ast = "a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3", ssa_ast = "b5be28daddc15f1c0e60b97f004ff809074f5b6943501984f3a0a577e5b6fa83", flattened_ast = "58f2aa6a514785791e5d7e33afe38db9ecb042bed562056e036f2f3bd35ed2bf", destructured_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", inlined_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", dce_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", bytecode = "68da5691d330a6bcaa3f223f7a2140e1c01993fe61750a646efe6241bccb88c9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396", unrolled_symbol_table = "62b70f7d5bc9e5efa20b2a6611b36bbbae7707dab492fadeca3532e95ad34396", initial_ast = "a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3", unrolled_ast = "a573efee457260e4f9a0171ba91f8c78b81cd636c53d0d0fb94bebf73c0a6ae3", ssa_ast = "b5be28daddc15f1c0e60b97f004ff809074f5b6943501984f3a0a577e5b6fa83", flattened_ast = "58f2aa6a514785791e5d7e33afe38db9ecb042bed562056e036f2f3bd35ed2bf", destructured_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", inlined_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", dce_ast = "f380bb5c1d258c8e957a78eee1ff9e66a8846072ae16f6b79a445735dc1b2cdb", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + neg r0 into r2; + is.eq r2 r1 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index e5a7571e27..6c2b670f1c 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2", type_checked_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", unrolled_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", initial_ast = "00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a", unrolled_ast = "00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a", ssa_ast = "288c9453a9eb1eee2c680b542b14313feb14ec4dd7cf361972f2a692e3b24f6b", flattened_ast = "6b69d8700688b186665b013ec5d7cfa501a128109e656b69b3ca5b1cabf0d491", destructured_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", inlined_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", dce_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", bytecode = "a4ebf23c558ad51c1a52d068bb7ac0b76d19edf6545cb32d068ab3206f87bef4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "15f9ac444e80cc740f479cf4752dc68a63527ad3fa272f1f28d4ff819da708b2", type_checked_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", unrolled_symbol_table = "f114ee92ebdd630b62e9704d4bb3d273faedd5513947afcd2cd6fc6cccc3c195", initial_ast = "00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a", unrolled_ast = "00d46b6760279d0f21ddca6d737a81d49d10699030ececf8d8a75e5e337cd48a", ssa_ast = "288c9453a9eb1eee2c680b542b14313feb14ec4dd7cf361972f2a692e3b24f6b", flattened_ast = "6b69d8700688b186665b013ec5d7cfa501a128109e656b69b3ca5b1cabf0d491", destructured_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", inlined_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", dce_ast = "33095f06553da8f91f848bc89c68acf7a368af69f6633cd5588c4d7bfb7dc3c9", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg -128i8 into r1; + output r1 as i8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/integers/i8/negate_zero.out index 8ee633914d..759d2b747a 100644 --- a/tests/expectations/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/integers/i8/negate_zero.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e", unrolled_symbol_table = "08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e", initial_ast = "619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30", unrolled_ast = "619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30", ssa_ast = "16d4ca4ec665aae3f760a6bee5e4006dffda86663d629d26f3d3cdba3cad278e", flattened_ast = "3f9c99370ee72bc75321f99c963cb84bcd7adcaa37d416dffad45771c020f948", destructured_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", inlined_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", dce_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", bytecode = "d93c33f2a15e75c32e9a604904fecc39f063d4a2a3463240b68a401105a55053", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e", unrolled_symbol_table = "08c1d52f16efbdf97bf015dcb5a6170ffac25e072839f9ac2299b8e57d93a20e", initial_ast = "619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30", unrolled_ast = "619e090d57542c7848adbc6820210df4a40239ea890d41d58fad37b5f2cd4a30", ssa_ast = "16d4ca4ec665aae3f760a6bee5e4006dffda86663d629d26f3d3cdba3cad278e", flattened_ast = "3f9c99370ee72bc75321f99c963cb84bcd7adcaa37d416dffad45771c020f948", destructured_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", inlined_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", dce_ast = "0f2f88d1cb2297b8f1d074bfe9e956b6a7fddc491a11a4b8efc68105828b72a1", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + neg 0i8 into r1; + is.eq r1 0i8 into r2; + is.eq r2 r0 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/integers/i8/operator_methods.out index a187758104..75c6e7967a 100644 --- a/tests/expectations/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/integers/i8/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018", unrolled_symbol_table = "72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018", initial_ast = "40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390", unrolled_ast = "40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390", ssa_ast = "501e9b241e2fffeccf8ca30ce6f9a376b8e44963bd0c6bbf658487bf37dc305e", flattened_ast = "0b29c696a2066c5e0c8a5c7d997308831316e0ebf392f546c83238c3257f5999", destructured_ast = "b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681", inlined_ast = "b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681", dce_ast = "ff0ea7839ec47f3d48d7c506cb94a84c723edf417faa9d4a3ed4042f5cf91319", bytecode = "faddd6204de19b830842ea34e1f218276b8e8914ecd7fdbfd4143b0f08d305c1", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cde66f4b30777be5bbf81e86f11c7b68c5004819a4d3da246e755cd5a8683e55", type_checked_symbol_table = "72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018", unrolled_symbol_table = "72620aed6d8c589a0d79dd52eb11fabb812de499160743e78b73394c77c0c018", initial_ast = "40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390", unrolled_ast = "40a6e7d505f3bab72ee0168162b75b14b8561f12802436474204975b14779390", ssa_ast = "501e9b241e2fffeccf8ca30ce6f9a376b8e44963bd0c6bbf658487bf37dc305e", flattened_ast = "0b29c696a2066c5e0c8a5c7d997308831316e0ebf392f546c83238c3257f5999", destructured_ast = "b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681", inlined_ast = "b7fd5b6b4ab28f85932bfa40ccedb15baa284f4a51ce2810a161176434c3c681", dce_ast = "ff0ea7839ec47f3d48d7c506cb94a84c723edf417faa9d4a3ed4042f5cf91319", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/or.out b/tests/expectations/compiler/integers/i8/or.out index 2eb31d8129..5a5592d04f 100644 --- a/tests/expectations/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/integers/i8/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f", unrolled_ast = "28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f", ssa_ast = "8924faa4c6649e328ca68e6c24c6a2d0eb6e83bbdcc01a95889e2fa950a06bc9", flattened_ast = "42b538284a04f9e3dda825f4f1b82efc76be9dbdc056d6298ba387d921707b59", destructured_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", inlined_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", dce_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", bytecode = "4ea2659376ff2503f5dbf9e6bda9c9f13fb84dec3182bb626646806f874e00eb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f", unrolled_ast = "28000689cde1febdc24ecf2aa7352daaf95cae69a3c9282249a794f7fe45eb9f", ssa_ast = "8924faa4c6649e328ca68e6c24c6a2d0eb6e83bbdcc01a95889e2fa950a06bc9", flattened_ast = "42b538284a04f9e3dda825f4f1b82efc76be9dbdc056d6298ba387d921707b59", destructured_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", inlined_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", dce_ast = "ea0b06d1ca64206d34367385c1c19a3750fae22239a037303b626c0606c63e09", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/pow.out b/tests/expectations/compiler/integers/i8/pow.out index 49610037db..cc09b84742 100644 --- a/tests/expectations/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/integers/i8/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3", unrolled_ast = "3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3", ssa_ast = "0cb09af29a30b87d9e67f875a36774c7765284c78ca4b7ba7c1b185b0498a09f", flattened_ast = "3249c8482d4341537f945d5deb9c4c634f547a674698d9324e5dd463b247e800", destructured_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", inlined_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", dce_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", bytecode = "edd5ec13303284be804f592351207aa0ac4c7c6e0c0b7f9a6377f8b75e0d377e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3", unrolled_ast = "3b9473ecefd63ac652479cc7f639ee7f5fcdcd7ef7036b84ea70e7aff73ddcc3", ssa_ast = "0cb09af29a30b87d9e67f875a36774c7765284c78ca4b7ba7c1b185b0498a09f", flattened_ast = "3249c8482d4341537f945d5deb9c4c634f547a674698d9324e5dd463b247e800", destructured_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", inlined_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", dce_ast = "be05c2dc2d82ac15f9ab9e6b83c6849846cf93fe2d817fe065bf9267dbc71627", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/rem.out b/tests/expectations/compiler/integers/i8/rem.out index 14f2abb8f2..0b5a909ea2 100644 --- a/tests/expectations/compiler/integers/i8/rem.out +++ b/tests/expectations/compiler/integers/i8/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2", unrolled_ast = "790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2", ssa_ast = "dd475da4f4a9868997deecfff1f33e84b7b506daf53082f1ddeb1bd75f0a0292", flattened_ast = "89cf57a9df4ab5915df5b09abd02b753e8913789774c086a6ab5b75e98b15bf7", destructured_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", inlined_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", dce_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", bytecode = "34eda0edb2d4048d2b3e2ea19e929f063903b4ca94d90f8a0e1525a0bb2d0134", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2", unrolled_ast = "790ca6db97a376caee5d58993a1835f659484895eda5175eb818dea5ba5705d2", ssa_ast = "dd475da4f4a9868997deecfff1f33e84b7b506daf53082f1ddeb1bd75f0a0292", flattened_ast = "89cf57a9df4ab5915df5b09abd02b753e8913789774c086a6ab5b75e98b15bf7", destructured_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", inlined_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", dce_ast = "3c6d5f7e634f5ea0aa369751d8508fe8927e5a1a9a98ebdfa8bc11fafe207c97", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/shl.out b/tests/expectations/compiler/integers/i8/shl.out index 8de03697f9..609ac8ee7c 100644 --- a/tests/expectations/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/integers/i8/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef", unrolled_ast = "8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef", ssa_ast = "21ac6159d8833d72c0d63f28b69ccee7f79a8582a2848421556bced3d7469840", flattened_ast = "e8f1bc558ef6d8a9aa3f80c4d987d68d8bbddbf2c5f568ad1bf1b50064ddea60", destructured_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", inlined_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", dce_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", bytecode = "307c17323af8fd5de808a828e634ce97419a0ba67815102016fab6c883b7e052", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef", unrolled_ast = "8de158e1b7900d050661761fae0634612f68f5a82d57044a31c06aa73469d2ef", ssa_ast = "21ac6159d8833d72c0d63f28b69ccee7f79a8582a2848421556bced3d7469840", flattened_ast = "e8f1bc558ef6d8a9aa3f80c4d987d68d8bbddbf2c5f568ad1bf1b50064ddea60", destructured_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", inlined_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", dce_ast = "9d8a48cc561382b3119e92806bdb95c540f5fc63a11f1b2c2d4b08f9a4c264cc", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/shr.out b/tests/expectations/compiler/integers/i8/shr.out index ea3b7942e1..b74759f8ad 100644 --- a/tests/expectations/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/integers/i8/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f", unrolled_ast = "e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f", ssa_ast = "6b6996026d9181a251b760b1722e354dfe40e7971e755e5adb55dbdda7886275", flattened_ast = "28980dc5e410e1168b08e6cd221d5fdf9c569d0fc1dac5bb1433fab76155862f", destructured_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", inlined_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", dce_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", bytecode = "e0110365aec2e78cbf8f7accb85b8c7e36d2c606cdd6a4cafd02a2b4dc7dfe38", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f", unrolled_ast = "e873a948ea2212c65702eeef784acc23ec190535162bc9f0b23a92b89f1ae48f", ssa_ast = "6b6996026d9181a251b760b1722e354dfe40e7971e755e5adb55dbdda7886275", flattened_ast = "28980dc5e410e1168b08e6cd221d5fdf9c569d0fc1dac5bb1433fab76155862f", destructured_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", inlined_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", dce_ast = "af35294c8fecce341e5d0322bc08132a7e14b4a56070c297f88419ae38a536bd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/sub.out b/tests/expectations/compiler/integers/i8/sub.out index 6c83f4bfb4..ed29aa86a0 100644 --- a/tests/expectations/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/integers/i8/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9", unrolled_ast = "7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9", ssa_ast = "6a6a6e42c99d148a2752ad5c6f99f49b84e419423e890151c3123b3fcef0d934", flattened_ast = "ad984f66575dfb99ca5859ac1eff1ab0dcb3bd619e01bb8a231a81d5c16ab566", destructured_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", inlined_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", dce_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", bytecode = "6638d0f711e011432b8371bf648e0903f22612d062139a650ebe4d75783a8393", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "21e90fe7d6f31f80a2c7e2c9d8eda0b9f13c6b0f810a2eaa86441805fe91f4fa", type_checked_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", unrolled_symbol_table = "cce30978c007083c138587349358f116ae192df25f14060c376ded79d4e00674", initial_ast = "7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9", unrolled_ast = "7bab03f89dddb73c6c58b6ab1033668210f56e83b546b52c6d8115ffbe7ba4b9", ssa_ast = "6a6a6e42c99d148a2752ad5c6f99f49b84e419423e890151c3123b3fcef0d934", flattened_ast = "ad984f66575dfb99ca5859ac1eff1ab0dcb3bd619e01bb8a231a81d5c16ab566", destructured_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", inlined_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", dce_ast = "18751b6a9563eeac8de77864c1a4393c90187aae79168addfadbeb0a049850e6", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + input r2 as i8.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/ternary.out b/tests/expectations/compiler/integers/i8/ternary.out index 9812230639..3ac32a9906 100644 --- a/tests/expectations/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/integers/i8/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "634b2768785c05c66dcda182dfd1c64b4b3861966cad3e6e666f7b1cf40fe35a", type_checked_symbol_table = "0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47", unrolled_symbol_table = "0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47", initial_ast = "60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7", unrolled_ast = "60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7", ssa_ast = "94c44fed7fd02dac3273323118e03cf914016612d833bd095e134c34c26d1dd1", flattened_ast = "059479635a590362fd8bdef355165b9996190c2ad13bb986befe8302fd392bb8", destructured_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", inlined_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", dce_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", bytecode = "61eac30d1e0b3a4fa0357855b11e228b012203b9cd2f814c0faa660a2be5996d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "634b2768785c05c66dcda182dfd1c64b4b3861966cad3e6e666f7b1cf40fe35a", type_checked_symbol_table = "0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47", unrolled_symbol_table = "0ed12672775b971c53c6240c96b2751dc600c55e48a9ae1673f4635904b7ec47", initial_ast = "60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7", unrolled_ast = "60adde5bf7e2364454a7d3b4f52286f35892a3872065c68f443ddfccd48c4dd7", ssa_ast = "94c44fed7fd02dac3273323118e03cf914016612d833bd095e134c34c26d1dd1", flattened_ast = "059479635a590362fd8bdef355165b9996190c2ad13bb986befe8302fd392bb8", destructured_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", inlined_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", dce_ast = "d95c83881b00fa074b95a90fc36d2886bbcc4892b08b467c0b1c8569d8303a3b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as i8.private; + input r2 as i8.private; + input r3 as i8.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/i8/xor.out b/tests/expectations/compiler/integers/i8/xor.out index 13ef21f864..326d304ac6 100644 --- a/tests/expectations/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/integers/i8/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "1b7f3cd480494050dfb820aebc0231f7a7d435dde4781101be2ae532c52834bb", type_checked_symbol_table = "31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01", unrolled_symbol_table = "31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01", initial_ast = "32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf", unrolled_ast = "32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf", ssa_ast = "35524d9ad7684059c47302c97fd78c259352211e37fa3a1d1938a83bbbb6581f", flattened_ast = "fc677cb4bee4ec7b6d9e7de234c3ed93dbc26ccf4e7430bcc748fe8cf8def92d", destructured_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", inlined_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", dce_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", bytecode = "219e0ef5cb7c0ac1ecb9541920637d11e5f48c5e52adab2060e6ed389647eee4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "1b7f3cd480494050dfb820aebc0231f7a7d435dde4781101be2ae532c52834bb", type_checked_symbol_table = "31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01", unrolled_symbol_table = "31541aba8454f5d35c17d3b3e3893b07f6c183758f6e2825f04da69e4f4d1f01", initial_ast = "32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf", unrolled_ast = "32fbb4c6f9df36028b9f9a134c3ebfe57f4d56224b844d7c90af0a61a858abbf", ssa_ast = "35524d9ad7684059c47302c97fd78c259352211e37fa3a1d1938a83bbbb6581f", flattened_ast = "fc677cb4bee4ec7b6d9e7de234c3ed93dbc26ccf4e7430bcc748fe8cf8def92d", destructured_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", inlined_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", dce_ast = "f3990af79882485cfd8217ff798b72128968c7d2d303a93c98cafbdb2c438f79", bytecode = """ +program test.aleo; + + + +function main: + input r0 as i8.private; + input r1 as i8.private; + xor r0 r1 into r2; + output r2 as i8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/add.out b/tests/expectations/compiler/integers/u128/add.out index 499f51fb58..ccb8aa3ee6 100644 --- a/tests/expectations/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/integers/u128/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b", unrolled_ast = "06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b", ssa_ast = "7e4b2bbad73a438a6305ca4ab8e15f3c3dc2dbc166a47787d03ca8155e8aad62", flattened_ast = "e243f82d11e96c47e83665996c8a2b926319539da6f8aaf36aa46ed0f6455cea", destructured_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", inlined_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", dce_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", bytecode = "2d327c3f6b7f23cc5f8e292ef00cf94df2fa9afad2bc8fe26ca28dc6f338d2cc", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b", unrolled_ast = "06e22df9c4c860e037e401390ade75ff633b29f25a8b04285ca27b24ebbfa03b", ssa_ast = "7e4b2bbad73a438a6305ca4ab8e15f3c3dc2dbc166a47787d03ca8155e8aad62", flattened_ast = "e243f82d11e96c47e83665996c8a2b926319539da6f8aaf36aa46ed0f6455cea", destructured_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", inlined_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", dce_ast = "ea5a44bd55844e64e76a59f244352cfe20c7b2eb17bc1d2efcb34cdd938b0048", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/and.out b/tests/expectations/compiler/integers/u128/and.out index c3a98d8b7f..c98143dea5 100644 --- a/tests/expectations/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/integers/u128/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6", unrolled_ast = "76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6", ssa_ast = "2f04220dc17aee851dff4e2c77457e0f1289a10aa4d5b9d6b84799b7d2df260c", flattened_ast = "e279be02a678e9216ebf873682243c11d3fc6780afed29739d24e541f701cacb", destructured_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", inlined_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", dce_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", bytecode = "5400590002c3acc5121a18ff585e8ca17b695e7486ea09a61cb2520dfd09f413", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6", unrolled_ast = "76749861903281b19dab3e7b6e544442e58edc12d1e5c3a400438b7bf1a026f6", ssa_ast = "2f04220dc17aee851dff4e2c77457e0f1289a10aa4d5b9d6b84799b7d2df260c", flattened_ast = "e279be02a678e9216ebf873682243c11d3fc6780afed29739d24e541f701cacb", destructured_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", inlined_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", dce_ast = "72b2301674f03d70d4654b72ff51f1e79e6319045132f6c95da38b17e1465f99", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/integers/u128/console_assert.out index 6725579ff0..3dd2ad3779 100644 --- a/tests/expectations/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/integers/u128/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148", type_checked_symbol_table = "ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462", unrolled_symbol_table = "ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462", initial_ast = "bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804", unrolled_ast = "bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804", ssa_ast = "3d8f320b88d69cb6f2a31b69bda73268904c596145c3701da3a5c71f85e02c16", flattened_ast = "3219b24e66c04e5c9a997e7644639b347be8257ec0d7e6e48bef007953f4998c", destructured_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", inlined_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", dce_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", bytecode = "0d83f401cd41e95e3c0df3dc876c4f162207f2073c8e550beca92e21ef07a3b9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148", type_checked_symbol_table = "ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462", unrolled_symbol_table = "ce79998db03dc953d49b166db2fa5ce5c2eca7e3df0f936b1aedb04c6e1b9462", initial_ast = "bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804", unrolled_ast = "bbe99c2f4d95f4c6ee0ed4c3b6ca46cedafbeae624cbd7de34284f907a3c3804", ssa_ast = "3d8f320b88d69cb6f2a31b69bda73268904c596145c3701da3a5c71f85e02c16", flattened_ast = "3219b24e66c04e5c9a997e7644639b347be8257ec0d7e6e48bef007953f4998c", destructured_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", inlined_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", dce_ast = "4924fe5d742b6c0ec06a6da2cd09ceddf201a40d43b89c91c36c9b6e9c6d0c72", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/div.out b/tests/expectations/compiler/integers/u128/div.out index dc5d33d005..54fa6e1915 100644 --- a/tests/expectations/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/integers/u128/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a", unrolled_ast = "8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a", ssa_ast = "2c432790f8363178978892bf206c7846c8ecaecbf0edace64ad639cab4c38548", flattened_ast = "f01e02dc073af7c06aaf46c7cf5005d888f7227beece09717b5fe5f98bd4e874", destructured_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", inlined_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", dce_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", bytecode = "1ca018f3c002538884233e7f1e7dee0584a346f54675e78fb69af2c90d7d32e8", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a", unrolled_ast = "8d19b3874ae970e39557a45194b6683807e32580b98ee6cbc1558bd5ecfaa69a", ssa_ast = "2c432790f8363178978892bf206c7846c8ecaecbf0edace64ad639cab4c38548", flattened_ast = "f01e02dc073af7c06aaf46c7cf5005d888f7227beece09717b5fe5f98bd4e874", destructured_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", inlined_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", dce_ast = "7236b5a3dca767a2f1e591b1779fcc6a250d1a0b25dbb5116440d4f6c97236ce", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/eq.out b/tests/expectations/compiler/integers/u128/eq.out index 278922c69e..5f899a6f08 100644 --- a/tests/expectations/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/integers/u128/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af", unrolled_ast = "b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af", ssa_ast = "2a467a2a311e913409f5f797fab2111a3ea57e4f846e6c264c15b1d228ec52a3", flattened_ast = "56322624915988eb2dc8456fe647e99fe4a668595a9ec60bfff51e08c1ac52b8", destructured_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", inlined_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", dce_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", bytecode = "38011d05593d9cf5baa1fca933e8155d3154ad934a4b0ae9d67111b324875f86", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af", unrolled_ast = "b182735c2705eb89613de7e2be800b3884f7b465c0dd0dd6e850164e005c73af", ssa_ast = "2a467a2a311e913409f5f797fab2111a3ea57e4f846e6c264c15b1d228ec52a3", flattened_ast = "56322624915988eb2dc8456fe647e99fe4a668595a9ec60bfff51e08c1ac52b8", destructured_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", inlined_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", dce_ast = "1a0890217a10e6aa8f2459d051338aeec840825c26a5516d46eec34c17ccff8f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/ge.out b/tests/expectations/compiler/integers/u128/ge.out index 4ba779a29a..aa95f6cbf7 100644 --- a/tests/expectations/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/integers/u128/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b", unrolled_ast = "d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b", ssa_ast = "2d0729a4690fdb7e9b64142e0187fcab7468b78633f852cbd9352031a0480f06", flattened_ast = "0383174f697506450621724d3906e697b73c378e6520c70031192ff81cb29ee5", destructured_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", inlined_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", dce_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", bytecode = "92057edeaefa3fca292e9539868a1d2004a4ff6161d837428e1acff9ae8e0298", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b", unrolled_ast = "d9d94d74de451462e38997e3f8d00c3b607db53415684e46eeb6768d0a4c4e0b", ssa_ast = "2d0729a4690fdb7e9b64142e0187fcab7468b78633f852cbd9352031a0480f06", flattened_ast = "0383174f697506450621724d3906e697b73c378e6520c70031192ff81cb29ee5", destructured_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", inlined_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", dce_ast = "afb68c51e8a0d2b7d23b18dedbc72850638e4ba5f59fa90f33631c20a2f44201", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/gt.out b/tests/expectations/compiler/integers/u128/gt.out index 23954db8e7..83041a601f 100644 --- a/tests/expectations/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/integers/u128/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9", unrolled_ast = "7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9", ssa_ast = "fa8e6842c09bb2e8d4cbf9fd56b2154ee9b6ed8cd750f74ea84776bb5863565e", flattened_ast = "f69f52100df30c4a88f2a8b0c93e0f2054d3cb93752b71d1758ecba94814056b", destructured_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", inlined_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", dce_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", bytecode = "14a4cbf43177cac769cf5e4befa2689f01a6755871f5fd288664ffff22e498c5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9", unrolled_ast = "7400a1e3a0f8a630b7ed61dccc42960f9231720a6764fe707bba330abeee73b9", ssa_ast = "fa8e6842c09bb2e8d4cbf9fd56b2154ee9b6ed8cd750f74ea84776bb5863565e", flattened_ast = "f69f52100df30c4a88f2a8b0c93e0f2054d3cb93752b71d1758ecba94814056b", destructured_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", inlined_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", dce_ast = "cc3bf7da13c04c8dd573a3b7ddd992547537535df68e52e0bceec3211e38295c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/hex_and_bin.out b/tests/expectations/compiler/integers/u128/hex_and_bin.out index 7d594cd7d9..61d1309d13 100644 --- a/tests/expectations/compiler/integers/u128/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u128/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d900dfe2093ee00a1f8dbfe32766f6714c19e7aa625af411c14f3e1e4ace62d5", type_checked_symbol_table = "7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604", unrolled_symbol_table = "7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604", initial_ast = "ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279", unrolled_ast = "ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279", ssa_ast = "72472d8b6907245f07f890263095ffcac1e321306511a59ceb34dd8139c28265", flattened_ast = "2c68ce2e5dc1d0a10cb5d89602ca4f51a6d300b42e8fe23eb08163b7d1f3eaca", destructured_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", inlined_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", dce_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", bytecode = "82dd565867bf6030a6f9522fb0cd8e746d4c9ab5cd126fee6bf24b3f3ee210c6", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d900dfe2093ee00a1f8dbfe32766f6714c19e7aa625af411c14f3e1e4ace62d5", type_checked_symbol_table = "7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604", unrolled_symbol_table = "7f9f635729dc71d9463d8a943f79216857dd19cea5770713ab474a9f37aa7604", initial_ast = "ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279", unrolled_ast = "ea2d4e0f8cad656cba8604d765d5094b4a72aa2b5ce13057b8700a669117f279", ssa_ast = "72472d8b6907245f07f890263095ffcac1e321306511a59ceb34dd8139c28265", flattened_ast = "2c68ce2e5dc1d0a10cb5d89602ca4f51a6d300b42e8fe23eb08163b7d1f3eaca", destructured_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", inlined_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", dce_ast = "04e6742406ee38042a22e02f0eb9cb3012758c9c3f4d32ef67e976f15c958283", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + is.eq r0 127u128 into r3; + is.eq r1 27u128 into r4; + and r3 r4 into r5; + is.eq r2 21u128 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/le.out b/tests/expectations/compiler/integers/u128/le.out index ee3037de2b..aa045a32d0 100644 --- a/tests/expectations/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/integers/u128/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde", unrolled_ast = "4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde", ssa_ast = "b806245da8ff0e71f7ef7649150774b86f688322b317503bea36fe03903bac2a", flattened_ast = "13c9473632dba6262c5e25fec7815c8d3a270c23879a58f11068eac64630b169", destructured_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", inlined_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", dce_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", bytecode = "6a2f064cee58782422db7fc88c4395f7e18281c9bf22e8b7546a054712482d8e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde", unrolled_ast = "4b9a54bbc841fc722911e6184211bd06fea233dbacf9654ff60de53ed1828fde", ssa_ast = "b806245da8ff0e71f7ef7649150774b86f688322b317503bea36fe03903bac2a", flattened_ast = "13c9473632dba6262c5e25fec7815c8d3a270c23879a58f11068eac64630b169", destructured_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", inlined_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", dce_ast = "cf992d3a620a1bdd5866165ffa47b6b5f81db32a30037948eb5384ab4da07d9b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/lt.out b/tests/expectations/compiler/integers/u128/lt.out index 45745e4f43..e0a75a0cc8 100644 --- a/tests/expectations/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/integers/u128/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1", unrolled_ast = "647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1", ssa_ast = "dd63d833c5895da15d47cece7a98896795fe4e5652f324e753d113b338ee1d0b", flattened_ast = "f13d8e3203656805d6bc6e53bda2aa8b43540abd15b3d103edef3e74544be3ca", destructured_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", inlined_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", dce_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", bytecode = "459e412ddd219e315cc1ef6bf05f9b2490bae8dc003dcefc25f5976b8ff053f4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1", unrolled_ast = "647b15b62951e554b47ea4e4ad8250bba7b0ec452e9b95d8d4e762fcbeb0cfd1", ssa_ast = "dd63d833c5895da15d47cece7a98896795fe4e5652f324e753d113b338ee1d0b", flattened_ast = "f13d8e3203656805d6bc6e53bda2aa8b43540abd15b3d103edef3e74544be3ca", destructured_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", inlined_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", dce_ast = "a1d1000e6d6818b900f6c6a77dedf0d9f40287dba9675d669903798575bd38cc", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/max.out b/tests/expectations/compiler/integers/u128/max.out index 2288160ae4..875d0579a6 100644 --- a/tests/expectations/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/integers/u128/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", unrolled_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", initial_ast = "e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830", unrolled_ast = "e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830", ssa_ast = "426edfe68afb815cabc357144ab421e9b7f55ef1ef5d1307140502869ec4f4c0", flattened_ast = "44f20236bd23921f8c66ba6888c92e3683694cbb3d06a00fc0c6e33bd689b138", destructured_ast = "ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531", inlined_ast = "ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531", dce_ast = "8256a3090025d0b9e157d76f10653922a0f1d9ecd8e39c06be43808cccd96fc7", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", unrolled_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", initial_ast = "e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830", unrolled_ast = "e2cfdc0b9e146af70930f9f88e903a24de5104609c7d364e07ca8047994de830", ssa_ast = "426edfe68afb815cabc357144ab421e9b7f55ef1ef5d1307140502869ec4f4c0", flattened_ast = "44f20236bd23921f8c66ba6888c92e3683694cbb3d06a00fc0c6e33bd689b138", destructured_ast = "ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531", inlined_ast = "ef0373a9516d4d48bfbeb9487943f1b55e7addd3ac3c04b42b8bb9fa306e3531", dce_ast = "8256a3090025d0b9e157d76f10653922a0f1d9ecd8e39c06be43808cccd96fc7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/min.out b/tests/expectations/compiler/integers/u128/min.out index a0e2f9fd27..75534a9c43 100644 --- a/tests/expectations/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/integers/u128/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", unrolled_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", initial_ast = "49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb", unrolled_ast = "49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb", ssa_ast = "1a9e828593de17bee6251aed37b0cec3b16b5740ace9291eac80a0a4a185fd71", flattened_ast = "c5dbc6b4e56e62594b5db3453b76d8fbfebc2a164949402c0a15e2eb166a48e0", destructured_ast = "a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b", inlined_ast = "a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b", dce_ast = "d017ac28810feab75f374e47c34167c980b961ae15e9eacf6c6d0c6c947bfe0e", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", unrolled_symbol_table = "8d7211bc55488085e6085c8a80ba8202a8b3063586f5a1c6044eea5dddc76d60", initial_ast = "49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb", unrolled_ast = "49222e48d032e0b302251d781d5433c255acb6490b8d893051161801c2d964eb", ssa_ast = "1a9e828593de17bee6251aed37b0cec3b16b5740ace9291eac80a0a4a185fd71", flattened_ast = "c5dbc6b4e56e62594b5db3453b76d8fbfebc2a164949402c0a15e2eb166a48e0", destructured_ast = "a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b", inlined_ast = "a252a58c379311fea0dd51c175adf306c62878b2eb45ad0ef8cf5905a0e7cb0b", dce_ast = "d017ac28810feab75f374e47c34167c980b961ae15e9eacf6c6d0c6c947bfe0e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/mul.out b/tests/expectations/compiler/integers/u128/mul.out index 0612589b29..c51bf8a870 100644 --- a/tests/expectations/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/integers/u128/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b", unrolled_ast = "19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b", ssa_ast = "fa2c7ed0ad2556d8d050e452bc6c8460b1e0126f12cac370e274b883421f0b9b", flattened_ast = "4bd80ef1c4d970155e1678a072a944c188e75acab767d3330941678d05e7c846", destructured_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", inlined_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", dce_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", bytecode = "67857a350a412ed022768ab4aaa6387e63e548b7dc0b552dcb061b719abc90bb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b", unrolled_ast = "19ea23ce6223461ff9a22a24d478fb0444a32825ead031a0f6aee98a388d245b", ssa_ast = "fa2c7ed0ad2556d8d050e452bc6c8460b1e0126f12cac370e274b883421f0b9b", flattened_ast = "4bd80ef1c4d970155e1678a072a944c188e75acab767d3330941678d05e7c846", destructured_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", inlined_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", dce_ast = "3630ed27fcedaef7db7626f1f1c30b2166706a5f83c992b7c9a2aabacf0be1bd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/ne.out b/tests/expectations/compiler/integers/u128/ne.out index 4083816a56..aa7b61450b 100644 --- a/tests/expectations/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/integers/u128/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a", unrolled_ast = "3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a", ssa_ast = "a29630e8fc2268045a178ba42e7bd8acdbeaf860cc8a70bf641ee3a291c3ceaf", flattened_ast = "c2d6d250cca33f329cb3c7f8f42a0f0bd5e8fccbb9f603795e9b9a9419e1b8b0", destructured_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", inlined_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", dce_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", bytecode = "63457f4ddad404af243d9707a6e9e6f6f878cb639895a110bca73b804395bd14", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "64a7cbc0a3c050206ad6948c90eccb6ec28e0a1cbeed1f1a8974562d024b6941", type_checked_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", unrolled_symbol_table = "84384a022a62a5987b3bbbb94b090e8a00b784c7ca7130db849b3f8d5e616ee3", initial_ast = "3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a", unrolled_ast = "3a8abc966326b034799f3ad41dae77788c6e2f0d59bdb6308fbb6f2811f77c8a", ssa_ast = "a29630e8fc2268045a178ba42e7bd8acdbeaf860cc8a70bf641ee3a291c3ceaf", flattened_ast = "c2d6d250cca33f329cb3c7f8f42a0f0bd5e8fccbb9f603795e9b9a9419e1b8b0", destructured_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", inlined_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", dce_ast = "1dd9d0bef3947f7ea7d80557c5939a58de9a8e694e7d87a9dc5834648552d97e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/integers/u128/operator_methods.out index b6f01bebe9..db76243fe5 100644 --- a/tests/expectations/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/integers/u128/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148", type_checked_symbol_table = "cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41", unrolled_symbol_table = "cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41", initial_ast = "77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce", unrolled_ast = "77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce", ssa_ast = "992a6b632ea1739f1832b79d9e5bc6392dc1f882f4ce3d71291c6e7ecd905850", flattened_ast = "04be780806cc770e3e24b4a7810a0c8b12089419810ffbbb94c30a0dd44ab5cb", destructured_ast = "9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293", inlined_ast = "9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293", dce_ast = "9bdd245f1fa0d7a016cb5089065693e56101899e978fcd485f8b02a935326b84", bytecode = "a669206687d494820bada50c8468f052183b69cd778ff0ce870a370ac8ea7bf4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "9404c76b806825d1ca1812b7c9e29ff84afa1859ce9585408e8d620ff5a88148", type_checked_symbol_table = "cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41", unrolled_symbol_table = "cc9806ecfbb7e54c20a37ffb9f762a880ee8e620d3f5468dd7f12624be394f41", initial_ast = "77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce", unrolled_ast = "77cf9c78593c16073d72d326e2988565065e8465116893917e25d1530a7e87ce", ssa_ast = "992a6b632ea1739f1832b79d9e5bc6392dc1f882f4ce3d71291c6e7ecd905850", flattened_ast = "04be780806cc770e3e24b4a7810a0c8b12089419810ffbbb94c30a0dd44ab5cb", destructured_ast = "9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293", inlined_ast = "9e865e431385fc520e8cb08b031c95983de69bb4d65ee8fbc284c094169d5293", dce_ast = "9bdd245f1fa0d7a016cb5089065693e56101899e978fcd485f8b02a935326b84", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/or.out b/tests/expectations/compiler/integers/u128/or.out index 9a5a1f67e1..96f51f81c0 100644 --- a/tests/expectations/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/integers/u128/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738", unrolled_ast = "da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738", ssa_ast = "d08948c78c9205b0838ce2ecb26f5e995f7a2f3dff99baa4409cfd9b52c8be37", flattened_ast = "acf8f2ec26e420c388586e6fb883a88e90cb3144be8cc5d48dea171e0b63b8b0", destructured_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", inlined_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", dce_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", bytecode = "004cb45ea888f207ca8e42a4f7acf3687aa3294a975462c89541c2d0f53dcdf3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738", unrolled_ast = "da2fbc5bbed7ab4513c0340c1fc42ac41e94c5bb22bd452b67e4a02c28979738", ssa_ast = "d08948c78c9205b0838ce2ecb26f5e995f7a2f3dff99baa4409cfd9b52c8be37", flattened_ast = "acf8f2ec26e420c388586e6fb883a88e90cb3144be8cc5d48dea171e0b63b8b0", destructured_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", inlined_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", dce_ast = "39208d78b1606e9d247df8fe2a09149cce41f0bf0c02c06635367ea7b82d8d6a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/pow.out b/tests/expectations/compiler/integers/u128/pow.out index f523d9b855..307d5b0788 100644 --- a/tests/expectations/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/integers/u128/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd", unrolled_ast = "98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd", ssa_ast = "19d4101f85bbad70478c394d5fc17a4e6ab40d99520fbc5e1ac08c129c87280d", flattened_ast = "f009f0accb10699e76cd020283f8dfa4960af79ab6068e54e4489da00af92dfb", destructured_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", inlined_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", dce_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", bytecode = "f88e8b16ebc2a407989f9f316ad6a9edfec6f134c7a0d9b25cea571df8161900", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd", unrolled_ast = "98502a5edeced84c8178662883aec6fc047e82b721d77c2131c1e6647b9b78dd", ssa_ast = "19d4101f85bbad70478c394d5fc17a4e6ab40d99520fbc5e1ac08c129c87280d", flattened_ast = "f009f0accb10699e76cd020283f8dfa4960af79ab6068e54e4489da00af92dfb", destructured_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", inlined_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", dce_ast = "68ba4a9441ff5bab7144132ec9f37e5040232a5f48912e718a7cf973ae4ef60c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/rem.out b/tests/expectations/compiler/integers/u128/rem.out index 0403cd6119..4d58707b94 100644 --- a/tests/expectations/compiler/integers/u128/rem.out +++ b/tests/expectations/compiler/integers/u128/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699", unrolled_ast = "bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699", ssa_ast = "0c985ccdb7b52ce4e2a03dc8c3f44813f12fdb4836bb617dd34d77734aa8cef4", flattened_ast = "2ea6da65f60ab0fbe61f800de101869ce72ad28f3f3ec910830ef4d4dff0cb14", destructured_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", inlined_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", dce_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", bytecode = "77cd05d1f311504fae6e47a74e98a964f1dd411e6fd447b33b57a2d475bb5aed", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699", unrolled_ast = "bf52962f08e16c3d89637b697a8c4537972f351f6114c3fbbb8deb99cdb2d699", ssa_ast = "0c985ccdb7b52ce4e2a03dc8c3f44813f12fdb4836bb617dd34d77734aa8cef4", flattened_ast = "2ea6da65f60ab0fbe61f800de101869ce72ad28f3f3ec910830ef4d4dff0cb14", destructured_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", inlined_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", dce_ast = "8f941af9b578d28196074b8c16c4895d4d472d0000618ffd58a112f0af21c5d2", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/shl.out b/tests/expectations/compiler/integers/u128/shl.out index 302a5ff479..374931f6d9 100644 --- a/tests/expectations/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/integers/u128/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28", unrolled_ast = "89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28", ssa_ast = "81812ed745f244eac184b84ad97ed27d312818dba9f72b88506b116cd9d34a11", flattened_ast = "71cec70a1930135402aa8e181b5c73cf5eeb42d8c8a8bd91b272b4f92219c324", destructured_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", inlined_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", dce_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", bytecode = "f9f90b58b9fc961c6ee4909ef338c77962403add4feee851959038263971eba9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28", unrolled_ast = "89d5229c3423973413e91de61ae60a661a5475a1d9f5eaadba11b670af749d28", ssa_ast = "81812ed745f244eac184b84ad97ed27d312818dba9f72b88506b116cd9d34a11", flattened_ast = "71cec70a1930135402aa8e181b5c73cf5eeb42d8c8a8bd91b272b4f92219c324", destructured_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", inlined_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", dce_ast = "3fd95ec1646150164eea714df5cf9093205b72198c721ad852ec175302c5d0aa", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/shr.out b/tests/expectations/compiler/integers/u128/shr.out index dd421a2c26..d56e293a48 100644 --- a/tests/expectations/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/integers/u128/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4", unrolled_ast = "75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4", ssa_ast = "50c806bee4b10b119ac71a7743e73dc1ed479f54f1af532c236fd50b54bde847", flattened_ast = "d68b1862cfcbbd96cbe64fc8a9ec3fe87abd430d617a73d7352061a73c08e3c0", destructured_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", inlined_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", dce_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", bytecode = "c3f89cd7a94e013dfafa5e7deaa5bf758e78a9bee96b9324d8b2314d67ea6a27", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4", unrolled_ast = "75d12dd7a34bfb55032cd61803a07d3dfe94aa56e7ab249f4f93e5fbb2deefd4", ssa_ast = "50c806bee4b10b119ac71a7743e73dc1ed479f54f1af532c236fd50b54bde847", flattened_ast = "d68b1862cfcbbd96cbe64fc8a9ec3fe87abd430d617a73d7352061a73c08e3c0", destructured_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", inlined_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", dce_ast = "3320f40a4b4f5fd85e18c79850f35e2d243ea0e60297937848216d8b87beccf4", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/sub.out b/tests/expectations/compiler/integers/u128/sub.out index 6272d2e378..8648eeee35 100644 --- a/tests/expectations/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/integers/u128/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84", unrolled_ast = "e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84", ssa_ast = "43e124b65f7bbad5d4e669126c64e23893a84d01f7c9d3019bba685249bf12ed", flattened_ast = "819a41c083cbb32a83b5513b558694b7b4a6985988e941df2bc8b81b9323eb3b", destructured_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", inlined_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", dce_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", bytecode = "92ed5e41e02f9f2ee5862aad62d54a2a0f2e1a2fc2edde87f1c6ee1fa84de67c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4818ec559c9cd9da87295e749b1927cf043fd024b3a5056bd26ecdc47d87f0aa", type_checked_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", unrolled_symbol_table = "69e0a0350226cbac39a5fc3af8cdbae87f89a4f1aca4d8ae1d34471352d91855", initial_ast = "e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84", unrolled_ast = "e111b01d86e9c51133c6c14c30032d0691c65bc04c9257007370695920c3aa84", ssa_ast = "43e124b65f7bbad5d4e669126c64e23893a84d01f7c9d3019bba685249bf12ed", flattened_ast = "819a41c083cbb32a83b5513b558694b7b4a6985988e941df2bc8b81b9323eb3b", destructured_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", inlined_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", dce_ast = "f7a33c1d9921b382542d9aa5ba73a9d033794f2ebc52f2c71dfdfe699ae4e698", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + input r2 as u128.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/ternary.out b/tests/expectations/compiler/integers/u128/ternary.out index a2279df9f2..d37ea352ff 100644 --- a/tests/expectations/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/integers/u128/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "9a4c432fa060a629bac49377ad3eb0ddb836080e6a821e70985d426702529fd0", type_checked_symbol_table = "b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e", unrolled_symbol_table = "b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e", initial_ast = "297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0", unrolled_ast = "297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0", ssa_ast = "681fe12057eda00bfe0e5490e208571545aa221b389af469b98b9b18fbb82dcc", flattened_ast = "d1b2be1d274bc2aa0bd0ab387d024bac6bb9be9f8f9c81e344bc48126a728a07", destructured_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", inlined_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", dce_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", bytecode = "d360bfc2331d64cee6cebe783b9ac261efe5c6e8aaa334be38a9c56ab40261b2", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "9a4c432fa060a629bac49377ad3eb0ddb836080e6a821e70985d426702529fd0", type_checked_symbol_table = "b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e", unrolled_symbol_table = "b4f99bc329d2ac8f0a4d6e207c56eca34d16b3950fd904bbbde4aaf39c83708e", initial_ast = "297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0", unrolled_ast = "297478f425756a7f86d07afde03b7594f71d619779928cfe049b1e9b865584c0", ssa_ast = "681fe12057eda00bfe0e5490e208571545aa221b389af469b98b9b18fbb82dcc", flattened_ast = "d1b2be1d274bc2aa0bd0ab387d024bac6bb9be9f8f9c81e344bc48126a728a07", destructured_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", inlined_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", dce_ast = "92a88d9b32009f40dcaeb4264037d29c56350666e3272065a163adc79ef959cf", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as u128.private; + input r2 as u128.private; + input r3 as u128.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u128/xor.out b/tests/expectations/compiler/integers/u128/xor.out index 7259baf5e9..c944aeac0f 100644 --- a/tests/expectations/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/integers/u128/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "2359c19a39885558fd4f9784dce78637f4dca5cc38539559e5c3bfdf41e78773", type_checked_symbol_table = "c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e", unrolled_symbol_table = "c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e", initial_ast = "af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358", unrolled_ast = "af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358", ssa_ast = "413999f32e5fc5f11adfc8814d77749c893ebf3337a654abc3689688da4ba074", flattened_ast = "7fc614bf09f57d9f447f0ed1cc681a0a4fe84c7f5f4c8fa24457098a78e6c01f", destructured_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", inlined_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", dce_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", bytecode = "63a04f95623ff9dfbe22b389e7b7b6127999e1340aa1ed3e2eb59228d92d9aab", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "2359c19a39885558fd4f9784dce78637f4dca5cc38539559e5c3bfdf41e78773", type_checked_symbol_table = "c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e", unrolled_symbol_table = "c35e96684ead8ab8d91f7044682cf30c086287cf6d27570705222758bfb77f2e", initial_ast = "af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358", unrolled_ast = "af766f47865f7935581c83ba9a7cfb41778c43a29dae787e5673af4836709358", ssa_ast = "413999f32e5fc5f11adfc8814d77749c893ebf3337a654abc3689688da4ba074", flattened_ast = "7fc614bf09f57d9f447f0ed1cc681a0a4fe84c7f5f4c8fa24457098a78e6c01f", destructured_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", inlined_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", dce_ast = "6d4a893147abe21437aadf62095ce50260b5b9b04422dcc6bac9ae08c0c50318", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u128.private; + input r1 as u128.private; + xor r0 r1 into r2; + output r2 as u128.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/add.out b/tests/expectations/compiler/integers/u16/add.out index 73d4cebab3..32ba391f20 100644 --- a/tests/expectations/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/integers/u16/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf", unrolled_ast = "388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf", ssa_ast = "3218c7648d345778039e406d3bef059d9b1d5c3c84c58b4dbecceb7d24cacf1c", flattened_ast = "2d2f8d0495c63418f94a58ea03cede3f9041dcee1bfcbe51b882a520be4212ec", destructured_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", inlined_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", dce_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", bytecode = "2252ca765c9f4d167815c556dedf80fd261ecb82c22da486f1c019b62ca9b59c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf", unrolled_ast = "388ba0aa68c04213e05f5262145dcd7fe9f2cbfdd66f3c83dbe92967a26930bf", ssa_ast = "3218c7648d345778039e406d3bef059d9b1d5c3c84c58b4dbecceb7d24cacf1c", flattened_ast = "2d2f8d0495c63418f94a58ea03cede3f9041dcee1bfcbe51b882a520be4212ec", destructured_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", inlined_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", dce_ast = "2e4e2facf496c32b6d9174983bd49674b771d34708a9c7409b93205ec281fb88", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/and.out b/tests/expectations/compiler/integers/u16/and.out index d57c4481c6..bd8991665d 100644 --- a/tests/expectations/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/integers/u16/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059", unrolled_ast = "d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059", ssa_ast = "6d0ebbea535eba8896194651ce65c1d6ae1558cf04540dbaf57e3e860b944ee3", flattened_ast = "d20bf0f1aca0778e057a768ee09ee6f406f0d5159b894a3c38f727515faf38ef", destructured_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", inlined_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", dce_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", bytecode = "6160eab9fab5c6648122e91366d143924e69bdc272bc606f68be14f22f88cd1a", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059", unrolled_ast = "d385bfa59f684e7baf62a91517a12274a1a5331eb3924b76e30a6a04e8728059", ssa_ast = "6d0ebbea535eba8896194651ce65c1d6ae1558cf04540dbaf57e3e860b944ee3", flattened_ast = "d20bf0f1aca0778e057a768ee09ee6f406f0d5159b894a3c38f727515faf38ef", destructured_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", inlined_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", dce_ast = "e33f0cad47802a7c6b00493f05ac006b20f193171b0d5387cabfeeff5a393601", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/integers/u16/console_assert.out index aabf5e24a8..c1b94e40d2 100644 --- a/tests/expectations/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/integers/u16/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "97760c0ab9cc2a63264659dc870f9b0ba8782c438a6df83c03b43af3cec36698", type_checked_symbol_table = "0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1", unrolled_symbol_table = "0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1", initial_ast = "7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8", unrolled_ast = "7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8", ssa_ast = "fdc2884ab511557a02270c7da6af68cb729fa072c1cd084f1c9a23b58f744501", flattened_ast = "abaf090a870b221f6b3026a493e758d0c564ea233ae7fa5d963bdf037bf96928", destructured_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", inlined_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", dce_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", bytecode = "986d6843806fcd3a479d777dcc4373b94817a5d3b9fb4cc1a6c3da752a69c925", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "97760c0ab9cc2a63264659dc870f9b0ba8782c438a6df83c03b43af3cec36698", type_checked_symbol_table = "0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1", unrolled_symbol_table = "0de464f6bc01710e288c177f1263615feee743b686b92ff9aea4d4439a0507f1", initial_ast = "7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8", unrolled_ast = "7e34deb1e28eaf03030212286dc82b54ae00fd569d72319d4d3a1a019dfa34d8", ssa_ast = "fdc2884ab511557a02270c7da6af68cb729fa072c1cd084f1c9a23b58f744501", flattened_ast = "abaf090a870b221f6b3026a493e758d0c564ea233ae7fa5d963bdf037bf96928", destructured_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", inlined_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", dce_ast = "c9abfa575e20dae987b08e409a23d895a0f773a4d69bc851588b3d36d184ba42", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/div.out b/tests/expectations/compiler/integers/u16/div.out index 7dfd3a2a15..fad8601e40 100644 --- a/tests/expectations/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/integers/u16/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967", unrolled_ast = "ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967", ssa_ast = "a67178cf8881c9c808d684fee85c8e3de30c07e1418258ea2dec20089a58b786", flattened_ast = "149fb678292e8aa63f457fb3d4d508f82e2a2d10b17ad75466f98900942d2267", destructured_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", inlined_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", dce_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", bytecode = "99ba89ed030480c15697c6ba3b9dce82fa489d24dbba6d2edbc4934fc8baeb6c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967", unrolled_ast = "ae2ddc3a870ed99f88e4d3e5290c14595e44f8363c796f035240a0d8d87fa967", ssa_ast = "a67178cf8881c9c808d684fee85c8e3de30c07e1418258ea2dec20089a58b786", flattened_ast = "149fb678292e8aa63f457fb3d4d508f82e2a2d10b17ad75466f98900942d2267", destructured_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", inlined_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", dce_ast = "d5e009e2e70a04b283b1016562d0167fc1cb0608151616b203264b9da5850857", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/eq.out b/tests/expectations/compiler/integers/u16/eq.out index 0665cb916c..0c8674b759 100644 --- a/tests/expectations/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/integers/u16/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a", unrolled_ast = "811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a", ssa_ast = "3936593611308ee4d0b957c08d313fe4b6b352b5050537dc45dbf1e20408d2c5", flattened_ast = "b1eb529391344c8178857d8f80234fc7a26345d55958472235ccd4b56c85016d", destructured_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", inlined_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", dce_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", bytecode = "f125a6c62a71bd66b09211e1febbdfaa6491b9255270bbe3ac27ef505f4c46e0", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a", unrolled_ast = "811d628f60ad888c49a3ed049498829c8b9cea9c40223238ab38d3ee0ec6301a", ssa_ast = "3936593611308ee4d0b957c08d313fe4b6b352b5050537dc45dbf1e20408d2c5", flattened_ast = "b1eb529391344c8178857d8f80234fc7a26345d55958472235ccd4b56c85016d", destructured_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", inlined_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", dce_ast = "5d1bbe7c1bfcd24f6bd3807e9efdf956b29caf7f2ea1436346c1ed9b5bbb6876", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/ge.out b/tests/expectations/compiler/integers/u16/ge.out index d1a143c324..9ca1ff42ba 100644 --- a/tests/expectations/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/integers/u16/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37", unrolled_ast = "5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37", ssa_ast = "cdaff2b59b1fdb711597890c2a08b120b543b1a3acf59d3dd315b5b216491ef7", flattened_ast = "7aa6733977b41cb11141c789a24553f3ca3d419b89e6b76c008a0d0b9ee01cbc", destructured_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", inlined_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", dce_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", bytecode = "ee2f4384477fac864957953a97c53275060e4c4ba793a180d6007af25b50b8df", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37", unrolled_ast = "5ceab050cf05fab25d7e16959ab7448b02ba0c6b6c65e297f22c868157f3ba37", ssa_ast = "cdaff2b59b1fdb711597890c2a08b120b543b1a3acf59d3dd315b5b216491ef7", flattened_ast = "7aa6733977b41cb11141c789a24553f3ca3d419b89e6b76c008a0d0b9ee01cbc", destructured_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", inlined_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", dce_ast = "457f235443e49eea9871df34a61566ef030270e461b78186102a31f102214798", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/gt.out b/tests/expectations/compiler/integers/u16/gt.out index 33fdc31d59..5ddd36e453 100644 --- a/tests/expectations/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/integers/u16/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf", unrolled_ast = "d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf", ssa_ast = "e3a35855d97183b6def7a2a5c98997e7b8df1260b82b8ddbcd6464f905c8ee44", flattened_ast = "5145df27c5379158d87b86343a86d6b1948a7ab7adc412eadf5e2fe83064642e", destructured_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", inlined_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", dce_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", bytecode = "f7ff09e980c11a6a98c8178e5cecbe8cbf83e40f25f5feec526358c95262fe96", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf", unrolled_ast = "d8327d64ac1c44632cd088935650ba80ccaed6ee935c4dfc5b23057651f640bf", ssa_ast = "e3a35855d97183b6def7a2a5c98997e7b8df1260b82b8ddbcd6464f905c8ee44", flattened_ast = "5145df27c5379158d87b86343a86d6b1948a7ab7adc412eadf5e2fe83064642e", destructured_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", inlined_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", dce_ast = "dbcd8cd6678deb41446891e8416756491f306a8b44464325e8a1fbab719da465", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/hex_and_bin.out b/tests/expectations/compiler/integers/u16/hex_and_bin.out index 48488f7dde..dbf6ee73e0 100644 --- a/tests/expectations/compiler/integers/u16/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u16/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e66c651dae82c04c0d085c91046c1385ebfdb9862762b20c86c170ba0909b41b", type_checked_symbol_table = "ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e", unrolled_symbol_table = "ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e", initial_ast = "7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde", unrolled_ast = "7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde", ssa_ast = "69a107ab0b4fdb2c063779f6a6aeefc062d06ce111089110dff519a776d78903", flattened_ast = "4ae366c08d8e3eafd5e3117891cb2d611ab0666b99bb82b6edf6598456b7aeae", destructured_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", inlined_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", dce_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", bytecode = "70bd417fce96bc2f7710daf8b3e4958c156a5077d6d2d5c8233fd6e3568a9e99", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e66c651dae82c04c0d085c91046c1385ebfdb9862762b20c86c170ba0909b41b", type_checked_symbol_table = "ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e", unrolled_symbol_table = "ee301c204708fc6aea084508c9e41a5a3591ffd2e613aec2fcaddc995ebdae0e", initial_ast = "7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde", unrolled_ast = "7237d106a674e3ef4eb827e6261da01c55285acd236c24e1d8c1e98be1265bde", ssa_ast = "69a107ab0b4fdb2c063779f6a6aeefc062d06ce111089110dff519a776d78903", flattened_ast = "4ae366c08d8e3eafd5e3117891cb2d611ab0666b99bb82b6edf6598456b7aeae", destructured_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", inlined_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", dce_ast = "eb52007d76aa281c459bb396b62dcb89d6ca6a89c1bf7ac74a95922b56da58c8", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + is.eq r0 127u16 into r3; + is.eq r1 27u16 into r4; + and r3 r4 into r5; + is.eq r2 21u16 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/le.out b/tests/expectations/compiler/integers/u16/le.out index 4d12667f0a..9f3232ed6f 100644 --- a/tests/expectations/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/integers/u16/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1", unrolled_ast = "6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1", ssa_ast = "2af7e16760f60263c09c3fcca0eb8a9d258a3feafcfe183080a98b654e87ddc6", flattened_ast = "9a8f993016f55a6c09c8ea5fb6368eb187bb3b4753a36bb7569228a59a3e1da1", destructured_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", inlined_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", dce_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", bytecode = "1a4dc861ca94e33a883b8326dcf9a21345fdd65b1d00dcaab408cbe8bf2e7c23", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1", unrolled_ast = "6dd0e41ab23f254ee71f5fefb8907d53bf422fdf9618cc97218c48662fe0a2d1", ssa_ast = "2af7e16760f60263c09c3fcca0eb8a9d258a3feafcfe183080a98b654e87ddc6", flattened_ast = "9a8f993016f55a6c09c8ea5fb6368eb187bb3b4753a36bb7569228a59a3e1da1", destructured_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", inlined_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", dce_ast = "2336cc6c5703de30cf3f2eca475366baf5edcb4fa5d15dee5822291aa8159533", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/lt.out b/tests/expectations/compiler/integers/u16/lt.out index 40fdd2e5a2..f569e7c441 100644 --- a/tests/expectations/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/integers/u16/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6", unrolled_ast = "f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6", ssa_ast = "ac4f1c2daa17244a86750b57a21690903263df9badaae512be343cb87be53663", flattened_ast = "7302bdf3b2990efdc2b3238b0c7c8bf1fa4a3f9db33b53da8e126a5194947ee0", destructured_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", inlined_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", dce_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", bytecode = "3b2dd5b9dfa587ed0f67449bbc6a9a0b90edb7c9ffbee5e36f1c40512e09bb1d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6", unrolled_ast = "f6073615779a23632f286a1f02f29cd6ad9d8c8b0584daef9468d72b84ba62f6", ssa_ast = "ac4f1c2daa17244a86750b57a21690903263df9badaae512be343cb87be53663", flattened_ast = "7302bdf3b2990efdc2b3238b0c7c8bf1fa4a3f9db33b53da8e126a5194947ee0", destructured_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", inlined_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", dce_ast = "3741d555f7fe397fa671fda8197a493bb63ad7066c89036f072ddeabe7d65909", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/max.out b/tests/expectations/compiler/integers/u16/max.out index 2fbbee986c..3cac8335ee 100644 --- a/tests/expectations/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/integers/u16/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", unrolled_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", initial_ast = "c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476", unrolled_ast = "c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476", ssa_ast = "f8b086ba4aedf0ed5830d266d4012c96736880e43eae3d91121fca46ad02b597", flattened_ast = "b0fb82658aec8bf97d66e462288498fe9e94206df94000ba219c82e41979740a", destructured_ast = "1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc", inlined_ast = "1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc", dce_ast = "0601c7ed0fb6045fbafa8146d604adf3ea3ba1a717897856a12c59f8a3e3a073", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", unrolled_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", initial_ast = "c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476", unrolled_ast = "c9f482eb647c4c5bf8759312143f3be0d66b8dead37c4c79cd632ff39f249476", ssa_ast = "f8b086ba4aedf0ed5830d266d4012c96736880e43eae3d91121fca46ad02b597", flattened_ast = "b0fb82658aec8bf97d66e462288498fe9e94206df94000ba219c82e41979740a", destructured_ast = "1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc", inlined_ast = "1be0839fcc3bb4d8f131448363376b1aba33ec6ece0a0ee2e5d4014ff4933cfc", dce_ast = "0601c7ed0fb6045fbafa8146d604adf3ea3ba1a717897856a12c59f8a3e3a073", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/min.out b/tests/expectations/compiler/integers/u16/min.out index d9430d9f32..a44a44565a 100644 --- a/tests/expectations/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/integers/u16/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", unrolled_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", initial_ast = "5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6", unrolled_ast = "5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6", ssa_ast = "93838c8f36354270335fad1f3e3f9589080ef63e0589464ebb08cf58bc243159", flattened_ast = "445f3e06c3980be9df5d088336167f33f71c986d411da4112f76a550cb6fe498", destructured_ast = "092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a", inlined_ast = "092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", unrolled_symbol_table = "13a6f3629697218667320d2794310d96612f4713c956a526ece8f493fbf3b283", initial_ast = "5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6", unrolled_ast = "5b969bb252bebf857a668edd23085cbcff16f949b053369245d9a66ee23523b6", ssa_ast = "93838c8f36354270335fad1f3e3f9589080ef63e0589464ebb08cf58bc243159", flattened_ast = "445f3e06c3980be9df5d088336167f33f71c986d411da4112f76a550cb6fe498", destructured_ast = "092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a", inlined_ast = "092e0d5c38d75069b0a9da6163b24308fdc6e42c47e0a44f4aea8638f7a9709a", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/mul.out b/tests/expectations/compiler/integers/u16/mul.out index 9eec63ab98..47180eee86 100644 --- a/tests/expectations/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/integers/u16/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0", unrolled_ast = "8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0", ssa_ast = "57f3aae981d6aafbcf8e6cb5b68aee9e15f1d159150ac3fb6e40bbac9d599833", flattened_ast = "0545a3f6370118ea0743f6e0542cced046ce5bf141fcdaa5062f86dff43f245b", destructured_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", inlined_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", dce_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", bytecode = "5495593b6e8c8b396503f1f61e5f3b620d1ccc173721316cfb1f30b268486ed5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0", unrolled_ast = "8464b50e73deec84b190abb6411a5af79b1ca061736fedc216ac938921fe6fa0", ssa_ast = "57f3aae981d6aafbcf8e6cb5b68aee9e15f1d159150ac3fb6e40bbac9d599833", flattened_ast = "0545a3f6370118ea0743f6e0542cced046ce5bf141fcdaa5062f86dff43f245b", destructured_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", inlined_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", dce_ast = "726f07f65cea519b5ebaebf358d552f71b26d7b3f4d02df3ae07edb776a7c2b0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/ne.out b/tests/expectations/compiler/integers/u16/ne.out index 45b9714f62..4a786bdc2b 100644 --- a/tests/expectations/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/integers/u16/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19", unrolled_ast = "86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19", ssa_ast = "af61f34815f0c0740b9a6f418cd83921843d3969fd37457abef92813fd56b62b", flattened_ast = "6b52cfb692c3504fbb0b4fe389e2e3def7f530dcec0265e6c66661dab87b1284", destructured_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", inlined_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", dce_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", bytecode = "02468182490bfd77f1aae9ed8c5a4b1cd2a3373c2bdc998f6567f5c900fefe33", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "532132f4a61c827b67da0b95d5af1f1409de765d50b723694e98e00b11e668a7", type_checked_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", unrolled_symbol_table = "cbe83abf3345d38b60305ccd82572e17f21c5db2eb64ff18d74a36e881637749", initial_ast = "86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19", unrolled_ast = "86e861140280d127ad182d654282a38ca2ec87dd10ee1b7e2f1b569a48122c19", ssa_ast = "af61f34815f0c0740b9a6f418cd83921843d3969fd37457abef92813fd56b62b", flattened_ast = "6b52cfb692c3504fbb0b4fe389e2e3def7f530dcec0265e6c66661dab87b1284", destructured_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", inlined_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", dce_ast = "1e075616e1d2334db51cdc861ef0966b31d77ab84d2a3f5e2bab0e755cf9f356", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/integers/u16/operator_methods.out index fd017cfa62..8322da1357 100644 --- a/tests/expectations/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/integers/u16/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7b7bc9bdbe3ec877643464e39f48759fcde838285e3717f6eb6ca40ba2354e6a", type_checked_symbol_table = "6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59", unrolled_symbol_table = "6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59", initial_ast = "5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886", unrolled_ast = "5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886", ssa_ast = "1495cff87b57115a3c78ef3be1a584e6af4670d727d4b6d300220a9f38a643a1", flattened_ast = "603426fb0fd37a71132d18b432718610c74eb172419a3fc81bc72bbcb8cc758e", destructured_ast = "9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4", inlined_ast = "9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4", dce_ast = "b3801510ba00f29bbd0f02c720caf9b4b254de82537df578e89cc809be0dea0a", bytecode = "842bf9cb4647adc6c67cecc1c36ec85f5a659d9245571869e10e93bb303ff343", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7b7bc9bdbe3ec877643464e39f48759fcde838285e3717f6eb6ca40ba2354e6a", type_checked_symbol_table = "6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59", unrolled_symbol_table = "6a795c474b90388bec2b5858f41d2b392e8a58a6d8e1bf894e4b75152e7b5a59", initial_ast = "5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886", unrolled_ast = "5076e8aceb97562a76f7a15ec89a551d732ad00714c8f6131944b5a652e9e886", ssa_ast = "1495cff87b57115a3c78ef3be1a584e6af4670d727d4b6d300220a9f38a643a1", flattened_ast = "603426fb0fd37a71132d18b432718610c74eb172419a3fc81bc72bbcb8cc758e", destructured_ast = "9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4", inlined_ast = "9b47bc3371a4b105be8e478d6e7d5af9276b1210d237e30d43ddb065a50748c4", dce_ast = "b3801510ba00f29bbd0f02c720caf9b4b254de82537df578e89cc809be0dea0a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/or.out b/tests/expectations/compiler/integers/u16/or.out index 3d7b5bb753..ae4ced4675 100644 --- a/tests/expectations/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/integers/u16/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb", unrolled_ast = "adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb", ssa_ast = "7ab9328a68f52edcc5c06e57888441266025836bf19d4c92828d5c62386f80d4", flattened_ast = "504f76f1abefe3233ac3f7475ebcc0fc96d3c797b4eaf2eb62c9c41a2376bf6b", destructured_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", inlined_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", dce_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", bytecode = "50061292bb5678c2bbb3062570d3f8d5233316e274c6504aa6b012816e2f511e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb", unrolled_ast = "adda7e59b5936e3cc3b59f2c893212c1a5d4d8f612a4e9c08d5877a40822c8bb", ssa_ast = "7ab9328a68f52edcc5c06e57888441266025836bf19d4c92828d5c62386f80d4", flattened_ast = "504f76f1abefe3233ac3f7475ebcc0fc96d3c797b4eaf2eb62c9c41a2376bf6b", destructured_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", inlined_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", dce_ast = "b970628146ae5f142c2fd8ea4e1bb13049131c9c3f6e8eb7c988d503ad603f62", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/pow.out b/tests/expectations/compiler/integers/u16/pow.out index 0f14c5a869..cd44ca15ce 100644 --- a/tests/expectations/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/integers/u16/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57", unrolled_ast = "ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57", ssa_ast = "bd1d6b38ac2b28e54e44b2f36bd44e4cb03c3547438a96b3b61f79df03d8e2c5", flattened_ast = "8d2243a65879302241156303ef11cbd92156ab10ba5799b11fa8354ee62ac37e", destructured_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", inlined_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", dce_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", bytecode = "57544c7875d33d64e359c3e64ab2115a3d431c3ecba318223e0237fbbbdfcde0", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57", unrolled_ast = "ecfb1f88bb1a63dcd00bb7dcfbad0458fde9a30d51b5d11d5054541c3f1c9c57", ssa_ast = "bd1d6b38ac2b28e54e44b2f36bd44e4cb03c3547438a96b3b61f79df03d8e2c5", flattened_ast = "8d2243a65879302241156303ef11cbd92156ab10ba5799b11fa8354ee62ac37e", destructured_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", inlined_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", dce_ast = "aa4d5e71a9b1724a313259e42ce9986f7827542fb17ae0aba29abe9333c25bf0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + pow r0 2u8 into r3; + pow r0 r1 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/rem.out b/tests/expectations/compiler/integers/u16/rem.out index 80bffd1d88..6424b385d0 100644 --- a/tests/expectations/compiler/integers/u16/rem.out +++ b/tests/expectations/compiler/integers/u16/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1", unrolled_ast = "8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1", ssa_ast = "a96ed3f85b7c2c2023c3a7d06467824e7cbff35ea881b1e612e7674c4b55e6f1", flattened_ast = "3944681d508c330d0bfd6ecae7675fa2da0b7b686e266491a8f089c44cd7be58", destructured_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", inlined_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", dce_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", bytecode = "312a00be59034a01944b77f36b32275e4d54b11d5b098a7e19c7bb4906e6ca6f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1", unrolled_ast = "8e96b15143e4083cb244c279a02a41337c0abf86664853c386a9abb4918d36d1", ssa_ast = "a96ed3f85b7c2c2023c3a7d06467824e7cbff35ea881b1e612e7674c4b55e6f1", flattened_ast = "3944681d508c330d0bfd6ecae7675fa2da0b7b686e266491a8f089c44cd7be58", destructured_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", inlined_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", dce_ast = "929087a35b76c51987264ad14e8a8ec6ec6fb9bc3c7901becb037bf1dbc16ebf", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/shl.out b/tests/expectations/compiler/integers/u16/shl.out index 8d469c2526..3bd67a66b1 100644 --- a/tests/expectations/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/integers/u16/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b", unrolled_ast = "c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b", ssa_ast = "2d272a0007862b6852447ede282aff6aff28af52ed6aca9699139a3e42a027ed", flattened_ast = "c5e22f3d78bbeda14f4a606683879303dd1bb45281b294a8d431b492910a7d86", destructured_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", inlined_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", dce_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", bytecode = "5ebe5527cde826ed570752b1e9ffd16a4805c5071c3adbd4099ebad9174d5f11", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b", unrolled_ast = "c9fb97d02bbbba9ceb0d59dad3c3d769b2f3a5444560c85c45881a15abfacd0b", ssa_ast = "2d272a0007862b6852447ede282aff6aff28af52ed6aca9699139a3e42a027ed", flattened_ast = "c5e22f3d78bbeda14f4a606683879303dd1bb45281b294a8d431b492910a7d86", destructured_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", inlined_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", dce_ast = "97b182dc206e7658528368544686e2ad2c2208a28a1adf58b2b24f7d1a515b74", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + shl r0 2u8 into r3; + shl r0 r1 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/shr.out b/tests/expectations/compiler/integers/u16/shr.out index c61b0c9361..3cdf7c5506 100644 --- a/tests/expectations/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/integers/u16/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff", unrolled_ast = "47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff", ssa_ast = "b2648969c4d3b8df396ad53f894423a9ac9be955e08cb1c2ffe7888ff43567da", flattened_ast = "94eb539e2624c8faa1ddf6e95d107de5099b332e1c92b4a9b90449fcc9c4e661", destructured_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", inlined_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", dce_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", bytecode = "27908eccc0ae25f792ff3b23f7b243cec3dc74e4167e62f5db0d2ac9c8d91d2c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff", unrolled_ast = "47cd80606c9feb9ccc962dc8f19b8ace90f2d7fcff453169ae16adc282fe0bff", ssa_ast = "b2648969c4d3b8df396ad53f894423a9ac9be955e08cb1c2ffe7888ff43567da", flattened_ast = "94eb539e2624c8faa1ddf6e95d107de5099b332e1c92b4a9b90449fcc9c4e661", destructured_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", inlined_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", dce_ast = "dde16d01fe85d044353095d839e5ff58f8efa4a0bb6559625b1b0e7fda5fefb1", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + shr r0 2u8 into r3; + shr r0 r1 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/sub.out b/tests/expectations/compiler/integers/u16/sub.out index 42207d7509..0575aa6596 100644 --- a/tests/expectations/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/integers/u16/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43", unrolled_ast = "5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43", ssa_ast = "7c3515f48c8ddfb7b0648cdd3ba3af7b87e18096b2d637fb6209612e2e60e74b", flattened_ast = "5ec9e4cede3d3440d7e923e5d0698ebb2f58caac84f727bd448f02b79ff792cb", destructured_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", inlined_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", dce_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", bytecode = "d6c71656a8b803092075816e82fbc5c044f3700139c5ca079a1a8f2be846d573", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "d351774dc0346ec13bb75b6d2cc2d476e7e7155028a73b56e840ee61774ac048", type_checked_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", unrolled_symbol_table = "c77e7aa74118648a422bd50cba8b7946ef133e0bde83e01eb58e3cfa8a6b17b8", initial_ast = "5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43", unrolled_ast = "5ba7bb58223729ced7bfe77c06e292d262faaab81d5c3802d20d99dd1813fc43", ssa_ast = "7c3515f48c8ddfb7b0648cdd3ba3af7b87e18096b2d637fb6209612e2e60e74b", flattened_ast = "5ec9e4cede3d3440d7e923e5d0698ebb2f58caac84f727bd448f02b79ff792cb", destructured_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", inlined_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", dce_ast = "cd57b88d43d4f3bbfca208fcc95c8e9059381daea4c4f3733e8d389df13bed87", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + input r2 as u16.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/ternary.out b/tests/expectations/compiler/integers/u16/ternary.out index 3b4bc3250c..91ef50192a 100644 --- a/tests/expectations/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/integers/u16/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7f5ebf3e7eef8eae4a42fb3970309cc60492f6074e87077ca40e4622480b7a4c", type_checked_symbol_table = "a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845", unrolled_symbol_table = "a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845", initial_ast = "28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0", unrolled_ast = "28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0", ssa_ast = "484cb46ec9a6032baaaf2621308d4aef64a761196fbe3996f4a122e606f70fbe", flattened_ast = "7e54465f7997799e2c7573da8ef14a4e99640e779d48b23e409a884c8b9b2c3a", destructured_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", inlined_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", dce_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", bytecode = "113603fb207a83e65ee275be10ad122173cea7a90327c07028eab9fffe449016", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7f5ebf3e7eef8eae4a42fb3970309cc60492f6074e87077ca40e4622480b7a4c", type_checked_symbol_table = "a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845", unrolled_symbol_table = "a31f5beb6287b8cd5554feb6a1d4429bb041fd54f9b7a17aefd57abe9bfc1845", initial_ast = "28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0", unrolled_ast = "28b932fa92d65cc3d0dca2682ce57864326342b2e65fa74518780889a439b0b0", ssa_ast = "484cb46ec9a6032baaaf2621308d4aef64a761196fbe3996f4a122e606f70fbe", flattened_ast = "7e54465f7997799e2c7573da8ef14a4e99640e779d48b23e409a884c8b9b2c3a", destructured_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", inlined_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", dce_ast = "20c848ea976abc67f6e94399fdb9e1cf30d37211fa4ab2e9e277f514355bbd8e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as u16.private; + input r2 as u16.private; + input r3 as u16.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u16/xor.out b/tests/expectations/compiler/integers/u16/xor.out index 9b1492552c..0805aaef22 100644 --- a/tests/expectations/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/integers/u16/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "9b8e9f327a839748e96489c1bd9efa4f4a7a0740ab6a99783bb909647270e6b9", type_checked_symbol_table = "31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f", unrolled_symbol_table = "31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f", initial_ast = "6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9", unrolled_ast = "6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9", ssa_ast = "9abb1cacc675f86131001135f7544d44560613dc6bd18b31086680c625c61a02", flattened_ast = "853dfa1f93ca403bcd6762faf7b2b81ba579f7d448c68be066ef5453c632fa9e", destructured_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", inlined_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", dce_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", bytecode = "eb928c87aa9dab9c5fd3d063c6f3bd9400ca1fb12eea712baf4406852dc1f439", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "9b8e9f327a839748e96489c1bd9efa4f4a7a0740ab6a99783bb909647270e6b9", type_checked_symbol_table = "31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f", unrolled_symbol_table = "31b227a6b7c18c7b9af830e4356edff513b365d14196a379e753f17cef6f694f", initial_ast = "6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9", unrolled_ast = "6909041641a87d02a6169f1d8df3faacff8ff77865f459d4afa1bcf0e246b4c9", ssa_ast = "9abb1cacc675f86131001135f7544d44560613dc6bd18b31086680c625c61a02", flattened_ast = "853dfa1f93ca403bcd6762faf7b2b81ba579f7d448c68be066ef5453c632fa9e", destructured_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", inlined_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", dce_ast = "91a708ca2e723b108ccf80324be3f3f0f5a6bf1181209e3669d229e0906007e5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u16.private; + input r1 as u16.private; + xor r0 r1 into r2; + output r2 as u16.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/add.out b/tests/expectations/compiler/integers/u32/add.out index abe73139bc..cff48bcc8a 100644 --- a/tests/expectations/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/integers/u32/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b", unrolled_ast = "57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b", ssa_ast = "11942fab2544873e0f34b2d8bb04363815984aa56ec02c283666cb4f6f548b4c", flattened_ast = "8e09453af8acf7adb78877f23346249bde1b5a360e9aef4ea37c16f282e1f502", destructured_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", inlined_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", dce_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", bytecode = "6a79f884436b0bdadcee0ff3dd76a5e3fb16cd5d733f2091cbb17cc680c8b185", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b", unrolled_ast = "57b38b0ed37d40261ae6151707e130f21c82ff55d361cc6a9e3d053936d16c5b", ssa_ast = "11942fab2544873e0f34b2d8bb04363815984aa56ec02c283666cb4f6f548b4c", flattened_ast = "8e09453af8acf7adb78877f23346249bde1b5a360e9aef4ea37c16f282e1f502", destructured_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", inlined_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", dce_ast = "1e18b0f8efb605e1cffefceb0f147b9eb5875feaebe3dd90e74ae8992ee72b45", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/and.out b/tests/expectations/compiler/integers/u32/and.out index 12cb8e3ef9..a0d3fe75e2 100644 --- a/tests/expectations/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/integers/u32/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea", unrolled_ast = "1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea", ssa_ast = "15556181dd8cf4be8f741712d549b1125eaf3f94ba0d39d92aa225d2fceae885", flattened_ast = "8df4369c4582d0c12c76e7e8efed8e64dd7439cad96c51171b9b9f4e6d3f01ff", destructured_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", inlined_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", dce_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", bytecode = "8cf2c9baf4dd960c2135a86ac62576bcb4d04c2ba826ff413bdce7f05d230516", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea", unrolled_ast = "1e27e28f3407dcd3789581df6c78fb4118279b621fc2ae32b9790cf9de655dea", ssa_ast = "15556181dd8cf4be8f741712d549b1125eaf3f94ba0d39d92aa225d2fceae885", flattened_ast = "8df4369c4582d0c12c76e7e8efed8e64dd7439cad96c51171b9b9f4e6d3f01ff", destructured_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", inlined_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", dce_ast = "3b50b6a38d5c4b13e4efef4d24e207d936a9274ee3d9fd0d85ecb0cb68e75621", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/integers/u32/console_assert.out index a9ec6ca74e..8cc91c9232 100644 --- a/tests/expectations/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/integers/u32/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "55845c0ef65dc069d8a9f40f24d894b762d395bc99c75557a05fd7489bd2fa50", type_checked_symbol_table = "2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971", unrolled_symbol_table = "2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971", initial_ast = "2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f", unrolled_ast = "2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f", ssa_ast = "f80b5bf28ce2c725b63088fac28efc60e7f1bf3896e38dd2a5c0bd9c6570c8e5", flattened_ast = "db732de82d289f3f78297a8a17b08fe167cc826a1a5fe64df9734578fa6e86d4", destructured_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", inlined_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", dce_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", bytecode = "c05a2b573d0bcf072a9b4cda004f6e3c44b73fba4238919546eb3703cb05c258", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "55845c0ef65dc069d8a9f40f24d894b762d395bc99c75557a05fd7489bd2fa50", type_checked_symbol_table = "2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971", unrolled_symbol_table = "2caa421f17f91253c7aabe6f63f56bd5631244b88e2fbc76e1b833c610232971", initial_ast = "2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f", unrolled_ast = "2e4603710162e7f7f45ecdfa119fb9ec6d443b20f52f111be22d681bd396e57f", ssa_ast = "f80b5bf28ce2c725b63088fac28efc60e7f1bf3896e38dd2a5c0bd9c6570c8e5", flattened_ast = "db732de82d289f3f78297a8a17b08fe167cc826a1a5fe64df9734578fa6e86d4", destructured_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", inlined_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", dce_ast = "a893d7884474e91a62ae23f42eac4eaa192846e914e60054b258e91eee3c4c55", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/div.out b/tests/expectations/compiler/integers/u32/div.out index 20c1996313..e45cb41be4 100644 --- a/tests/expectations/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/integers/u32/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770", unrolled_ast = "65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770", ssa_ast = "0305f133a3d385bb7a0774ef8f44c7b5c9af689867edb48b71ca47e5d9183586", flattened_ast = "63ff783ca61e7da81364b19836be624887de9bb526685d8e54975424d6ee4b60", destructured_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", inlined_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", dce_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", bytecode = "544b47ba167ef02d93729c64e3bb7f76cd94229385874a8c68b48cdf9f7cf767", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770", unrolled_ast = "65d384f0f33c5c4344f399c8ba23cad871efd72936b112355337117c0af3e770", ssa_ast = "0305f133a3d385bb7a0774ef8f44c7b5c9af689867edb48b71ca47e5d9183586", flattened_ast = "63ff783ca61e7da81364b19836be624887de9bb526685d8e54975424d6ee4b60", destructured_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", inlined_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", dce_ast = "874fd959ed6b6d70be35ef420e7e3c264d0f1170f1b209c6a31d837f6329a89a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/eq.out b/tests/expectations/compiler/integers/u32/eq.out index cf73d38bdf..de394f338c 100644 --- a/tests/expectations/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/integers/u32/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d", unrolled_ast = "757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d", ssa_ast = "22a522f3bad92cc3bf0b2ea6922cefe4af3ba82d073e657fafdd2dd19097dd93", flattened_ast = "a2056364ce253ffc2e8470f8f473122e075b0a266b213490d90edf0395fcafab", destructured_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", inlined_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", dce_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", bytecode = "eb74a56b4c761a3050ee4ca8c5ac6f4085675f0ba71514b9c10cc49044251472", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d", unrolled_ast = "757213f5e9476a4e9fa1e3a64f8ba59258397b12f6458f5bbc8a11dd776f363d", ssa_ast = "22a522f3bad92cc3bf0b2ea6922cefe4af3ba82d073e657fafdd2dd19097dd93", flattened_ast = "a2056364ce253ffc2e8470f8f473122e075b0a266b213490d90edf0395fcafab", destructured_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", inlined_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", dce_ast = "325f2df12edbee8d19e481abb4858a9f5c94fba88f06945cdc7099684d51936c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/ge.out b/tests/expectations/compiler/integers/u32/ge.out index e5e0452d75..5ea4bfe4e3 100644 --- a/tests/expectations/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/integers/u32/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e", unrolled_ast = "2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e", ssa_ast = "405a599f57eb583abce5ff48a45c696bc98052555666b8003b72a8d29e5227e9", flattened_ast = "e9091c4f08a7f15a65c21f7bbccf1444fefedb6cee6837d829758f07fb22e92e", destructured_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", inlined_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", dce_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", bytecode = "d5c6740e9f4b930180fb52ddc268e35b87ed215c56fe529e98ee015dbfa08b3e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e", unrolled_ast = "2016c4db35b166635f7142275e57c5b6fa366db2c39439f7762fea0c4444675e", ssa_ast = "405a599f57eb583abce5ff48a45c696bc98052555666b8003b72a8d29e5227e9", flattened_ast = "e9091c4f08a7f15a65c21f7bbccf1444fefedb6cee6837d829758f07fb22e92e", destructured_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", inlined_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", dce_ast = "6a3b9a9c7fec3e768de93ee700a37a2f7bd4c185590429cb2c066ad59810738f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/gt.out b/tests/expectations/compiler/integers/u32/gt.out index 9b137dcfbf..eeeefb95e8 100644 --- a/tests/expectations/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/integers/u32/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8", unrolled_ast = "4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8", ssa_ast = "517afb9630c07841a62d8ed67e5468a14cacd3e7e3b870b933adc06a5be01526", flattened_ast = "c04f5ab6c4e4e21ce81e16e8afd119b8d6a53cb5ad12fd181eb0858f1273323d", destructured_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", inlined_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", dce_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", bytecode = "5b1536cb2d2f274904ed23cabc28dad63d0e22a9bd4d1a5615b88b2c3ea6d7eb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8", unrolled_ast = "4c22027ccdf1cfe399b2d7837a3ed62934df510a99c60f6441a626914e1af2c8", ssa_ast = "517afb9630c07841a62d8ed67e5468a14cacd3e7e3b870b933adc06a5be01526", flattened_ast = "c04f5ab6c4e4e21ce81e16e8afd119b8d6a53cb5ad12fd181eb0858f1273323d", destructured_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", inlined_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", dce_ast = "cfa69a33a69f3cdb1ba141e595d52e2d9cd0bb617c3ca4b2dc841f1333f28b93", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/hex_and_bin.out b/tests/expectations/compiler/integers/u32/hex_and_bin.out index 773a4707e0..e75aa217c9 100644 --- a/tests/expectations/compiler/integers/u32/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u32/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b5ffc1d0175c735db006ca60f9c68f4d39f6250208d706b8743a84992708c498", type_checked_symbol_table = "c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349", unrolled_symbol_table = "c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349", initial_ast = "929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7", unrolled_ast = "929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7", ssa_ast = "b8fba4c0407685295c943ec9eb8bb790f55bcb80628f46fc2c4f4696c489a38e", flattened_ast = "5fd3ab9e1bd40d89944d32a44396fa2e44d43f257f4ca7f28e1cb44a48cb6a27", destructured_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", inlined_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", dce_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", bytecode = "6191880555ec488d9e1969788741440fd2204b0ae341a8bb6cfa6b89bc73778f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b5ffc1d0175c735db006ca60f9c68f4d39f6250208d706b8743a84992708c498", type_checked_symbol_table = "c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349", unrolled_symbol_table = "c02ec2ac89d5694616a8712333191d159bf45a09e54d99498a0e205c08182349", initial_ast = "929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7", unrolled_ast = "929795c16019f0ac4ca844836b3a4abaddcac2df5a47699ba1c57d19da5af5f7", ssa_ast = "b8fba4c0407685295c943ec9eb8bb790f55bcb80628f46fc2c4f4696c489a38e", flattened_ast = "5fd3ab9e1bd40d89944d32a44396fa2e44d43f257f4ca7f28e1cb44a48cb6a27", destructured_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", inlined_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", dce_ast = "9115c2b7b16af5a561babdbed8416220346ea86646b71f0baec58d8376c37fa0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + is.eq r0 127u32 into r3; + is.eq r1 27u32 into r4; + and r3 r4 into r5; + is.eq r2 21u32 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/le.out b/tests/expectations/compiler/integers/u32/le.out index c7ac426fdf..03e9e512f9 100644 --- a/tests/expectations/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/integers/u32/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40", unrolled_ast = "4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40", ssa_ast = "da1e84815cc2fde7496a5584fb3f3d37f0c0e98cf3e62a5e7e7b8259bba6a0cf", flattened_ast = "78fbdbca11f1b409967002019c7dd07464acb6a4c07b32efeba3c1c6b1bb2198", destructured_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", inlined_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", dce_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", bytecode = "76d3ed305f669697432c49a48165440a287bc91eb95c2110f936235259d824ed", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40", unrolled_ast = "4bfdf27eb5de881c676550424816913d1daacf6fea251f0b6ed3bec8f935ec40", ssa_ast = "da1e84815cc2fde7496a5584fb3f3d37f0c0e98cf3e62a5e7e7b8259bba6a0cf", flattened_ast = "78fbdbca11f1b409967002019c7dd07464acb6a4c07b32efeba3c1c6b1bb2198", destructured_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", inlined_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", dce_ast = "f5c2b4e29930166968dcacb89b4d31e0299b12548284784a9afe6fe1c140390a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/lt.out b/tests/expectations/compiler/integers/u32/lt.out index 4f761f8842..325d3220e2 100644 --- a/tests/expectations/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/integers/u32/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4", unrolled_ast = "de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4", ssa_ast = "553a0396f19338b96c3ff4004238efcf657238199c119c18719e70c5c239dc55", flattened_ast = "d41ac5df37ca398dfb606eca311346d0708b96262ca3be76130246b5ece1a6ff", destructured_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", inlined_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", dce_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", bytecode = "4aac77fed46b036a9aaced7512320c824d26a5a025292fdb91c422b4ef3fadfd", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4", unrolled_ast = "de0e7d4ce0c2aedfc6f803802ef4f4a55fcecd92c53f07352db7db709b5dd6e4", ssa_ast = "553a0396f19338b96c3ff4004238efcf657238199c119c18719e70c5c239dc55", flattened_ast = "d41ac5df37ca398dfb606eca311346d0708b96262ca3be76130246b5ece1a6ff", destructured_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", inlined_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", dce_ast = "62c4f37a0e80bb0a296c11dc24240e54c8ca17b01e933fb496a2c946513d1f6c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/max.out b/tests/expectations/compiler/integers/u32/max.out index 5f277a7e5d..5c358b509c 100644 --- a/tests/expectations/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/integers/u32/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", unrolled_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", initial_ast = "fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea", unrolled_ast = "fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea", ssa_ast = "ff5e522e283e34d34f399f004f3a82e9fd2f29f796e690bdb3907a550f6cf073", flattened_ast = "0b2c302f8340e3fdce47862de5023d111c748696ee8450ad0601f912fb955f8d", destructured_ast = "76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c", inlined_ast = "76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c", dce_ast = "3d98be7e7ee653c6e91d6b340f39b1010349a6f797e707bc2fe66aad7b438bbe", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", unrolled_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", initial_ast = "fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea", unrolled_ast = "fcf390a08602c4cb135173a393e41329ddb9007d7b262088ddb29195954879ea", ssa_ast = "ff5e522e283e34d34f399f004f3a82e9fd2f29f796e690bdb3907a550f6cf073", flattened_ast = "0b2c302f8340e3fdce47862de5023d111c748696ee8450ad0601f912fb955f8d", destructured_ast = "76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c", inlined_ast = "76be7b53f47ded6e448b2206f61974a544ebfcccb04c88ef18008aa56b11ae8c", dce_ast = "3d98be7e7ee653c6e91d6b340f39b1010349a6f797e707bc2fe66aad7b438bbe", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/min.out b/tests/expectations/compiler/integers/u32/min.out index 588385aca6..1ba2bb960a 100644 --- a/tests/expectations/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/integers/u32/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", unrolled_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", initial_ast = "6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48", unrolled_ast = "6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48", ssa_ast = "38bbc64ed3d28a123be48a452f547adeed9e193247fd658d5144d8b8791bdc3a", flattened_ast = "c2fd6fa6deff021cbdf5e40501fe1dfdecd07e68ea3c46d7a0243a4bcbb2f7f0", destructured_ast = "fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb", inlined_ast = "fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", unrolled_symbol_table = "d7357817a9affb798ef657c21a49889533bb5ee2848929b5d5763893139a1d65", initial_ast = "6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48", unrolled_ast = "6195b8ab4773be59330b63ca2cf26e8d8db0caeba5dea3b828e02563dd567e48", ssa_ast = "38bbc64ed3d28a123be48a452f547adeed9e193247fd658d5144d8b8791bdc3a", flattened_ast = "c2fd6fa6deff021cbdf5e40501fe1dfdecd07e68ea3c46d7a0243a4bcbb2f7f0", destructured_ast = "fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb", inlined_ast = "fc4f85c5ae10690994390ceb0582b855b1fc8db6e98ee141a074af791eb772cb", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/mul.out b/tests/expectations/compiler/integers/u32/mul.out index fbcaa5248c..4ecd3fa186 100644 --- a/tests/expectations/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/integers/u32/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5", unrolled_ast = "d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5", ssa_ast = "bad5760770f45525322b8ce04eda7df6f33ba12423334b62620b8f400dcd138e", flattened_ast = "80e697ab4db32420d586a386bfc8ddadfd0183e6e990afd5936a02fb929fa179", destructured_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", inlined_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", dce_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", bytecode = "1dfb6b0bc60a60fdf5e7049346815ffb6fc80d045cb8282510fa518f3337e089", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5", unrolled_ast = "d6549818686932e04799e6195a34f05e1a3bd89078f7d7b05bb892b3840bb9e5", ssa_ast = "bad5760770f45525322b8ce04eda7df6f33ba12423334b62620b8f400dcd138e", flattened_ast = "80e697ab4db32420d586a386bfc8ddadfd0183e6e990afd5936a02fb929fa179", destructured_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", inlined_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", dce_ast = "29e38589e586ff666385a21643ba1f817d0a31d004c2171c92b8ba09d53440c3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/ne.out b/tests/expectations/compiler/integers/u32/ne.out index 9bc4f4d14c..ddf73fbe85 100644 --- a/tests/expectations/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/integers/u32/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd", unrolled_ast = "9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd", ssa_ast = "2db7122734466bc70b9bc3925993ac7b67661a0ded81a3a8c89003b43c25df4f", flattened_ast = "385e90d9f222c99612c23d4c0d02c0457d544f29450cbb0a2cd5616403799d7a", destructured_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", inlined_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", dce_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", bytecode = "0fe1011e038cf47ffdbb7e95c4ac2326b985aeeffca177329c145c144fc46639", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "88a00119d37fb3d485ccfdd8464ed5614724888ee8ab2421baa88b9e205e2318", type_checked_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", unrolled_symbol_table = "e3522caa367189ae19e15757b7c7fe6d3a3061c0819f7d24c30209c0397c6043", initial_ast = "9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd", unrolled_ast = "9abf1d34e781e9fad535ae2350c3afc1ee12f28e17f74130d0b1f824d89ebcbd", ssa_ast = "2db7122734466bc70b9bc3925993ac7b67661a0ded81a3a8c89003b43c25df4f", flattened_ast = "385e90d9f222c99612c23d4c0d02c0457d544f29450cbb0a2cd5616403799d7a", destructured_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", inlined_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", dce_ast = "4ba9c881e035bf5a72a1294739a4dcc08dd6912c840e94cf39659051f595eeb4", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/integers/u32/operator_methods.out index 0242b3e0c4..c75bee2def 100644 --- a/tests/expectations/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/integers/u32/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "a53ed4e572085258db9c847375e1efadbfb8dcd09f572b6a595ce829fb6c8393", type_checked_symbol_table = "c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c", unrolled_symbol_table = "c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c", initial_ast = "c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e", unrolled_ast = "c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e", ssa_ast = "e68899920e902274739b3bddf68ec0ca4c2e5eeae26c57e02922ebb780d54d01", flattened_ast = "c56304eb92d605d5c3fae12c51381139b716d09c5056ee1456ba8508d970f50a", destructured_ast = "a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb", inlined_ast = "a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb", dce_ast = "b4ee01bc61d874b7c3ad1eb636f417f3af2514232399ba7878010ee847731607", bytecode = "aec6ee0fcfa292c5e3a4b9165408e9627b7c73b520302dc986293cc36fea4383", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "a53ed4e572085258db9c847375e1efadbfb8dcd09f572b6a595ce829fb6c8393", type_checked_symbol_table = "c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c", unrolled_symbol_table = "c217ce9207437791ba5f07f39e423cdcfa9abc58f40d8783f6fba7ff427f7d1c", initial_ast = "c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e", unrolled_ast = "c5ae414c3bf9bee22048aba7a2ea219da1a7edfc5e071fddbf71e0ad46dae79e", ssa_ast = "e68899920e902274739b3bddf68ec0ca4c2e5eeae26c57e02922ebb780d54d01", flattened_ast = "c56304eb92d605d5c3fae12c51381139b716d09c5056ee1456ba8508d970f50a", destructured_ast = "a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb", inlined_ast = "a461536e5316ff951bca879564526bc09f60f164a1674f55cedb7895f0e1b6cb", dce_ast = "b4ee01bc61d874b7c3ad1eb636f417f3af2514232399ba7878010ee847731607", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/or.out b/tests/expectations/compiler/integers/u32/or.out index 9ac385de62..813eb28034 100644 --- a/tests/expectations/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/integers/u32/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c", unrolled_ast = "38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c", ssa_ast = "792ddcb0cde1dd91e389a91012b01d272a30f870e21eeb3523770bb247166b53", flattened_ast = "6512815a953a461db627549033af14734fc4faa37473793926c49975d692dc4b", destructured_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", inlined_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", dce_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", bytecode = "53c22439941468b3986c9021bd4d3436c1e3ce8aa1ac79e04de9a0d08b16b3eb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c", unrolled_ast = "38b31379b5de26d47e62b79026bd2a30d48e1d4168549b36209bf2d520c36b7c", ssa_ast = "792ddcb0cde1dd91e389a91012b01d272a30f870e21eeb3523770bb247166b53", flattened_ast = "6512815a953a461db627549033af14734fc4faa37473793926c49975d692dc4b", destructured_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", inlined_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", dce_ast = "94c8a667cad570ebe66cd740c193bec33a968bce3a52a09750001e620a635a0d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/pow.out b/tests/expectations/compiler/integers/u32/pow.out index f86ac95758..6eb49d28ff 100644 --- a/tests/expectations/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/integers/u32/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02", unrolled_ast = "80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02", ssa_ast = "328cafbb688c4d0e211a6c62784bd4a44c0d3739627e5181d5697fc6f0f8e9d8", flattened_ast = "31f8a9d1026ced9c51f5357c4c36e1d5fbca3618e18b8be176b3745356b20cb0", destructured_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", inlined_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", dce_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", bytecode = "ea3230d133de200302ce0c5577ef8daca458af44512b67f567dfdeaeb60ef62d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02", unrolled_ast = "80222a637ecac74e32cec0c2fcc7b2a25dc3ff24698d7600b4ac6e99a046ef02", ssa_ast = "328cafbb688c4d0e211a6c62784bd4a44c0d3739627e5181d5697fc6f0f8e9d8", flattened_ast = "31f8a9d1026ced9c51f5357c4c36e1d5fbca3618e18b8be176b3745356b20cb0", destructured_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", inlined_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", dce_ast = "b8880ac8b0546041754eba2b30ae0bc0a0f53bcd01bd0eb7d426d7fcafdbd68a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 r1 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/rem.out b/tests/expectations/compiler/integers/u32/rem.out index 6debece2f1..9c5742665d 100644 --- a/tests/expectations/compiler/integers/u32/rem.out +++ b/tests/expectations/compiler/integers/u32/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378", unrolled_ast = "659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378", ssa_ast = "12ed4cdf9c33a2959c712359469d64dae7aa2c66032c15138b8dde9f31dc5dbb", flattened_ast = "0aef2fbd03994a0dbdbb067e167e246a6c03d27ea54908357cfcaf2badf94946", destructured_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", inlined_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", dce_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", bytecode = "654c6c9d87b686ee8ac83d2561ae0db42eaed0e933d018514d99d2eee2dc350c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378", unrolled_ast = "659e12ed51dbbc9e3e80752854a5167741a7deb18e361306072cf86f6def9378", ssa_ast = "12ed4cdf9c33a2959c712359469d64dae7aa2c66032c15138b8dde9f31dc5dbb", flattened_ast = "0aef2fbd03994a0dbdbb067e167e246a6c03d27ea54908357cfcaf2badf94946", destructured_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", inlined_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", dce_ast = "2fe4e113acb285aaf0547937a5aa63bb1c4885e8cb959d9c84846bc8d83836d0", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/shl.out b/tests/expectations/compiler/integers/u32/shl.out index 13e22fc70c..9460ada01e 100644 --- a/tests/expectations/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/integers/u32/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda", unrolled_ast = "ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda", ssa_ast = "ef6f4fc4e5fef34fb02b89ea536e47322c1efc72d2bfd1fdcf00f8a8e90611a4", flattened_ast = "c22acc053ad5d9dddbe28cbbfc50b74f780f8eff4e41e6768ee2cf0ebc10fc01", destructured_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", inlined_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", dce_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", bytecode = "d00fc78598c5002f3dd2576928bd1fb6121f078f9fc5b2b7394ff8338192172d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda", unrolled_ast = "ec59e927c91a3243640960a20491a87cd3840fdb489b495b7d23d982fdda7dda", ssa_ast = "ef6f4fc4e5fef34fb02b89ea536e47322c1efc72d2bfd1fdcf00f8a8e90611a4", flattened_ast = "c22acc053ad5d9dddbe28cbbfc50b74f780f8eff4e41e6768ee2cf0ebc10fc01", destructured_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", inlined_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", dce_ast = "46e5cf1e2191fb5145d1c9e65523b9633e8e53df525ea669eb2c1c09c487b188", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 r1 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/shr.out b/tests/expectations/compiler/integers/u32/shr.out index 0ba8498363..8ac3a94ce7 100644 --- a/tests/expectations/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/integers/u32/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9", unrolled_ast = "ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9", ssa_ast = "9b52d468737492814aabccab16e4f1ff5ab2cd929199b6981c4383d624e777b8", flattened_ast = "e221682f0993495dbbee07772723e2fc10db01715129eb55b3997702f869267c", destructured_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", inlined_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", dce_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", bytecode = "80a1a42b727652cf9808ca4800943f424edc0f0b8e43781b9a6686e3ef7801e1", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9", unrolled_ast = "ece0e884302935d38c4fef273e55f3145ef35f29777ec0d654af066bd9c089d9", ssa_ast = "9b52d468737492814aabccab16e4f1ff5ab2cd929199b6981c4383d624e777b8", flattened_ast = "e221682f0993495dbbee07772723e2fc10db01715129eb55b3997702f869267c", destructured_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", inlined_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", dce_ast = "e452f0aa4812393f6423f46fcbc1afddc22fed9e976dd155027f551a1c58a65e", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 r1 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/sub.out b/tests/expectations/compiler/integers/u32/sub.out index 53934c7350..023f760833 100644 --- a/tests/expectations/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/integers/u32/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e", unrolled_ast = "d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e", ssa_ast = "463b0daf7da0322b25289c970baca18e106a747077f06a486e462b8ad1c8514c", flattened_ast = "11bd8dec97de01c2127c233ccfe6db5f68b4b7a96b08c736a85477c264901f36", destructured_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", inlined_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", dce_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", bytecode = "979ef93cea21ee04681e95a25458674a5c7bbc15e717b104e6dc1b16d5a7111b", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b058cf2f1048b8bd7cc7ffa2dc8876f46d575fac7dc84845d89cabc9548c88bc", type_checked_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", unrolled_symbol_table = "a8e159126d8006dbee94a18fe8858a1690e64ef2f4752b36dd2d37e0186b7431", initial_ast = "d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e", unrolled_ast = "d45c4d9eae2a93972a4ea1917eb9add8ce394fa9bfa6d21a75efda66a96a065e", ssa_ast = "463b0daf7da0322b25289c970baca18e106a747077f06a486e462b8ad1c8514c", flattened_ast = "11bd8dec97de01c2127c233ccfe6db5f68b4b7a96b08c736a85477c264901f36", destructured_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", inlined_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", dce_ast = "577889f551991e352c14119313fcb54efaf3297ea3424e88b8260e19b38f8363", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + input r2 as u32.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/ternary.out b/tests/expectations/compiler/integers/u32/ternary.out index 465672a9b1..30c3973ac3 100644 --- a/tests/expectations/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/integers/u32/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "1050ad3bf1bca4a6ce06bc7e544cc50ef0a6b2eeb71a6e44d8c83e8f4c010d2a", type_checked_symbol_table = "507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8", unrolled_symbol_table = "507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8", initial_ast = "d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be", unrolled_ast = "d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be", ssa_ast = "258439d87bcfa1e56e9c3b7df54208aa3b48cce08fcc9348fcf11678ea55b5fe", flattened_ast = "e1512349d7894c4eb9a77e2656c003c94174079f936b89be14201e49b174e628", destructured_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", inlined_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", dce_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", bytecode = "0ecd93e68a7f1e72535d2f014714c6b6dbf91f2b0a18df56913798be12ec1515", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "1050ad3bf1bca4a6ce06bc7e544cc50ef0a6b2eeb71a6e44d8c83e8f4c010d2a", type_checked_symbol_table = "507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8", unrolled_symbol_table = "507fe2b9ad2f0937b6cad880536fe9a2e4e443ce7989d0330104f65484b5f2d8", initial_ast = "d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be", unrolled_ast = "d2a9f331d7ffc228a8b90fd17b72a28de6187e245bab4982f8d7027fed7af6be", ssa_ast = "258439d87bcfa1e56e9c3b7df54208aa3b48cce08fcc9348fcf11678ea55b5fe", flattened_ast = "e1512349d7894c4eb9a77e2656c003c94174079f936b89be14201e49b174e628", destructured_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", inlined_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", dce_ast = "5e0877c8c801c33009d35c1e0f877957f291f08343346e05ebeb12b68bbe4d9d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as u32.private; + input r2 as u32.private; + input r3 as u32.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u32/xor.out b/tests/expectations/compiler/integers/u32/xor.out index 40e7bd0fe7..bf70c144ea 100644 --- a/tests/expectations/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/integers/u32/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "0f4179147825dc70330669a71fa28152481f149d0d7bffc4036eaa3d09a35a2c", type_checked_symbol_table = "8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4", unrolled_symbol_table = "8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4", initial_ast = "a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f", unrolled_ast = "a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f", ssa_ast = "4f55b4314a7aa7644ff2b163bd885faaacb102011742da062584984abcdc2fe0", flattened_ast = "8924e5894fc66728ccebb7cf359edf3e098797e36435271c019572a3aecdbe88", destructured_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", inlined_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", dce_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", bytecode = "f870b2c0a3ffc0935a53b790fbd562a4e160982136e597762e14d3a11f7572c7", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "0f4179147825dc70330669a71fa28152481f149d0d7bffc4036eaa3d09a35a2c", type_checked_symbol_table = "8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4", unrolled_symbol_table = "8d494bcb65a00978d984a68dd145f4f03352ff5c62587b38c2021ee257e775e4", initial_ast = "a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f", unrolled_ast = "a35634a6136d80ad2aa8960546f1e441d63d601654e32cfe98f89f48deafcb3f", ssa_ast = "4f55b4314a7aa7644ff2b163bd885faaacb102011742da062584984abcdc2fe0", flattened_ast = "8924e5894fc66728ccebb7cf359edf3e098797e36435271c019572a3aecdbe88", destructured_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", inlined_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", dce_ast = "338a179a78171dbd53e4e333738f0cd557d708bd93b72d2fccf222b0850f23b5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + xor r0 r1 into r2; + output r2 as u32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/add.out b/tests/expectations/compiler/integers/u64/add.out index 87ea093c5c..3d0cf86732 100644 --- a/tests/expectations/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/integers/u64/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5", unrolled_ast = "f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5", ssa_ast = "c7beb4be2a772f7cd0baa3b7baa9ea3b88b02f6a0cb245f92a44640beecd70ef", flattened_ast = "dccd7a0390db85ba820de12905c41f25b3282d929a1450822d8285caf58e06bc", destructured_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", inlined_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", dce_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", bytecode = "3be0f7452f3ef5033f9f4c29362b7f16ca7d059569909b356d23fe3dbd898486", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5", unrolled_ast = "f10eb80c81bbb230fc63f3da19336668ccb893dcd670af7bdd49507262f6a2a5", ssa_ast = "c7beb4be2a772f7cd0baa3b7baa9ea3b88b02f6a0cb245f92a44640beecd70ef", flattened_ast = "dccd7a0390db85ba820de12905c41f25b3282d929a1450822d8285caf58e06bc", destructured_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", inlined_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", dce_ast = "b0d080b9c6b2c34764991060f52758881430ef465c83d95dfd57ef4e302244f7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/and.out b/tests/expectations/compiler/integers/u64/and.out index 663029e764..b89109b04a 100644 --- a/tests/expectations/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/integers/u64/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da", unrolled_ast = "20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da", ssa_ast = "aeac8c83aa469a97b88000b446ef1e0a4d3ccd75ee9318133e1da1a9521f8209", flattened_ast = "9625f2245c3e36f4887aef1638e7721187e995b8e25159f8cf3d842e8c24226b", destructured_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", inlined_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", dce_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", bytecode = "af4239d923d8c22f7bbdfdf8643c85648b25ba62b82819217a6c50924208d529", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da", unrolled_ast = "20692053e671d55538816a69dd571226f38e9b2902c88f0e474ba8f8550267da", ssa_ast = "aeac8c83aa469a97b88000b446ef1e0a4d3ccd75ee9318133e1da1a9521f8209", flattened_ast = "9625f2245c3e36f4887aef1638e7721187e995b8e25159f8cf3d842e8c24226b", destructured_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", inlined_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", dce_ast = "ff54a9d4253e5199bf0162b3024779e6a00e47222d24f079f18b2b48ce1dee41", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/integers/u64/console_assert.out index bba6972053..826214a835 100644 --- a/tests/expectations/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/integers/u64/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494", type_checked_symbol_table = "1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d", unrolled_symbol_table = "1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d", initial_ast = "5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0", unrolled_ast = "5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0", ssa_ast = "afc575a8ded7b3ebf29ed5367a5705d503642c97295c55b5eb831ba919ab3f64", flattened_ast = "9f132b3d9eb6e98365af0c896abed87218f3f182121f50ce1c21b3d865eed940", destructured_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", inlined_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", dce_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", bytecode = "0ee1282c31147bd35917b56ca5e0b6ed9ae7178f4a8e0681cb788bfe2803d2e5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494", type_checked_symbol_table = "1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d", unrolled_symbol_table = "1309d0abaffa1149bd97547cd3d8ae5393436acaf561201dc156b4bcf68be06d", initial_ast = "5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0", unrolled_ast = "5bd30788187e01105a981c9da5ab98b64f06bd0504a4643be253f892739c04c0", ssa_ast = "afc575a8ded7b3ebf29ed5367a5705d503642c97295c55b5eb831ba919ab3f64", flattened_ast = "9f132b3d9eb6e98365af0c896abed87218f3f182121f50ce1c21b3d865eed940", destructured_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", inlined_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", dce_ast = "476c6309c95f1d9f0e3590910d06fc8f8137612584c1a67144b17c866a038f8f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/div.out b/tests/expectations/compiler/integers/u64/div.out index 91b8275e73..c57c6ce406 100644 --- a/tests/expectations/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/integers/u64/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2", unrolled_ast = "740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2", ssa_ast = "33b04442830d71e681095f851ddc52f5d8649c727e47e592bb1be1fe5d7d376f", flattened_ast = "f083ac1e2079924ee4e49c041290ee47670ec443cb66e77f43d9ac76ade66ebd", destructured_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", inlined_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", dce_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", bytecode = "2a4e7edc50312cff13755a1480eadc016a474629e3655a4d8b878a85001b75c3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2", unrolled_ast = "740c7f34bd073e46bf061e835fe8e77474d238f9df6523b65a1bf4582092e5e2", ssa_ast = "33b04442830d71e681095f851ddc52f5d8649c727e47e592bb1be1fe5d7d376f", flattened_ast = "f083ac1e2079924ee4e49c041290ee47670ec443cb66e77f43d9ac76ade66ebd", destructured_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", inlined_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", dce_ast = "bb72be1fd78bed0ca0ebb71e66a4c9c52791999d17dc74bd10361477f391fb9d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/eq.out b/tests/expectations/compiler/integers/u64/eq.out index 60f08c801e..fbb2521b79 100644 --- a/tests/expectations/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/integers/u64/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a", unrolled_ast = "dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a", ssa_ast = "87e3c4c1acc6a7af6fb85f7508cc1103ae2ed0658c20e06afbf335f8300507fe", flattened_ast = "7f45fe3e4a99ee149dbc4a01e4cceb56bbf8e826acacecd1d6b413607ca5ad2d", destructured_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", inlined_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", dce_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", bytecode = "c3b043c14b4d869eddba1a5c38b463704b8fdc7a7b6dbfb8b54dbc4ba66e706f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a", unrolled_ast = "dddef535379801293d89da80910d4b400722a678f819ce587d0b6473b68aa40a", ssa_ast = "87e3c4c1acc6a7af6fb85f7508cc1103ae2ed0658c20e06afbf335f8300507fe", flattened_ast = "7f45fe3e4a99ee149dbc4a01e4cceb56bbf8e826acacecd1d6b413607ca5ad2d", destructured_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", inlined_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", dce_ast = "62d2f3c15d8d423e71fcc14edafcae7d4eac3a94f424a986b25d0ebad5d8ab45", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/ge.out b/tests/expectations/compiler/integers/u64/ge.out index c289cb9fda..d22b8041b7 100644 --- a/tests/expectations/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/integers/u64/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721", unrolled_ast = "e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721", ssa_ast = "efeb51245d96533fdbe5be634af4fc2043e33304997bd45a7e7fe56277e2c069", flattened_ast = "098f0c91f85d256cd1a726e185b3fbc9833bdfc07c5b8391b5d0ed784d807543", destructured_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", inlined_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", dce_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", bytecode = "b2e3005d49e16c6431a7731d180ba407dbf3c26564e1015a3e803681959a6e7c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721", unrolled_ast = "e6d706095bf28e4f7a6f00275ecaa3104145da9c1ce4e414782f30b03e769721", ssa_ast = "efeb51245d96533fdbe5be634af4fc2043e33304997bd45a7e7fe56277e2c069", flattened_ast = "098f0c91f85d256cd1a726e185b3fbc9833bdfc07c5b8391b5d0ed784d807543", destructured_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", inlined_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", dce_ast = "ca7199b805fd4a48c00bbb88c7183ba9a33a2880582f5d7c2c0507bd6a524167", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/gt.out b/tests/expectations/compiler/integers/u64/gt.out index a30889bc31..8284f200f7 100644 --- a/tests/expectations/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/integers/u64/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee", unrolled_ast = "8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee", ssa_ast = "067f4c96209dac008749bb0cc4dcee6fa21bfd29d48632adccc0a2275cb1de0b", flattened_ast = "5cd4d7c64a6e61d634b1411cc165a803338eaf57cdad65bef53d49b44d2fe67d", destructured_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", inlined_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", dce_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", bytecode = "1e385f77b2a0d6c95fc6747906e33664cce2d0a97477de15da923d515c2747b7", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee", unrolled_ast = "8a9752eb66c0a1658312a30a373f63b1a334c02f7c7d61ac457b1a31f9425dee", ssa_ast = "067f4c96209dac008749bb0cc4dcee6fa21bfd29d48632adccc0a2275cb1de0b", flattened_ast = "5cd4d7c64a6e61d634b1411cc165a803338eaf57cdad65bef53d49b44d2fe67d", destructured_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", inlined_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", dce_ast = "01f218583ba7585d4b55bd87f64adc67cccb226e2826ac477361c333ba7a1a9f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/hex_and_bin.out b/tests/expectations/compiler/integers/u64/hex_and_bin.out index 0c78e72018..7e13a83b0a 100644 --- a/tests/expectations/compiler/integers/u64/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u64/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "66703eae3479604c1a104dc3c3af1a26534eeffe6335c531fe469d81de678319", type_checked_symbol_table = "f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3", unrolled_symbol_table = "f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3", initial_ast = "3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595", unrolled_ast = "3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595", ssa_ast = "3d1f1c8bc39d267e379c50872cc3bcc33e560779b169afc0613378ac48a76f81", flattened_ast = "56ef2daacc74311d0d41443e80dd169f2e0298f5f32face6727494e1eb365216", destructured_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", inlined_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", dce_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", bytecode = "a08b4b1bd7545be176cf1810786db503dbd0ac4cbb76bba3a625daefa762e8ce", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "66703eae3479604c1a104dc3c3af1a26534eeffe6335c531fe469d81de678319", type_checked_symbol_table = "f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3", unrolled_symbol_table = "f04452b4c2a5db1ac0b43238630adb909715a44c615f9398fa39e6d147b49ca3", initial_ast = "3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595", unrolled_ast = "3df7b9a949257350f916becc6ed1f80661167308aa185a0c17c2a566ec76f595", ssa_ast = "3d1f1c8bc39d267e379c50872cc3bcc33e560779b169afc0613378ac48a76f81", flattened_ast = "56ef2daacc74311d0d41443e80dd169f2e0298f5f32face6727494e1eb365216", destructured_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", inlined_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", dce_ast = "af3214ef7b03eab5b77dd73e565704332c8b0d2243c74d08a69e31da10eb80b6", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + is.eq r0 127u64 into r3; + is.eq r1 27u64 into r4; + and r3 r4 into r5; + is.eq r2 21u64 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/le.out b/tests/expectations/compiler/integers/u64/le.out index 697f6082f6..c70876f4e8 100644 --- a/tests/expectations/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/integers/u64/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a", unrolled_ast = "c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a", ssa_ast = "b08c32c631655ec5466fd76ec3136a5ace7f41e2f1d1e5c9de27d11bb9328d70", flattened_ast = "76f534ff4047d50739405d442c7589f4a9548be0c5a5d835035a4827d77a9577", destructured_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", inlined_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", dce_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", bytecode = "8236ef7329613c24727637bdb29f45feb3ad59e82ed99249b8f5098b82922859", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a", unrolled_ast = "c0c899406c82cbfe3d6352eede5a511afa3473c5663c4e64368a8b8e329f737a", ssa_ast = "b08c32c631655ec5466fd76ec3136a5ace7f41e2f1d1e5c9de27d11bb9328d70", flattened_ast = "76f534ff4047d50739405d442c7589f4a9548be0c5a5d835035a4827d77a9577", destructured_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", inlined_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", dce_ast = "85a3e11380ee56add56c288b906af19a05681ff67631beee25d0841eb71f8be5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/lt.out b/tests/expectations/compiler/integers/u64/lt.out index dbc10ac07b..d076576e76 100644 --- a/tests/expectations/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/integers/u64/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3", unrolled_ast = "e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3", ssa_ast = "acb63bdb8b87fcb769b85637b378736501c6d1cac813d9847028edfd48597e5b", flattened_ast = "55b3541dccd06890419617b762c61120c45ea4fb6a9349be69bf2458ced092b9", destructured_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", inlined_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", dce_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", bytecode = "b436a196b7beab8b7a51791cc458801a2cd9498aeced74c07b81a7f1cc77e183", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3", unrolled_ast = "e2f7484c083cfc8b5e897bacb171e460df5065adb8f830b017679824cc9b28c3", ssa_ast = "acb63bdb8b87fcb769b85637b378736501c6d1cac813d9847028edfd48597e5b", flattened_ast = "55b3541dccd06890419617b762c61120c45ea4fb6a9349be69bf2458ced092b9", destructured_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", inlined_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", dce_ast = "60f53c3fa949dc9165eb7a26a6ff2799bfe567d0b516a306244b845843ea9496", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/max.out b/tests/expectations/compiler/integers/u64/max.out index 143ae49edf..90f9da24a3 100644 --- a/tests/expectations/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/integers/u64/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", unrolled_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", initial_ast = "956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592", unrolled_ast = "956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592", ssa_ast = "f36f9c462f2a1d2320879740b3d63eb5aea3e51371fa3531a1dfa560d18c9509", flattened_ast = "62e6a5732976a694b36b54674c5df40be9c342a57978cc747dd30572985d1f7b", destructured_ast = "24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da", inlined_ast = "24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da", dce_ast = "bd1b89b6865ff3f3c4fca13a17988ae9435547ebd36785f0fe6e1b793e6e81ef", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", unrolled_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", initial_ast = "956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592", unrolled_ast = "956c53f2f289c16531167b5f0afc4368d5e2cf0964dfec7889a182620913a592", ssa_ast = "f36f9c462f2a1d2320879740b3d63eb5aea3e51371fa3531a1dfa560d18c9509", flattened_ast = "62e6a5732976a694b36b54674c5df40be9c342a57978cc747dd30572985d1f7b", destructured_ast = "24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da", inlined_ast = "24a79b8884f2daa534fc0aceb7fe5e48cd2700dc40b1ae4ec5dd91c140dd55da", dce_ast = "bd1b89b6865ff3f3c4fca13a17988ae9435547ebd36785f0fe6e1b793e6e81ef", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/min.out b/tests/expectations/compiler/integers/u64/min.out index fcd09e242d..0f37a7e50b 100644 --- a/tests/expectations/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/integers/u64/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", unrolled_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", initial_ast = "a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc", unrolled_ast = "a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc", ssa_ast = "55b66a2773f898ed351344ce78aaf2ecc952ea8785bb7c517a4c754726efcacf", flattened_ast = "fd82660040db020b9022947daf2e43cfd8e6b5173b15c822d8fc0a06d1a2440b", destructured_ast = "622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09", inlined_ast = "622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", unrolled_symbol_table = "47b59a2169757b68d3be76ac7e5c58934ab1b8af794ad3b590491f1911abd83e", initial_ast = "a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc", unrolled_ast = "a5976f9d20813feafcb7ed300134782782234bdc8fc2b19504b43d42d31fdabc", ssa_ast = "55b66a2773f898ed351344ce78aaf2ecc952ea8785bb7c517a4c754726efcacf", flattened_ast = "fd82660040db020b9022947daf2e43cfd8e6b5173b15c822d8fc0a06d1a2440b", destructured_ast = "622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09", inlined_ast = "622650fcfac09e6cdd48999ad9e915a5b9c3b665ae00bf05599d3b44b6f63d09", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/mul.out b/tests/expectations/compiler/integers/u64/mul.out index 810062cc10..c3067f5734 100644 --- a/tests/expectations/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/integers/u64/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7", unrolled_ast = "d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7", ssa_ast = "5d1abfb1f06876b476ec7a25335bb21cb85d4e52e13295b379f25373f28a7bb1", flattened_ast = "031b82e778118a0bb460635c492c816b6829734c846079cf1c443923fb72cde7", destructured_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", inlined_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", dce_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", bytecode = "78f1462dd03f403c4a6d09ee9fe96c4a38f860069190d718a34416b68b9b5643", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7", unrolled_ast = "d626a36703c05f7909dca320c24da5cafd636f79d782d5adbef2a1aa617a8fc7", ssa_ast = "5d1abfb1f06876b476ec7a25335bb21cb85d4e52e13295b379f25373f28a7bb1", flattened_ast = "031b82e778118a0bb460635c492c816b6829734c846079cf1c443923fb72cde7", destructured_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", inlined_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", dce_ast = "56f9a6b1378e29eba30cbc3f2aa8bee17ffd795713c7b87344cd50b145ad8015", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/ne.out b/tests/expectations/compiler/integers/u64/ne.out index 8884d8b3de..5ab32edaa7 100644 --- a/tests/expectations/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/integers/u64/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9", unrolled_ast = "c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9", ssa_ast = "6ba2bcc27aaec94fbacfce0f00799f6a1c8e792ff2fb145953a942d0bc323a35", flattened_ast = "1aa11c36fbfcf526e0c0d83ec21135c507828be4ad32abfc02cba4672bdf3b7b", destructured_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", inlined_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", dce_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", bytecode = "a7b99df5f7c17bca61aa58a32b7dd8b1b4281302d545b2a88b8c162d1c52dbaa", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e1a0d909f4242d62f6ac15a8549867352bd8d0ee646a677e527fa369fd0e44e7", type_checked_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", unrolled_symbol_table = "64fd52b181ac67b20af9765717ad34e51fa695a7046496c694a3096e3764d384", initial_ast = "c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9", unrolled_ast = "c80e826d06c181c05109a8139b974819d97cf8efb2ed7ac70918e8e0b500c5b9", ssa_ast = "6ba2bcc27aaec94fbacfce0f00799f6a1c8e792ff2fb145953a942d0bc323a35", flattened_ast = "1aa11c36fbfcf526e0c0d83ec21135c507828be4ad32abfc02cba4672bdf3b7b", destructured_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", inlined_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", dce_ast = "add1724df1472080ce3fb86f7e10ed916ca60d33e3d5fb0b20de67c919b1cb5a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/integers/u64/operator_methods.out index 0202168e18..a470e30319 100644 --- a/tests/expectations/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/integers/u64/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494", type_checked_symbol_table = "16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716", unrolled_symbol_table = "16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716", initial_ast = "1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395", unrolled_ast = "1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395", ssa_ast = "5d774969b080819cb23ce4796c73ec5a7d214875a10b3699f37428863756cc25", flattened_ast = "4915277b235ae90c19075c267d7025f243f2f6476336c9ac84489cf3bd18e2c3", destructured_ast = "9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be", inlined_ast = "9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be", dce_ast = "a2c430c2dcd78b836f04d79a982090cd4ffe815738a7ce1ebe3ec0a5cb7e88a3", bytecode = "e5ef9b94c6b2173341804d3fd3d6ca89bcdebc38ed22f7444bb4e140d86f5f00", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "46f83711ec0f0f9b1ce58300f947283dc22d536a8a75bac7715800e936a39494", type_checked_symbol_table = "16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716", unrolled_symbol_table = "16f20bc1e332180e4a80917adf37342a8d174c078b23547f91e0ecb6ec3cf716", initial_ast = "1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395", unrolled_ast = "1ce14b439950f312dcaa33014d4802eaa4b3b2835770f0aa3e29db02c8f1e395", ssa_ast = "5d774969b080819cb23ce4796c73ec5a7d214875a10b3699f37428863756cc25", flattened_ast = "4915277b235ae90c19075c267d7025f243f2f6476336c9ac84489cf3bd18e2c3", destructured_ast = "9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be", inlined_ast = "9b4b42b22011073004a8ed3993f9be9c97c18ed79d062b63efe7e096833945be", dce_ast = "a2c430c2dcd78b836f04d79a982090cd4ffe815738a7ce1ebe3ec0a5cb7e88a3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/or.out b/tests/expectations/compiler/integers/u64/or.out index 91ab6bd78c..65c248d8d6 100644 --- a/tests/expectations/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/integers/u64/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d", unrolled_ast = "e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d", ssa_ast = "d43ecbee520bbc954201b7586c9b1af00fbc6be6494b50141f333d87c6002361", flattened_ast = "ecd6d169bb3013ea659ca6fca5c93a991f3d361008b1075d611c12c868b6f58a", destructured_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", inlined_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", dce_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", bytecode = "13cd83b19f077edfeb58e50adbd76dac67742cef9747f50f4bc4bdb3ec3dc38e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d", unrolled_ast = "e2834803a9267cc6c8dbac736ef9c633d825f0fe5e102d2d6cbdd0c9b50c485d", ssa_ast = "d43ecbee520bbc954201b7586c9b1af00fbc6be6494b50141f333d87c6002361", flattened_ast = "ecd6d169bb3013ea659ca6fca5c93a991f3d361008b1075d611c12c868b6f58a", destructured_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", inlined_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", dce_ast = "ce2eb882bad77eb0c6f6b90f79d104b43b3940b7393336f445d3cdfd75969779", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/pow.out b/tests/expectations/compiler/integers/u64/pow.out index 08372cac39..13e036b561 100644 --- a/tests/expectations/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/integers/u64/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe", unrolled_ast = "c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe", ssa_ast = "5a3040d98fd249dc56b3de2828138879c76a037e7437a743ab7b86cfea7df084", flattened_ast = "0dbf464b23ffe7411adecc1b2586d735cc6ac9da63d6a465330c5273ca0a9ab6", destructured_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", inlined_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", dce_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", bytecode = "d1aaa5f10bdbc9f2ea3144d83472c27d7f6d6ae31fa26196f320db6d7a9b0403", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe", unrolled_ast = "c33a9e7926812e3fc26c6dff0f7dfc379875d5fcc2b9bb1212fbaca641b01ffe", ssa_ast = "5a3040d98fd249dc56b3de2828138879c76a037e7437a743ab7b86cfea7df084", flattened_ast = "0dbf464b23ffe7411adecc1b2586d735cc6ac9da63d6a465330c5273ca0a9ab6", destructured_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", inlined_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", dce_ast = "cf23cdccd1f097998bf00b192c9abf9ba94f9c6c581796df75cc5ae66b4381c9", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + pow r0 2u8 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/rem.out b/tests/expectations/compiler/integers/u64/rem.out index 6dc0fcc4ee..03a3d6ee7a 100644 --- a/tests/expectations/compiler/integers/u64/rem.out +++ b/tests/expectations/compiler/integers/u64/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6", unrolled_ast = "1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6", ssa_ast = "da64a6818ac99c8f49202cf18d90551596c95d0bd29b8576c6edcd3587220e0d", flattened_ast = "e0456e0d7b4a21960712b144691a28714728ff64ef19d0c24df84b9f182e1d6f", destructured_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", inlined_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", dce_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", bytecode = "a9ad512e3741c4b6ee79435b76680783f4e9de0ae6720f3945fe03a8a4fd4d0d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6", unrolled_ast = "1a6a1c2e6e7477bb85cc1070ad53e8a66e45ee3f5d6c58011ebacc16f96ac1a6", ssa_ast = "da64a6818ac99c8f49202cf18d90551596c95d0bd29b8576c6edcd3587220e0d", flattened_ast = "e0456e0d7b4a21960712b144691a28714728ff64ef19d0c24df84b9f182e1d6f", destructured_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", inlined_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", dce_ast = "da92ddffc2273e1ff903bab72f6127e084fa3d3b89afa5a4d0dc70f201eab00b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/shl.out b/tests/expectations/compiler/integers/u64/shl.out index ac18835309..f922d5e9ef 100644 --- a/tests/expectations/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/integers/u64/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999", unrolled_ast = "c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999", ssa_ast = "71454fed4fa45517151318c18a8c5ad5850e435490178114bf88375fea35bc31", flattened_ast = "01c6c0a056c2f0af29cc5b5514e2e578e7fce060184f51c13e597e5dcb12cfe3", destructured_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", inlined_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", dce_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", bytecode = "d36e49eaf108a44b1c40155c909914f866e5ce509034c1ae630d22a37c702cba", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999", unrolled_ast = "c6675a42ca8be3a2e7d4b87c4107c498ccbb3f67aeba41390a47350ba6889999", ssa_ast = "71454fed4fa45517151318c18a8c5ad5850e435490178114bf88375fea35bc31", flattened_ast = "01c6c0a056c2f0af29cc5b5514e2e578e7fce060184f51c13e597e5dcb12cfe3", destructured_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", inlined_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", dce_ast = "d91a390548c201d0c456d281a36925eda46661ce5ed3d97496d914a1d19fa66a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + shl r0 2u8 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/shr.out b/tests/expectations/compiler/integers/u64/shr.out index 7bb17bbdda..8263b0da5a 100644 --- a/tests/expectations/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/integers/u64/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9", unrolled_ast = "6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9", ssa_ast = "cc4eb56c0d774b307222ed683227293cc60152ece904459de557dabcadf5b2bc", flattened_ast = "8119ff883bd63a4b5f7dca4517a34e9991e0e6100772418fce877cabcc3e135a", destructured_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", inlined_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", dce_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", bytecode = "58d1ec6467fbeb13930300da8864ec299ab548393dd572f1ccd4878a599873e2", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9", unrolled_ast = "6ce60849dae80365e48f7f9be6e08eb0e0bc5ca768c3124ebfa44d0959dcffa9", ssa_ast = "cc4eb56c0d774b307222ed683227293cc60152ece904459de557dabcadf5b2bc", flattened_ast = "8119ff883bd63a4b5f7dca4517a34e9991e0e6100772418fce877cabcc3e135a", destructured_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", inlined_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", dce_ast = "a6f7cd6a2a6e63045be371914c314fcd16581f15d76207b1092767f1ce27cd9a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + shr r0 2u8 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/sub.out b/tests/expectations/compiler/integers/u64/sub.out index a4d53d8ab3..0effcc53aa 100644 --- a/tests/expectations/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/integers/u64/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba", unrolled_ast = "b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba", ssa_ast = "f107cc7f828eeff9e367dc11309e071515b81a8c73179e566570b9bdb9eecb71", flattened_ast = "4385eaa0ec21b5d03b26907fa1d1873e57f34ac324d8a03741d292d3333c99df", destructured_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", inlined_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", dce_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", bytecode = "fe0eb66afc2af38ebf4fd30fa4eb0af15eda6be5302fb2a7470485b4536d06e4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca9e808c60ae417a4faa07a598f018c8b4548813a58a8b73020ebed87d3b5537", type_checked_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", unrolled_symbol_table = "578f57df100f4af6e07b970fd37b1d9b3a7ce8266a2028c4e04910459ae709e9", initial_ast = "b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba", unrolled_ast = "b0c7e43c348c58446bd6281876a87a105555dab7c33a09542a97d907a4a24bba", ssa_ast = "f107cc7f828eeff9e367dc11309e071515b81a8c73179e566570b9bdb9eecb71", flattened_ast = "4385eaa0ec21b5d03b26907fa1d1873e57f34ac324d8a03741d292d3333c99df", destructured_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", inlined_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", dce_ast = "1fb778c79b6439ad16cc30dd005f107de945b2894c09686527e897907c5381ce", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + input r2 as u64.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/ternary.out b/tests/expectations/compiler/integers/u64/ternary.out index fd5440eae7..12184c57f4 100644 --- a/tests/expectations/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/integers/u64/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "af5bb70010470d5714417095d2df855d9f9550a3f518dfd1b76ba620a5768bf5", type_checked_symbol_table = "5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc", unrolled_symbol_table = "5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc", initial_ast = "f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff", unrolled_ast = "f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff", ssa_ast = "5a0ed7c8d8363664d85f5133143d0b0e9b9af850c40bddaec9264591d52551a9", flattened_ast = "de73974d13be25bcbedea21425b238e0c1c3deb33937d04d448c1ac6db761349", destructured_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", inlined_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", dce_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", bytecode = "4e191316243b5f6fff5d47a3177f3ec59d72ce76b7f3d6d3aa0da615f67a4087", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "af5bb70010470d5714417095d2df855d9f9550a3f518dfd1b76ba620a5768bf5", type_checked_symbol_table = "5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc", unrolled_symbol_table = "5dcff0e5ed0315a1c7294749d25c0e05d976d7f69874cd7c036eb8645cadd0fc", initial_ast = "f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff", unrolled_ast = "f15e03a2b49db5406cd393f0c3a12930bfc147b4519d315e3efc33569aebfeff", ssa_ast = "5a0ed7c8d8363664d85f5133143d0b0e9b9af850c40bddaec9264591d52551a9", flattened_ast = "de73974d13be25bcbedea21425b238e0c1c3deb33937d04d448c1ac6db761349", destructured_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", inlined_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", dce_ast = "6e3391e5a6878b91b3aef1534b448e01e5234cfe8ec1a963eb6dc69afa3f8b74", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as u64.private; + input r2 as u64.private; + input r3 as u64.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u64/xor.out b/tests/expectations/compiler/integers/u64/xor.out index 6d7fe4db77..52d9ffcca1 100644 --- a/tests/expectations/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/integers/u64/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "669a9cf397a17bfcad5aea2b451b5ef5d131de5475e85baf0e2dac9148374af0", type_checked_symbol_table = "223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8", unrolled_symbol_table = "223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8", initial_ast = "5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d", unrolled_ast = "5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d", ssa_ast = "fd362a3a680eb691b892415a280cdaea38fd0224ce2a06ea5602aaf7e2fbaa84", flattened_ast = "ff979b5af09ffcc8cbd714599f1a6f62de56557be06335326347bb2cb5501a47", destructured_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", inlined_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", dce_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", bytecode = "cf0a59e484f688e214a001360e2b18445ca6764fbd6c05f133ff317504b3fb3c", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "669a9cf397a17bfcad5aea2b451b5ef5d131de5475e85baf0e2dac9148374af0", type_checked_symbol_table = "223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8", unrolled_symbol_table = "223e45a2fb8cbd9c8f790e4333e896b0b80cdff6ca08cb749f5ddf61bb30f6f8", initial_ast = "5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d", unrolled_ast = "5a6eed1c892828034d8d3641698fa9383046226002ec6b51695688bf72a3cd4d", ssa_ast = "fd362a3a680eb691b892415a280cdaea38fd0224ce2a06ea5602aaf7e2fbaa84", flattened_ast = "ff979b5af09ffcc8cbd714599f1a6f62de56557be06335326347bb2cb5501a47", destructured_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", inlined_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", dce_ast = "e82e70a8b82d692b2a6326c9107b1eca4a66a5a08bf9266188e804217482d092", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u64.private; + input r1 as u64.private; + xor r0 r1 into r2; + output r2 as u64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/add.out b/tests/expectations/compiler/integers/u8/add.out index 074c091272..8a59342369 100644 --- a/tests/expectations/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/integers/u8/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b", unrolled_ast = "efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b", ssa_ast = "5a22ca477d0589200efceae9b7f306a6aca6f4c43cf60e22dad998d201f599d2", flattened_ast = "e8f39ffb636b1c063bc8442b4629d7ab9edbe5aa82772e5bed7e1d900d363f89", destructured_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", inlined_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", dce_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", bytecode = "6761db493c28a4d597f857d8d63da1678bb9f4408795168fe82a841acf77f89e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b", unrolled_ast = "efd8945f46468594d9f9823bdea6eaf6cdf438fc6e9af15cf7a00ae5f3e5fb3b", ssa_ast = "5a22ca477d0589200efceae9b7f306a6aca6f4c43cf60e22dad998d201f599d2", flattened_ast = "e8f39ffb636b1c063bc8442b4629d7ab9edbe5aa82772e5bed7e1d900d363f89", destructured_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", inlined_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", dce_ast = "26be0626dd6e9b676c5a236694f46f32bb898608ed160a8f55de222720ce1a6a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/and.out b/tests/expectations/compiler/integers/u8/and.out index 58ac0da438..7d13eca8ab 100644 --- a/tests/expectations/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/integers/u8/and.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7", unrolled_ast = "e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7", ssa_ast = "9ad8195284adde626ee3db78e039f3824ce9424c573df26c0ec68520cb7bb78e", flattened_ast = "f45ba11eedd7083a3d1c3ab1eb1acb3b3a173f2aee6b204a1f43ba3a5dac64be", destructured_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", inlined_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", dce_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", bytecode = "31f37fed73b997c95b00e68369546c32ee9baeac9bc4c08113248156f68f7365", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7", unrolled_ast = "e909bdb5dbdc648ab2556a90dff321fb11f949493020f33208ba789af5ce4be7", ssa_ast = "9ad8195284adde626ee3db78e039f3824ce9424c573df26c0ec68520cb7bb78e", flattened_ast = "f45ba11eedd7083a3d1c3ab1eb1acb3b3a173f2aee6b204a1f43ba3a5dac64be", destructured_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", inlined_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", dce_ast = "682383148abda37b0be398b56029507256b31a468a2183364b3e546a1809cfbd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + and r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/integers/u8/console_assert.out index 149e897eff..d2d76d20bd 100644 --- a/tests/expectations/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/integers/u8/console_assert.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08", type_checked_symbol_table = "3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9", unrolled_symbol_table = "3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9", initial_ast = "47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e", unrolled_ast = "47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e", ssa_ast = "640a98b36b4c5ea20c36088b42ad7e4a93c32ba99e0112dec4ecf53eeda8ec43", flattened_ast = "f31dbae930ab5c189ac8ca8aa76b0cbb44e1f556bd31c8f2dfd5bbba2aadd8b7", destructured_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", inlined_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", dce_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", bytecode = "4c7bc1ae9e77f79475afa9f5201eefc0fe85291af17b3d746bd69336e42101a1", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08", type_checked_symbol_table = "3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9", unrolled_symbol_table = "3c2d1d87cae87c1be63cf801726eefb7d5e887949faedb3e46987d6c57105aa9", initial_ast = "47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e", unrolled_ast = "47081d44c755a295218e7353fba55f83ab2ef20f1cec6aa5653f54e8caeeab9e", ssa_ast = "640a98b36b4c5ea20c36088b42ad7e4a93c32ba99e0112dec4ecf53eeda8ec43", flattened_ast = "f31dbae930ab5c189ac8ca8aa76b0cbb44e1f556bd31c8f2dfd5bbba2aadd8b7", destructured_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", inlined_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", dce_ast = "69fbbda8e363473ed12d870794a4faf85b6c917414a0ba5ec5df4c8125a495ef", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + is.eq r0 r1 into r2; + assert.eq r2 true; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/div.out b/tests/expectations/compiler/integers/u8/div.out index e53a40fc73..4962fed3e8 100644 --- a/tests/expectations/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/integers/u8/div.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9", unrolled_ast = "4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9", ssa_ast = "2f3105be9a43e7f69e7ff541cad703fc208d6bd4ca2362f67836fd8b80bc7e54", flattened_ast = "318a16183e22c65e6c2bb06ca80d0edc59d68b276c845eec1fa79e9ea8904138", destructured_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", inlined_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", dce_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", bytecode = "632b53e1874bb592e38caef626784ecc81f0b250a76ed6ece1d92b0e3e07f0f3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9", unrolled_ast = "4c8d334e7f23456e163b26a4338e3e235ffa4349d3149a335974257ea8d213b9", ssa_ast = "2f3105be9a43e7f69e7ff541cad703fc208d6bd4ca2362f67836fd8b80bc7e54", flattened_ast = "318a16183e22c65e6c2bb06ca80d0edc59d68b276c845eec1fa79e9ea8904138", destructured_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", inlined_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", dce_ast = "6a21d0455eadb0f6ab7394e641358012afca0eb2fac23e293f2d0e8b89777f59", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + div r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/eq.out b/tests/expectations/compiler/integers/u8/eq.out index 7dcfc54c29..b96bb7f2f5 100644 --- a/tests/expectations/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/integers/u8/eq.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9", unrolled_ast = "efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9", ssa_ast = "7286508bf6566b68641d1be373ca823770588080d09b31653e732ce39f4b7a6d", flattened_ast = "f1d4d4124964d5fa2b4c302fff4de8e8208e8c451e69ed501556cbbd6042939c", destructured_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", inlined_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", dce_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", bytecode = "a8fabd0b697054bb6de3971dbb93d8a9fb228135f08372b2ae641bb32d670d62", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9", unrolled_ast = "efe60a9d0744836360db90baf7f6ead6165c7e890b2917494bbb1d0f7b04ffa9", ssa_ast = "7286508bf6566b68641d1be373ca823770588080d09b31653e732ce39f4b7a6d", flattened_ast = "f1d4d4124964d5fa2b4c302fff4de8e8208e8c451e69ed501556cbbd6042939c", destructured_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", inlined_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", dce_ast = "c392f08046f2227e11ed2cd6af8aa8c54897f7c7497fedabd1ee0d3be189831b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as boolean.private; + is.eq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/ge.out b/tests/expectations/compiler/integers/u8/ge.out index 7af1331ac5..e3a9053975 100644 --- a/tests/expectations/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/integers/u8/ge.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593", unrolled_ast = "0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593", ssa_ast = "bb375590f4ffe518b374a9684faf0a7ae3860fbbca5ddbd33d0aff01f23cc270", flattened_ast = "4bb471d022fa068e0f1e92cabc2a14a92fad07967afeea684f75a5dcfceaeaba", destructured_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", inlined_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", dce_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", bytecode = "f6c47583029e6e00d1d236422c0365a273e4da8dad6dabfb1fe6d1081dc03311", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593", unrolled_ast = "0643e6bb83c5813b9305374057f7dbcdda1c852d790b7e26b1c09282460aa593", ssa_ast = "bb375590f4ffe518b374a9684faf0a7ae3860fbbca5ddbd33d0aff01f23cc270", flattened_ast = "4bb471d022fa068e0f1e92cabc2a14a92fad07967afeea684f75a5dcfceaeaba", destructured_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", inlined_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", dce_ast = "750e038a3eea938df2761d40fae0112410a4378631a4dc2749b5daad0711f106", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as boolean.private; + gte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/gt.out b/tests/expectations/compiler/integers/u8/gt.out index 5cdaf8fe80..27e797718d 100644 --- a/tests/expectations/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/integers/u8/gt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60", unrolled_ast = "fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60", ssa_ast = "172c125113dd9fc2cc2d24e2d42b7796e4ad752190df6b235907c4c1c590d26a", flattened_ast = "a8aed6d7d6ebd92844e024f33600d95320c22166f0275b0c9e181d0a6ea11758", destructured_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", inlined_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", dce_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", bytecode = "33459897e4a71fffb71fcfaead0d591ef888473dd61c5c1b83465aa7f99c7f69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60", unrolled_ast = "fb2758cc8f6c7f919b14cb9e58ace37e347b7fdb90be187a0408fc122199fb60", ssa_ast = "172c125113dd9fc2cc2d24e2d42b7796e4ad752190df6b235907c4c1c590d26a", flattened_ast = "a8aed6d7d6ebd92844e024f33600d95320c22166f0275b0c9e181d0a6ea11758", destructured_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", inlined_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", dce_ast = "bc1b26020572bdbf518fbfded66b75e2f4df0b92051fc66538b6586c19b0c9fe", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as boolean.private; + gt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/hex_and_bin.out b/tests/expectations/compiler/integers/u8/hex_and_bin.out index afde2e13de..77f022c560 100644 --- a/tests/expectations/compiler/integers/u8/hex_and_bin.out +++ b/tests/expectations/compiler/integers/u8/hex_and_bin.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "1cdb916e552080097fc5fac0315c0c26ad6f8e64298d5f2c5dec31e3195406ce", type_checked_symbol_table = "e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec", unrolled_symbol_table = "e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec", initial_ast = "b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06", unrolled_ast = "b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06", ssa_ast = "c15ee60086ba634ffb14afce5bc0378bf33a198ca56ebadf0a9380d7ee895795", flattened_ast = "a2136e43cf3e1235a40387555ace7ca559b7923a5b809260ccd255ee7f8e33d2", destructured_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", inlined_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", dce_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", bytecode = "4087f327f8f99a0514961355a1a8514c5983a95570949196a5280d316be23918", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "1cdb916e552080097fc5fac0315c0c26ad6f8e64298d5f2c5dec31e3195406ce", type_checked_symbol_table = "e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec", unrolled_symbol_table = "e026cff131c6f99e5a5ad44e91c6632cc152a7b033f95a8d0db4e11e542c60ec", initial_ast = "b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06", unrolled_ast = "b8cc190f7b48840e1fbfc2651bbb60295885720fdf727e3234ba79d638ce9d06", ssa_ast = "c15ee60086ba634ffb14afce5bc0378bf33a198ca56ebadf0a9380d7ee895795", flattened_ast = "a2136e43cf3e1235a40387555ace7ca559b7923a5b809260ccd255ee7f8e33d2", destructured_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", inlined_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", dce_ast = "d13fe0de2e45342eb60610bc55821b0dc9f5d3786c3e503891a034544dd3468f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + is.eq r0 127u8 into r3; + is.eq r1 27u8 into r4; + and r3 r4 into r5; + is.eq r2 21u8 into r6; + and r5 r6 into r7; + output r7 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/le.out b/tests/expectations/compiler/integers/u8/le.out index bd3b7e6ef4..9454a6c79e 100644 --- a/tests/expectations/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/integers/u8/le.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f", unrolled_ast = "40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f", ssa_ast = "bc8eb1e49a60a35068ca83212e377b9f036d21e33be2afb400c985c5d725e29a", flattened_ast = "308db0e049dabca214fd07a84b47b12513b5e0f4ecd709bb0f489a4c21beb6bc", destructured_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", inlined_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", dce_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", bytecode = "4e59b997e48f430720d435483ba0e45c45df4be732f87661f59f7f6b87331c30", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f", unrolled_ast = "40fd0b9fee40db3931426f77ba6151140b10e04642564781568a1ad8c5ca2b2f", ssa_ast = "bc8eb1e49a60a35068ca83212e377b9f036d21e33be2afb400c985c5d725e29a", flattened_ast = "308db0e049dabca214fd07a84b47b12513b5e0f4ecd709bb0f489a4c21beb6bc", destructured_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", inlined_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", dce_ast = "8b966c6b600900ed36d4ca25106f9304e2e3386d0eb285199bed89b9a8369d49", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as boolean.private; + lte r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/lt.out b/tests/expectations/compiler/integers/u8/lt.out index 719f3f702f..fa8742a618 100644 --- a/tests/expectations/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/integers/u8/lt.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf", unrolled_ast = "de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf", ssa_ast = "0643a094ef54eb43c0f81b2662953dc25080c26c3dc7e0a0673a398c2a0956d7", flattened_ast = "309de39adb3e4f3a44fb80f5b78ebf52ee323138ad3ade323b6fbd2268e2fddd", destructured_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", inlined_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", dce_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", bytecode = "a785c0d8cfd6988cde7a87a968cf8aa87ac982a4c4aef53474348c4e0525d714", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf", unrolled_ast = "de77df23c9d30e71d986f8104d6b6e6b0bbd9b76ff5a10f291f3a3d5dbb6abbf", ssa_ast = "0643a094ef54eb43c0f81b2662953dc25080c26c3dc7e0a0673a398c2a0956d7", flattened_ast = "309de39adb3e4f3a44fb80f5b78ebf52ee323138ad3ade323b6fbd2268e2fddd", destructured_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", inlined_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", dce_ast = "19d1f616371dd930005d037dcde64bdcd86184a2072525dfcf3f18a5cbb96acd", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as boolean.private; + lt r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/max.out b/tests/expectations/compiler/integers/u8/max.out index d080e21320..dccb76ee86 100644 --- a/tests/expectations/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/integers/u8/max.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", unrolled_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", initial_ast = "c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1", unrolled_ast = "c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1", ssa_ast = "36f8c6c4f5ed46d53f7eedc714911c750325d675bb9829c0bb5dd15452b7e4a4", flattened_ast = "653e3db30ecb3b12429d834b689381bc0a12ac396efc0db0fac5f89ceef3a1a6", destructured_ast = "f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee", inlined_ast = "f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", unrolled_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", initial_ast = "c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1", unrolled_ast = "c3508c18ae8d14551c16d04598a3a7d99e1233ba889445cf66f577c0fddb7ee1", ssa_ast = "36f8c6c4f5ed46d53f7eedc714911c750325d675bb9829c0bb5dd15452b7e4a4", flattened_ast = "653e3db30ecb3b12429d834b689381bc0a12ac396efc0db0fac5f89ceef3a1a6", destructured_ast = "f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee", inlined_ast = "f2d92eba1c890168175bb4715cde6febb6ad602b8cb605405c9f658f85bdb9ee", dce_ast = "0c7cb8dbac921c14c7385c82a94c1a455955b24d2ff05266ecc377271e33d840", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/min.out b/tests/expectations/compiler/integers/u8/min.out index 610c2ce7ba..e2de74013f 100644 --- a/tests/expectations/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/integers/u8/min.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", unrolled_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", initial_ast = "a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65", unrolled_ast = "a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65", ssa_ast = "d54853e18230d2740892c0083a97cc565308e1171e3500c89483b7ccd62a3c7e", flattened_ast = "da76c303feaf9ad401296149667476a341fa65903303afd30f5716865705f66f", destructured_ast = "294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7", inlined_ast = "294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7", dce_ast = "0bc8cae6ca98dfaf17462949c63c9f345e408eb984fdffceb4d0dab8b42fd3a4", bytecode = "651a250bda995df00cf3b4659d1ea35912ed94da32b5d487677dead9126b5d69", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5c8eeb1dd1d925fcdaecdea92ba33ee89bf509985db403cac215247ed7d92df3", type_checked_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", unrolled_symbol_table = "ad2b49d351b85fde3bc41929dd95833b55f502b8e4e959410f87d00bc8c7ddc2", initial_ast = "a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65", unrolled_ast = "a018e426bc5cab366221fa414eab493659580ad2e921f995a672e9d4da428a65", ssa_ast = "d54853e18230d2740892c0083a97cc565308e1171e3500c89483b7ccd62a3c7e", flattened_ast = "da76c303feaf9ad401296149667476a341fa65903303afd30f5716865705f66f", destructured_ast = "294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7", inlined_ast = "294595925805ebd757cfc09a42ae7da1c89999f6282f9df42e7a36344baf58e7", dce_ast = "0bc8cae6ca98dfaf17462949c63c9f345e408eb984fdffceb4d0dab8b42fd3a4", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + is.eq r0 true into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/mul.out b/tests/expectations/compiler/integers/u8/mul.out index 7374e69742..5ea16bb0a1 100644 --- a/tests/expectations/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/integers/u8/mul.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f", unrolled_ast = "ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f", ssa_ast = "4da2f93656d5412136e06f5e3ed8a983de027b440b5c9e5a1ee863d433b80ec8", flattened_ast = "eca9c08535955193f1c019bf8a25e6bf86a97bc80905f7c14cf40cbc81f42721", destructured_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", inlined_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", dce_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", bytecode = "937e45d26a72a2f9c73609facb8351023ac2bd00390e289501ad3729b65adbb4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f", unrolled_ast = "ed43019e69455cd6b28b6a757d2a70647da59bab4080a8ebf176bb4624cd656f", ssa_ast = "4da2f93656d5412136e06f5e3ed8a983de027b440b5c9e5a1ee863d433b80ec8", flattened_ast = "eca9c08535955193f1c019bf8a25e6bf86a97bc80905f7c14cf40cbc81f42721", destructured_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", inlined_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", dce_ast = "f53c5a238654a4f97eb5b55a3586d705cc9d560a31fb9e19c64effa627ede502", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + mul r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/ne.out b/tests/expectations/compiler/integers/u8/ne.out index 385e54d117..d2b3f32c40 100644 --- a/tests/expectations/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/integers/u8/ne.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556", unrolled_ast = "525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556", ssa_ast = "2c2e46313fd92c5d16efe070c79bc95ea949995fffc2cead3770dd23b45f3819", flattened_ast = "24321e650b55978a239f9bb25607ef6c1355a6e62158f142577041df17dc64da", destructured_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", inlined_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", dce_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", bytecode = "675110e460b707b82a70a488ae58b8d118d946909f825c9afd6121254e676c03", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cc55846945599771446b5f9d775fcdbb516ff7332077826a0b39b01465cd0e68", type_checked_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", unrolled_symbol_table = "a3bad889932cf3f215502129c78064e237f358979a5da7cccd3ed04329ab43d9", initial_ast = "525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556", unrolled_ast = "525b4f5cbbc73233778821608fb9b9814b0b5353a60da19674bcd54f6ec5b556", ssa_ast = "2c2e46313fd92c5d16efe070c79bc95ea949995fffc2cead3770dd23b45f3819", flattened_ast = "24321e650b55978a239f9bb25607ef6c1355a6e62158f142577041df17dc64da", destructured_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", inlined_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", dce_ast = "9100bf8d876cf667a47e215a4829335f218df64a34cdb00c12bc24376ea87022", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as boolean.private; + is.neq r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/integers/u8/operator_methods.out index 1fd83bb9ce..fcf369d0d0 100644 --- a/tests/expectations/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/integers/u8/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08", type_checked_symbol_table = "949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542", unrolled_symbol_table = "949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542", initial_ast = "e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e", unrolled_ast = "e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e", ssa_ast = "d713cc8f14e36e0134521ffd687dfd398af38643efb5c7205bad1974a20605f5", flattened_ast = "93eabab2793b715e24f4d1f83e5adaadeb1ed0eaf6f43f0425d5f96f21a11eea", destructured_ast = "477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636", inlined_ast = "477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636", dce_ast = "2a0caf9aaf58b071308418fc46f96b1393f7646ca329bc6676e860357699ce3b", bytecode = "525aa7ee628bc18ddc77b4d2c0f21cc66858ecbdd517233862c7ba491158c69f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "6f4c9f96c16df23aea5368162160fd3c931c128c3afe6b8c02097da023c54f08", type_checked_symbol_table = "949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542", unrolled_symbol_table = "949c4f71dbc9556a07c9a4ef06a8217d456c5a689913511d4b733ab286321542", initial_ast = "e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e", unrolled_ast = "e8c1ffed1513ed588bad03e97e624a52cae280d87167bf79d62569423c72180e", ssa_ast = "d713cc8f14e36e0134521ffd687dfd398af38643efb5c7205bad1974a20605f5", flattened_ast = "93eabab2793b715e24f4d1f83e5adaadeb1ed0eaf6f43f0425d5f96f21a11eea", destructured_ast = "477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636", inlined_ast = "477abaf1bee32aa6df5740ab665a24eb4d1acccedf3dcab8eda0d0678558f636", dce_ast = "2a0caf9aaf58b071308418fc46f96b1393f7646ca329bc6676e860357699ce3b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/or.out b/tests/expectations/compiler/integers/u8/or.out index 2165008773..44ed8d2cdc 100644 --- a/tests/expectations/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/integers/u8/or.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a", unrolled_ast = "1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a", ssa_ast = "adb1a67facd1eb1741d2f626bdca3da90e2e2ed221fc1b635bb7ab69cb4e023b", flattened_ast = "926cb2a9223bb8a17394382106ee92296a60bd306b9fe920bae41ed1bc4cd075", destructured_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", inlined_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", dce_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", bytecode = "dc659eaf16fad4225b86c68e2986ec498a85bfa9f34ad54a538119692169d54d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a", unrolled_ast = "1a7f6c1c3f98662d3b6a3fd089fd2f6b20d34abdfbec1a49643472cedef0d39a", ssa_ast = "adb1a67facd1eb1741d2f626bdca3da90e2e2ed221fc1b635bb7ab69cb4e023b", flattened_ast = "926cb2a9223bb8a17394382106ee92296a60bd306b9fe920bae41ed1bc4cd075", destructured_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", inlined_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", dce_ast = "68e5ab9b1d9b3d32726794d7833f73188cece1b1135edb294df1e12b3b69cab7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + or r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/pow.out b/tests/expectations/compiler/integers/u8/pow.out index 5fe8b761e0..4d3b94e507 100644 --- a/tests/expectations/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/integers/u8/pow.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c", unrolled_ast = "f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c", ssa_ast = "d10b4e91b0812ee3dc4ee539b3df719daabf4ed787cd44b88035a478d8d975e2", flattened_ast = "3dcc11151452fca7564b8302f27e9aec0e7345e3a90a54f2d137dd82369368ba", destructured_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", inlined_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", dce_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", bytecode = "6f39595f71ec6b6a1a2c622b9c18785cb99323fe027c8cd95d4f49a20b875f39", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c", unrolled_ast = "f64c57645544504908fd420401e6de4078f365ef88735d56efd731709703000c", ssa_ast = "d10b4e91b0812ee3dc4ee539b3df719daabf4ed787cd44b88035a478d8d975e2", flattened_ast = "3dcc11151452fca7564b8302f27e9aec0e7345e3a90a54f2d137dd82369368ba", destructured_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", inlined_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", dce_ast = "62f0c6a6acd7189238bf3e22c4225d04f2880db115d9ebdab8b9b893b354965d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + pow r0 r1 into r3; + pow r0 2u16 into r4; + is.eq r3 r4 into r5; + pow r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/rem.out b/tests/expectations/compiler/integers/u8/rem.out index 64b7bdfa99..0519be0516 100644 --- a/tests/expectations/compiler/integers/u8/rem.out +++ b/tests/expectations/compiler/integers/u8/rem.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789", unrolled_ast = "d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789", ssa_ast = "a86b4de1b11faae94992887f1354892875a970a0f516dfd52a81fcb2d025dc30", flattened_ast = "d21f0e6859f7df648546a64f092fa55ea8de0bd34c384c94482c9505113805bc", destructured_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", inlined_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", dce_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", bytecode = "eb0766ef7942b5b5f50c4778d1d82479583761acb0d4e903ca3b4998e9036ce8", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789", unrolled_ast = "d880d339baa9129adc8ac81aab9288cc026d355e88d06cce937a1f8f29d70789", ssa_ast = "a86b4de1b11faae94992887f1354892875a970a0f516dfd52a81fcb2d025dc30", flattened_ast = "d21f0e6859f7df648546a64f092fa55ea8de0bd34c384c94482c9505113805bc", destructured_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", inlined_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", dce_ast = "010d8bd5cba0069cdceb16f85cc6cd0014cf33f7c3e1b44d135977be6985156a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + rem r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/shl.out b/tests/expectations/compiler/integers/u8/shl.out index a29cc1dce9..436cf91e90 100644 --- a/tests/expectations/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/integers/u8/shl.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff", unrolled_ast = "70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff", ssa_ast = "420c47b231cabf5a72d44876e586b3664e25117d0c0fff2193ea742aad8bf7e3", flattened_ast = "e2769117b43b0657848f5d87255237bd08416a906ba4cc70732c88a763348944", destructured_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", inlined_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", dce_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", bytecode = "c080998e39be58c165d147352fed55e49828e93d487976c27e4e6e160736f4f6", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff", unrolled_ast = "70a3fd65c6782b5b52882740d884944b32ac31377d33cb0bcb9ee3f2f72332ff", ssa_ast = "420c47b231cabf5a72d44876e586b3664e25117d0c0fff2193ea742aad8bf7e3", flattened_ast = "e2769117b43b0657848f5d87255237bd08416a906ba4cc70732c88a763348944", destructured_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", inlined_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", dce_ast = "c4f4f089a4c8a65a9357543124cfe5d343f4a625b82f76d64e05ddf88d0eca1d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + shl r0 r1 into r3; + shl r0 2u16 into r4; + is.eq r3 r4 into r5; + shl r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/shr.out b/tests/expectations/compiler/integers/u8/shr.out index c2a017be31..bce716a119 100644 --- a/tests/expectations/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/integers/u8/shr.out @@ -1,3 +1,19 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688", unrolled_ast = "5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688", ssa_ast = "d445dfdd82c5b59b35cef5fab2dce4c866de20ba6842d3a0ff80d8976401af3e", flattened_ast = "3d044accb3b67b38bbeb2c309efdbe30409fe00253d05f1b5746ab4d7a1d184e", destructured_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", inlined_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", dce_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", bytecode = "115a3954fe97b0bf052859b3e2060732a5988a738e33e38fa9fc6124009a3df1", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688", unrolled_ast = "5ccb98ce2533409a6733bbcfd21a5358af468694bcca3db568aeac69864ef688", ssa_ast = "d445dfdd82c5b59b35cef5fab2dce4c866de20ba6842d3a0ff80d8976401af3e", flattened_ast = "3d044accb3b67b38bbeb2c309efdbe30409fe00253d05f1b5746ab4d7a1d184e", destructured_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", inlined_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", dce_ast = "2418682bc653703e0b3334345ef7125030779887b9efbfd962009c53bb19c430", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + shr r0 r1 into r3; + shr r0 2u16 into r4; + is.eq r3 r4 into r5; + shr r0 2u32 into r6; + is.eq r6 r2 into r7; + and r5 r7 into r8; + output r8 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/sub.out b/tests/expectations/compiler/integers/u8/sub.out index 0958753390..aa46f27ebe 100644 --- a/tests/expectations/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/integers/u8/sub.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc", unrolled_ast = "824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc", ssa_ast = "d573d5af3b5bb1081b8c8406574b2f752f3526d483cefa6bfc2bd5b1513fe782", flattened_ast = "fbf957bd45a50337d49b9f70e2637587d3b1eea5681d94e948f9c6edef0bf8cc", destructured_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", inlined_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", dce_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", bytecode = "000488241130473cec7bf53df1dc0bdab4ae452ab173fe563a9b9311c73f35fe", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f88925277e24e4f6b673869c481feb4d742933c80edf1c56952732a2bb411039", type_checked_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", unrolled_symbol_table = "a34529dcb7557634cb025c4df9ff5fc5fc6820bb8430d5135ca6ca42d0412be3", initial_ast = "824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc", unrolled_ast = "824e47c11cf0eb055b8f2533e6988c286f937322b534d121a7c45e376d69e1dc", ssa_ast = "d573d5af3b5bb1081b8c8406574b2f752f3526d483cefa6bfc2bd5b1513fe782", flattened_ast = "fbf957bd45a50337d49b9f70e2637587d3b1eea5681d94e948f9c6edef0bf8cc", destructured_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", inlined_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", dce_ast = "2c3833e2c2e834d3e6bfe80115566685e4302597df4359b21d41ed62d9edbf83", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u8.private; + sub r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/ternary.out b/tests/expectations/compiler/integers/u8/ternary.out index 64dfb49517..1fee8167ea 100644 --- a/tests/expectations/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/integers/u8/ternary.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "67e1ac58bc6d8ce06e8ec25c0e8d9a7e221c41a0415e4d5f9309d4f33c0091f9", type_checked_symbol_table = "11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1", unrolled_symbol_table = "11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1", initial_ast = "9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4", unrolled_ast = "9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4", ssa_ast = "ad89269d5ffddeee6dbd3b063c49943c4af977199276d6309421c7412a01ab9e", flattened_ast = "2010515a7bc92204dc4454a17ffd5cb98aa60a32631855fa6bf4cdaae049678a", destructured_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", inlined_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", dce_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", bytecode = "070a1a31af23c4436a8adf74befb9bae19c60a73da4ca1b8c295213c0505b1cb", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "67e1ac58bc6d8ce06e8ec25c0e8d9a7e221c41a0415e4d5f9309d4f33c0091f9", type_checked_symbol_table = "11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1", unrolled_symbol_table = "11f0a336bd276d3c594a28c8cc95acd6a0f2bd671d24f8a1528f6f1787ccbdc1", initial_ast = "9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4", unrolled_ast = "9d29a4aab227ba40a50d474f4b5eda0eca3522da3a9d29bba53a93b7f219e5d4", ssa_ast = "ad89269d5ffddeee6dbd3b063c49943c4af977199276d6309421c7412a01ab9e", flattened_ast = "2010515a7bc92204dc4454a17ffd5cb98aa60a32631855fa6bf4cdaae049678a", destructured_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", inlined_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", dce_ast = "f858ae95f2d44ddf1bc90575ef71763b604f4033acdecf7a806d6ab960a62836", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as u8.private; + input r2 as u8.private; + input r3 as u8.private; + ternary r0 r1 r2 into r4; + is.eq r4 r3 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/integers/u8/xor.out b/tests/expectations/compiler/integers/u8/xor.out index f6447f7d3d..f6260f70fb 100644 --- a/tests/expectations/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/integers/u8/xor.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "9a7335728c9c2916ffec02c5773295c85587186351586b312a2f1fa6e9362477", type_checked_symbol_table = "2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96", unrolled_symbol_table = "2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96", initial_ast = "048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc", unrolled_ast = "048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc", ssa_ast = "96d4ac73b5fcbbd215ce960babbd01cc756b6eccf290f48ae34ba54c2d9e3906", flattened_ast = "d93817a88d0ced580beafd9da4398606d565905977bcb4eea14aa43f87e8dc68", destructured_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", inlined_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", dce_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", bytecode = "a4c6a3559c050f7e666b347ea9cedd29ef60140d4bee54d145160726d4c31880", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "9a7335728c9c2916ffec02c5773295c85587186351586b312a2f1fa6e9362477", type_checked_symbol_table = "2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96", unrolled_symbol_table = "2033ced3a0f0af84c458d4b1f3860ba90bb73b0cef7ee66e2abae2eb78a3ee96", initial_ast = "048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc", unrolled_ast = "048fdc23e6dacc97e6e34d92f62a4c2737e55d2dfd780af6d50a01b6e8fd55bc", ssa_ast = "96d4ac73b5fcbbd215ce960babbd01cc756b6eccf290f48ae34ba54c2d9e3906", flattened_ast = "d93817a88d0ced580beafd9da4398606d565905977bcb4eea14aa43f87e8dc68", destructured_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", inlined_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", dce_ast = "0a7a26f8943031e6d8642a0271ce49322aaf3365035a57641a0b351a88912e77", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + xor r0 r1 into r2; + output r2 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/mappings/max_mappings.out b/tests/expectations/compiler/mappings/max_mappings.out index c07439a80b..59b3b19ae2 100644 --- a/tests/expectations/compiler/mappings/max_mappings.out +++ b/tests/expectations/compiler/mappings/max_mappings.out @@ -1,3 +1,165 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "31996f72ace053dcaa3beb2ec60de78fcade8e4047cf92897dfd244f210987f7", type_checked_symbol_table = "64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0", unrolled_symbol_table = "64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0", initial_ast = "dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b", unrolled_ast = "dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b", ssa_ast = "01a69ccd470b48c3d60c9928922b5c2ed2f0fe0405ab3d0ce95ea64d80155027", flattened_ast = "ec2b075dc39d494b448c04fd5bbd19e8a7503cfea823da12ee33464d8e67d0a1", destructured_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", inlined_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", dce_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", bytecode = "510d9a029bd4900c2278ae7b0d1a7a595b0bd6bae6e362e7bf3ca900ef8bdc8d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "31996f72ace053dcaa3beb2ec60de78fcade8e4047cf92897dfd244f210987f7", type_checked_symbol_table = "64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0", unrolled_symbol_table = "64be9ee1773f9450cf04c18cbf377102aab7c0aba277e7c036c770ab8614b5f0", initial_ast = "dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b", unrolled_ast = "dab4c349df7b581a19b258e289107e94355ce3d848801372999cacc807ddeb7b", ssa_ast = "01a69ccd470b48c3d60c9928922b5c2ed2f0fe0405ab3d0ce95ea64d80155027", flattened_ast = "ec2b075dc39d494b448c04fd5bbd19e8a7503cfea823da12ee33464d8e67d0a1", destructured_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", inlined_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", dce_ast = "28d0ece5659e9c3d8dae3bc9f5e2181730dd52d4d00575553fb62879c2252c4c", bytecode = """ +program test.aleo; + + + +mapping one: +\tkey as field.public; +\tvalue as field.public; + + +mapping two: +\tkey as field.public; +\tvalue as field.public; + + +mapping three: +\tkey as field.public; +\tvalue as field.public; + + +mapping four: +\tkey as field.public; +\tvalue as field.public; + + +mapping five: +\tkey as field.public; +\tvalue as field.public; + + +mapping six: +\tkey as field.public; +\tvalue as field.public; + + +mapping seven: +\tkey as field.public; +\tvalue as field.public; + + +mapping eight: +\tkey as field.public; +\tvalue as field.public; + + +mapping nine: +\tkey as field.public; +\tvalue as field.public; + + +mapping ten: +\tkey as field.public; +\tvalue as field.public; + + +mapping eleven: +\tkey as field.public; +\tvalue as field.public; + + +mapping twelve: +\tkey as field.public; +\tvalue as field.public; + + +mapping thirteen: +\tkey as field.public; +\tvalue as field.public; + + +mapping fourteen: +\tkey as field.public; +\tvalue as field.public; + + +mapping fifteen: +\tkey as field.public; +\tvalue as field.public; + + +mapping sixteen: +\tkey as field.public; +\tvalue as field.public; + + +mapping seventeen: +\tkey as field.public; +\tvalue as field.public; + + +mapping eighteen: +\tkey as field.public; +\tvalue as field.public; + + +mapping nineteen: +\tkey as field.public; +\tvalue as field.public; + + +mapping twenty: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentyone: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentytwo: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentythree: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentyfour: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentyfive: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentysix: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentyseven: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentyeight: +\tkey as field.public; +\tvalue as field.public; + + +mapping twentynine: +\tkey as field.public; +\tvalue as field.public; + + +mapping thirty: +\tkey as field.public; +\tvalue as field.public; + + +mapping thirtyone: +\tkey as field.public; +\tvalue as field.public; + +function foo: + add 1u8 1u8 into r0; + output r0 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/mappings/read_external_mapping.out b/tests/expectations/compiler/mappings/read_external_mapping.out index 7f2479a64a..85da0bc130 100644 --- a/tests/expectations/compiler/mappings/read_external_mapping.out +++ b/tests/expectations/compiler/mappings/read_external_mapping.out @@ -1,6 +1,78 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "bb82e4231a0fb50294a05c94943d9fcdb45f636c32365684d2d329b895b55955", type_checked_symbol_table = "ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c", unrolled_symbol_table = "ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c", initial_ast = "f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf", unrolled_ast = "f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf", ssa_ast = "16bbfc985f7b340af00f48be7c87cce9fa9deec2517f8e1e51d0a9b90a54fd52", flattened_ast = "327b3263d448da3866ca22b11e845307bea00b77a5854b3c498b3dab8ce31fd2", destructured_ast = "7b13016d5303ea0ba1a9808c08ae7ffa7bd9433cc1c92bd981407291fca91e5d", inlined_ast = "c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd", dce_ast = "c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd", bytecode = "112afa595f98c7a5f0143c80c5f809c04e64da735f5965e21fca7d147470705b", errors = "", warnings = "" }, - { initial_symbol_table = "23d4f67793776c110bfd4cc47d98dedde4495edb453c82f6b06718a8cdbc7f6d", type_checked_symbol_table = "f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd", unrolled_symbol_table = "f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd", initial_ast = "9cc519cc416b2f54ecf753c541196b337f359d42616e4f38b8d9a5a86746de41", unrolled_ast = "4f5beff4969ba9db8b429435d2a6a6133eed2e8718564073fefa76ed4db76381", ssa_ast = "012d0c07475a7e03d3898338aa2a91b56d77032978437b17c9337a5001ae5249", flattened_ast = "e391d1d2c6731ec8961afe91d8fa94fb9edb091b892ddecfa48ce3f5a6febe8e", destructured_ast = "26f202a3d6a24f0af49542d0f2c29c635314073b2d52ede163d3ab5e5bcc86fa", inlined_ast = "72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798", dce_ast = "72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798", bytecode = "885815a86613c757d67c00e8c0c4e1530c543364841f05788564c486eaf24bb2", errors = "", warnings = "" }, + { initial_symbol_table = "bb82e4231a0fb50294a05c94943d9fcdb45f636c32365684d2d329b895b55955", type_checked_symbol_table = "ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c", unrolled_symbol_table = "ec996a9a76525329051b42462f7bfee41738e276636cf34c9a0661d70e7b733c", initial_ast = "f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf", unrolled_ast = "f2aaf1996d382c7333a733e4be37ea93c27a3ec58960af996b9f8645ebd27dcf", ssa_ast = "16bbfc985f7b340af00f48be7c87cce9fa9deec2517f8e1e51d0a9b90a54fd52", flattened_ast = "327b3263d448da3866ca22b11e845307bea00b77a5854b3c498b3dab8ce31fd2", destructured_ast = "7b13016d5303ea0ba1a9808c08ae7ffa7bd9433cc1c92bd981407291fca91e5d", inlined_ast = "c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd", dce_ast = "c45092530d55cad8153a244b85c022808dd2b11d4125d2d7f8ac7c83028fd9cd", bytecode = """ +program registry.aleo; + + + +mapping users: +\tkey as address.public; +\tvalue as boolean.public; + + +function register: + async register self.caller into r0; + output r0 as registry.aleo/register.future; + +finalize register: + input r0 as address.public; + set true into users[r0]; + + + + +function unregister: + async unregister self.caller into r0; + output r0 as registry.aleo/unregister.future; + +finalize unregister: + input r0 as address.public; + set false into users[r0]; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "23d4f67793776c110bfd4cc47d98dedde4495edb453c82f6b06718a8cdbc7f6d", type_checked_symbol_table = "f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd", unrolled_symbol_table = "f8c6d89c3ff7316d9a2e391c1a0d6c7f3f4ab2f45109b0dbd58b6ff424d854dd", initial_ast = "9cc519cc416b2f54ecf753c541196b337f359d42616e4f38b8d9a5a86746de41", unrolled_ast = "4f5beff4969ba9db8b429435d2a6a6133eed2e8718564073fefa76ed4db76381", ssa_ast = "012d0c07475a7e03d3898338aa2a91b56d77032978437b17c9337a5001ae5249", flattened_ast = "e391d1d2c6731ec8961afe91d8fa94fb9edb091b892ddecfa48ce3f5a6febe8e", destructured_ast = "26f202a3d6a24f0af49542d0f2c29c635314073b2d52ede163d3ab5e5bcc86fa", inlined_ast = "72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798", dce_ast = "72e4121a823f91aeeb5b8433f03f07943d174353d55f58a3aae111bc1bab0798", bytecode = """ +import registry.aleo; +program relay.aleo; + +record message: + owner as address.private; + data as u8.private; + + +mapping users: +\tkey as address.public; +\tvalue as boolean.public; + + +function send: + input r0 as address.private; + input r1 as u8.private; + cast r0 r1 into r2 as message.record; + async send r0 into r3; + output r2 as message.record; + output r3 as relay.aleo/send.future; + +finalize send: + input r0 as address.public; + get registry.aleo/users[r0] into r1; + assert.eq r1 true; + + + + +function send_without_check: + input r0 as address.private; + input r1 as u8.private; + cast r0 r1 into r2 as message.record; + async send_without_check r0 into r3; + output r2 as message.record; + output r3 as relay.aleo/send_without_check.future; + +finalize send_without_check: + input r0 as address.public; + get.or_use registry.aleo/users[r0] true into r1; + assert.eq r1 true; + +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/records/balance_wrong_ty.out b/tests/expectations/compiler/records/balance_wrong_ty.out index 72add953cf..659a908631 100644 --- a/tests/expectations/compiler/records/balance_wrong_ty.out +++ b/tests/expectations/compiler/records/balance_wrong_ty.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "1584cbfd87b06264331bf8fce8e6d9fa9652a14e0ef376e1f86f5024b6e52ce6", type_checked_symbol_table = "b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498", unrolled_symbol_table = "b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498", initial_ast = "50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4", unrolled_ast = "50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4", ssa_ast = "3888bd37ecff2f44e6c9a58733776106c605b73bee5d0b4a1bab339e6a65b3be", flattened_ast = "aaf0ea0bdf90947799366087c8e413a5f30a858beba355ea950a184aea190044", destructured_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", inlined_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", dce_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", bytecode = "7eb19e77781b95b995631c60dee18f7726d8dafe1cd7987c084700bb4f94349e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "1584cbfd87b06264331bf8fce8e6d9fa9652a14e0ef376e1f86f5024b6e52ce6", type_checked_symbol_table = "b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498", unrolled_symbol_table = "b3f6701a44924e31632e5f7e6f2fa621c03bc281d7641ef378d23ba10e6cb498", initial_ast = "50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4", unrolled_ast = "50c8f3bc8b9c2489558fcf575da4a1dc9da1583021452a38dd055fa622c239f4", ssa_ast = "3888bd37ecff2f44e6c9a58733776106c605b73bee5d0b4a1bab339e6a65b3be", flattened_ast = "aaf0ea0bdf90947799366087c8e413a5f30a858beba355ea950a184aea190044", destructured_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", inlined_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", dce_ast = "e82cd2eb56dd0b2bfc91c15dea7322e37d6be5ffeca0285d3ee78f57d8f498cb", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + add r0 r1 into r2; + output r2 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/declaration.out b/tests/expectations/compiler/records/declaration.out index 9982c46cbb..f3b7760c2c 100644 --- a/tests/expectations/compiler/records/declaration.out +++ b/tests/expectations/compiler/records/declaration.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7fa525bbbccab774e3f15cadb4b08ef0f3b58e40d1c02cd0e5242d35d19a3493", type_checked_symbol_table = "9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790", unrolled_symbol_table = "9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790", initial_ast = "219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8", unrolled_ast = "219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8", ssa_ast = "6ffb555f57267fd4ab803ed30fba27516b4aab0098a58a5a4da55ddbf7cc004c", flattened_ast = "8293489de0f0b563e1ed848260a741f20dee0b8caca7849d84de6c8d1aa1b5e3", destructured_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", inlined_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", dce_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", bytecode = "7eb19e77781b95b995631c60dee18f7726d8dafe1cd7987c084700bb4f94349e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7fa525bbbccab774e3f15cadb4b08ef0f3b58e40d1c02cd0e5242d35d19a3493", type_checked_symbol_table = "9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790", unrolled_symbol_table = "9281101270c690ce12d8b1457e8008d465e3489b0b7e9eed8db82bc954994790", initial_ast = "219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8", unrolled_ast = "219d864046c10b30d1e2aaa028e31f099d779436d370c4b6a5883021de58bdb8", ssa_ast = "6ffb555f57267fd4ab803ed30fba27516b4aab0098a58a5a4da55ddbf7cc004c", flattened_ast = "8293489de0f0b563e1ed848260a741f20dee0b8caca7849d84de6c8d1aa1b5e3", destructured_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", inlined_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", dce_ast = "b1c280356837bfdd1eabf96df4e80a172ae52dbaa90b610f610f3497046866bc", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + add r0 r1 into r2; + output r2 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/external_nested_record.out b/tests/expectations/compiler/records/external_nested_record.out index 6d2fa1a275..d013b47fe9 100644 --- a/tests/expectations/compiler/records/external_nested_record.out +++ b/tests/expectations/compiler/records/external_nested_record.out @@ -1,7 +1,32 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "b59a64e702cf908299e322a302bbff0b310c263353e4e2d40ac9c2cf55014e35", type_checked_symbol_table = "0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23", unrolled_symbol_table = "0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23", initial_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", unrolled_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", ssa_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", flattened_ast = "b8253c762a2456d82dd47c27018cac6d44083a9eaafafcd60e1b83f8b0d16aa1", destructured_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", inlined_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", dce_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", bytecode = "40ad5099cd6e309d5adbba30460c340377d555868e7a90c087c440f195339d16", errors = "", warnings = "" }, - { initial_symbol_table = "b5a798a81b37a96d61bce196fbe0f86bd73d66869e638eb56f53b47016add539", type_checked_symbol_table = "7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018", unrolled_symbol_table = "7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018", initial_ast = "3035438b326eef0eacc00dbe4829c09021b73a037709aa7c2a22860e5dd9a26a", unrolled_ast = "b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9", ssa_ast = "b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9", flattened_ast = "2311a42d662fc48ae0063d65e32035c349f709e2f7428b50f388ec6d2a3dbcaa", destructured_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", inlined_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", dce_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", bytecode = "083986d9c9e5b956838b3c35367b3a7c4dbf4eb5ab13e44de0d129e320089abe", errors = "", warnings = "" }, - { initial_symbol_table = "5b2736f499ffabe8a999fe80a7c8fa5eae6cf56b7b0ef4fe211a1cea4631061e", type_checked_symbol_table = "b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd", unrolled_symbol_table = "b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd", initial_ast = "a3ac974e10d37be232ec426fe64976ac2e2701d160d8777f4c92e177cf8e3140", unrolled_ast = "e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262", ssa_ast = "e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262", flattened_ast = "992fc3e592c2877917c17d95cda4c49941da939bbc09a8fcd2356f09fcc64dec", destructured_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", inlined_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", dce_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", bytecode = "1643ea06597a6d4bdffb84b9802843e24ac3772d64604b69e46cead51127b653", errors = "", warnings = "" }, + { initial_symbol_table = "b59a64e702cf908299e322a302bbff0b310c263353e4e2d40ac9c2cf55014e35", type_checked_symbol_table = "0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23", unrolled_symbol_table = "0de9af52dc5b3b905b76c91bfeecc8f18ec3888395e81acf47f377599a044a23", initial_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", unrolled_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", ssa_ast = "0603c5de85d72aff1b82ae064e9f056a5a12f4a3c9a43b7110245f71ab184179", flattened_ast = "b8253c762a2456d82dd47c27018cac6d44083a9eaafafcd60e1b83f8b0d16aa1", destructured_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", inlined_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", dce_ast = "900c4b9018194c85f2ca523cb559f9f597265d3a23d410a757017cd803fbffb1", bytecode = """ +program child.aleo; + +record child_rec: + owner as address.private; + + +function main: + input r0 as child_rec.record; +""", errors = "", warnings = "" }, + { initial_symbol_table = "b5a798a81b37a96d61bce196fbe0f86bd73d66869e638eb56f53b47016add539", type_checked_symbol_table = "7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018", unrolled_symbol_table = "7b6cf777b20c4a7877425c13379ea3aab6660ab65f8b285a561a464a3aaa2018", initial_ast = "3035438b326eef0eacc00dbe4829c09021b73a037709aa7c2a22860e5dd9a26a", unrolled_ast = "b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9", ssa_ast = "b3b45e5d3481e68154563fdc64f460e69fd00395eccb5a319eb5e81ca7f7d3c9", flattened_ast = "2311a42d662fc48ae0063d65e32035c349f709e2f7428b50f388ec6d2a3dbcaa", destructured_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", inlined_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", dce_ast = "f793f932d3d092553d17307793c58592b869e5926000d798ec85d82ecc6d178e", bytecode = """ +import child.aleo; +program inter.aleo; + + + +function use_child: + input r0 as child.aleo/child_rec.record; +""", errors = "", warnings = "" }, + { initial_symbol_table = "5b2736f499ffabe8a999fe80a7c8fa5eae6cf56b7b0ef4fe211a1cea4631061e", type_checked_symbol_table = "b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd", unrolled_symbol_table = "b2d7ffbf87933dd4f2b4929b31bbdadaeff8663344393e0cfeff2845387159bd", initial_ast = "a3ac974e10d37be232ec426fe64976ac2e2701d160d8777f4c92e177cf8e3140", unrolled_ast = "e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262", ssa_ast = "e8f62eeaa66db3f359e2965887d4412a182248577aeecbe721e520df7cc8f262", flattened_ast = "992fc3e592c2877917c17d95cda4c49941da939bbc09a8fcd2356f09fcc64dec", destructured_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", inlined_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", dce_ast = "2a62e891e972abf4d485b73acc2fd39eb970af5cb42590d16b7275f6a7eb5f8c", bytecode = """ +import child.aleo; +import inter.aleo; +program parent.aleo; + + + +function main: +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/records/gates_is_allowed.out b/tests/expectations/compiler/records/gates_is_allowed.out index 8a2575268e..e527ebab99 100644 --- a/tests/expectations/compiler/records/gates_is_allowed.out +++ b/tests/expectations/compiler/records/gates_is_allowed.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "7b7370a95949739bbb1b6fa3139ba90670c42d68eac051eaabfe4aa759775481", type_checked_symbol_table = "c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9", unrolled_symbol_table = "c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9", initial_ast = "655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe", unrolled_ast = "655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe", ssa_ast = "5e28e91d5318baefa8d55e6817659de0c72416b7fdb8ef77df5e4e3a5703b8d1", flattened_ast = "03ae9b01404a08345cc315de9d11190899294a8b7970fffa9296a0d2f6e5e11f", destructured_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", inlined_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", dce_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", bytecode = "cdfda5c02b9b486f79d17a9edef9df16a4fa359ae21e048bbf6c5a22bdf9b38e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "7b7370a95949739bbb1b6fa3139ba90670c42d68eac051eaabfe4aa759775481", type_checked_symbol_table = "c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9", unrolled_symbol_table = "c0de0856800efab5e0591eda8ac78e3bfe858a9205d46401a07a0c91077767a9", initial_ast = "655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe", unrolled_ast = "655e847661250ba3937f6419a9d920797a794cad63feb65196bec00d658234fe", ssa_ast = "5e28e91d5318baefa8d55e6817659de0c72416b7fdb8ef77df5e4e3a5703b8d1", flattened_ast = "03ae9b01404a08345cc315de9d11190899294a8b7970fffa9296a0d2f6e5e11f", destructured_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", inlined_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", dce_ast = "056366508d4a248cd4ed6fb04a69efbb07f6f79ffc889f872afd5e1279785e96", bytecode = """ +program test.aleo; + +record Token: + owner as address.private; + amount as u64.private; + gates as u64.private; + + +function main: + input r0 as u64.private; + input r1 as u64.private; + cast self.caller r0 r1 into r2 as Token.record; + output r2 as Token.record; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/init_expression.out b/tests/expectations/compiler/records/init_expression.out index e397b4049d..4591cc68c8 100644 --- a/tests/expectations/compiler/records/init_expression.out +++ b/tests/expectations/compiler/records/init_expression.out @@ -1,3 +1,22 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "3fd1cc6a2ce3920f6a8669981cc229d991818bc1baa451da4f15c15182445a80", type_checked_symbol_table = "ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159", unrolled_symbol_table = "ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159", initial_ast = "8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365", unrolled_ast = "8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365", ssa_ast = "8b9a5676e89823fa5d8b88ddad56f8fe2f518910cec99abc3ceb026cc0692d27", flattened_ast = "da220e2edfb44d1e871b010cfe2663e40e06e3c71c472710f781dd2c585e2184", destructured_ast = "9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36", inlined_ast = "9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36", dce_ast = "69b116454ce349eb479f08eebd42729a9284642d664c83ac65cfa86f2e1309c2", bytecode = "f243717a23b7bcbf2e4656d741a9e43b8a60184892683964efb628e22e36e7f1", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "3fd1cc6a2ce3920f6a8669981cc229d991818bc1baa451da4f15c15182445a80", type_checked_symbol_table = "ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159", unrolled_symbol_table = "ca911d7fe1163c60a9cfb288fcb2863dc9cac2f114ff4c48d8aff5bd82908159", initial_ast = "8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365", unrolled_ast = "8160dc0cbe7e1bc57e65f46d78222c56e3ec7f1786a31c18adf1705985b25365", ssa_ast = "8b9a5676e89823fa5d8b88ddad56f8fe2f518910cec99abc3ceb026cc0692d27", flattened_ast = "da220e2edfb44d1e871b010cfe2663e40e06e3c71c472710f781dd2c585e2184", destructured_ast = "9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36", inlined_ast = "9e1726ad46b3ee2de7496cf5f834127ad440b59b76f8ec9c69b3ac733c61bd36", dce_ast = "69b116454ce349eb479f08eebd42729a9284642d664c83ac65cfa86f2e1309c2", bytecode = """ +program test.aleo; + +record Token: + owner as address.private; + amount as u64.private; + + +function mint: + input r0 as address.private; + input r1 as u64.private; + cast r0 r1 into r2 as Token.record; + output r2 as Token.record; + + +function main: + input r0 as address.private; + mul 1u64 1u64 into r1; + output r1 as u64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/records/init_expression_shorthand.out index 40d09fef9b..3076369e4d 100644 --- a/tests/expectations/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/records/init_expression_shorthand.out @@ -1,3 +1,22 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "002e762d77a8521f1679eab9904bf7357422d0fa74a5ac1b3652a90ad588c0bb", type_checked_symbol_table = "833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605", unrolled_symbol_table = "833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605", initial_ast = "3917e2251c71ec95bbb6cf5731dcf43126aafa4115a3b2a7767c1a0b1aa70eb6", unrolled_ast = "923de60415b7eb88a8ba42c16c831e73fb586d1c46599f85aafc8d69b6920033", ssa_ast = "3fda30235b60f942f2ce28e0b32749e04924c5b226e78a2184cdaa3b36b3a2ee", flattened_ast = "b4a27bb564c16bac85dbafbc00a4c4c47350b04d2b0fef002efd7b8ecc1def36", destructured_ast = "58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9", inlined_ast = "58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9", dce_ast = "a9f2a052ca981a5a23ce47ba13c410311e10d5fc87f2648ba62f850a8a2d5c6e", bytecode = "0df6e3d77f2b3503e1b948582ccf17e40ef1cc0ba784bfb0ee91dd6388003630", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "002e762d77a8521f1679eab9904bf7357422d0fa74a5ac1b3652a90ad588c0bb", type_checked_symbol_table = "833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605", unrolled_symbol_table = "833e07fbb1a747d1575ee49268dc2948de1475fed19731cd8083a23d0231c605", initial_ast = "3917e2251c71ec95bbb6cf5731dcf43126aafa4115a3b2a7767c1a0b1aa70eb6", unrolled_ast = "923de60415b7eb88a8ba42c16c831e73fb586d1c46599f85aafc8d69b6920033", ssa_ast = "3fda30235b60f942f2ce28e0b32749e04924c5b226e78a2184cdaa3b36b3a2ee", flattened_ast = "b4a27bb564c16bac85dbafbc00a4c4c47350b04d2b0fef002efd7b8ecc1def36", destructured_ast = "58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9", inlined_ast = "58ec5e057d5129e2db6d8f699eae5a5d061d4fe62fb7878c84f94f67ee47ebf9", dce_ast = "a9f2a052ca981a5a23ce47ba13c410311e10d5fc87f2648ba62f850a8a2d5c6e", bytecode = """ +program test.aleo; + +record Token: + owner as address.private; + amount as u64.private; + + +function mint: + input r0 as address.private; + input r1 as u64.private; + cast r0 r1 into r2 as Token.record; + output r2 as Token.record; + + +function main: + input r0 as address.private; + add 1u64 1u64 into r1; + output r1 as u64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/nested_record.out b/tests/expectations/compiler/records/nested_record.out index 2e19aef873..cfc7a8d002 100644 --- a/tests/expectations/compiler/records/nested_record.out +++ b/tests/expectations/compiler/records/nested_record.out @@ -1,3 +1,27 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5b8c5b2a0876c74dc30026b2f2b559851bed7fd78570aca2d73ff6bf6f6b978f", type_checked_symbol_table = "494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905", unrolled_symbol_table = "494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905", initial_ast = "ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1", unrolled_ast = "ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1", ssa_ast = "a3ef314961cd5905bfba1087318a02acf3ba098a373fc0a6fd8fdf3f5b1ebd14", flattened_ast = "4fc89fc15a0c119400a045fd7a2809a811f82634e71c624729154e17956367f8", destructured_ast = "00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c", inlined_ast = "00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c", dce_ast = "e25a6bd09d054c3f041c70e6c4013b1269fdba734e6e78f35c3b69dd8c4ce2d0", bytecode = "9477487eb30939ab953ae2b069d924cc89d50b2b1062bfad64dcb7c79d817b6f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5b8c5b2a0876c74dc30026b2f2b559851bed7fd78570aca2d73ff6bf6f6b978f", type_checked_symbol_table = "494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905", unrolled_symbol_table = "494c29aaab2d05abfc510da4877b5c111d765c8dc7408436b6e1b2f0e5a3a905", initial_ast = "ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1", unrolled_ast = "ce249307b5be89ebd81d36aea76c5563a1bf06d8abc410a7efdaf5d42fc9c8e1", ssa_ast = "a3ef314961cd5905bfba1087318a02acf3ba098a373fc0a6fd8fdf3f5b1ebd14", flattened_ast = "4fc89fc15a0c119400a045fd7a2809a811f82634e71c624729154e17956367f8", destructured_ast = "00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c", inlined_ast = "00db00056443bc6d46a70373f3f22b51ffc5bc724314b2314a3bf1f7fc6ec69c", dce_ast = "e25a6bd09d054c3f041c70e6c4013b1269fdba734e6e78f35c3b69dd8c4ce2d0", bytecode = """ +program test.aleo; + +struct Amount: + amount as u64; + amt as u64; + +record Token: + owner as address.private; + amount as Amount.private; + + +function mint: + input r0 as address.private; + input r1 as u64.private; + cast r1 r1 into r2 as Amount; + cast r0 r2 into r3 as Token.record; + output r3 as Token.record; + + +function main: + input r0 as address.private; + add 1u64 1u64 into r1; + output r1 as u64.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/nested_record_as_function_io.out b/tests/expectations/compiler/records/nested_record_as_function_io.out index dd12d5b6b7..2a815f1401 100644 --- a/tests/expectations/compiler/records/nested_record_as_function_io.out +++ b/tests/expectations/compiler/records/nested_record_as_function_io.out @@ -1,7 +1,42 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "c953e3bff6aadcc83960d916ee9cfed52a14318806f8aa98df5f2852d37cbc6e", type_checked_symbol_table = "e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06", unrolled_symbol_table = "e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06", initial_ast = "c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3", unrolled_ast = "c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3", ssa_ast = "d0127391d923a2c9fbcd0f01cb20c3337801426a595a644ec840d2dec8d71aa6", flattened_ast = "99981748c19be5ec946d6786bb8c61056a2c0c89006cc256784ff55aad16d092", destructured_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", inlined_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", dce_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", bytecode = "0b3e8f36b3896428089aaa9b617346162bfa8391b2b1cc75d42dbac006e43935", errors = "", warnings = "" }, - { initial_symbol_table = "a521ec4402a5871487e54490c745901d6a87a44931d3f34dfb10ff1d7057d170", type_checked_symbol_table = "5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96", unrolled_symbol_table = "5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96", initial_ast = "60b69111a28cdb34c2cb3cf3a7531a8ad49f128e543bdde432224cf04c654624", unrolled_ast = "60ffc72796bcb5f714be3f720b9f27666a8de0488b46f3fba693aeb5e63d6828", ssa_ast = "ef3e9d3142c9bb9a7879c68fbc56bc6d13b524e7e9d90f73b4a2605c09419535", flattened_ast = "e2fd31f33193492ef8a3027869618a26c8e257b12e7a42221c01adcbc186eea8", destructured_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", inlined_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", dce_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", bytecode = "d8e307618b82982b119cbe3021c598824ea758eee84ca2c4faf121d4bc8c16c0", errors = "", warnings = "" }, - { initial_symbol_table = "057e2f94b94bfff1d548946bcd59edf8e675e0c92fea1517597bcc32d993b762", type_checked_symbol_table = "a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4", unrolled_symbol_table = "a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4", initial_ast = "c74d819aafa9edb960e8408ceb1b3ee2b5de2c9ae343590f32911b497446d65b", unrolled_ast = "2feeb1f565012e518714d6713df15fd2f921b7ec414c6dc2abf0fd727a1d0e8c", ssa_ast = "54c51b42c1b2d911ebe11e697831fd994cf9da2f49ab4f77473fedf8b9931835", flattened_ast = "321c82b52e3cd2b1b2057e85b65ff3d9bfd70b163d065cecf57a98159fa95c6c", destructured_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", inlined_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", dce_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", bytecode = "a70f46e3334bc265915ca2076c31338cddeff63574362603c7ab0bf065494128", errors = "", warnings = "" }, + { initial_symbol_table = "c953e3bff6aadcc83960d916ee9cfed52a14318806f8aa98df5f2852d37cbc6e", type_checked_symbol_table = "e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06", unrolled_symbol_table = "e36903969c31dc13732b73e6f9b2f0dab5cd8e5ae16984e414047e68edd27f06", initial_ast = "c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3", unrolled_ast = "c870708760c403e0e46ff83e7d74f3c4eb216d8c491edd71ff0459f117cbbdc3", ssa_ast = "d0127391d923a2c9fbcd0f01cb20c3337801426a595a644ec840d2dec8d71aa6", flattened_ast = "99981748c19be5ec946d6786bb8c61056a2c0c89006cc256784ff55aad16d092", destructured_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", inlined_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", dce_ast = "a5ccb0b7d744595e5b7d5c141b6b8bb057e395db63f34a7b9c02d6a3400810f5", bytecode = """ +program program_a.aleo; + +record X: + owner as address.private; + val as u32.private; + + +function mint2: + input r0 as u32.private; + cast self.signer r0 into r1 as X.record; + output r1 as X.record; +""", errors = "", warnings = "" }, + { initial_symbol_table = "a521ec4402a5871487e54490c745901d6a87a44931d3f34dfb10ff1d7057d170", type_checked_symbol_table = "5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96", unrolled_symbol_table = "5ee2c8dfa9ae436e63eeac3d8cf4e63ff3741a85ca686522da876e6dd402bd96", initial_ast = "60b69111a28cdb34c2cb3cf3a7531a8ad49f128e543bdde432224cf04c654624", unrolled_ast = "60ffc72796bcb5f714be3f720b9f27666a8de0488b46f3fba693aeb5e63d6828", ssa_ast = "ef3e9d3142c9bb9a7879c68fbc56bc6d13b524e7e9d90f73b4a2605c09419535", flattened_ast = "e2fd31f33193492ef8a3027869618a26c8e257b12e7a42221c01adcbc186eea8", destructured_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", inlined_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", dce_ast = "397fc94cd8b0277f666f6a8cb2d145f44f43a8709d8b1d91890f6ff44466717a", bytecode = """ +import program_a.aleo; +program program_b.aleo; + + + +function foobar: + input r0 as program_a.aleo/X.record; + output r0.val as u32.private; + + +function boofar: + input r0 as program_a.aleo/X.record; + output r0 as program_a.aleo/X.record; +""", errors = "", warnings = "" }, + { initial_symbol_table = "057e2f94b94bfff1d548946bcd59edf8e675e0c92fea1517597bcc32d993b762", type_checked_symbol_table = "a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4", unrolled_symbol_table = "a0a55e439b4e9f90a3bf9b7a184acfb75a5f4c18ffd7e1e625b5312f456537f4", initial_ast = "c74d819aafa9edb960e8408ceb1b3ee2b5de2c9ae343590f32911b497446d65b", unrolled_ast = "2feeb1f565012e518714d6713df15fd2f921b7ec414c6dc2abf0fd727a1d0e8c", ssa_ast = "54c51b42c1b2d911ebe11e697831fd994cf9da2f49ab4f77473fedf8b9931835", flattened_ast = "321c82b52e3cd2b1b2057e85b65ff3d9bfd70b163d065cecf57a98159fa95c6c", destructured_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", inlined_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", dce_ast = "29c33e54172af371074530b5245143eef6ff2fc7f9ee8900e246f11bd3299c97", bytecode = """ +import program_a.aleo; +import program_b.aleo; +program program_c.aleo; + + + +function main: + assert.eq 1u32 1u32; +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/records/record_declaration_out_of_order.out b/tests/expectations/compiler/records/record_declaration_out_of_order.out index b2d041f3e4..a7fdb781e1 100644 --- a/tests/expectations/compiler/records/record_declaration_out_of_order.out +++ b/tests/expectations/compiler/records/record_declaration_out_of_order.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "3f9924dd0dd047baffbbd264bff45deeeb9c7f0e5b85cec1f09d368ccf2da34d", type_checked_symbol_table = "b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2", unrolled_symbol_table = "b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2", initial_ast = "0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6", unrolled_ast = "0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6", ssa_ast = "53c908cf360f5469c561d84a7fc021d985a9cf5e9ed8dc050b0d3937339f14ab", flattened_ast = "bfff4d02525394ef7e29496626789c64dbf4f8b92810fbc79ba38faef114ae69", destructured_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", inlined_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", dce_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", bytecode = "9c274bbe580ab8d20c474474f15f2ed4f0913a91d3e9938197cbe29b6f1e273e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "3f9924dd0dd047baffbbd264bff45deeeb9c7f0e5b85cec1f09d368ccf2da34d", type_checked_symbol_table = "b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2", unrolled_symbol_table = "b63238fe925dc148180f075a969645f67188ebf518232f630a7c84c8d9fd68a2", initial_ast = "0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6", unrolled_ast = "0b156106d2f50efe97476dfdd1f07741b2db336c50cfd89113c0eb011b718ea6", ssa_ast = "53c908cf360f5469c561d84a7fc021d985a9cf5e9ed8dc050b0d3937339f14ab", flattened_ast = "bfff4d02525394ef7e29496626789c64dbf4f8b92810fbc79ba38faef114ae69", destructured_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", inlined_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", dce_ast = "d539c3593943275cd7f4eb2dde377d0be520c64a2d15a00e41ad7242068ffd68", bytecode = """ +program test.aleo; + +record Token: + owner as address.private; + amount as u64.private; + + +function main: + input r0 as u64.private; + input r1 as u64.private; + add r0 r1 into r2; + cast self.caller r2 into r3 as Token.record; + output r3 as Token.record; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/record_init_out_of_order.out b/tests/expectations/compiler/records/record_init_out_of_order.out index fb9ddfad27..a4e3aded2e 100644 --- a/tests/expectations/compiler/records/record_init_out_of_order.out +++ b/tests/expectations/compiler/records/record_init_out_of_order.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "6feca07193b306037d0a93baef8f35b166890e11fb15af517d5f5c424c0840ca", type_checked_symbol_table = "e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d", unrolled_symbol_table = "e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d", initial_ast = "0f4e4004f2763ca95cc6d9ea35a30157f8b6f8453126065697cbe334e34144f3", unrolled_ast = "0e01d06487035888e2f16e325cf5d40f8999eed94ff22d0ca6f8da1f7154e461", ssa_ast = "09da4292294f513073a69a66e3a8478973affe50ea7d426e6161a3a9afe8af62", flattened_ast = "fb24e616b49908385cbe1fd252847b8c0e92147cc206bc11f9fb1f29e5721e1e", destructured_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", inlined_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", dce_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", bytecode = "8c8992021f4a3ff29c9d5b1ddb3a34e14878b9cd822ac6e470018a4e268b2769", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "6feca07193b306037d0a93baef8f35b166890e11fb15af517d5f5c424c0840ca", type_checked_symbol_table = "e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d", unrolled_symbol_table = "e084cc1575d2853a823d08df5615028b18a39cc1b839ae41ac46f305cf5af81d", initial_ast = "0f4e4004f2763ca95cc6d9ea35a30157f8b6f8453126065697cbe334e34144f3", unrolled_ast = "0e01d06487035888e2f16e325cf5d40f8999eed94ff22d0ca6f8da1f7154e461", ssa_ast = "09da4292294f513073a69a66e3a8478973affe50ea7d426e6161a3a9afe8af62", flattened_ast = "fb24e616b49908385cbe1fd252847b8c0e92147cc206bc11f9fb1f29e5721e1e", destructured_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", inlined_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", dce_ast = "237ed96bfc2bcb15043481d52b1a8c1ebaf9337803c67eb3a3ab4fd169dd7454", bytecode = """ +program test.aleo; + +record Token: + owner as address.private; + amount as u64.private; + + +function main: + input r0 as address.private; + input r1 as u64.private; + mul r1 r1 into r2; + cast r0 r2 into r3 as Token.record; + output r3 as Token.record; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/records/record_with_visibility.out b/tests/expectations/compiler/records/record_with_visibility.out index 2121aa6ba7..b00e610993 100644 --- a/tests/expectations/compiler/records/record_with_visibility.out +++ b/tests/expectations/compiler/records/record_with_visibility.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4399efef323bcfeaa73dd0b4a290600d5d85e36cf99c5d6ffb4fcb3ea59353a3", type_checked_symbol_table = "20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c", unrolled_symbol_table = "20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c", initial_ast = "02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458", unrolled_ast = "02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458", ssa_ast = "98f1a58e417e30e98196535b5ab67f80a47c00e2fa3ac8136fb6918d7d13ecd6", flattened_ast = "1473c921dc87393d1bec2cd3469f66c642909f87032fbfb4fdec7db088a07df3", destructured_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", inlined_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", dce_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", bytecode = "d93b3c0884c41a79a8f5c116f07a8f6c8f5107c9b46c72ce6f0b84aa64eefb0f", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "4399efef323bcfeaa73dd0b4a290600d5d85e36cf99c5d6ffb4fcb3ea59353a3", type_checked_symbol_table = "20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c", unrolled_symbol_table = "20557e7ee74980978625fbd09ed9defc27cc1657ebd95dec0d88a34f80fcf73c", initial_ast = "02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458", unrolled_ast = "02e791ec58d79b95c1dcd9eaad1fccc95c503995a5ef053c45fe4d4d71025458", ssa_ast = "98f1a58e417e30e98196535b5ab67f80a47c00e2fa3ac8136fb6918d7d13ecd6", flattened_ast = "1473c921dc87393d1bec2cd3469f66c642909f87032fbfb4fdec7db088a07df3", destructured_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", inlined_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", dce_ast = "cfd232d35ee8cd3768e4924eb4e438a62ad3a04e3df77844c3354aac907a6350", bytecode = """ +program test.aleo; + +record Token: + owner as address.private; + amount as u64.private; + flag as boolean.private; + + +function main: + input r0 as u64.private; + input r1 as u64.private; + add r0 r1 into r2; + cast self.caller r2 true into r3 as Token.record; + output r3 as Token.record; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/return/ifelse_chain.out b/tests/expectations/compiler/return/ifelse_chain.out index 2ddec9d9de..05184a08d4 100644 --- a/tests/expectations/compiler/return/ifelse_chain.out +++ b/tests/expectations/compiler/return/ifelse_chain.out @@ -1,3 +1,32 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "204fa2d504700c7fa4ff175fd95dca964cb3c7fde4cc23b7972f840ca497ce15", type_checked_symbol_table = "56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36", unrolled_symbol_table = "56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36", initial_ast = "6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d", unrolled_ast = "6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d", ssa_ast = "2fb78fa3dc48ebb722b5e868aeae878da7e6eba06843316f0ebd1451adda1d7c", flattened_ast = "e50d2d001ea761618e59dc13b8b2f3834615637bfad5f740db2e2ad35d4f6679", destructured_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", inlined_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", dce_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", bytecode = "1902fe1d777e9d4f106c0daa1f947807fd49e952960f10101e78e47ddf8d5f48", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "204fa2d504700c7fa4ff175fd95dca964cb3c7fde4cc23b7972f840ca497ce15", type_checked_symbol_table = "56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36", unrolled_symbol_table = "56f92976ed0897f850ed6a2c9ea6545c48381a8311b1b72f1866a533cbfb3d36", initial_ast = "6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d", unrolled_ast = "6ea28950d64ac41eeb8da3d87cb6e3810996f20e112e0642f59a60f761714f1d", ssa_ast = "2fb78fa3dc48ebb722b5e868aeae878da7e6eba06843316f0ebd1451adda1d7c", flattened_ast = "e50d2d001ea761618e59dc13b8b2f3834615637bfad5f740db2e2ad35d4f6679", destructured_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", inlined_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", dce_ast = "d1a2969debc86ca62ad8beb0cc2dbc226521eb845399be0fb841df3041fc4e87", bytecode = """ +program test.aleo; + + + +function main: + input r0 as field.private; + is.eq r0 0field into r1; + not r1 into r2; + is.eq r0 1field into r3; + and r2 r3 into r4; + not r3 into r5; + is.eq r0 2field into r6; + and r2 r5 into r7; + and r7 r6 into r8; + not r6 into r9; + is.eq r0 3field into r10; + and r7 r9 into r11; + and r11 r10 into r12; + not r10 into r13; + is.eq r0 4field into r14; + and r11 r13 into r15; + and r15 r14 into r16; + ternary r16 4u32 5u32 into r17; + ternary r12 3u32 r17 into r18; + ternary r8 2u32 r18 into r19; + ternary r4 1u32 r19 into r20; + ternary r1 0u32 r20 into r21; + output r21 as u32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/add.out b/tests/expectations/compiler/scalar/add.out index c368276379..44b32aced2 100644 --- a/tests/expectations/compiler/scalar/add.out +++ b/tests/expectations/compiler/scalar/add.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56", type_checked_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", unrolled_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", initial_ast = "a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419", unrolled_ast = "a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419", ssa_ast = "464c6602c9026fa17e9661a5da82aa214f644bdf2a3153255c844897b649a19d", flattened_ast = "a6dd54f6913bb6eac591a2b84098c93995fc187c322bfa5d061a307c6e52973c", destructured_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", inlined_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", dce_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", bytecode = "bfac2c829066d9dc43d56bc1d4e4f592f42e576220f3e3cfd57b060b7bb17222", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56", type_checked_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", unrolled_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", initial_ast = "a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419", unrolled_ast = "a9277d3302097491315497980a38ef99484be22383c0dddb835bff6224e7f419", ssa_ast = "464c6602c9026fa17e9661a5da82aa214f644bdf2a3153255c844897b649a19d", flattened_ast = "a6dd54f6913bb6eac591a2b84098c93995fc187c322bfa5d061a307c6e52973c", destructured_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", inlined_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", dce_ast = "3fe252397f2113835b430dff46a4526acc4001f378ef08afe95321e4f8032cf4", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + input r1 as scalar.private; + input r2 as scalar.private; + add r0 r1 into r3; + is.eq r3 r2 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/cmp.out b/tests/expectations/compiler/scalar/cmp.out index a41a72a92b..1cc94ad553 100644 --- a/tests/expectations/compiler/scalar/cmp.out +++ b/tests/expectations/compiler/scalar/cmp.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5", unrolled_symbol_table = "9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5", initial_ast = "153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405", unrolled_ast = "153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405", ssa_ast = "de9438205d63cdba290b0f240ea4e848f49abd7224c136062f721bcc75c1c8ad", flattened_ast = "9318b44dfc53fe955b4e9f0e25698efc3f534516a5de08a1b97fd5b3e22bb735", destructured_ast = "a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc", inlined_ast = "a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc", dce_ast = "66d83acfd9a06322425e09b5691545749d12e7a6f4fc48ce9537834736947338", bytecode = "09f008c4bdc1d4ba78adbf989c031779310385b96fa346f7979a810c7d7cb118", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5", unrolled_symbol_table = "9019299e1eb4d4ba951ffa22c1139815f243f7d25887bcbc5a2bb20fc28232c5", initial_ast = "153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405", unrolled_ast = "153ccea2abeb003f157df0e389977b2f7f81ab1137739e1d24fc384331f0c405", ssa_ast = "de9438205d63cdba290b0f240ea4e848f49abd7224c136062f721bcc75c1c8ad", flattened_ast = "9318b44dfc53fe955b4e9f0e25698efc3f534516a5de08a1b97fd5b3e22bb735", destructured_ast = "a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc", inlined_ast = "a676f1c076f8f2e49f28622bae440180b2aab8054d4e40803c0175e04acfcfdc", dce_ast = "66d83acfd9a06322425e09b5691545749d12e7a6f4fc48ce9537834736947338", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + input r1 as scalar.private; + lte r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/eq.out b/tests/expectations/compiler/scalar/eq.out index d8247d33eb..41b806e031 100644 --- a/tests/expectations/compiler/scalar/eq.out +++ b/tests/expectations/compiler/scalar/eq.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce", unrolled_symbol_table = "ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce", initial_ast = "6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22", unrolled_ast = "6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22", ssa_ast = "ec82de18700c282153e16509520b7fc9d60c14e08744ee2b25a16cc9d0bd9545", flattened_ast = "b54bafa0dd1e48a6b7f4a014af2f0d951bc3601d861295a8b0cc363a3db156f5", destructured_ast = "b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf", inlined_ast = "b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf", dce_ast = "b95286c15cec8801180520063c1e7bba5f8391cd1c5a2241314363042379dd8f", bytecode = "5c71b9ef5f7774188b6b5be9f6ed558b26059dc5d008d590e2f6860076bcd893", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce", unrolled_symbol_table = "ad47ccc3d36b1aeddf0f6c035473b5febaa4a93bd84f2a14c12476196b7045ce", initial_ast = "6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22", unrolled_ast = "6aa18cfaecedd7b3648846ac62e198983f7ec7e2edf41bbd900115c19b8d6c22", ssa_ast = "ec82de18700c282153e16509520b7fc9d60c14e08744ee2b25a16cc9d0bd9545", flattened_ast = "b54bafa0dd1e48a6b7f4a014af2f0d951bc3601d861295a8b0cc363a3db156f5", destructured_ast = "b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf", inlined_ast = "b153e45d51676efd59dbe1d3d0cce8deb20dde8c52cdbf0632e351170cd646cf", dce_ast = "b95286c15cec8801180520063c1e7bba5f8391cd1c5a2241314363042379dd8f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + input r1 as scalar.private; + is.neq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/operator_methods.out b/tests/expectations/compiler/scalar/operator_methods.out index c0e6d5c86f..8776b7b1bb 100644 --- a/tests/expectations/compiler/scalar/operator_methods.out +++ b/tests/expectations/compiler/scalar/operator_methods.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac", unrolled_symbol_table = "2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac", initial_ast = "6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626", unrolled_ast = "6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626", ssa_ast = "96bb1e3367291c0a89ecc3287b968771acee9a6a9201875c5d0978e0208ed5e3", flattened_ast = "e5b9db13a4cddc67fef7f8cace9007beb67d725f0c6ffcb4c876d9130b6ec36d", destructured_ast = "a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b", inlined_ast = "a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b", dce_ast = "6e3ad020081d385389124d92866003b7d1337f68ac02abf10611c3b9c4e9b101", bytecode = "36a164c1507612060ab556cee9d668118147a8f6bedb09e8eea30c9ce800f907", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "689be29e57d11aea34e9688b20ee4d248138608580bb297a240a404748b85280", type_checked_symbol_table = "2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac", unrolled_symbol_table = "2e64c8dd96a90e64e7c6f709b1594efe1111ae222b5852d9d9b2cf0ecbfe77ac", initial_ast = "6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626", unrolled_ast = "6650df46002160124bb05c956ef8c7f3b7004d2e54778d6bdda9b1f5dcbd8626", ssa_ast = "96bb1e3367291c0a89ecc3287b968771acee9a6a9201875c5d0978e0208ed5e3", flattened_ast = "e5b9db13a4cddc67fef7f8cace9007beb67d725f0c6ffcb4c876d9130b6ec36d", destructured_ast = "a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b", inlined_ast = "a0f26dd3e194d8ecef2d1d4ad1db1ab6567baad7247e30120c06f02e4447f02b", dce_ast = "6e3ad020081d385389124d92866003b7d1337f68ac02abf10611c3b9c4e9b101", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + input r1 as scalar.private; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/scalar.out b/tests/expectations/compiler/scalar/scalar.out index 6801cfb5ef..fcbbe24d38 100644 --- a/tests/expectations/compiler/scalar/scalar.out +++ b/tests/expectations/compiler/scalar/scalar.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "473d6a9c94ce262fae794be27e7aef3a427119fda8608eb0aebb196ac1f78c54", type_checked_symbol_table = "2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11", unrolled_symbol_table = "2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11", initial_ast = "54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02", unrolled_ast = "54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02", ssa_ast = "7ea4178f85831e1c416e8bbfd418a3283139ddba456e4360276f2e3f3f0bd3fb", flattened_ast = "79dc2e03456aefcd846315cc29aa9b945f7a0fd9982f4b77a4648dc3078b0158", destructured_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", inlined_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", dce_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", bytecode = "2ef042858531dce1d8583ebee5f799243cabbf2327d245957c535a35c146aef9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "473d6a9c94ce262fae794be27e7aef3a427119fda8608eb0aebb196ac1f78c54", type_checked_symbol_table = "2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11", unrolled_symbol_table = "2f307932b0cbc2ca4f7423aa958aebab6babf6cdc94cff68a4da2b2e84ec5b11", initial_ast = "54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02", unrolled_ast = "54c4974b341a6c6606e0c97c7d68cc3f482e363a5cc7b4e6fa7b4fee0829fa02", ssa_ast = "7ea4178f85831e1c416e8bbfd418a3283139ddba456e4360276f2e3f3f0bd3fb", flattened_ast = "79dc2e03456aefcd846315cc29aa9b945f7a0fd9982f4b77a4648dc3078b0158", destructured_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", inlined_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", dce_ast = "363486996189f58dd61c8f870d04d8a0866182988752f753bee9ac4f5189c066", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + add 1scalar r0 into r1; + is.eq r1 0scalar into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/scalar/ternary.out b/tests/expectations/compiler/scalar/ternary.out index 2e03b1ad30..339a5cc107 100644 --- a/tests/expectations/compiler/scalar/ternary.out +++ b/tests/expectations/compiler/scalar/ternary.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56", type_checked_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", unrolled_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", initial_ast = "2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386", unrolled_ast = "2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386", ssa_ast = "62a8070c73b9fc85238dfbacbdf238885d9d916ea1a8beff437ae92987edf9e6", flattened_ast = "93a8127ad98bafd98a590dd5aeaa30dc09995496234ae6a9af65979e2c850d4e", destructured_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", inlined_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", dce_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", bytecode = "23e6cb091f2093299d0ea6100cce0c3af523c81111da120d423976348681eda9", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "fa202704c32803dd5a46673bb1ce18f4db31f10844f59e0dd951bfed478abf56", type_checked_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", unrolled_symbol_table = "577d0a03f442778c7c07da5fe974c45fe418fe1cab9238773d4749a3f99d2731", initial_ast = "2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386", unrolled_ast = "2a0531cf8132bed35359f8b4cb42bea1e00ca2073408652d8e1e6d3d27898386", ssa_ast = "62a8070c73b9fc85238dfbacbdf238885d9d916ea1a8beff437ae92987edf9e6", flattened_ast = "93a8127ad98bafd98a590dd5aeaa30dc09995496234ae6a9af65979e2c850d4e", destructured_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", inlined_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", dce_ast = "d64ef0db38c612033a001c67e24cd49241f12721bc99c1e4db7d22ee21bed95d", bytecode = """ +program test.aleo; + + + +function main: + input r0 as scalar.private; + input r1 as scalar.private; + input r2 as scalar.private; + is.eq r1 1scalar into r3; + is.eq r0 1scalar into r4; + is.eq r2 2scalar into r5; + ternary r3 r4 r5 into r6; + output r6 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/signature/signature.out b/tests/expectations/compiler/signature/signature.out index 163d2b8d8f..492f1d62a6 100644 --- a/tests/expectations/compiler/signature/signature.out +++ b/tests/expectations/compiler/signature/signature.out @@ -1,3 +1,35 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "70a3be0d7dcfa274581f374e661b48f26ed51cb4532c9566e0de9d76eb8c1cb9", type_checked_symbol_table = "0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260", unrolled_symbol_table = "0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260", initial_ast = "eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039", unrolled_ast = "eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039", ssa_ast = "1d8578ea33d84f2462b0d59ed44801a07f335a64596b919926e921943324f821", flattened_ast = "e557a38874f1309f1096546ebfb13100af7770ca3c43bdf1d6b473e7ea0d803b", destructured_ast = "5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d", inlined_ast = "5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d", dce_ast = "2949f1e4a4122944d8290090c64803da4b01a906ae80f638bfc1ec476c532c9b", bytecode = "9a042a6076c83bb376f10443261e56704956030b03df62da5d5f4742ac10c74d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "70a3be0d7dcfa274581f374e661b48f26ed51cb4532c9566e0de9d76eb8c1cb9", type_checked_symbol_table = "0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260", unrolled_symbol_table = "0a541ea8d67a3cab711d7ec8cb1cf264c1ec58c5a08d43efb9970b38b37f2260", initial_ast = "eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039", unrolled_ast = "eaba8c7e44dacd5223292622bdb6d6f372dea1d9d113f091fbcfc8b61ca96039", ssa_ast = "1d8578ea33d84f2462b0d59ed44801a07f335a64596b919926e921943324f821", flattened_ast = "e557a38874f1309f1096546ebfb13100af7770ca3c43bdf1d6b473e7ea0d803b", destructured_ast = "5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d", inlined_ast = "5b538c9ed88a40b1edd4637f54285fdd57c6ff958eadcba54df999d8ead20f3d", dce_ast = "2949f1e4a4122944d8290090c64803da4b01a906ae80f638bfc1ec476c532c9b", bytecode = """ +program test.aleo; + +struct foo: + a as u8; + b as scalar; + + +function verify_field: + input r0 as signature.private; + input r1 as address.private; + input r2 as field.private; + sign.verify r0 r1 r2 into r3; + sign.verify r0 r1 r2 into r4; + assert.eq r3 r4; + + +function verify_foo: + input r0 as signature.private; + input r1 as address.private; + input r2 as foo.private; + sign.verify r0 r1 r2 into r3; + sign.verify r0 r1 r2 into r4; + assert.eq r3 r4; + + +function literal_ops_on_signature: + input r0 as boolean.private; + input r1 as signature.private; + input r2 as signature.private; + ternary r0 r1 r2 into r3; + output r3 as signature.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/assign.out b/tests/expectations/compiler/statements/assign.out index 3c7576409e..300dabe69c 100644 --- a/tests/expectations/compiler/statements/assign.out +++ b/tests/expectations/compiler/statements/assign.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "c5296c3c050ba748e66ec721f6a058fd4fdb612afbe9e41054cd482b67e6e6f9", type_checked_symbol_table = "d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da", unrolled_symbol_table = "d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da", initial_ast = "6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788", unrolled_ast = "6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788", ssa_ast = "fe7e915193461f768fdf91bf468873c767d5f6b6964a2f36fc5b47018aca2472", flattened_ast = "8a821b2ed86abdf4344ec3e58b1f13cfa8d42cd2fbcd692b60b975ff968df287", destructured_ast = "c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862", inlined_ast = "c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862", dce_ast = "f06f4f184c5dad19a346fdcf168240765bda3758ace5f0b80451c60adf544374", bytecode = "5487f807b82f67172b386aaf992fed06bcb134d1749202c409a300633a37a9bf", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "c5296c3c050ba748e66ec721f6a058fd4fdb612afbe9e41054cd482b67e6e6f9", type_checked_symbol_table = "d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da", unrolled_symbol_table = "d57006f90dddfbb3c280166cfd60539aa64e2db1cb424f8d3f4c72a3087910da", initial_ast = "6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788", unrolled_ast = "6019b8c22dc3784fa95210eecf929efcb66246ce03f9ae5d867e187d4bcc8788", ssa_ast = "fe7e915193461f768fdf91bf468873c767d5f6b6964a2f36fc5b47018aca2472", flattened_ast = "8a821b2ed86abdf4344ec3e58b1f13cfa8d42cd2fbcd692b60b975ff968df287", destructured_ast = "c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862", inlined_ast = "c3d78a54d7b38b9e47ef92ab94d93d3530f94f28d14a9a105d00686e750ca862", dce_ast = "f06f4f184c5dad19a346fdcf168240765bda3758ace5f0b80451c60adf544374", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + is.eq r0 0u8 into r2; + add r1 1u8 into r3; + add r1 2u8 into r4; + ternary r2 r3 r4 into r5; + ternary r2 r3 r5 into r6; + output r6 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/block.out b/tests/expectations/compiler/statements/block.out index bacb45b090..02ebb7cbb3 100644 --- a/tests/expectations/compiler/statements/block.out +++ b/tests/expectations/compiler/statements/block.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6", unrolled_symbol_table = "a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6", initial_ast = "2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d", unrolled_ast = "2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d", ssa_ast = "ae4b1451d5a14f4b988437ce8a0c5a0c23080a5d6711350fbe768b667f699639", flattened_ast = "cd83d20fc3ca8cbed971b4bc4eec01122ececcad666ff3574cf6f3bcdd71d77e", destructured_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", inlined_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", dce_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", bytecode = "9f2bbabd0f858db6e5f4e529fdd5e246023994bf27bbabe6dc1aa6bbf8bf5cfd", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6", unrolled_symbol_table = "a5d794d5bef4b835ddb9b80bc89ae26e95f0bfdbb347192ea01936ec37025ef6", initial_ast = "2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d", unrolled_ast = "2d472d7bb8a500e9e65488129e69017f22feca53fc8a4900f58fa70cc30fb16d", ssa_ast = "ae4b1451d5a14f4b988437ce8a0c5a0c23080a5d6711350fbe768b667f699639", flattened_ast = "cd83d20fc3ca8cbed971b4bc4eec01122ececcad666ff3574cf6f3bcdd71d77e", destructured_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", inlined_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", dce_ast = "a67dd749de940cfb6178589a3cee151421b0fe59c8b0a9b088fd2df13a1b0327", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + add r0 5u32 into r1; + is.eq r1 8u32 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/chain.out b/tests/expectations/compiler/statements/chain.out index 1c851f362d..d80c1b73a4 100644 --- a/tests/expectations/compiler/statements/chain.out +++ b/tests/expectations/compiler/statements/chain.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc", unrolled_symbol_table = "1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc", initial_ast = "8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc", unrolled_ast = "8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc", ssa_ast = "2d738c04e5ae989b25373b5d96877981a85862653298922e8feffde828808c07", flattened_ast = "1efcab145973980eabc68bb0ec6624b8b5d42bba4c38771f88b7a2cee35cdef3", destructured_ast = "b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04", inlined_ast = "b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04", dce_ast = "b43faebb2985c920347a8d103943a3d3fd53dae5ce6a62647c9067c7d009132f", bytecode = "f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc", unrolled_symbol_table = "1c499f9d112fdf719a72b2435ef012d7b5e4b41cc0c67ff5c90f5b39cf6e11bc", initial_ast = "8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc", unrolled_ast = "8e0c70c47df22261563266d35bc5f3a25169c65c705ed9e33bbe51a92611dccc", ssa_ast = "2d738c04e5ae989b25373b5d96877981a85862653298922e8feffde828808c07", flattened_ast = "1efcab145973980eabc68bb0ec6624b8b5d42bba4c38771f88b7a2cee35cdef3", destructured_ast = "b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04", inlined_ast = "b11799e3b04a7c0d53a117d990176c346076772d0a1e86e48884cef62618ee04", dce_ast = "b43faebb2985c920347a8d103943a3d3fd53dae5ce6a62647c9067c7d009132f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + is.eq r0 1u32 into r1; + is.eq r0 2u32 into r2; + ternary r2 2u32 3u32 into r3; + ternary r1 1u32 r3 into r4; + is.eq r4 r0 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/expr_statement.out b/tests/expectations/compiler/statements/expr_statement.out index a651345585..66616f1cd0 100644 --- a/tests/expectations/compiler/statements/expr_statement.out +++ b/tests/expectations/compiler/statements/expr_statement.out @@ -1,3 +1,20 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "230456a912e68c6bf7bc61830676d9977f6aee13e2ae69546b077d939c547002", type_checked_symbol_table = "72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1", unrolled_symbol_table = "72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1", initial_ast = "eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2", unrolled_ast = "eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2", ssa_ast = "98648a4077c879caa3646f9610036e6843e9940a61af40705985ddc8da2325df", flattened_ast = "db92a5e180f9ae7502df883de11b44aea7c08e8fee517d1cfa7bdda51777fbbf", destructured_ast = "bedc21928bb999a9644ee94c09ff6b44ae4cc46296b31b2a3e67d448ed272fec", inlined_ast = "fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05", dce_ast = "fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05", bytecode = "401bb4388cffbc9e0df078a93024b669f7de284cfe97f564143486a27cb070ab", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "230456a912e68c6bf7bc61830676d9977f6aee13e2ae69546b077d939c547002", type_checked_symbol_table = "72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1", unrolled_symbol_table = "72c1cdf55cba381c3beb41099f7b8e32a7f0ec9bfb91f05182d8fff3e478c4f1", initial_ast = "eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2", unrolled_ast = "eaa9f399bc9592a47c43d90c07ee8813e6a11327a31c9c4a4019ddf49bfd31c2", ssa_ast = "98648a4077c879caa3646f9610036e6843e9940a61af40705985ddc8da2325df", flattened_ast = "db92a5e180f9ae7502df883de11b44aea7c08e8fee517d1cfa7bdda51777fbbf", destructured_ast = "bedc21928bb999a9644ee94c09ff6b44ae4cc46296b31b2a3e67d448ed272fec", inlined_ast = "fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05", dce_ast = "fe589fd7800068d9e3452a51b48e0af5462c39bfecbf670290ee8880f52a4b05", bytecode = """ +program test.aleo; + + + +closure foo: + input r0 as u8; + input r1 as u8; + assert.eq r0 r1; + + +function main: + input r0 as u8.private; + input r1 as u8.private; + call foo r0 r1; + add r0 r1 into r2; + output r2 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/iteration_basic.out b/tests/expectations/compiler/statements/iteration_basic.out index 0dff275135..f701b4efe9 100644 --- a/tests/expectations/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/statements/iteration_basic.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "9c755ac6de6948601c6b5adfb40ab6ca04078e174f138e8ad27592c4f01a275d", unrolled_symbol_table = "85a0ed39469e64279b86e43dc54f422e7680521404a58414453c511604cea265", initial_ast = "c853d211f0b9902b1978a581b79719747d48e271dc56f1a73237ff53581f6375", unrolled_ast = "b39f8f9a660f6f85e936c7305764806ce1fdee4097556428d9681453f792ea62", ssa_ast = "b40a70be25d97306588239f437b2ac56433322bea24c3e5f897b5f87c4853e4e", flattened_ast = "b4ca778e94be2312fd745641784c84d39d3cd4994dec31d622bc1903d06bbe13", destructured_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", inlined_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", dce_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", bytecode = "41bf59ecf2ab2485e223b6501897613108441d2d881640d2d235f79201615cd3", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "9c755ac6de6948601c6b5adfb40ab6ca04078e174f138e8ad27592c4f01a275d", unrolled_symbol_table = "85a0ed39469e64279b86e43dc54f422e7680521404a58414453c511604cea265", initial_ast = "c853d211f0b9902b1978a581b79719747d48e271dc56f1a73237ff53581f6375", unrolled_ast = "b39f8f9a660f6f85e936c7305764806ce1fdee4097556428d9681453f792ea62", ssa_ast = "b40a70be25d97306588239f437b2ac56433322bea24c3e5f897b5f87c4853e4e", flattened_ast = "b4ca778e94be2312fd745641784c84d39d3cd4994dec31d622bc1903d06bbe13", destructured_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", inlined_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", dce_ast = "49e5e652220c7363f8456a48aacaba9768f0bfaccff18425f9201156194fb5ce", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + sub r0 1u32 into r1; + sub r1 1u32 into r2; + sub r2 1u32 into r3; + is.eq r3 0u32 into r4; + output r4 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/iteration_nested.out b/tests/expectations/compiler/statements/iteration_nested.out index f92b3770dc..528a5c8692 100644 --- a/tests/expectations/compiler/statements/iteration_nested.out +++ b/tests/expectations/compiler/statements/iteration_nested.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "693367bfa3262d97165d4f65744db680a42887af9466271e997ce5ecfb4e4ad8", type_checked_symbol_table = "2df26b219d452e5c67834698c8ccd216f94185f885b10e5d2fb7d52cf364a8fe", unrolled_symbol_table = "b89ab5cc076c8120d75083c1b01cab5c0bdb9c8a1527da28df2763b584375659", initial_ast = "7c9468d2e25b8d770277e8ae01d776a99c2fe1b2b3cc5a26fa45924fbb255629", unrolled_ast = "a5f436cc41ecc729d5108f79abaa12a65d4036c3994541ae1cf475b734ccd3c5", ssa_ast = "f1c9aab6abecb5132f37e0a83ddebbe79eb90c10a8dd08be7b87aa310b0ba880", flattened_ast = "4ec88aa2da726e5ea30fbd75c97e80f1aab21674e31bd06845123a8527f249df", destructured_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", inlined_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", dce_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", bytecode = "e6fba28a70e1d844cc46f8e9dcf040658b9431f4fd49a4896dfc7ffb3ebfeb25", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "693367bfa3262d97165d4f65744db680a42887af9466271e997ce5ecfb4e4ad8", type_checked_symbol_table = "2df26b219d452e5c67834698c8ccd216f94185f885b10e5d2fb7d52cf364a8fe", unrolled_symbol_table = "b89ab5cc076c8120d75083c1b01cab5c0bdb9c8a1527da28df2763b584375659", initial_ast = "7c9468d2e25b8d770277e8ae01d776a99c2fe1b2b3cc5a26fa45924fbb255629", unrolled_ast = "a5f436cc41ecc729d5108f79abaa12a65d4036c3994541ae1cf475b734ccd3c5", ssa_ast = "f1c9aab6abecb5132f37e0a83ddebbe79eb90c10a8dd08be7b87aa310b0ba880", flattened_ast = "4ec88aa2da726e5ea30fbd75c97e80f1aab21674e31bd06845123a8527f249df", destructured_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", inlined_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", dce_ast = "7a7b7dd51563b8199d2de27e345c59f4053dfcba829c1ca6f1b16d58d0fe5b6a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + add r0 1u32 into r1; + add r1 1u32 into r2; + add r2 1u32 into r3; + add r3 1u32 into r4; + output r4 as u32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/multiple_returns.out b/tests/expectations/compiler/statements/multiple_returns.out index d0b37d63ef..69593e3671 100644 --- a/tests/expectations/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/statements/multiple_returns.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938", unrolled_symbol_table = "547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938", initial_ast = "bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e", unrolled_ast = "bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e", ssa_ast = "d9f3b16b2a063335a36b56798ffaf578d6f04fbe70003ec15a30783590c1dce4", flattened_ast = "9ce05cb73e1f012bada5972095cc1c0602d96bd63a4fe58029f2c073a8eab51c", destructured_ast = "690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31", inlined_ast = "690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31", dce_ast = "4bbb3efdf7be6bd5d87995ed2787265dca604575a2b898a7a9cbe0b889bc235b", bytecode = "e8fad70723ee17dc768faab9e2ee64ec338b6b1bd4ec1d9350791665c1abd697", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938", unrolled_symbol_table = "547e915a015c4525dea0cdebf573bd82f8b5719b0eae671afc8a05bc48833938", initial_ast = "bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e", unrolled_ast = "bbcf9d2685d85c7655c97568ff51cb46dd1aee6ee92af6eb4b9ef6b917ce928e", ssa_ast = "d9f3b16b2a063335a36b56798ffaf578d6f04fbe70003ec15a30783590c1dce4", flattened_ast = "9ce05cb73e1f012bada5972095cc1c0602d96bd63a4fe58029f2c073a8eab51c", destructured_ast = "690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31", inlined_ast = "690ca5d32129c085b7897ff25c87a8a95cfc0cf35cec0f3d5742aa68ef4a1a31", dce_ast = "4bbb3efdf7be6bd5d87995ed2787265dca604575a2b898a7a9cbe0b889bc235b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + is.eq r0 3u32 into r1; + ternary r1 true false into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index a46bc421a3..a29d28a304 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -1,3 +1,17 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8", unrolled_symbol_table = "a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8", initial_ast = "b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a", unrolled_ast = "b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a", ssa_ast = "23fb955e50de14a4131b2db621a24d05ac52d5ac7af341e7dde5d24479203cda", flattened_ast = "ebf21ee2f562b59de5164c9965fbb2e822bd5c8e847def54c41738d4df96a25e", destructured_ast = "9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb", inlined_ast = "9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb", dce_ast = "1bf4801943a35c63849ec343cf26a5888fa9852805514a499fc1162bbb51e31a", bytecode = "4f4c5c377fed78feede8ee754c9f838f449f8d00cf771b2bb65884e876f90b7e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "fbff18c8e518cc59798797648b6845d8968c59a71c7f87af586f9defffdd546d", type_checked_symbol_table = "a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8", unrolled_symbol_table = "a3be54023f98304a5cc208259f2287f70181c602ec496bc36df8e16ada051de8", initial_ast = "b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a", unrolled_ast = "b6b526e4450475b5f337242783f48a4dd7342a4b5c9639b23d490bfd96a63a1a", ssa_ast = "23fb955e50de14a4131b2db621a24d05ac52d5ac7af341e7dde5d24479203cda", flattened_ast = "ebf21ee2f562b59de5164c9965fbb2e822bd5c8e847def54c41738d4df96a25e", destructured_ast = "9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb", inlined_ast = "9ad6ed4557a609671cf3ea7d235114c74fd03717675f28c728240a61d72f38eb", dce_ast = "1bf4801943a35c63849ec343cf26a5888fa9852805514a499fc1162bbb51e31a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + is.eq r0 3u32 into r1; + ternary r1 1u32 0u32 into r2; + is.eq r0 3u32 into r3; + is.eq r2 1u32 into r4; + is.eq r2 0u32 into r5; + ternary r3 r4 r5 into r6; + output r6 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/add_assign.out b/tests/expectations/compiler/statements/operations/add_assign.out index b416e4d0a1..cc277a3e0e 100644 --- a/tests/expectations/compiler/statements/operations/add_assign.out +++ b/tests/expectations/compiler/statements/operations/add_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503", unrolled_ast = "786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503", ssa_ast = "4db0697a00c7c000e48392d0be6e40eb3a5c27ac4f9c9442558961617cce6621", flattened_ast = "b5f30a511177f0ef462c7604003daca6cf89e4d4c402ab635e6fa35100c58b27", destructured_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", inlined_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", dce_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", bytecode = "f9bb06bbdb06665d260633e11e377d5b2a428e169220f31b9ad9cd8ac8c94f6d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503", unrolled_ast = "786ce77eead62bf47c1ff5c00e4e2699118f1a41b79db2383ce844d13acca503", ssa_ast = "4db0697a00c7c000e48392d0be6e40eb3a5c27ac4f9c9442558961617cce6621", flattened_ast = "b5f30a511177f0ef462c7604003daca6cf89e4d4c402ab635e6fa35100c58b27", destructured_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", inlined_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", dce_ast = "018126b1bbb84d342a819f36b23ce9b6e68cd862562db83376cf61344103b7ee", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + add 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/and_assign.out b/tests/expectations/compiler/statements/operations/and_assign.out index 1229c403eb..3a2074e212 100644 --- a/tests/expectations/compiler/statements/operations/and_assign.out +++ b/tests/expectations/compiler/statements/operations/and_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b", type_checked_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", unrolled_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", initial_ast = "2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71", unrolled_ast = "2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71", ssa_ast = "e436693135f765ec1e2237a0c073ac52dea3781c6c62d8a4d55cca8a3bdbf080", flattened_ast = "f13e07a9dc3fd6be29c0a6a6a4a24b55ecc21969d0727ce2bbe79d09747cc0c0", destructured_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", inlined_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", dce_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", bytecode = "7b9e392bda5b29d56ff94dc3eaefe68313d852336209db998714308d19ea6102", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b", type_checked_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", unrolled_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", initial_ast = "2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71", unrolled_ast = "2828aaa6e47f5d658f33094a37622c1206fe7d7c9050e1fbed30d8b87edece71", ssa_ast = "e436693135f765ec1e2237a0c073ac52dea3781c6c62d8a4d55cca8a3bdbf080", flattened_ast = "f13e07a9dc3fd6be29c0a6a6a4a24b55ecc21969d0727ce2bbe79d09747cc0c0", destructured_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", inlined_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", dce_ast = "d83c2cfbe7bf676fec0845a5e9251e43ce213a7d40bc9f695978429e5b4a86e5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + and true r0 into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/bitand_assign.out b/tests/expectations/compiler/statements/operations/bitand_assign.out index 39c54bf2db..705315e091 100644 --- a/tests/expectations/compiler/statements/operations/bitand_assign.out +++ b/tests/expectations/compiler/statements/operations/bitand_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d", unrolled_ast = "d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d", ssa_ast = "d86b1082bb92ee18f8938afc0d8ff1f043c9aeba73ae8fbf6156ba0ba6b1b81f", flattened_ast = "b65e7563e2529a622e062867c8102f92b56bf727f2f2ba0ffb6238b8d1523b6d", destructured_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", inlined_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", dce_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", bytecode = "6dab0d771ad5e0b95b5ded8ffb214368621dc0ee9434113549f85abd0eb6c626", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d", unrolled_ast = "d5f8d0aa726f24a263d8a8052b08abd443a28b9bac4efda57d17d58edf47099d", ssa_ast = "d86b1082bb92ee18f8938afc0d8ff1f043c9aeba73ae8fbf6156ba0ba6b1b81f", flattened_ast = "b65e7563e2529a622e062867c8102f92b56bf727f2f2ba0ffb6238b8d1523b6d", destructured_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", inlined_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", dce_ast = "4c5044e5c267370f1bced8591b993c0c0e3294f725d4f13048cd43c7351d9ad3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + and 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/bitor_assign.out b/tests/expectations/compiler/statements/operations/bitor_assign.out index 2d5647ebd7..0794ea1e15 100644 --- a/tests/expectations/compiler/statements/operations/bitor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitor_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363", unrolled_ast = "a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363", ssa_ast = "c1eeec4760577855cd026969f8feb7603bfcc02c0124651568b00319641c5578", flattened_ast = "756bc884e81396ff00403f1ac3f97a5616faf6abace9e629a17ed2be63df9831", destructured_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", inlined_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", dce_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", bytecode = "f551499188e28449b06b9aa17ef8af4d1daedbf0ac75484b5e3f8e81836ffb63", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363", unrolled_ast = "a48a2440a8280169dfe0a6e43807580f4c5d9214712b2bc65ac14f3f60376363", ssa_ast = "c1eeec4760577855cd026969f8feb7603bfcc02c0124651568b00319641c5578", flattened_ast = "756bc884e81396ff00403f1ac3f97a5616faf6abace9e629a17ed2be63df9831", destructured_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", inlined_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", dce_ast = "2e71a8563a713a929ef9a97653422261d3176060bac0e35176ab2647d44a9b7c", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + or 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/bitxor_assign.out b/tests/expectations/compiler/statements/operations/bitxor_assign.out index 61021f3428..19618f09ba 100644 --- a/tests/expectations/compiler/statements/operations/bitxor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitxor_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1", unrolled_ast = "3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1", ssa_ast = "88a09c4436aff6e61ee4ff0de4098e8c591dd0ea80c23b7e75137c73d07d0b17", flattened_ast = "bb244e9de1cc4d76843dc12ff1c45fd8c8a965d93d8d5a9ff9dc34c9b3f57217", destructured_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", inlined_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", dce_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", bytecode = "cc7cc1d77829ab20a01838d82d9d75e2f4d9b5231667aeeb7517083740d299f5", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1", unrolled_ast = "3e938db85b4b5d1ca32a18dc6af6d067f4f3156b845e196d083cb980ee2bc3b1", ssa_ast = "88a09c4436aff6e61ee4ff0de4098e8c591dd0ea80c23b7e75137c73d07d0b17", flattened_ast = "bb244e9de1cc4d76843dc12ff1c45fd8c8a965d93d8d5a9ff9dc34c9b3f57217", destructured_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", inlined_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", dce_ast = "116f705522f64a545ee85565520936ad2fc56356ca0d4cacbcba1c4f8c09245f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + xor 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/div_assign.out b/tests/expectations/compiler/statements/operations/div_assign.out index 68adb78436..9a29e3c4b7 100644 --- a/tests/expectations/compiler/statements/operations/div_assign.out +++ b/tests/expectations/compiler/statements/operations/div_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127", unrolled_ast = "c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127", ssa_ast = "9f9c72a9f18ded47c4ebf08d0c3688e0c757c3cc9100615ad5ed859dc9027c1b", flattened_ast = "e64fbb5256594cd26cc6ad46039449b980dcf8da7ab87a520172aa8925f32631", destructured_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", inlined_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", dce_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", bytecode = "852a26ba7ae67c2f2cdf00814963c66786bd383cb645b9740b782cb07e747c41", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127", unrolled_ast = "c4b22438c396cf9b44c553dcc3a32a8fbb7dec0d334a80e6282bc28536d8e127", ssa_ast = "9f9c72a9f18ded47c4ebf08d0c3688e0c757c3cc9100615ad5ed859dc9027c1b", flattened_ast = "e64fbb5256594cd26cc6ad46039449b980dcf8da7ab87a520172aa8925f32631", destructured_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", inlined_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", dce_ast = "2fccab048633b4bf945e5bd8defc6b4af820c1d77d797fbb8307cf371bcf418a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + div 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/mul_assign.out b/tests/expectations/compiler/statements/operations/mul_assign.out index f938f66872..811a9ca599 100644 --- a/tests/expectations/compiler/statements/operations/mul_assign.out +++ b/tests/expectations/compiler/statements/operations/mul_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf", unrolled_ast = "402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf", ssa_ast = "ff0329347065a8368cda4a26df7dbd77aae78c909f1136a6f68ecee4b25d228e", flattened_ast = "f9365e77ddc8f125482b359d2cfd1bfff2701c6d609fbc61a1f7de27cb15769c", destructured_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", inlined_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", dce_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", bytecode = "e458b602541d030c368e1e498d1dae92b0a26e9505a02ca3cd93858ca3bdb277", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf", unrolled_ast = "402cc7bf351e8f7360fb4371055e91d192e40770a10408a67766988c3b0e2baf", ssa_ast = "ff0329347065a8368cda4a26df7dbd77aae78c909f1136a6f68ecee4b25d228e", flattened_ast = "f9365e77ddc8f125482b359d2cfd1bfff2701c6d609fbc61a1f7de27cb15769c", destructured_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", inlined_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", dce_ast = "172ea791250878b86bf45982e72454bc4d77a5dd1b8e7c931a9678892140fcb8", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + mul 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/or_assign.out b/tests/expectations/compiler/statements/operations/or_assign.out index 385c201406..d327578a77 100644 --- a/tests/expectations/compiler/statements/operations/or_assign.out +++ b/tests/expectations/compiler/statements/operations/or_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b", type_checked_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", unrolled_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", initial_ast = "1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9", unrolled_ast = "1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9", ssa_ast = "a9c1798902cc14427219a2cd1a4b8d4e9b68470e7a167647d8696c996f34a324", flattened_ast = "4e25f9060a8fd7d625110ad7a1211938dcc8d1b85682c4f68db89c45e36abe75", destructured_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", inlined_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", dce_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", bytecode = "6d6695b67fa8f1cff43f2d00c6ce7e118342fb3e0bd05008d952820bf0e6dca8", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "e03b4d8eaccf3cd016b4eb081690ba20dc331352711628cd8a2d3290c1995b9b", type_checked_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", unrolled_symbol_table = "f002030b982fc51b61e7c8a8df5141139c28eece313f2f41a61052bed8c0ab79", initial_ast = "1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9", unrolled_ast = "1b435ce8e4044d8a85f773295720a077da989d83a51608d296e4627d6fc8d3e9", ssa_ast = "a9c1798902cc14427219a2cd1a4b8d4e9b68470e7a167647d8696c996f34a324", flattened_ast = "4e25f9060a8fd7d625110ad7a1211938dcc8d1b85682c4f68db89c45e36abe75", destructured_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", inlined_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", dce_ast = "150dfd94218cd0042d61ab0e64d9ba9aa96982191cdbe8c0c038cc24bcf23332", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + or true r0 into r1; + output r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/pow_assign.out b/tests/expectations/compiler/statements/operations/pow_assign.out index dc9093df83..4ac5900e3e 100644 --- a/tests/expectations/compiler/statements/operations/pow_assign.out +++ b/tests/expectations/compiler/statements/operations/pow_assign.out @@ -1,3 +1,28 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303", unrolled_ast = "b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303", ssa_ast = "d26ac2545cc3d867d070e08d487b8d626a84bfa729d547cee06273938448c741", flattened_ast = "a5b0f9b902436bc0b7af473b8c01978493262f08af3ef7946026a0fb8ae4b7d1", destructured_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", inlined_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", dce_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", bytecode = "69c6644fb42c55979ce03fb2d5d6712f6eee57bafc5853fd5866a04a44e4e534", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303", unrolled_ast = "b2d4e08e83e84b7ab019d73b0da579c82d848fba5365290a8a2c1ef6d9ab9303", ssa_ast = "d26ac2545cc3d867d070e08d487b8d626a84bfa729d547cee06273938448c741", flattened_ast = "a5b0f9b902436bc0b7af473b8c01978493262f08af3ef7946026a0fb8ae4b7d1", destructured_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", inlined_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", dce_ast = "ba18d4627b0d09bd0197afe3b5173ad9cf40c2d296850844a761e7a8e2d13842", bytecode = """ +program test.aleo; + + + +function unsigned: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u16.private; + input r3 as u32.private; + pow r0 r1 into r4; + pow r4 r2 into r5; + pow r5 r3 into r6; + output r6 as u8.private; + + +closure signed: + input r0 as i8; + input r1 as u8; + input r2 as u16; + input r3 as u32; + pow r0 r1 into r4; + pow r4 r2 into r5; + pow r5 r3 into r6; + output r6 as i8; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/rem_assign.out b/tests/expectations/compiler/statements/operations/rem_assign.out index 691de014b3..b57b88bd8e 100644 --- a/tests/expectations/compiler/statements/operations/rem_assign.out +++ b/tests/expectations/compiler/statements/operations/rem_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76", unrolled_ast = "5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76", ssa_ast = "346262abc8997da5b214066bd4421159ef612c626b16fbe3aca7edf47c762dc0", flattened_ast = "4d46b4f9ad1b72a598e976e82e5af654c9c7846e43ebf9a41a5ad186355308d7", destructured_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", inlined_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", dce_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", bytecode = "f67d2ba495c6cbed24bf76003e4521182d8aaec5f8a3d42ab1929d56af65452b", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76", unrolled_ast = "5fd27e5bdd9d950d5f4fc71626a4d4dc42136026a356f1c2053523f5bafc9d76", ssa_ast = "346262abc8997da5b214066bd4421159ef612c626b16fbe3aca7edf47c762dc0", flattened_ast = "4d46b4f9ad1b72a598e976e82e5af654c9c7846e43ebf9a41a5ad186355308d7", destructured_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", inlined_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", dce_ast = "7c8e8b39e72d27ec8d25b9356a30524c101b4e8bd0f88fe4c602add1dbe6c6c2", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + rem 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/shl_assign.out b/tests/expectations/compiler/statements/operations/shl_assign.out index e1ca0b2feb..5c286d694f 100644 --- a/tests/expectations/compiler/statements/operations/shl_assign.out +++ b/tests/expectations/compiler/statements/operations/shl_assign.out @@ -1,3 +1,28 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4", unrolled_ast = "9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4", ssa_ast = "f47344badbc0f56cf32fa8d5ec2766452f1bf1e529e906157e3faf6a852538e9", flattened_ast = "53511fb990cf9ddab8c8331d50836d99f5ef3c42647e996e1e9fddb8559defe5", destructured_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", inlined_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", dce_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", bytecode = "c7e481877eba9b3d2f0f08797c30c5404e6da930c4fc82bf58a7bdeb46ba251e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4", unrolled_ast = "9ee78cbd65beec132d97110aeba5adea156e75321681cbff6adb04d2e3f947c4", ssa_ast = "f47344badbc0f56cf32fa8d5ec2766452f1bf1e529e906157e3faf6a852538e9", flattened_ast = "53511fb990cf9ddab8c8331d50836d99f5ef3c42647e996e1e9fddb8559defe5", destructured_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", inlined_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", dce_ast = "aa622b8e204f1d29a0800e019c65a9c33358385e9ff0ba9dfd0cbf9d92b6f869", bytecode = """ +program test.aleo; + + + +function unsigned: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u16.private; + input r3 as u32.private; + shl r0 r1 into r4; + shl r4 r2 into r5; + shl r5 r3 into r6; + output r6 as u8.private; + + +closure signed: + input r0 as i8; + input r1 as u8; + input r2 as u16; + input r3 as u32; + shl r0 r1 into r4; + shl r4 r2 into r5; + shl r5 r3 into r6; + output r6 as i8; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/shr_assign.out b/tests/expectations/compiler/statements/operations/shr_assign.out index c6f8f1ea69..b5db3677ce 100644 --- a/tests/expectations/compiler/statements/operations/shr_assign.out +++ b/tests/expectations/compiler/statements/operations/shr_assign.out @@ -1,3 +1,28 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100", unrolled_ast = "cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100", ssa_ast = "cc8aaa6ba45850e26a485c5a9941c66b756419c317d886b12a05b26a2ba326d4", flattened_ast = "e16a6b73d2090ce113026f3d7dc56967f317af5d76bfd35b2dc69176c4333651", destructured_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", inlined_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", dce_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", bytecode = "c9b6d8b47fbe5b72e82bc81b952ba14ed281fd0bde9182bf8c6d8e165fa84001", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "0809d7da060ff5a1856d1ab77a8709b29e9bdf9636c0a543f9f5ebda9dc3ae81", type_checked_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", unrolled_symbol_table = "88b7ca411ce5d2755794f68ea0775f224570da3d461eda27f5f9deab6b07ab64", initial_ast = "cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100", unrolled_ast = "cf5a997976b3f406e930a11d661e439ba8f965dcdfd533c7eac311afb6c75100", ssa_ast = "cc8aaa6ba45850e26a485c5a9941c66b756419c317d886b12a05b26a2ba326d4", flattened_ast = "e16a6b73d2090ce113026f3d7dc56967f317af5d76bfd35b2dc69176c4333651", destructured_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", inlined_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", dce_ast = "8ede1fd80cf77adf16d57fa2e898257f81217ede9bd6ad61344d3f00827093fb", bytecode = """ +program test.aleo; + + + +function unsigned: + input r0 as u8.private; + input r1 as u8.private; + input r2 as u16.private; + input r3 as u32.private; + shr r0 r1 into r4; + shr r4 r2 into r5; + shr r5 r3 into r6; + output r6 as u8.private; + + +closure signed: + input r0 as i8; + input r1 as u8; + input r2 as u16; + input r3 as u32; + shr r0 r1 into r4; + shr r4 r2 into r5; + shr r5 r3 into r6; + output r6 as i8; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/operations/sub_assign.out b/tests/expectations/compiler/statements/operations/sub_assign.out index 93a6d5f2d1..4cd7a29ab6 100644 --- a/tests/expectations/compiler/statements/operations/sub_assign.out +++ b/tests/expectations/compiler/statements/operations/sub_assign.out @@ -1,3 +1,12 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc", unrolled_ast = "63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc", ssa_ast = "6feb4290304332a1c9d7151546e1ff522667fdaf050b2a5d2c5c08f84970577c", flattened_ast = "8ed20c081bce62eaeb22c95170a30846776366fcc7ade1943c9fce125538b340", destructured_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", inlined_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", dce_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", bytecode = "e2d11ed53799ed66404c1913fe646293953de9e3b44fca9a3add80e04e9a34fc", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "b15cc8e072ff309d5fda50dd004627788721e3e6a91300c8fa120607bdb28f55", type_checked_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", unrolled_symbol_table = "67cb444b36ef53383675c7e5eeec189f58b59db699d528a9d2fe8c285e522e02", initial_ast = "63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc", unrolled_ast = "63f2beb522b578398f5e7329335289fa405dea83dbf6fcc2e338a2fc39afcefc", ssa_ast = "6feb4290304332a1c9d7151546e1ff522667fdaf050b2a5d2c5c08f84970577c", flattened_ast = "8ed20c081bce62eaeb22c95170a30846776366fcc7ade1943c9fce125538b340", destructured_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", inlined_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", dce_ast = "6358b17492d7ef077506d97baf94270c253d557d320c8e1dd41c0500f90a1537", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + sub 1u8 r0 into r1; + output r1 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out index 2218ac104a..f9b45b3060 100644 --- a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ab8c94f05a269440d7a47836728bb70a448eccfda894c5121edb4db3fa0d069b", type_checked_symbol_table = "7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26", unrolled_symbol_table = "7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26", initial_ast = "9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962", unrolled_ast = "9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962", ssa_ast = "ee8b01c25b736608a799d56f044ac621a3ad493d04c9cc2d9e6da0c556eebe31", flattened_ast = "b3994c5052f66bb60f6819dd3b1b0be78788dac8bfab05eb388c827840859965", destructured_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", inlined_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", dce_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", bytecode = "f8245e78b1dfaf2eeeb6aff9629ee561cdf6bf80f029c173fd32c6c002ad6e73", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ab8c94f05a269440d7a47836728bb70a448eccfda894c5121edb4db3fa0d069b", type_checked_symbol_table = "7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26", unrolled_symbol_table = "7a8660ef95184b05777705f39e57f80dac142f64e88bddf489fe40a867c5ae26", initial_ast = "9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962", unrolled_ast = "9c38807bbb24304691936a1d411fc7d7d7fea39778712b1c0d860eebc4b85962", ssa_ast = "ee8b01c25b736608a799d56f044ac621a3ad493d04c9cc2d9e6da0c556eebe31", flattened_ast = "b3994c5052f66bb60f6819dd3b1b0be78788dac8bfab05eb388c827840859965", destructured_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", inlined_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", dce_ast = "05d186960b057135d774e3de8c236b696741be00362515024057cc61a065d49a", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as boolean.private; + ternary r1 r0 2u8 into r2; + output r2 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/statements/underscore_for_loop.out b/tests/expectations/compiler/statements/underscore_for_loop.out index ecdf05aacc..4b901c245f 100644 --- a/tests/expectations/compiler/statements/underscore_for_loop.out +++ b/tests/expectations/compiler/statements/underscore_for_loop.out @@ -1,3 +1,11 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "5062ff54022ce573c87a47bc3435be475765352fe49d33a80117a7c99f9455f1", unrolled_symbol_table = "767bcafca0e607359b4fbedc2993c6b450d69b3f44e41fb25674b17da2f4aea3", initial_ast = "8edaf2a23a7e65051bf3e4ced5eece2f6de1339ca084d363c33b9c91930ae403", unrolled_ast = "56aa8c7dc5296377393e122a6efbb6efc3ee7f034e6b27f6d1b5c91f5a0168c4", ssa_ast = "41fcd8ba84c849134813ff374afdcbe8ef35ec7c83883a2f043196b64326b645", flattened_ast = "b97c7e66892e032d25802a5a915bd139efcc11fc476b996a3cb52d1b7d93b18e", destructured_ast = "8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74", inlined_ast = "8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74", dce_ast = "5f0575fcc735e68849c613d13d0af2f497a69f07ed5e0e560a4f9620fa550438", bytecode = "61cc464cdc1104635ea399648d62a06b112dc3462634b3f992151c6e5572d6f7", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "5062ff54022ce573c87a47bc3435be475765352fe49d33a80117a7c99f9455f1", unrolled_symbol_table = "767bcafca0e607359b4fbedc2993c6b450d69b3f44e41fb25674b17da2f4aea3", initial_ast = "8edaf2a23a7e65051bf3e4ced5eece2f6de1339ca084d363c33b9c91930ae403", unrolled_ast = "56aa8c7dc5296377393e122a6efbb6efc3ee7f034e6b27f6d1b5c91f5a0168c4", ssa_ast = "41fcd8ba84c849134813ff374afdcbe8ef35ec7c83883a2f043196b64326b645", flattened_ast = "b97c7e66892e032d25802a5a915bd139efcc11fc476b996a3cb52d1b7d93b18e", destructured_ast = "8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74", inlined_ast = "8741ccfe8d857512d4b15ddd3319f027e3d6070f1b5d54b643ce0f92bc9b3a74", dce_ast = "5f0575fcc735e68849c613d13d0af2f497a69f07ed5e0e560a4f9620fa550438", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + output true as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/external_record.out b/tests/expectations/compiler/structs/external_record.out index f021e4786a..25b364bdcd 100644 --- a/tests/expectations/compiler/structs/external_record.out +++ b/tests/expectations/compiler/structs/external_record.out @@ -1,7 +1,57 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "340c54b67bf4ed5c52a8c178e9cd7f7f8aa1d733cc157327b14cd9658b386ae6", type_checked_symbol_table = "d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5", unrolled_symbol_table = "d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5", initial_ast = "d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880", unrolled_ast = "d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880", ssa_ast = "196758b126b3b83c899c1d7bfccc7caf76b275f5ea5797da6d7b62f9d46d13cb", flattened_ast = "51b1fc2019f67cf0624405a13151677297b6b87207d41bde6e45edd221163898", destructured_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", inlined_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", dce_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", bytecode = "6341f6fcccbfa86b71e0eac445b9d0ee558c74ef896183ee82b456b9e7fb2270", errors = "", warnings = "" }, - { initial_symbol_table = "3e72c903f6f9ab2438076da7c329b8cd369c9c3307d14bff4963e8a8f6bb18e0", type_checked_symbol_table = "27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7", unrolled_symbol_table = "27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7", initial_ast = "bf17af18b2264841e5933766b4bd190c7139d59d121e1c2a1b7a0c37715f90b2", unrolled_ast = "c82dddfcac1fec8f63b8dfce008fd6cb000b7f603fd22611ae000adefcb4246c", ssa_ast = "97069a75c94ed52904c922470f78a75abcab70ec1a7f5966febe8cae605efb8e", flattened_ast = "be815a3a27a747ffd6f1c6d87dccba6f90c6d90e3b78fd50112f77f5289fb5eb", destructured_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", inlined_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", dce_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", bytecode = "e902cc1e73a94c6024944460951f6207587ed939584c016908554b23280b94ec", errors = "", warnings = "" }, - { initial_symbol_table = "78c72f7c5e19d1f0fbd6073ed85b5f7977f912d671e4c522bd27652647b19733", type_checked_symbol_table = "6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb", unrolled_symbol_table = "6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb", initial_ast = "65349655f9b288bcb18caaa1d1216e7678f0e3919b740719d1a9f9660124f7ec", unrolled_ast = "6ad3178891c74b6042bddee324c5dce52addcf62565d3457154b907863926f9a", ssa_ast = "6af16bac66f4da284d7bb27542f90f77a4eb6ffcc7915aa1ea64953a899437e9", flattened_ast = "afb3257ab605fb3ba64f07f5400edce3206ea852d567f5e16962c9e6b0b3c47b", destructured_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", inlined_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", dce_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", bytecode = "b92b0c5017841d1c4ace13f7b040b9b7f84174bf74d49b8472f5f101f0d6caf8", errors = "", warnings = "" }, + { initial_symbol_table = "340c54b67bf4ed5c52a8c178e9cd7f7f8aa1d733cc157327b14cd9658b386ae6", type_checked_symbol_table = "d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5", unrolled_symbol_table = "d972634f150980436170caf1f7ebaa08f35f59f0c68166ca2df8a9ebdf4c71e5", initial_ast = "d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880", unrolled_ast = "d4a02a93f27d962ced13da70e6e78fb8b53c585fab7232c4afb6ebdb97751880", ssa_ast = "196758b126b3b83c899c1d7bfccc7caf76b275f5ea5797da6d7b62f9d46d13cb", flattened_ast = "51b1fc2019f67cf0624405a13151677297b6b87207d41bde6e45edd221163898", destructured_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", inlined_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", dce_ast = "ea1edb23d0539d5c6af1d224d82f00494a4809b5a59a3fe6ef7d151639f590c8", bytecode = """ +program child.aleo; + +record A: + owner as address.private; + val as u32.private; + + +function mint: + input r0 as address.private; + input r1 as u32.private; + cast r0 r1 into r2 as A.record; + output r2 as A.record; +""", errors = "", warnings = "" }, + { initial_symbol_table = "3e72c903f6f9ab2438076da7c329b8cd369c9c3307d14bff4963e8a8f6bb18e0", type_checked_symbol_table = "27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7", unrolled_symbol_table = "27f40a9e28a4b7d03d5c91be8a1893b766ac0e9be2d8a7c5ababe68b45ee01c7", initial_ast = "bf17af18b2264841e5933766b4bd190c7139d59d121e1c2a1b7a0c37715f90b2", unrolled_ast = "c82dddfcac1fec8f63b8dfce008fd6cb000b7f603fd22611ae000adefcb4246c", ssa_ast = "97069a75c94ed52904c922470f78a75abcab70ec1a7f5966febe8cae605efb8e", flattened_ast = "be815a3a27a747ffd6f1c6d87dccba6f90c6d90e3b78fd50112f77f5289fb5eb", destructured_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", inlined_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", dce_ast = "b29a50cae659e63902e0137059becdf6f15d00c7aeded8f68ef97a95e9de2fbc", bytecode = """ +import child.aleo; +program parent.aleo; + + +record B: + owner as address.private; + val as u32.private; + + +function wrapper_mint: + input r0 as address.private; + input r1 as u32.private; + call child.aleo/mint self.caller 1u32 into r2; + cast self.caller r1 into r3 as B.record; + output r2 as child.aleo/A.record; + output r3 as B.record; +""", errors = "", warnings = "" }, + { initial_symbol_table = "78c72f7c5e19d1f0fbd6073ed85b5f7977f912d671e4c522bd27652647b19733", type_checked_symbol_table = "6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb", unrolled_symbol_table = "6c8f504dd11151208a41f10109046e49a18fb4609706a71c01a11eb5d16128bb", initial_ast = "65349655f9b288bcb18caaa1d1216e7678f0e3919b740719d1a9f9660124f7ec", unrolled_ast = "6ad3178891c74b6042bddee324c5dce52addcf62565d3457154b907863926f9a", ssa_ast = "6af16bac66f4da284d7bb27542f90f77a4eb6ffcc7915aa1ea64953a899437e9", flattened_ast = "afb3257ab605fb3ba64f07f5400edce3206ea852d567f5e16962c9e6b0b3c47b", destructured_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", inlined_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", dce_ast = "819770e49c3158317e2a112c99aed86f6cc14b4c61eda5acbf796973fcdeedc7", bytecode = """ +import child.aleo; +import parent.aleo; +program grandparent.aleo; + + + +record C: + owner as address.private; + val as u32.private; + + +function double_wrapper_mint: + input r0 as address.private; + input r1 as u32.private; + call parent.aleo/wrapper_mint r0 r1 into r2 r3; + cast r0 r1 into r4 as C.record; + output r2 as child.aleo/A.record; + output r3 as parent.aleo/B.record; + output r4 as C.record; +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/structs/external_struct.out b/tests/expectations/compiler/structs/external_struct.out index 89310c0a71..2296262238 100644 --- a/tests/expectations/compiler/structs/external_struct.out +++ b/tests/expectations/compiler/structs/external_struct.out @@ -1,7 +1,135 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "b9d02d1b85ab19ec91480212bbfe3b765bc663861026aa9dbb97b31ec1e4996b", type_checked_symbol_table = "135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c", unrolled_symbol_table = "135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c", initial_ast = "067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3", unrolled_ast = "067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3", ssa_ast = "af24b1aeb7c1a05116ed5c1a718067de95c2365a0532e9d97bd1cf69912a70fa", flattened_ast = "c3d8cff7286b7d1187046982da77a9527f2753d62e914407cb5d42b4242636fd", destructured_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", inlined_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", dce_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", bytecode = "c562a0b23873460644ce0af83bd46d2a4010f5d667aafd72940cfa0dd3a1c893", errors = "", warnings = "" }, - { initial_symbol_table = "f2ae8eee41238514bb792b1b782feab70aa865807bb489187726796a3d5198b7", type_checked_symbol_table = "f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351", unrolled_symbol_table = "f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351", initial_ast = "90f2be69e327a67e772bab6e517a1efe90d6fbbdcda2ab69e73c48dd5ea413cd", unrolled_ast = "163290d0f28722f746b4d4541abe84c17a91c65a8c7d690b98b7f0af19994ad5", ssa_ast = "a112118a15f292e6c7f1c19cea3d817142e53f4eeb9519991d451d2544473fd7", flattened_ast = "42734a56fa5e1bcd21832d5c83e314cbc249b5d8437ebbc072052a07fbb22070", destructured_ast = "56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5", inlined_ast = "56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5", dce_ast = "26bd4e6f56705dd313f4fa58b964be29576620e0b6a2fc25d9ad55bd89a88413", bytecode = "5a1ca0038e83880d6d2cd5413ca4e8ec01e2622d635d6d8b2cb64463cd5c4817", errors = "", warnings = "" }, - { initial_symbol_table = "de21200cc8a95064b4a4b2d7a1f194d3b54595212e607ee49edd716cbf6dd17e", type_checked_symbol_table = "4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29", unrolled_symbol_table = "4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29", initial_ast = "0cc09a6fcaafb39da24c46d650f915c6352b593958d991f45b0ec61ef3bf01bb", unrolled_ast = "3f95452c2a8d57484c7814740d596de17d20bf04d812e7b106ca1eb1273be3cd", ssa_ast = "1b9583fe511e9f5705f2cd4d0566d697929b8c2480709f9c14378658e64a67f5", flattened_ast = "c4c6d893a4252bdd83ff40b1109057545c57474e4636188b22dd7f936a14e42c", destructured_ast = "b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3", inlined_ast = "b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3", dce_ast = "b3ae1144d78b74320dde8741d8b779408a633b5a152efce15f6c9f38abe957ad", bytecode = "81e7b663dbb9d60c89b80b448c71ada9bdc7a93fac808bd8d1b6ca3ab053f914", errors = "", warnings = "" }, + { initial_symbol_table = "b9d02d1b85ab19ec91480212bbfe3b765bc663861026aa9dbb97b31ec1e4996b", type_checked_symbol_table = "135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c", unrolled_symbol_table = "135897b1dbcb1676d36ac8d1aa865381e9530287bb7449442ea446c29bb6449c", initial_ast = "067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3", unrolled_ast = "067591039f4d58fae5acf7c987d08fead46a25d06278ec74b3d0e41851a1f2e3", ssa_ast = "af24b1aeb7c1a05116ed5c1a718067de95c2365a0532e9d97bd1cf69912a70fa", flattened_ast = "c3d8cff7286b7d1187046982da77a9527f2753d62e914407cb5d42b4242636fd", destructured_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", inlined_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", dce_ast = "3d04c9faddeaf8bc7839934ecc75b0dfe973c198e0c19bf0683a16ba3f13cdef", bytecode = """ +program child.aleo; + +struct Two: + val1 as u32; + val2 as u32; + +struct One: + two as [Two; 2u32]; + +struct Baz: + one as One; + +struct Bar: + baz as [Baz; 2u32]; + +struct Foo: + bar as [Bar; 1u32]; + +record Boo: + owner as address.private; + val as u32.private; + + +function create: + cast 1u32 2u32 into r0 as Two; + cast 3u32 4u32 into r1 as Two; + cast r0 r1 into r2 as [Two; 2u32]; + cast r2 into r3 as One; + cast r3 into r4 as Baz; + cast 5u32 6u32 into r5 as Two; + cast 7u32 8u32 into r6 as Two; + cast r5 r6 into r7 as [Two; 2u32]; + cast r7 into r8 as One; + cast r8 into r9 as Baz; + cast r4 r9 into r10 as [Baz; 2u32]; + cast r10 into r11 as Bar; + cast r11 into r12 as [Bar; 1u32]; + cast r12 into r13 as Foo; + cast self.caller 10u32 into r14 as Boo.record; + output r13 as Foo.private; + output r14 as Boo.record; +""", errors = "", warnings = "" }, + { initial_symbol_table = "f2ae8eee41238514bb792b1b782feab70aa865807bb489187726796a3d5198b7", type_checked_symbol_table = "f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351", unrolled_symbol_table = "f7765fa8c7a391f3250f9c2ff124729fe8592f32dbc82d7e9428682df49ea351", initial_ast = "90f2be69e327a67e772bab6e517a1efe90d6fbbdcda2ab69e73c48dd5ea413cd", unrolled_ast = "163290d0f28722f746b4d4541abe84c17a91c65a8c7d690b98b7f0af19994ad5", ssa_ast = "a112118a15f292e6c7f1c19cea3d817142e53f4eeb9519991d451d2544473fd7", flattened_ast = "42734a56fa5e1bcd21832d5c83e314cbc249b5d8437ebbc072052a07fbb22070", destructured_ast = "56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5", inlined_ast = "56c2bd2789e46f95b9e93b225777b4a6178cbedd75256c4adf21df9f65485ea5", dce_ast = "26bd4e6f56705dd313f4fa58b964be29576620e0b6a2fc25d9ad55bd89a88413", bytecode = """ +import child.aleo; +program parent.aleo; + +struct Two: + val1 as u32; + val2 as u32; + +struct One: + two as [Two; 2u32]; + +struct Baz: + one as One; + +struct Bar: + baz as [Baz; 2u32]; + +struct Foo: + bar as [Bar; 1u32]; + + +struct Woo: + a as u32; + b as u32; + +record BooHoo: + owner as address.private; + val as u32.private; + woo as Woo.private; + + +function create_wrapper: + call child.aleo/create into r0 r1; + output r0 as Foo.private; + output r1 as child.aleo/Boo.record; + + +function create_another_wrapper: + call child.aleo/create into r0 r1; + cast 1u32 2u32 into r2 as Woo; + cast self.caller 10u32 r2 into r3 as BooHoo.record; + cast 3u32 4u32 into r4 as Woo; + output r0 as Foo.private; + output r1 as child.aleo/Boo.record; + output r3 as BooHoo.record; + output r4 as Woo.private; +""", errors = "", warnings = "" }, + { initial_symbol_table = "de21200cc8a95064b4a4b2d7a1f194d3b54595212e607ee49edd716cbf6dd17e", type_checked_symbol_table = "4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29", unrolled_symbol_table = "4e42579ae5f24adba68080229fc51fd767334ad987d82c6f755fe90d20b4cd29", initial_ast = "0cc09a6fcaafb39da24c46d650f915c6352b593958d991f45b0ec61ef3bf01bb", unrolled_ast = "3f95452c2a8d57484c7814740d596de17d20bf04d812e7b106ca1eb1273be3cd", ssa_ast = "1b9583fe511e9f5705f2cd4d0566d697929b8c2480709f9c14378658e64a67f5", flattened_ast = "c4c6d893a4252bdd83ff40b1109057545c57474e4636188b22dd7f936a14e42c", destructured_ast = "b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3", inlined_ast = "b4c4946001c3c5eeb47744a365a7908728a8de9b8d8a8cf0fe3d4072870168e3", dce_ast = "b3ae1144d78b74320dde8741d8b779408a633b5a152efce15f6c9f38abe957ad", bytecode = """ +import child.aleo; +import parent.aleo; +program grandparent.aleo; + +struct Two: + val1 as u32; + val2 as u32; + +struct One: + two as [Two; 2u32]; + +struct Baz: + one as One; + +struct Bar: + baz as [Baz; 2u32]; + +struct Foo: + bar as [Bar; 1u32]; + + +struct Woo: + a as u32; + b as u32; + + + +function main: + input r0 as u32.private; + add 1u32 r0 into r1; + output r1 as u32.private; + + +function omega_wrapper: + call parent.aleo/create_another_wrapper into r0 r1 r2 r3; + output r0 as Foo.private; + output r1 as child.aleo/Boo.record; + output r2 as parent.aleo/BooHoo.record; + output r3 as Woo.private; +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/structs/external_struct_in_async_function.out b/tests/expectations/compiler/structs/external_struct_in_async_function.out index a8c541d0a4..e883e572e7 100644 --- a/tests/expectations/compiler/structs/external_struct_in_async_function.out +++ b/tests/expectations/compiler/structs/external_struct_in_async_function.out @@ -1,6 +1,35 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "52de8e39e7909bf371547bcd54ab3e76fd09cbd6544a5772d042c4d25c996e2c", type_checked_symbol_table = "b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8", unrolled_symbol_table = "b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8", initial_ast = "b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6", unrolled_ast = "b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6", ssa_ast = "ba1b08fbe9a242a88e6c13d8be7691a1fb2e9bf45abd6c089ea0f4659ec38866", flattened_ast = "e8a54be927eb0d70f57e05142476382f2c3ef64b9d0a52a3e95b2bad0ba46764", destructured_ast = "073fe0dab04571576a62611e9781356da18c58cbf08d910ab61d2179f249bc5d", inlined_ast = "7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a", dce_ast = "7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a", bytecode = "688608475dba90bb7f4b89d00988f9f4944d15a84f89f6b1b78e4c1ec1b342ca", errors = "", warnings = "" }, - { initial_symbol_table = "c9f26fb8c18222d0819c01087efc4aae88ea8944dec03710d94c38c24e0d077a", type_checked_symbol_table = "ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae", unrolled_symbol_table = "ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae", initial_ast = "b1348090a951e00cbf76c62d734fa808bfceea5b4169aa6da15a08ff185cbc50", unrolled_ast = "f1c461c8b0f677d0954ff6d29ab29abb648b57c7c141ddaf116a28d837e2b546", ssa_ast = "39e50a1b965cf6d4c19750d75edd4b1a8f8c02c04bbcb361f4fa70cebdc39574", flattened_ast = "a5a1c8def04670f3c5177946811bd27dcae5b045fce181e5e3307d9964686341", destructured_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", inlined_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", dce_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", bytecode = "7881a6c09234d93975545436c75faf7d6a17d6d1c5723d8b29b214ca130eed23", errors = "", warnings = "" }, + { initial_symbol_table = "52de8e39e7909bf371547bcd54ab3e76fd09cbd6544a5772d042c4d25c996e2c", type_checked_symbol_table = "b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8", unrolled_symbol_table = "b15217927f45cc35af145e9c260af0d8ac353f397a29ca444ff4a95258610db8", initial_ast = "b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6", unrolled_ast = "b4c949f6c13875d2cfdc35c1cfeeb6eee60eaa02b40736f21f7299643f554bf6", ssa_ast = "ba1b08fbe9a242a88e6c13d8be7691a1fb2e9bf45abd6c089ea0f4659ec38866", flattened_ast = "e8a54be927eb0d70f57e05142476382f2c3ef64b9d0a52a3e95b2bad0ba46764", destructured_ast = "073fe0dab04571576a62611e9781356da18c58cbf08d910ab61d2179f249bc5d", inlined_ast = "7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a", dce_ast = "7d4857f2b1507ba362be0e6a1aa273a2c849cb6080fbfb4a9759232ba7701d0a", bytecode = """ +program parent.aleo; + +struct TestStruct: + data0 as u128; + data1 as u128; + + + +function init: + cast 0u128 1u128 into r0 as TestStruct; + async init r0 into r1; + output r1 as parent.aleo/init.future; + +finalize init: + input r0 as TestStruct.public; + assert.eq 0u32 0u32; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "c9f26fb8c18222d0819c01087efc4aae88ea8944dec03710d94c38c24e0d077a", type_checked_symbol_table = "ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae", unrolled_symbol_table = "ed3db1e139955da3a7df17d8abdf36ddcabf05e2cb0cc6af012cce4a4fc67fae", initial_ast = "b1348090a951e00cbf76c62d734fa808bfceea5b4169aa6da15a08ff185cbc50", unrolled_ast = "f1c461c8b0f677d0954ff6d29ab29abb648b57c7c141ddaf116a28d837e2b546", ssa_ast = "39e50a1b965cf6d4c19750d75edd4b1a8f8c02c04bbcb361f4fa70cebdc39574", flattened_ast = "a5a1c8def04670f3c5177946811bd27dcae5b045fce181e5e3307d9964686341", destructured_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", inlined_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", dce_ast = "97153aa38aad12f2695c1e457270bd678add4d96f01f78660a9be0ab8cd409bf", bytecode = """ +import parent.aleo; +program child.aleo; + +struct TestStruct: + data0 as u128; + data1 as u128; + + +function main: + output 1u32 as u32.private; +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/structs/inline.out b/tests/expectations/compiler/structs/inline.out index 2f81df5662..59ad888a98 100644 --- a/tests/expectations/compiler/structs/inline.out +++ b/tests/expectations/compiler/structs/inline.out @@ -1,3 +1,14 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "c26f65afb3f8c6a068dd98b49503e30e69d0ce68c50727723a78e0bd77ce7095", type_checked_symbol_table = "3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba", unrolled_symbol_table = "3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba", initial_ast = "8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389", unrolled_ast = "8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389", ssa_ast = "af27b467011e346f5e23d55919c971abbdee3d977fa6f66f1f2874edd69838c5", flattened_ast = "97edd75c3be5d9423ec75cc43195724f29a4f391e275b21aa6005102364eca46", destructured_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", inlined_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", dce_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", bytecode = "ec61be65e2947187dd58fdd1cf6f98301443d81e225b3ba2a3971b38ed950b05", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "c26f65afb3f8c6a068dd98b49503e30e69d0ce68c50727723a78e0bd77ce7095", type_checked_symbol_table = "3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba", unrolled_symbol_table = "3ea359eb04e150a68c8d9f940330ce63d689114d2bb47211dffcfd7370a6b1ba", initial_ast = "8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389", unrolled_ast = "8240026b64541e67f9c2d69f59793310262c3b570caed19025a988551526e389", ssa_ast = "af27b467011e346f5e23d55919c971abbdee3d977fa6f66f1f2874edd69838c5", flattened_ast = "97edd75c3be5d9423ec75cc43195724f29a4f391e275b21aa6005102364eca46", destructured_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", inlined_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", dce_ast = "6da69e57d85dca6aeb6d2667e1528e86483ac9868f1ccb4a5b4a886893be5abf", bytecode = """ +program test.aleo; + +struct Foo: + x as u32; + + +function main: + input r0 as u32.private; + cast r0 into r1 as Foo; + output r1.x as u32.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/member_variable.out b/tests/expectations/compiler/structs/member_variable.out index 86b6cb2a22..af9bbc1b36 100644 --- a/tests/expectations/compiler/structs/member_variable.out +++ b/tests/expectations/compiler/structs/member_variable.out @@ -1,3 +1,16 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "96982aa1a232b95f3cce88dc995284e778631b168af89eb4f049f360cf5c2009", type_checked_symbol_table = "5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6", unrolled_symbol_table = "5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6", initial_ast = "6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980", unrolled_ast = "6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980", ssa_ast = "cf645e1be13a0e77fe51422b2577805ec94ef0d975301860f0a950ca291dbea4", flattened_ast = "8845d50db3bfe49287e668ae154fa034204bfa55269013cc73733398e1022b1a", destructured_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", inlined_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", dce_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", bytecode = "762d4097e94ed495b4a3996bae354d8c1b9396d0620e8f794ae4356829a6e89d", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "96982aa1a232b95f3cce88dc995284e778631b168af89eb4f049f360cf5c2009", type_checked_symbol_table = "5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6", unrolled_symbol_table = "5bc0f2db28ffc8161fe3be96fe3af4fc1b8d5a518c1ea8389f035b4e93aa30b6", initial_ast = "6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980", unrolled_ast = "6da87355d5a0e9536d0696f385d66382858d2c36a8ed24ebec49d95beac55980", ssa_ast = "cf645e1be13a0e77fe51422b2577805ec94ef0d975301860f0a950ca291dbea4", flattened_ast = "8845d50db3bfe49287e668ae154fa034204bfa55269013cc73733398e1022b1a", destructured_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", inlined_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", dce_ast = "a7f28cc5f9919c72ef312cdfe442d985a2f1e1ac488d4e1a1f9ed212d0e9ffff", bytecode = """ +program test.aleo; + +struct Foo: + x as u32; + + +function main: + input r0 as boolean.private; + cast 1u32 into r1 as Foo; + is.eq r1.x 1u32 into r2; + is.eq r2 r0 into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/redefine_external_struct.out b/tests/expectations/compiler/structs/redefine_external_struct.out index 4ae0ab204b..bb04fef85b 100644 --- a/tests/expectations/compiler/structs/redefine_external_struct.out +++ b/tests/expectations/compiler/structs/redefine_external_struct.out @@ -1,6 +1,66 @@ namespace = "Compile" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "74e53781a60f54132c609b3b03492c4250036c379e5204b93329a9f57d49fe91", type_checked_symbol_table = "8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c", unrolled_symbol_table = "8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c", initial_ast = "74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf", unrolled_ast = "74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf", ssa_ast = "9d457405594c43b13f129dcd8b95302086654fa55355b387c83aabaaee1f2d6d", flattened_ast = "03e9facafccbbc398b682d08a79df26fdd778b91f2f4bed225ce5a5323e2171b", destructured_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", inlined_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", dce_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", bytecode = "313d955a664b50823386dc1f0d7141f5fc80174c965209376991ff0a5d0012f9", errors = "", warnings = "" }, - { initial_symbol_table = "bb3a69180106d91616ac9d6778fe8aee0fbdaab72b1b079183ebd0fcf772e359", type_checked_symbol_table = "92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb", unrolled_symbol_table = "92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb", initial_ast = "4406bc30d232c90c5069c388652b051dbb9e5378a20f38e69cf9f847ae83aee0", unrolled_ast = "2f3e72af631b9e4cdd067c40959e112bb0a7d1a5076a6c44b818c322ab4229f7", ssa_ast = "fcc3c8e717138f0c75a3c7765b26af7e5d009d1d7afd239b782ef56f0b0f3763", flattened_ast = "435f235eed4f63f31e391e6455014bd64de1320f147d156e4453414dca21752f", destructured_ast = "cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481", inlined_ast = "cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481", dce_ast = "a40a9b93296c22a41a527727f8cf61dc11dbed23ac00c3577333a63d6d1393f8", bytecode = "391aaceb8bee155d767833247676b44806a300637213cd0d4c2dcc23f93396c1", errors = "", warnings = "" }, + { initial_symbol_table = "74e53781a60f54132c609b3b03492c4250036c379e5204b93329a9f57d49fe91", type_checked_symbol_table = "8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c", unrolled_symbol_table = "8851bc9f35e154359b0cbcc34f19cd64e3ebfcbacd301e070ad4b44e399d897c", initial_ast = "74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf", unrolled_ast = "74b39a65214c6dd05311092d4e59bd51eae97ebd18d1d680b1db55cfb54beddf", ssa_ast = "9d457405594c43b13f129dcd8b95302086654fa55355b387c83aabaaee1f2d6d", flattened_ast = "03e9facafccbbc398b682d08a79df26fdd778b91f2f4bed225ce5a5323e2171b", destructured_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", inlined_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", dce_ast = "1970939a0425fa00978dc2822b28f011d3c27a16aa6d9e4bad7ff681a0a7411f", bytecode = """ +program child.aleo; + +struct Two: + val1 as u32; + val2 as u32; + +struct One: + two as [Two; 2u32]; + +struct Baz: + one as One; + +struct Bar: + baz as [Baz; 2u32]; + +struct Foo: + bar as [Bar; 1u32]; + + +function create: + cast 1u32 2u32 into r0 as Two; + cast 3u32 4u32 into r1 as Two; + cast r0 r1 into r2 as [Two; 2u32]; + cast r2 into r3 as One; + cast r3 into r4 as Baz; + cast 5u32 6u32 into r5 as Two; + cast 7u32 8u32 into r6 as Two; + cast r5 r6 into r7 as [Two; 2u32]; + cast r7 into r8 as One; + cast r8 into r9 as Baz; + cast r4 r9 into r10 as [Baz; 2u32]; + cast r10 into r11 as Bar; + cast r11 into r12 as [Bar; 1u32]; + cast r12 into r13 as Foo; + output r13 as Foo.private; +""", errors = "", warnings = "" }, + { initial_symbol_table = "bb3a69180106d91616ac9d6778fe8aee0fbdaab72b1b079183ebd0fcf772e359", type_checked_symbol_table = "92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb", unrolled_symbol_table = "92c4575a892476360e9efc1a118f534c1901622faca71626bb5778f76332e5cb", initial_ast = "4406bc30d232c90c5069c388652b051dbb9e5378a20f38e69cf9f847ae83aee0", unrolled_ast = "2f3e72af631b9e4cdd067c40959e112bb0a7d1a5076a6c44b818c322ab4229f7", ssa_ast = "fcc3c8e717138f0c75a3c7765b26af7e5d009d1d7afd239b782ef56f0b0f3763", flattened_ast = "435f235eed4f63f31e391e6455014bd64de1320f147d156e4453414dca21752f", destructured_ast = "cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481", inlined_ast = "cdce20251477a5fa781fb90ae69dd08e12710b9d39363d4eecbfb81ac05e7481", dce_ast = "a40a9b93296c22a41a527727f8cf61dc11dbed23ac00c3577333a63d6d1393f8", bytecode = """ +import child.aleo; +program parent.aleo; + +struct Two: + val1 as u32; + val2 as u32; + +struct One: + two as [Two; 2u32]; + +struct Baz: + one as One; + +struct Bar: + baz as [Baz; 2u32]; + +struct Foo: + bar as [Bar; 1u32]; + + +function create_wrapper: + call child.aleo/create into r0; + output r0 as Foo.private; +""", errors = "", warnings = "" }, ] }]] diff --git a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out index ffd8aab823..2e7dd89f41 100644 --- a/tests/expectations/compiler/structs/struct_declaration_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_declaration_out_of_order.out @@ -1,3 +1,43 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "be950b64dff74bb4ad08faa37527874d28cc07461aa058f03d4d5e8994984d51", type_checked_symbol_table = "b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871", unrolled_symbol_table = "b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871", initial_ast = "6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020", unrolled_ast = "6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020", ssa_ast = "753d548ee07f7271eea880232061fa6cf6fbe0cf33305adf27b99e77084a4d75", flattened_ast = "155b30d8457f01a785c924db88f2e56cb8eed24f0b4734162002e6c8c5641b84", destructured_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", inlined_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", dce_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", bytecode = "863e38ce365f290cb635173708362b07c114f9c938e377d5373d2cdbd5555098", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "be950b64dff74bb4ad08faa37527874d28cc07461aa058f03d4d5e8994984d51", type_checked_symbol_table = "b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871", unrolled_symbol_table = "b3a46c44d3dce231e93a790aaf2ca0a2428a35e7180603c314191673e969a871", initial_ast = "6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020", unrolled_ast = "6f30585164eb4d8aff31f8427cb667740fde41ed391820f1536201b027933020", ssa_ast = "753d548ee07f7271eea880232061fa6cf6fbe0cf33305adf27b99e77084a4d75", flattened_ast = "155b30d8457f01a785c924db88f2e56cb8eed24f0b4734162002e6c8c5641b84", destructured_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", inlined_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", dce_ast = "81a07e90a02d1819b7a507066af8c4890a435bc44f29a76082eae87567518ad6", bytecode = """ +program test.aleo; + +struct A: + data as u8; + +struct C: + data as u8; + +struct E: + data as u8; + +struct D: + c as C; + e as E; + +struct B: + a as A; + d as D; + +struct H: + data as u8; + +struct I: + h as H; + +struct G: + i as I; + +struct F: + b as B; + g as G; + + +function foo: + input r0 as F.private; + add r0.b.a.data r0.b.d.c.data into r1; + add r1 r0.b.d.e.data into r2; + add r2 r0.g.i.h.data into r3; + output r3 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/structs/struct_init_out_of_order.out b/tests/expectations/compiler/structs/struct_init_out_of_order.out index 42d1e6630a..ae6f4a4aa7 100644 --- a/tests/expectations/compiler/structs/struct_init_out_of_order.out +++ b/tests/expectations/compiler/structs/struct_init_out_of_order.out @@ -1,3 +1,24 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ca7bf7eee449f8c777a7469fa6796b322a48f2e41473fe947476d5b188b5efe8", type_checked_symbol_table = "8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439", unrolled_symbol_table = "8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439", initial_ast = "38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e", unrolled_ast = "38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e", ssa_ast = "5c2c8a5ba3777ea8842fb4c8632ba563f84ffc888822043c4c7072862944553d", flattened_ast = "7deb3bedd967ca8e4f02dd2c03c9b77d56a3f9d005220ccee2c13880b900a701", destructured_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", inlined_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", dce_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", bytecode = "e8b13087d9609aaed141be0bd8bcdcf8941faa1eff034046212c276ff58e0cf4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ca7bf7eee449f8c777a7469fa6796b322a48f2e41473fe947476d5b188b5efe8", type_checked_symbol_table = "8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439", unrolled_symbol_table = "8652c3474da00cbc5113a3d5551b14dfec8a13b16176262e0f9d283c67ec1439", initial_ast = "38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e", unrolled_ast = "38ffc7c2ebcb99ee4a9e936f5566d3de081f67722eab7d87c5a1de167a22430e", ssa_ast = "5c2c8a5ba3777ea8842fb4c8632ba563f84ffc888822043c4c7072862944553d", flattened_ast = "7deb3bedd967ca8e4f02dd2c03c9b77d56a3f9d005220ccee2c13880b900a701", destructured_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", inlined_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", dce_ast = "59a9f98ca454b037595d7c67fad52659ae3fe74abe176b2df69e3596d1f1d011", bytecode = """ +program test.aleo; + +struct Foo: + a as u8; + b as u16; + +struct Bar: + a as u8; + b as u8; + + +function main: + input r0 as u8.private; + input r1 as u16.private; + add r0 r0 into r2; + mul r1 r1 into r3; + cast r2 r3 into r4 as Foo; + cast r0 r2 into r5 as Bar; + output r4 as Foo.private; + output r5 as Bar.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_call_returns_tuple.out b/tests/expectations/compiler/tuple/function_call_returns_tuple.out index 2d012a5620..5ed2046aa6 100644 --- a/tests/expectations/compiler/tuple/function_call_returns_tuple.out +++ b/tests/expectations/compiler/tuple/function_call_returns_tuple.out @@ -1,3 +1,31 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "28331a05f099f64dd23806fdf848c1d57d30b17b9ea7b5e309f4d7a7e8d4162b", type_checked_symbol_table = "449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c", unrolled_symbol_table = "449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c", initial_ast = "0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea", unrolled_ast = "0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea", ssa_ast = "7f57febaeac178acde1e72b5b4287ec436a1cd62a3cc941b4bd3faec97bac7a4", flattened_ast = "253ed245e59e1c3386dd35fe54366164073540f1541d8d361969912b7ef9fca1", destructured_ast = "ddbd78b291884bdb3178218807f0cc05b7b94a0ea135bbde6ea89c3ba5628e7e", inlined_ast = "b75a62d1460c2384bf73343eaa865225f3215f3fc2657f3149e2e4a71e112a39", dce_ast = "252f3f18bb963961137514ba6814d68d4bb8b5c5e5d1fd6955ffd1c7ef47b8b5", bytecode = "f8a3d7352634db2882bc62840443ed6981ab356b6037c6bce8b2361189e82319", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "28331a05f099f64dd23806fdf848c1d57d30b17b9ea7b5e309f4d7a7e8d4162b", type_checked_symbol_table = "449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c", unrolled_symbol_table = "449efa2e1b7143cb9523cd40a1da99bd54863c3fd68e39a820173bddc544226c", initial_ast = "0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea", unrolled_ast = "0c172f9b4921fc30d51d61eaa6205537ce6b0e1146864050154ad4a09edfaeea", ssa_ast = "7f57febaeac178acde1e72b5b4287ec436a1cd62a3cc941b4bd3faec97bac7a4", flattened_ast = "253ed245e59e1c3386dd35fe54366164073540f1541d8d361969912b7ef9fca1", destructured_ast = "ddbd78b291884bdb3178218807f0cc05b7b94a0ea135bbde6ea89c3ba5628e7e", inlined_ast = "b75a62d1460c2384bf73343eaa865225f3215f3fc2657f3149e2e4a71e112a39", dce_ast = "252f3f18bb963961137514ba6814d68d4bb8b5c5e5d1fd6955ffd1c7ef47b8b5", bytecode = """ +program test.aleo; + + + +closure foo: + input r0 as u8; + input r1 as u8; + is.eq r0 r1 into r2; + add r0 r1 into r3; + sub r0 r1 into r4; + ternary r2 r0 r3 into r5; + ternary r2 r1 r4 into r6; + output r5 as u8; + output r6 as u8; + + +function bar: + input r0 as boolean.private; + input r1 as u8.private; + input r2 as u8.private; + call foo r1 r2 into r3 r4; + call foo r3 r4 into r5 r6; + call foo r4 r3 into r7 r8; + ternary r0 r5 r7 into r9; + ternary r0 r6 r8 into r10; + output r9 as u8.private; + output r10 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_early_return.out b/tests/expectations/compiler/tuple/function_early_return.out index f1602dcdef..37a29e630a 100644 --- a/tests/expectations/compiler/tuple/function_early_return.out +++ b/tests/expectations/compiler/tuple/function_early_return.out @@ -1,3 +1,18 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704", unrolled_symbol_table = "1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704", initial_ast = "462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d", unrolled_ast = "462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d", ssa_ast = "79bba39bc18a544b54c02d10076536ff0e7fdd471cda3098056c1952b93ac39a", flattened_ast = "aafddc5b1c0e4aae46750722919836b3e71a8ce1cc2647ad4e8bf56981229109", destructured_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", inlined_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", dce_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", bytecode = "cab2a38bed741bf7b4ae067086da9762dfce98c256155aece53158ebbfad7198", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704", unrolled_symbol_table = "1a7cebc963d8796f8da0423a51cf68fdcf0b879910e0306bd3f5212034658704", initial_ast = "462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d", unrolled_ast = "462ac51169ef56e2645c0159f763f0c42b41252ba99be2a834f99f5653d7f94d", ssa_ast = "79bba39bc18a544b54c02d10076536ff0e7fdd471cda3098056c1952b93ac39a", flattened_ast = "aafddc5b1c0e4aae46750722919836b3e71a8ce1cc2647ad4e8bf56981229109", destructured_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", inlined_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", dce_ast = "176f43a5b2919fd6191d8236e7f9bf63198d6da91e0bdfdf87f8d913d06393f7", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + is.eq r0 r1 into r2; + add r0 r1 into r3; + sub r0 r1 into r4; + ternary r2 r0 r3 into r5; + ternary r2 r1 r4 into r6; + output r5 as u8.private; + output r6 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return.out b/tests/expectations/compiler/tuple/function_return.out index d24e930544..29673b3df6 100644 --- a/tests/expectations/compiler/tuple/function_return.out +++ b/tests/expectations/compiler/tuple/function_return.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", unrolled_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", initial_ast = "3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8", unrolled_ast = "3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8", ssa_ast = "d3e858bb66c02b7aa17e6b0c422aede9f612a7265ab7f3290f83fbabcd5c0a99", flattened_ast = "e3cbdb31a5091aa67207ed708448099ba6bd9eddcc7288a43bc5519465a58b4a", destructured_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", inlined_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", dce_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", bytecode = "4ab0ff9007818a0bf7b45a22297f4a5bdbed8a46d1b2a70e6f6d2f347f8e8b1e", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", unrolled_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", initial_ast = "3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8", unrolled_ast = "3170899acffd48b3bc59d29fe68513d53778b7d0e30219164d1f61b1db76dab8", ssa_ast = "d3e858bb66c02b7aa17e6b0c422aede9f612a7265ab7f3290f83fbabcd5c0a99", flattened_ast = "e3cbdb31a5091aa67207ed708448099ba6bd9eddcc7288a43bc5519465a58b4a", destructured_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", inlined_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", dce_ast = "f86cd01830670f276fa2cc89b9dba8ee82df5a97b79b5297984c4dc103a1b3d3", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + add r0 r1 into r2; + add r1 r0 into r3; + output r2 as u8.private; + output r3 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return_nothing.out b/tests/expectations/compiler/tuple/function_return_nothing.out index 360fe6ebde..5e29ba6038 100644 --- a/tests/expectations/compiler/tuple/function_return_nothing.out +++ b/tests/expectations/compiler/tuple/function_return_nothing.out @@ -1,3 +1,11 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4", type_checked_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", unrolled_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", initial_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", unrolled_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", ssa_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", flattened_ast = "fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b", destructured_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", inlined_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", dce_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", bytecode = "e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4", type_checked_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", unrolled_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", initial_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", unrolled_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", ssa_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", flattened_ast = "fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b", destructured_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", inlined_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", dce_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return_unit.out b/tests/expectations/compiler/tuple/function_return_unit.out index 360fe6ebde..5e29ba6038 100644 --- a/tests/expectations/compiler/tuple/function_return_unit.out +++ b/tests/expectations/compiler/tuple/function_return_unit.out @@ -1,3 +1,11 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4", type_checked_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", unrolled_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", initial_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", unrolled_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", ssa_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", flattened_ast = "fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b", destructured_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", inlined_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", dce_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", bytecode = "e997c02547a6881722d6ea219cf748dd821a13a4a7f2e4063aad71bb683a94c2", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "462cd81513e909c609e0576e90c7597534b5344a5ed8e34dba5d31aff90a0bc4", type_checked_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", unrolled_symbol_table = "623e5ab19827aca9f7189760af4e2126bbc139361d4686a3fc9f0c17ae068a90", initial_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", unrolled_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", ssa_ast = "a076b480260c5ea0ea36da0405e311ce0dd8bff6400243213a1c8e71296e54b2", flattened_ast = "fd15fe07e96f61c9936872758776ecf8efe6bd1a6eab93b9bddf4df0bc4ed47b", destructured_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", inlined_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", dce_ast = "841ba7ea96bcdbceca1dd9d6d53676fb7a6aab7f9f46f8195d8725ab6927d149", bytecode = """ +program test.aleo; + + + +function main: + input r0 as boolean.private; + input r1 as boolean.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/function_return_varying_modes.out b/tests/expectations/compiler/tuple/function_return_varying_modes.out index dff37a406e..5da03bc707 100644 --- a/tests/expectations/compiler/tuple/function_return_varying_modes.out +++ b/tests/expectations/compiler/tuple/function_return_varying_modes.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", unrolled_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", initial_ast = "131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98", unrolled_ast = "131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98", ssa_ast = "b33b3d89333330ebd7d4022c94dc67fa621b763e772b8cd5026aca59ded091de", flattened_ast = "c58ad513cd49d45e46ed14af87499ebfc54c1919d6444334889e15d66acf3719", destructured_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", inlined_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", dce_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", bytecode = "1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "02d8475760a0faec680f291b8ebffd8c294c4ca08dc5f1ac1b0455d0496f4262", type_checked_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", unrolled_symbol_table = "706161fceb5ee6c17b0bd4b90cae4637f7e635810321123ce21946b80ae23ce2", initial_ast = "131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98", unrolled_ast = "131b516d13cfe96d36942dc343141ffb16a04dea084f2049240da786b1a1ce98", ssa_ast = "b33b3d89333330ebd7d4022c94dc67fa621b763e772b8cd5026aca59ded091de", flattened_ast = "c58ad513cd49d45e46ed14af87499ebfc54c1919d6444334889e15d66acf3719", destructured_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", inlined_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", dce_ast = "e1fbb3b52e99a3c41f55777aad1f538279085c6cf146ecc81eaadb6f9d4d9a85", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + add r0 r1 into r2; + add r1 r0 into r3; + output r2 as u8.public; + output r3 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/return_with_different_modes.out b/tests/expectations/compiler/tuple/return_with_different_modes.out index 97148f27ac..90eeaba26d 100644 --- a/tests/expectations/compiler/tuple/return_with_different_modes.out +++ b/tests/expectations/compiler/tuple/return_with_different_modes.out @@ -1,3 +1,15 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "8651059b3325b480030d0d0f87bed40422fd81a81ef450f7abd62aeabeaec8b9", type_checked_symbol_table = "94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def", unrolled_symbol_table = "94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def", initial_ast = "d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66", unrolled_ast = "d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66", ssa_ast = "4309af78f3dc6df5cb82ca1952180a29520c86df1750393c698770aec99cb62c", flattened_ast = "2c490cae01032d9caa1dd16699f913352b6320c6c3e8149aa0ccd9794fe8447c", destructured_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", inlined_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", dce_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", bytecode = "1743c6b346840b6c0bf0662b87f679119996cf9d3023c1236730fd0f5ff28df4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "8651059b3325b480030d0d0f87bed40422fd81a81ef450f7abd62aeabeaec8b9", type_checked_symbol_table = "94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def", unrolled_symbol_table = "94525a281086ca6470b36eac9ce8b7c4a98d8fb1ba22a965508c4b51196a0def", initial_ast = "d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66", unrolled_ast = "d3af28fb4c08480851152d0826f94fb82a97c9caead30ad7181b32a92e1b5d66", ssa_ast = "4309af78f3dc6df5cb82ca1952180a29520c86df1750393c698770aec99cb62c", flattened_ast = "2c490cae01032d9caa1dd16699f913352b6320c6c3e8149aa0ccd9794fe8447c", destructured_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", inlined_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", dce_ast = "d378241a51f0a18d144b6da325ffaaa192c68f5a0df8d92d68acb7a4e9186eda", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u8.private; + input r1 as u8.private; + add r0 r1 into r2; + add r1 r0 into r3; + output r2 as u8.public; + output r3 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_access.out b/tests/expectations/compiler/tuple/tuple_access.out index 9c6c83c82e..146f9dec52 100644 --- a/tests/expectations/compiler/tuple/tuple_access.out +++ b/tests/expectations/compiler/tuple/tuple_access.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "25a7b8073b584de59f0196e3b53e49beb674c9416d92fe66ae30d3e5fdc36062", type_checked_symbol_table = "0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09", unrolled_symbol_table = "0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09", initial_ast = "0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e", unrolled_ast = "0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e", ssa_ast = "deafd8729422b274dd872a76b0cf3f2f9e3437eee1f1994d6147eb897047183c", flattened_ast = "590acb1260ed3237eafc58b3f4f4d7c07d6d9ab05e88eef50f346ffd49e5dd20", destructured_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", inlined_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", dce_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", bytecode = "66ae5f7e0fec4de855fa451272351313df6f03b4a3799edd57ce21da859051da", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "25a7b8073b584de59f0196e3b53e49beb674c9416d92fe66ae30d3e5fdc36062", type_checked_symbol_table = "0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09", unrolled_symbol_table = "0538976cc67f52628beb62dcdb3849aa5bddbe9d0ceefcadaf27e98ee4074e09", initial_ast = "0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e", unrolled_ast = "0f374a92d27d0c66e79376b5d728b95da2ec88e2fc449b1bc60b1a7c31eeec1e", ssa_ast = "deafd8729422b274dd872a76b0cf3f2f9e3437eee1f1994d6147eb897047183c", flattened_ast = "590acb1260ed3237eafc58b3f4f4d7c07d6d9ab05e88eef50f346ffd49e5dd20", destructured_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", inlined_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", dce_ast = "a8b10c0657fb9323ad21216678d2ad65fade0778c59b947a90a9e3ecfaf93a2f", bytecode = """ +program test.aleo; + + + +function baz: + input r0 as u8.private; + input r1 as u8.private; + add r0 r1 into r2; + output r2 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_destructure.out b/tests/expectations/compiler/tuple/tuple_destructure.out index b060e69bbc..fd10584b00 100644 --- a/tests/expectations/compiler/tuple/tuple_destructure.out +++ b/tests/expectations/compiler/tuple/tuple_destructure.out @@ -1,3 +1,24 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "f8e70d3f8083339069f5f21b185bd2b8f79bbeb8356f1ffd6862bae7310075a8", type_checked_symbol_table = "b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097", unrolled_symbol_table = "b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097", initial_ast = "7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76", unrolled_ast = "7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76", ssa_ast = "8234ee43fce74547bc2d54776d5970c7b5d6b209681c1cccbf01bb73700c9f3d", flattened_ast = "76d50e498e05b2f475fcf8435556b68edb254bb1cc3d419c7808d7a3c4258ac4", destructured_ast = "f58eaa4c621abf68ec83c832671532b54ad5c5aec4ee5db237cabcbf1e368dd6", inlined_ast = "57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f", dce_ast = "57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f", bytecode = "404bfa1fcdb0b113686f984a5d33322565e6acbb2438db7def4dd40d20f52093", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "f8e70d3f8083339069f5f21b185bd2b8f79bbeb8356f1ffd6862bae7310075a8", type_checked_symbol_table = "b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097", unrolled_symbol_table = "b857c3089099dcaaeb0c586fc2065294bf547c9aba89d542e8a9b7cf61c0b097", initial_ast = "7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76", unrolled_ast = "7ee49a48c707b315ee79a3276ad45eb2276bb2576cc88c515aee83ffcdf2de76", ssa_ast = "8234ee43fce74547bc2d54776d5970c7b5d6b209681c1cccbf01bb73700c9f3d", flattened_ast = "76d50e498e05b2f475fcf8435556b68edb254bb1cc3d419c7808d7a3c4258ac4", destructured_ast = "f58eaa4c621abf68ec83c832671532b54ad5c5aec4ee5db237cabcbf1e368dd6", inlined_ast = "57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f", dce_ast = "57bf00fde3d2dab5e46c659b417ba64066ea601234b6e9152691594bdbdb4d6f", bytecode = """ +program test.aleo; + + + +closure bax: + input r0 as u8; + add r0 r0 into r1; + mul r0 r0 into r2; + output r1 as u8; + output r2 as u8; + + +function baz: + input r0 as u8.private; + input r1 as u8.private; + call bax r1 into r2 r3; + add r0 r1 into r4; + add r4 r2 into r5; + add r5 r3 into r6; + output r6 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_in_assignment.out b/tests/expectations/compiler/tuple/tuple_in_assignment.out index f88cac9ec0..97b744db0a 100644 --- a/tests/expectations/compiler/tuple/tuple_in_assignment.out +++ b/tests/expectations/compiler/tuple/tuple_in_assignment.out @@ -1,3 +1,13 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "cd1a6955665f14fd45fa3972a2ed55995bbd2649d48cd20fb8ef344753cd6d1a", type_checked_symbol_table = "e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50", unrolled_symbol_table = "e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50", initial_ast = "58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4", unrolled_ast = "58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4", ssa_ast = "f9ac72939415349c29b89bfaaece6ca54cebb8d167f3417fc0ca4503c7ae6d0e", flattened_ast = "e6ee7eebf86689080af2a309eda4eb0ea070312960247705e1f35229945148f0", destructured_ast = "669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906", inlined_ast = "669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906", dce_ast = "f42036031402eb4b732c6f15ab92ae64b18d8bbf2541ac13713bc38fcbf90af7", bytecode = "e58af56a6497ae064f0ac928ee1f89df6f05c41482ef3619acbacd8f1dfae217", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "cd1a6955665f14fd45fa3972a2ed55995bbd2649d48cd20fb8ef344753cd6d1a", type_checked_symbol_table = "e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50", unrolled_symbol_table = "e4e2e9ef8e05f677fd8edbcbdc2f94f62f2206a4cdab45e9feb3dd9155ce8d50", initial_ast = "58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4", unrolled_ast = "58135ff261cc746b5900469ced400c8dce6e30f753a4ab6b0b93cf928119b9e4", ssa_ast = "f9ac72939415349c29b89bfaaece6ca54cebb8d167f3417fc0ca4503c7ae6d0e", flattened_ast = "e6ee7eebf86689080af2a309eda4eb0ea070312960247705e1f35229945148f0", destructured_ast = "669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906", inlined_ast = "669ed6d76abd9b2c27cd5b02ae9e26a22b83a820e41f9f1b92434cd411905906", dce_ast = "f42036031402eb4b732c6f15ab92ae64b18d8bbf2541ac13713bc38fcbf90af7", bytecode = """ +program test.aleo; + + + +function baz: + input r0 as u8.private; + input r1 as u16.private; + add 1u8 1u8 into r2; + output r2 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_in_definition.out b/tests/expectations/compiler/tuple/tuple_in_definition.out index abf6a92add..18321b2e55 100644 --- a/tests/expectations/compiler/tuple/tuple_in_definition.out +++ b/tests/expectations/compiler/tuple/tuple_in_definition.out @@ -1,3 +1,11 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "3ec5268ababb12c85551a8b27519461805353f1a55cd6acdca32b142c944c625", type_checked_symbol_table = "b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84", unrolled_symbol_table = "b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84", initial_ast = "4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2", unrolled_ast = "4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2", ssa_ast = "219654cedb5bde80cb3fd95f5d0b4f131cb84931ad848b35ea96d0d7eccea397", flattened_ast = "c3b9e5220dfbd1a2a90ae353884f520e13eda51da01a96e9f87b0d8557bf2cc8", destructured_ast = "33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b", inlined_ast = "33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b", dce_ast = "05f72ceba4a6170af107ea6f04c61d026da39ac3044b302e482782058714f74c", bytecode = "26120360e31f59b6a23dae65fe61c87e9e310aa11c12d90e995485dbeef81151", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "3ec5268ababb12c85551a8b27519461805353f1a55cd6acdca32b142c944c625", type_checked_symbol_table = "b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84", unrolled_symbol_table = "b68a9ba626a5ea7cab7f2b02d7502a0d5811fc890f07306782a17665adba3b84", initial_ast = "4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2", unrolled_ast = "4b63efd197346a9a4d3cd8a15e9f94dfd4c42f82af5434c1ededede49af2d6b2", ssa_ast = "219654cedb5bde80cb3fd95f5d0b4f131cb84931ad848b35ea96d0d7eccea397", flattened_ast = "c3b9e5220dfbd1a2a90ae353884f520e13eda51da01a96e9f87b0d8557bf2cc8", destructured_ast = "33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b", inlined_ast = "33d7533144d6449afcf0685632abedbab432bfe11b19e63adc1bc708947a185b", dce_ast = "05f72ceba4a6170af107ea6f04c61d026da39ac3044b302e482782058714f74c", bytecode = """ +program test.aleo; + + + +function baz: + add 1u8 1u8 into r0; + output r0 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/tuple_in_loop.out b/tests/expectations/compiler/tuple/tuple_in_loop.out index adc2d4ea64..333fc0c30a 100644 --- a/tests/expectations/compiler/tuple/tuple_in_loop.out +++ b/tests/expectations/compiler/tuple/tuple_in_loop.out @@ -1,3 +1,94 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ad75c84b75c9b8d8141d2d4993a65138e31ac05ae2dcb1e5d628afce4aa99782", type_checked_symbol_table = "38f71064716b90ed10311163b2f545d3cf6527460e32f7281aa5b0bc78ba13e6", unrolled_symbol_table = "936f97bfcee50a6fd455bb9d9f8c1422764d78484fb31c5214eef0d9b9dc40bb", initial_ast = "de829a425dc7ff52193bcf9f28a646050bc86ef38c2f9ebb5b994cbc0ce47fe5", unrolled_ast = "dd459b73921cb41b131eead97c613965ad5888ba0eeb38763e95d7615a04eaa8", ssa_ast = "1f63cde97ec219fb4804498f65d401d88bb03f9e180fe945cc4ac0a18d385eb4", flattened_ast = "ca6aa37b1f80c8a656f9e0666321633b16abdfcbaac926a19760850c7e6027fa", destructured_ast = "00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0", inlined_ast = "00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0", dce_ast = "108683817fd2e9c6e1410cf05b70c670232e6695a758dfebfa253eb01a3c38d4", bytecode = "9ef5de2d557b3a8119e5545ab597779492a53ca6f7097a946262eb65c1acdca7", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "ad75c84b75c9b8d8141d2d4993a65138e31ac05ae2dcb1e5d628afce4aa99782", type_checked_symbol_table = "38f71064716b90ed10311163b2f545d3cf6527460e32f7281aa5b0bc78ba13e6", unrolled_symbol_table = "936f97bfcee50a6fd455bb9d9f8c1422764d78484fb31c5214eef0d9b9dc40bb", initial_ast = "de829a425dc7ff52193bcf9f28a646050bc86ef38c2f9ebb5b994cbc0ce47fe5", unrolled_ast = "dd459b73921cb41b131eead97c613965ad5888ba0eeb38763e95d7615a04eaa8", ssa_ast = "1f63cde97ec219fb4804498f65d401d88bb03f9e180fe945cc4ac0a18d385eb4", flattened_ast = "ca6aa37b1f80c8a656f9e0666321633b16abdfcbaac926a19760850c7e6027fa", destructured_ast = "00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0", inlined_ast = "00c99ddcaf0d8f9913ab5bc98e4699d877d286de1287d66856028cc00739f6f0", dce_ast = "108683817fd2e9c6e1410cf05b70c670232e6695a758dfebfa253eb01a3c38d4", bytecode = """ +program test.aleo; + + + +function foo: + input r0 as u8.private; + input r1 as u8.private; + input r2 as boolean.private; + add r0 r1 into r3; + add r1 1u8 into r4; + add r3 r3 into r5; + ternary r2 r4 r3 into r6; + ternary r2 r5 r4 into r7; + add r6 r7 into r8; + add r7 1u8 into r9; + add r8 r8 into r10; + ternary r2 r9 r8 into r11; + ternary r2 r10 r9 into r12; + add r11 r12 into r13; + add r12 1u8 into r14; + add r13 r13 into r15; + ternary r2 r14 r13 into r16; + ternary r2 r15 r14 into r17; + add r16 r17 into r18; + add r17 1u8 into r19; + add r18 r18 into r20; + ternary r2 r19 r18 into r21; + ternary r2 r20 r19 into r22; + add r21 r22 into r23; + add r22 1u8 into r24; + add r23 r23 into r25; + ternary r2 r24 r23 into r26; + ternary r2 r25 r24 into r27; + add r26 r27 into r28; + add r27 1u8 into r29; + add r28 r28 into r30; + ternary r2 r29 r28 into r31; + ternary r2 r30 r29 into r32; + add r31 r32 into r33; + add r32 1u8 into r34; + add r33 r33 into r35; + ternary r2 r34 r33 into r36; + ternary r2 r35 r34 into r37; + add r36 r37 into r38; + add r37 1u8 into r39; + add r38 r38 into r40; + ternary r2 r39 r38 into r41; + ternary r2 r40 r39 into r42; + add r41 r42 into r43; + add r42 1u8 into r44; + add r43 r43 into r45; + ternary r2 r44 r43 into r46; + ternary r2 r45 r44 into r47; + add r46 r47 into r48; + add r47 1u8 into r49; + add r48 r48 into r50; + ternary r2 r49 r48 into r51; + ternary r2 r50 r49 into r52; + add r51 r52 into r53; + add r52 1u8 into r54; + add r53 r53 into r55; + ternary r2 r54 r53 into r56; + ternary r2 r55 r54 into r57; + add r56 r57 into r58; + add r57 1u8 into r59; + add r58 r58 into r60; + ternary r2 r59 r58 into r61; + ternary r2 r60 r59 into r62; + add r61 r62 into r63; + add r62 1u8 into r64; + add r63 r63 into r65; + ternary r2 r64 r63 into r66; + ternary r2 r65 r64 into r67; + add r66 r67 into r68; + add r67 1u8 into r69; + add r68 r68 into r70; + ternary r2 r69 r68 into r71; + ternary r2 r70 r69 into r72; + add r71 r72 into r73; + add r72 1u8 into r74; + add r73 r73 into r75; + ternary r2 r74 r73 into r76; + ternary r2 r75 r74 into r77; + add r76 r77 into r78; + add r77 1u8 into r79; + add r78 r78 into r80; + ternary r2 r79 r78 into r81; + ternary r2 r80 r79 into r82; + add r81 r82 into r83; + output r83 as u8.private; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/compiler/tuple/unit.out b/tests/expectations/compiler/tuple/unit.out index adffdef8c4..f3eca5ba99 100644 --- a/tests/expectations/compiler/tuple/unit.out +++ b/tests/expectations/compiler/tuple/unit.out @@ -1,3 +1,48 @@ namespace = "Compile" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "5931e9e8bf3df8ca226d00a479f35404edcc010093d1eb360dc67d82391b1538", type_checked_symbol_table = "bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6", unrolled_symbol_table = "bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6", initial_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", unrolled_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", ssa_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", flattened_ast = "63bfc28e505ec93892a04a9c61e20040aba6af50526c30b19847ea0a02a26d23", destructured_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", inlined_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", dce_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", bytecode = "0b868939da4554de26106307f8749db7e5c629b71ec06c0870b138bc7ffabad4", errors = "", warnings = "" }] }]] +outputs = [[{ compile = [{ initial_symbol_table = "5931e9e8bf3df8ca226d00a479f35404edcc010093d1eb360dc67d82391b1538", type_checked_symbol_table = "bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6", unrolled_symbol_table = "bac9de371b7871ec03c288aa6f1f932d59509e79fbecdda79dca5f1944e347d6", initial_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", unrolled_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", ssa_ast = "5656071e540418bee7f1d24156ca443a68904977039c84ca8b060ead7d0195f3", flattened_ast = "63bfc28e505ec93892a04a9c61e20040aba6af50526c30b19847ea0a02a26d23", destructured_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", inlined_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", dce_ast = "c963649c5ab9a1fd4f8883e674465a2c4b331b9e0fa9cc8ea5b938dc65ca8e30", bytecode = """ +program test.aleo; + + + +function foo: + input r0 as u8.private; + input r1 as u8.private; + assert.eq r0 r1; + assert.eq r1 r0; + + +function bar: + input r0 as u8.private; + input r1 as u8.private; + assert.eq r0 r1; + assert.eq r1 r0; + + +function baz: + input r0 as u8.private; + input r1 as u8.private; + assert.eq r0 r1; + assert.eq r1 r0; + + +function floo: + input r0 as u8.private; + input r1 as u8.private; + assert.eq r0 r1; + assert.eq r1 r0; + + +function blar: + input r0 as u8.private; + input r1 as u8.private; + assert.eq r0 r1; + assert.eq r1 r0; + + +function blaz: + input r0 as u8.private; + input r1 as u8.private; + assert.eq r0 r1; + assert.eq r1 r0; +""", errors = "", warnings = "" }] }]] diff --git a/tests/expectations/execution/array_sum.out b/tests/expectations/execution/array_sum.out index e1e38ad880..9b2f6d2b64 100644 --- a/tests/expectations/execution/array_sum.out +++ b/tests/expectations/execution/array_sum.out @@ -1,6 +1,26 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "217daa5389911907f053713ca920c21f995c320126353162563e080807e1ccf4", type_checked_symbol_table = "4d6f1f781bed1c3cd702a76481bb5a45b7b2592fa4b248a494ec46bde4a0569a", unrolled_symbol_table = "ad8fbdc3c2a496a9da0e1f84a22d2659921381b1900c7361a4658e7f3eaaa344", initial_ast = "55b89c0a219d048aa18bdd9daabb476975ccc90a470bae25c22cbad29cf85725", unrolled_ast = "6b9db187fa8194a6df04963467ad0a88dbb6a43abfadabef4e434845eff36336", ssa_ast = "8f09921e9df332dfd3898785d6fb65a1e540b6083548f23e7b8ff2fecba77055", flattened_ast = "a49903007fdf7ce6862704a7fed251751a88ac821013f686b5fff72ac8f01cc5", destructured_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", inlined_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", dce_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", bytecode = "f8442f404e7a865ea2161ba7fa50f682ad3b4fe62585456913ccc47a01a6c5ef", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "217daa5389911907f053713ca920c21f995c320126353162563e080807e1ccf4", type_checked_symbol_table = "4d6f1f781bed1c3cd702a76481bb5a45b7b2592fa4b248a494ec46bde4a0569a", unrolled_symbol_table = "ad8fbdc3c2a496a9da0e1f84a22d2659921381b1900c7361a4658e7f3eaaa344", initial_ast = "55b89c0a219d048aa18bdd9daabb476975ccc90a470bae25c22cbad29cf85725", unrolled_ast = "6b9db187fa8194a6df04963467ad0a88dbb6a43abfadabef4e434845eff36336", ssa_ast = "8f09921e9df332dfd3898785d6fb65a1e540b6083548f23e7b8ff2fecba77055", flattened_ast = "a49903007fdf7ce6862704a7fed251751a88ac821013f686b5fff72ac8f01cc5", destructured_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", inlined_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", dce_ast = "c7ba27f49e6f31d04bb5762f352e542756c20d6e16759d9e37446215f5b4f766", bytecode = """ +program test.aleo; + + + +function sum_manually: + input r0 as [u64; 4u32].private; + add r0[0u32] r0[1u32] into r1; + add r1 r0[2u32] into r2; + add r2 r0[3u32] into r3; + output r3 as u64.private; + + +function sum_with_loop: + input r0 as [u64; 4u32].private; + add 0u64 r0[0u32] into r1; + add r1 r0[1u32] into r2; + add r2 r0[2u32] into r3; + add r3 r0[3u32] into r4; + output r4 as u64.private; +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx5vu65atwnfh8752c43amzrv92ewszvz7u6lf4rjmp7p6wxgfrz92w7c3r6rrp86zsv04lu3p0fsqq8qj88g5naxq8afle0l2feyntzpykcq6qvgjuncs7c8tuu4cvy9lvhpcxknfrpwy9g6v4yldz9lutq9xt45f9hyhu4phvf868sszzxr5fgp294u4j6gr3vwwwg8q3ju4t5awqnh2aryp9s5lfp0p5fl3ekqwg588amjwdyqu7r93vzkkm7ar7s745ayp6ncju5g06f9auyc0zwntspkuy3mudsd6vhcu0zcz9vgq32qx6ktlxw5uq7wjfl20eh7xmts5lvecg22j2mf2du5y0pf7cvny925u78ff7lvgl67r7wuqyqpqqxjs2xykys67mgh8lj9fy94uw9huukadsyu65ns3cvp2zusan4t4zj8fyrpqj22cj27yl5gl5625q8qr6e854p2nmn9qatr295he56fuj38plg2f3w449yexvh5gvlvrnl9w5mtgwm7avt8fkemqpympnqwnv5pachhn4e9jxqzap5csd5r7up73jcvxc98evwv2pfaqagfyq6djmwfys5wfysh5gf9khwkwqvqxyqe5tfc7rj5ht2nzpa8wa0zcczds6m9jyezh94r95usge7q2hnc8njcwyu0ax52v92w55gg40qyqagpz9nz665w5aku20tdtux9zf9j6plfhe5ykahgv70fh7myc2vffws37s6n87g8d2643eydn7tunytgwa5tng42zetautsju7qyd2ztwlckrqqusyu7t4ltg9v2332sf87n2uv97s97nlnwpnlsxus66pdtjntq9ts0tk6zxuwtjfnne5qku0wz8y6j7zw9py0vmhnzw7zns3642a2jeupmvn2qc9elnsvztr0ps52l2jsk3826nsuwkz3rcuegvlk06y6dugkay92ssarcgluhffdkfav2tnl7qa8llmpxvclt2qvq58gwyjc9dv2ypjxy0dql0398z4ggtk54shszxrgelv8cqc64h7qf0s3kpg4hfxaes3k0m0578e2453yvu5qvgxw03kfnwawsmwhyppqe3sx33p2tdj9pxjmf54dc05awpsqcc2fvs8tklj997c0xsjrdpqk8h89jr9jkscp8ln8a3x2kpujg89hcyyfvzgc5mfae3depr96sgqvqqqqqqqqqqppk00dddde9yufqpz4m9selnhc4ldvwv76u4umk4s7gmwucr6rvm7gprzkdg7psvvq2jtmtqjf57qqqws48m75wsygd9sn67uxrqdrurh2r7f7cpfxlszwh8pp9vhdfrvr5l4xghs6fswunrkda8quke6vqpqxpq04qgskn7t7gr355wersrl68zqdjr0hj5ulmal5tvgfhc2dus4xt3qjkgp0zzhgs9zp5ftzz9v4ljrnj7c37exvhqeecws5wnnvcv0wzfz6w6cp2mppys8dhflsvxqyqq55xjj2", transitions = [{ id = "au149wvd6tuy2pvz5zpj2mxrysurlf6v7ne2kj4t2xuj8j49mupfc9s38v355", program = "test.aleo", function = "sum_manually", tpk = "512383684471783892777788076619862839966981157566564726912316434903274880697group", tcm = "7975307881435548581927347671860337126690869146772124069070420940707216867640field", scm = "1893779522364008370528920564800894353816316246386419733877530996647548645046field", inputs = [{ type = "private", id = "3871832004960206007194165418359746087744526367165127597780555009460394183717field", value = "ciphertext1qgqz35t2hd2sk5jvjsmzp3yzgar9yzmgrefkrlqcsdln72dc9arljpxaaue8w5thxecsncyc79g76p82jcx04fufracrdydvd9p2pxxcqq2fev2d" }], outputs = [{ type = "private", id = "7459779374237983347184823155747031487499963576865774196908999556002209801556field", value = "ciphertext1qyq9nwrm5fzlegwaumw953fkf8uhfpmjm3uxkxe32ln2zc4ej53surcfdn0yn" }] }] } }, { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzgk9d7v3lfm8e2zjcg4khtfmqrykh34kacdh37l5lyh7lm8sdp3v7yqhs3y34p879ue4h84r8a3sqqy8ar6emfl4avcm3uwwgk30td78ltv8dgg7cz4urkah8pgepmyuv56jz453p7fty3vn5pcsck4fymqvhpgcmrf65940p3x4h7n0942mael283rfguee8zhhnuw9v36da04243w7zxtmjmzm98905hzhrjuqt5rcpuycammny6nmf30cq7czckglj439h7p3u46wy2t4xdl528hawru7kap4rupkgvxvcs906tzcpmxxfa4yrtkl5p89aqk4ffhcvvacy3ttun8k3l8p9ypnnexzx9djvcm5ejjvjmxzrmw08vgv6kf3sr0jmcj7j20w8ytvec2unnr3kaf977sr3pzphdfxhw880h5xnjuvzw5yv9gxnf2nekkvglgpuk0c7s9988pddf39ckwfa2vxv3q266ce3vy9we9hy2v9edu7dh2tydpg0d0n2xx5vj4llcehrcu8hjqxj8qd52zuq0hyvtmh2vwtxc4enp39qnn5gajqnsmnfhyk6n9mx5gpw4ery6k6s6mz399mu95ru6vk70sq0cuf9nzvrxe8gzlq4zgc6rkju2kuuppk7vwmfgp9jdzawk7ph35u8ga3ywkc9v3dvdjy83ypwytqpuw7tjdkajdp28xyuuyz3t08zte0dk4emmx2lufk248fs3zwz5s84dj7ysmp8ukda89x2ucg33482adw3645m7fhv95sq9pymwnm4jqpk5f2alg73m4ck2jn94y7lcj5n0ef6gd36dr9wv53zuhp8wy0gqf9vt9s9x4rc443nuumuk0t39w2uttxj2yg3zqhywqpqhuyrwzlsgyygjlx8yazk7zwflqgc58sx6x4jrzcn74r7xpt294rkyjd3zkswf0l6nq8hj9fay84kqtcy382p8j6gxpw9t5gp564vx8lmjt57vsxe6ulauyrpyn2t7tx3lgv40p8g5qaqjrhzs4j8fsq6rcu8mv9zurm6qhqjanvng6e9kskyl4v5c8qknze70n090wjzzfx8e8j0yskuqeempzqpf6wtslrsmttxkkmxll8svlggks56m9fj8d9e5gf03dwqjv4qm8d3856qyrngruzz7pzagt56rda0wepsrkq9cpg54njf25svqvqqqqqqqqqqpcvp7r7kxwxmjkvujqs5r2chxct8xjnavucpuygjsvd5xn97cwmpk7meuwtu937ty3ls6275rqzdqqqfp24fl6z6va407yhdgfcz56jv47hpck5rf028xtuy7uxs0ru0qn6g0uu6nd88gt8q6g8arf59e3qqqyvsvt7g3u52huqtepkqghgg5prprns2e3dcn5m0sau0c4dz993s36hmzkw6j29587h36mztpn6ca3ldnur8pf0g7tj4293hhyeag8xtjledt5qcje83dsaq997m7l9qsqqqquj8fn", transitions = [{ id = "au1gndhxhdnwatf9qxkx4hyfyy69uf6w004fwzlmty93nhq5em2qsfqygfpky", program = "test.aleo", function = "sum_with_loop", tpk = "2648975399333506891066430487012965830441159294533947089744287387271134408105group", tcm = "4622791303988101841327005652441860772220114266951663803601422301383920316221field", scm = "7410915781437728459378166429703486561569640859133578857905554519607570043435field", inputs = [{ type = "private", id = "772635140311600224499625393792585633609227532332583845718848508798666411485field", value = "ciphertext1qgqw6xer529098zj3rgm2nrg3dj20hv4nq4nd5g5qrwh4v335g07yqyhjdspaz3f70jg9v4d8ygguw8ua3s2eaqjjakfxsgyce7zaq94p5q5hl7t" }], outputs = [{ type = "private", id = "2420554371177431671531694917613942509941429348142036766297981901624867129673field", value = "ciphertext1qyq22jv42rfhtk4vm2gdrscyntg34xxxcpz89azdxurffu9tupmquqcmdutsr" }] }] } }, ] }]] diff --git a/tests/expectations/execution/assert_early_return.out b/tests/expectations/execution/assert_early_return.out index 7d3f5014ac..61984e6692 100644 --- a/tests/expectations/execution/assert_early_return.out +++ b/tests/expectations/execution/assert_early_return.out @@ -1,6 +1,18 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "4385b8b53e4d4eb5db19a127df6fd852718a2459ba96434cfe4a9629b05b8ec9", type_checked_symbol_table = "ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2", unrolled_symbol_table = "ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2", initial_ast = "e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679", unrolled_ast = "e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679", ssa_ast = "f88a870f6a619b2a1366e44c4dbcc0e32d91800ce0b35a0e887613ed4eddde93", flattened_ast = "5510f15ec8ca2ce3ceeda7e7602762a46501a477d78a9de1bdbbcc49fae5671a", destructured_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", inlined_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", dce_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", bytecode = "dcedc1bc91c69a0293e85eaf247f91c31ecdc7da396f8bd029a791b623b27f0b", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "4385b8b53e4d4eb5db19a127df6fd852718a2459ba96434cfe4a9629b05b8ec9", type_checked_symbol_table = "ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2", unrolled_symbol_table = "ef8e911b1fef63398da28ece44e13f6e4ae15541181ec8e7a3c0e48b967b2cb2", initial_ast = "e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679", unrolled_ast = "e8a19b119ac7b49ae5dcfce634d667acd10b703bceff4671d96f4afe20ea4679", ssa_ast = "f88a870f6a619b2a1366e44c4dbcc0e32d91800ce0b35a0e887613ed4eddde93", flattened_ast = "5510f15ec8ca2ce3ceeda7e7602762a46501a477d78a9de1bdbbcc49fae5671a", destructured_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", inlined_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", dce_ast = "8d9c60afeb23fdfd453535e5bf370fe112f584bfe577ca242894b95b95ae317f", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + lt r0 5u32 into r1; + or false r1 into r2; + assert.eq r2 true; + ternary r1 true true into r3; + output r3 as boolean.private; +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyvqt730zv9tjp289fd47x9gcc3xd03jpwl8x59nedg925t7jufap9cn948s3amdwedd66qum2a4yqq8t8fzffpwfmrs5gxef340ps3gymz3ge898gq0uktcvc8twqnkcpyuxxpp0gp2l2yyv226c5a8w4xq06ehgq5tgduazzy7wp583qe6p0lgenkmxd9uvefxsxwync94r6wreu4elmue04yxwdaw346g6jtcqxzye5nev0gns58cpsn4vvsjpkzvyk52kvypq50kypz0thcczxre6xagevwlkh70964cqlszdkjjvpfz7c8ypppmepv48cw54fg0e22yehuyktw7z0wrupcyrs7arv0yvp3hz9sm8ejnl36pmv89q7gv0cpysrfxqdjn546tg89wudqt2uya6qwny0mus2pvxqjzrza8vaqvh77mrsw5cze06jsqzgfk6c72rfq9rqzgrnz30arwlv30yxtpk9l4rrd5dw2lxkll9f8hv992l935uxhyrlpudu785ms8rjpspck9000qzwd46p3f99xkj3adjxl0jxej5ksx9rt00ycs9g5udhgwjzrr4xxtdn2jsjfkf4njuu5x6s4rm7h2q9ywhheyek9d5zzdhde4jj2u53l822gts2dt3rwkpqsg6a8mhenk3hjakj4nxjtwdqpayemp4p5hqq7x5mvj82wmqrq24yz7njzswq76tjx66v93nqfw3n89kvauga6gxlv0yf384pkus80muczzmlcja7rhe0ll92fxkaqr5g9zyj8s7g6z6fn4rg4jjm70h2wl44zc6j538qjsxnpzlp5vm9l77ncvh02esuzrkk02na9h4lynujrqayqh30aqxughwvehwxmjd4gc9qmgl0tgksyvpmevwatklrc8qet0mvqd4neu9skppv5v7jeph2ev5vamrt0usdrxn50l47q0j6fsk8uxf42j22lt2rtz59qj0dvpdsavun0qd64gy66qflc0fnga7pc8ejn6wahz402ctg8xn9vwcwjv05krmw2lezjztzmxzf7f2yn7st88qd2cgts9pu6gckypzq8qagz33mvlkfetznpmnc7zv6lx08vsuj38j7sw6ujdrcntp4u24mghkqtr8hrwvjjyusnlsz432dd7hdyq4erx2m9enl6jtvgdwmah9y4pdq9dudz58n2tqxqvqqqqqqqqqqqx49luc5ltce6nldndf0kr40cj94q2he05pe3mzrqzr80uwtrtsc39css06lq66kntnf405spxf6qqqtrtketcdsmehc48retlk95f3483hyapjlhdg8jjvu7tlny07dvh5p6wv2fsuzcq7vd8tsh47pj0qqqxg9wljy2z6t8mmkpg3kq6n5nerk69qnhda0clhtylj2spmj92gs2ygydtg3cj3mqja3nj8wxa5pqsrxr0u6f2etgcul6luukn5p3kmpxxz6l8twg6ed5c79xuwjpdu8qyqq28alxn", transitions = [{ id = "au14f2670sc8ctrx6yxh6ul437nldqujkpeuwke2h3v9e4jeqgnmgqsvv6qgg", program = "test.aleo", function = "main", tpk = "4440143486107103992672711015966996078009453027120325474960931472576699485110group", tcm = "956295719465073094565613190152229406522389368662418205874320011543205263268field", scm = "2303738667493433860273317733707681990458101881183765024674076257655590754869field", inputs = [{ type = "private", id = "1949397954224848824575951368219471374317423483328237061474447511813071331229field", value = "ciphertext1qyqvw6l0n2n2hfk6l3s4vhm6fr3q7edyln3amu9mkgkfvr6g6zg6gzseuzhlk" }], outputs = [{ type = "private", id = "588623943503757267501820045717084110015013266930773589316823232307129930688field", value = "ciphertext1qyq8g5f3dwdpjrv0j8jpzkya05c65w66zypnuf9xutpxsv26q56zqzst43x3z" }] }] } }, { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqze9c0ap4lzdsc6dfxaevcnapq8asgl5h82qug87t04vxu5lqrcrzrv9p6wv8y6cxz8hm36clg2espq83637qdhymk6dlysnl37tgranak3pelhvnhxyxjxnx7dj6nhskzuw7y5g7mhwtqvn7pwmn274tusqxps4jhzppt08pmgarhafrxgp0u9xvgpnpgw7ynvzq6w2pmzuxhk5wmndqj9c4hxs728rzy9ea5qyqzdy39k9yus0cm37s57t4algvc2jz9f9dd0funwxl0xere34lctwms67783l2393vsysjtxkf9nkcq2sxgpl9pyjv2egc3678yt9v9zsf4l06hwf0dkgdjkl89auu7fgkdp5pg5se334ynstqunlc2w7eqqp4q655v0xtxxgyepr2t8c0nxa68pteuf72s4ztw76t888kn9ttsqla2ze3frpae6s8mr7zqgqpsqylmnkrzuvjd7e2384fz0u7r9qaul8r48w77t2ss7sgd3t2sx7mntynthyasvmfd9mamy7vl20uyrqxjlr0yw4dhg6nuu2ahqq3hv5kg237hm4fhyqk20z3yrx9l9dk4xtnfglt6ed8u4csnn78nuruwt7qelwnqn7pjkz95fy6nc4j7njm60ta60k8f5xp7qlxgc2554ah6a3tatl7fw4046uqr8gvj7nf2we5pzdn287aqctjuf6k09433s8fkk3k4tnmswxss4j67xdf42yr0zv96qt5umtph8f8dk9g2sec2cu505m02skl0jvmgyqy929qpy39cypnsq46n2h5xw2xdx4r4lxtpejvhlmdjvrxx2amlah65vckgsch8qkqr72yhezepestxreunl8m3lkwhl3hf228x0rwnm9ta2rzxuvfsgt7yjhwuqu73pewjffp8l9h696v0e9sxtqu3kj3jymy2etx4anq2hhxykerag9wgwz385rafg60n52f23q84ckg8j368l4sg0hx8fq99zcg2yl0yv99ntqj2c3kus0jwgrysgwx3jtfxr6rl009nyemhzqyqmzva7cdc87jp4e3hqyswf4hzazngdmzqf08gh462da57jzrcp86e0tr7p3qjzfx94en4g6hhysha0780n84trnqrr40jnuywaaeq24v9n4ynsvdwq8gwq5azm0l9jrhzm6xrvxhcrf9k48puzkhj8qqdqvqqqqqqqqqqqmlue7vd5mfradxfnjf9vztg6rp29ewlp3xc7gx23ack27yrru80qg6a0xgg4ajhn4x37q9jq4mjsyq22hhqmzzweprta6gfezs9s87kxrlw9jeksa9zeqsn2ww7wnhp0520hdlpvu7wep3s7u4lcapswfcqqy0fghkv6lgvlm564lq43kv4xcqzsr0x3lq39ekhas82pleq06q3r9pzzquzyq6akxdqsj24ty74eyzlrjzv5t4e5v0ww43mee39neua3q2s9hvghketljjccmr7mfc2sqqq4f4ut5", transitions = [{ id = "au10j060xemhs6hp22q5z9f666j9jjyx3ddrp9p0d8pf4kdq5j27sys3zqngj", program = "test.aleo", function = "main", tpk = "4152732181525065617351199828917779834060023954124968050606284621055360799826group", tcm = "235738461878268264507244718392472317265018971642030445084183397632412772752field", scm = "4900036025129937911534831193930720357249672696528783301190811935205857609210field", inputs = [{ type = "private", id = "8074222261243563712897852261345879392213326355389000002015095766254732085943field", value = "ciphertext1qyqphpe0wgwrqph360vc5m6ewu4dv3qq6d890sfddxjrwfjmcgm2jqgw89lgc" }], outputs = [{ type = "private", id = "3194122436616881424292291350925952583187555336316524560479373486165793182061field", value = "ciphertext1qyq86n235v5ggscdchqvt6k4hms3c8gkh4jzydf283rt622lrl9yzqg5s07wx" }] }] } }, { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq00r9s5y8p7uz89emtzg9yq4yxmthtftne3lpqf76rvkdeqduujsz0nhf3dzs5c6zwt25feum9whgpqyqh7t8t2d4gc8cetzxx793wlv52rlszsc5yu7gpksrvmzf92vytva6hs0s6l4tlga3zhejm5a3j0qpmhrvy00uzlmepupjspnp8lsehat5jqenq58ww3382569vr0v5svv34c6ke7mtm4zxzt5cm9dqhyqtvc89x463g2q3s57dwfcafhzrv32zg47ddpjq8h07zx8kjdhkldca5s7kg2ye2l99h6mcllsd2vcqsu0hmw4arx908wfcsz757q6djsf8rkvueft90xu3ymuhwfun0td9s2uagr2a5w3cjjhg59nhgx9grv5dlpt4l2ykx779q026ysyvt3er49u336tkqf9vgpndpjkjund66pvlem3jaf20srmved7w6svfszhazjva27e2pc30vnqq0h209jp6lywlg3gvw4pe0tq075qf95dhat63w496rssgxuaewnx2ju5jxq087zlf79efqfnqkkexe06audzf4l8vq5fq89pz9fnc8tqjm4qlfc7akajalayvsv0jjl0fkdkxszq02wkdrpj22y6qpssmszalk9rsj9dpw7jujjgp890ta3fmprman3a60fnkp5yg9x7vt9z29ze2n4gqcg2v0wa9u72u38h3wn76wq36w60z8jkq6meu8ssqaemv7rpfku9qw4720rje2cvganrg5dsl9d6pl6zcp2mqa5e0658dzv0wtu3k7pgc7zr2fm0ffvvd6cgdmwetffazz3q95q22udwmy9y7w57ethudpdy0uvpyg37x2m4n5n6t08s4jw74t64tjymdc8aw9jatze4attqsvv28klkpgtl2t5tuz8h2xus0f9m49v8l9hlrcqvhvngq7cu03qs24l5pqqekjxshxmwuajgek36cphd8my5rspmd262jvrdeytzacgrgdzfre63n8lv8w88twzc50qdtswduszaum2ayz2vtcsmt4zua7qg04uz02d2sx2pk8cujh8rv76xmnaezqqtlgv9f06cjdxgawsqxqflsdrua5hx24kwk8sq7jc3umqwazl6pjvfnspsldj7lu4u29rtpqyuhe2u8z25mxrea53zfc8dh3r2tyw0fnl4x79t6h23vjgw6lxq8qvqqqqqqqqqqqe7nnktqsl2pwhq450csr34wdam6s6qnyd4muldvw627ft2a9xag3dlzef8m52pfnfa5cl5vj982qqqz2jzrzpqmlynw5f3vfftfxlvl36jshw9e0urgrh8wq89h0le0uts5z5ayp86uum6em8ftava4qssqq88edxa6futpjkpgk44k2w6nra32h95y5nxzm4lercytu62gm7wqmt75wv5m980rkxthzsf5lx2jmq3fmcx6s4wfcxm2ha4cu0chs5jhlnx8ds7yjps7dqruxms78zdxsyqqdyg39a", transitions = [{ id = "au10gyaju6yr9me6d8l28fwhx65w2zls2t0ccfy3t5pngax55nnq5qqqxrny8", program = "test.aleo", function = "main", tpk = "8230740749397616342957301999706650915153644162812370837746638975145956411137group", tcm = "2890782865234133958171457586056509922468321574973631315281975799959033914364field", scm = "5258565730318103630533845951156419665533866493701567935669993589597692371521field", inputs = [{ type = "private", id = "88204195335974216418759683303292216043779078355613167945781354727344920385field", value = "ciphertext1qyqpvkn6v5kk9tuapl84vqu3jte0f2w7qxuyt73s82kswx76qdz57yqktgrnz" }], outputs = [{ type = "private", id = "3914369771983733353164101765555458008753606209615886837893508835416845292078field", value = "ciphertext1qyq0nqz7sswcmmh9ass9v2n0cfrghtuzgx7ey3yrqd9uhtkvf6d2qps6rkspa" }] }] } }, diff --git a/tests/expectations/execution/cast_coersion.out b/tests/expectations/execution/cast_coersion.out index d8ff8964d0..75199b30f8 100644 --- a/tests/expectations/execution/cast_coersion.out +++ b/tests/expectations/execution/cast_coersion.out @@ -1,6 +1,28 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "736ef33d4ea34eb43862ee271decb4587901ab41e91e4f8e41b8f99d1f8b557c", type_checked_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", unrolled_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", initial_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", unrolled_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", ssa_ast = "7f12fbc88f56e33590cbb790827e4ec6a04fa9be41e6c1f2bf48515e430d9dc5", flattened_ast = "8e2378df83a8f59228993ec32ae9fbe19318052a3ced6b451b6f720ca6171257", destructured_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", inlined_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", dce_ast = "2a0e5585007503ef568572b188bae1212a4839548f624b022aafca1ce8e2cf24", bytecode = "675912267b82b91bd854fa2ef169b85c74ecaac6b73a157d7e99818e256b53b1", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "736ef33d4ea34eb43862ee271decb4587901ab41e91e4f8e41b8f99d1f8b557c", type_checked_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", unrolled_symbol_table = "1c73cb243b5146909a9fbd64fb8862bd15578904deaa7ce579d713e635bd0719", initial_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", unrolled_ast = "409d57cef21ca167d937cf70c1d7c116bc900e502831b395698e9d3f13ae0961", ssa_ast = "7f12fbc88f56e33590cbb790827e4ec6a04fa9be41e6c1f2bf48515e430d9dc5", flattened_ast = "8e2378df83a8f59228993ec32ae9fbe19318052a3ced6b451b6f720ca6171257", destructured_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", inlined_ast = "8bc445642f52d44cedf36737681f945b99b647953026bb44a836eac1c3cd5d69", dce_ast = "2a0e5585007503ef568572b188bae1212a4839548f624b022aafca1ce8e2cf24", bytecode = """ +program test.aleo; + +struct foo: + data as field; + + +function main: + input r0 as boolean.private; + input r1 as group.private; + input r2 as address.private; + cast r1 into r3 as field; + cast r3 into r4 as foo; + cast 1field into r5 as foo; + cast r2 into r6 as field; + cast r6 into r7 as foo; + ternary r0 r4.data r4.data into r8; + cast r8 into r9 as foo; + ternary r0 r5.data r7.data into r10; + cast r10 into r11 as foo; + output r9 as foo.private; + output r11 as foo.private; +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqyt4zzckxnnhmmnhjkgd89s2rzvj3twtld6sutzyngp2zt806e8ppqeng4ncxrztaqkdunmfqd7e5qqyphrfleuraudqzcyuxf8acjvm2t4ctdd8eqq0rhjrcq9s5hmnzuk977q64mg8lynee7hrf5lm7a2qypanafzdqyhlp92v4y9fp8xw0r9dasz4c0kfs55vgu7fq5cmjdrl7gt0rf7n2a38hnq847jzwqn5qtcpcshsjk2dg2guq457ch69suupz7pjuv8pnu9msq2ycmf4jp4zaklepqg5pg9nw2x90nukyn8qcq80639h742a53eljcwwsakj0cdg7gjcp3unzdcmd82yql46kucd2pa6qg0vjh4fdka6c2s69nh6pgqaypmzhvpjgpxx69r53zqzywj9m038h9g9hahsdcny7p85c40a2r03x2k97d522d4eadv4ez4vz8sxtv9q47ypelecj606k86aakk37axfeycl6ntc33n3x69qcjs3x9frxdhtf0x4vql0gphuhmasl42q0tvw9lmnac6mlmmxn0awl8nd38gz6way833pdv4lrng3znp9yzw32h7j0hg9asmtkv66zkagk3pvqzwzmq5e3yv3vag7gk0j3g86twz6pear8n7cns50xft9m578fueq483dnwm4k2t0hnlld62mk5udcqyq6xat893r73vh3hqv583lck0lk8524rvm8fdzfy347rxt7yr5zjmwcwtgev05r6tna752xqwy3gxceal39et2pdkafvlzj5yrdewqmjkf29mt4wqwevp8v4wq7qpa2wmp8dfqp6p5w9p67uc300pvrgqa7nwyz57rcfmv9q2c655pap3a2s034l3e24w0usjaqtg2kl4a3sxmk6scruwlpetes8aqgqsstk6cqhhxqun0dat7nacynvm0836sc9046xtl2srhkm8g07tu4uaeungljgqz3kzlf5d382llmedvya2c9jpe5vl7u825d70qe4ntawxm7p7xcprlauh2xnhpzvtj9uwjz26zasafxehjr6hz92847w7938edzdqf95yn6lrte6f3mur58rmehrptws8u4typ5wnl202uel2qz820xg5ju2jtuad0pzue6r6h8fw62syl5ksncn4tpe0nt4y8jtz5tlaakzvalcen4dn2f29y33d70htdq0qvqqqqqqqqqqppyuhyzdzsczx2slcgjtlau0gkpnuzmcdvmq2y69e28h9k0fehrjc8m8y49rksysscaaxnav4qpnqqqp35klxztq9p9sw82cmqn9vcdrk20m33fdq52y9hqm4pgfgvw7emxj520wfjhyhnlpru7lts8u9rvpqy0dgv62fj7lcmc4mey05e5wekfrhk8frqejq8mnffyd2wt3esds3rej37cc08wzpmyzzcuvy2hmc370czsx3z6gks08lu805x0m0ruzcn40f3lzxjf8h8gtedsmcppzsqqq09wlp9", transitions = [{ id = "au19ru855myk4t0aw9tawe5ftq2kdmm4nuu7d4waynh5emvl5lyu59q40pw0c", program = "test.aleo", function = "main", tpk = "7835567325899127550325463306228588669553911215612671657187814910151824399315group", tcm = "4346953566447634214157280385182045626270093194427104596054934347800656899000field", scm = "976314679729564700856316609545716173163081344239778489091042818470177990760field", inputs = [ { type = "private", id = "6553328887630693918140800407584311566408184361951185023715750666420867125941field", value = "ciphertext1qyqrl26w4vwmsf5p6708na5w3ww6jkq2du0pqjmfz55t5adux5kfjpchujf78" }, { type = "private", id = "6949753692437523787678502261587020559735106657718800640882220306538353449741field", value = "ciphertext1qgqy8wgk3rxhjd7dm26p68w22ympfhjxf35h4vywsg8krwtfp82vxp83uraceaudrnf43xp0xs9z4kdjgj6e83w4zguuthypdqx3ujl9qgzmfqag" }, diff --git a/tests/expectations/execution/chain.out b/tests/expectations/execution/chain.out index 8b073ccfc7..43a85374f8 100644 --- a/tests/expectations/execution/chain.out +++ b/tests/expectations/execution/chain.out @@ -1,6 +1,19 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14", unrolled_symbol_table = "9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14", initial_ast = "74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82", unrolled_ast = "74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82", ssa_ast = "a17a7c9223e4067b834734861d45709c0042a57b60c92b3d59ef327e4c01e6e6", flattened_ast = "8aa42c48a8d35fbadb8f9a27a8e0102fdd17ca72f28656bfe5af7664540e6c4e", destructured_ast = "749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f", inlined_ast = "749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f", dce_ast = "a172dc2d0aa013289712d534ebc157adb7cec67796f708faea31970a051ec0e5", bytecode = "f6aaf7f7a13fb233511385db7479f2612e7a77734ee6a189f063bd3d33a7afaa", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "6509016b6899f5938f44b2dab2c895fb70c487d9413773a25f58619ab9b0a9be", type_checked_symbol_table = "9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14", unrolled_symbol_table = "9cde38c1c78dabc185e6d664e18afad86baaae5745eaf8e51c5709a3a62a3e14", initial_ast = "74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82", unrolled_ast = "74426941096b3fc3154c3f0925212a2a30fc13e23d4a13bbdecbecf6e460ec82", ssa_ast = "a17a7c9223e4067b834734861d45709c0042a57b60c92b3d59ef327e4c01e6e6", flattened_ast = "8aa42c48a8d35fbadb8f9a27a8e0102fdd17ca72f28656bfe5af7664540e6c4e", destructured_ast = "749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f", inlined_ast = "749bea4883e5c8d589e7beef106b7eab4e8d11faf8a275962eb0a9dd834a0c0f", dce_ast = "a172dc2d0aa013289712d534ebc157adb7cec67796f708faea31970a051ec0e5", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + is.eq r0 1u32 into r1; + is.eq r0 2u32 into r2; + ternary r2 2u32 3u32 into r3; + ternary r1 1u32 r3 into r4; + is.eq r4 r0 into r5; + output r5 as boolean.private; +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq9ctvd7nqe5r4628udh2c5a99furju8lz6nuyr9ja7aye507tzq6rmm6vsl5czaj3qwhchma07mjuqq8t8fzffpwfmrs5gxef340ps3gymz3ge898gq0uktcvc8twqnkcpyuxxpp0gp2l2yyv226c5a8w4xq2lk5huzyasj8s9rzsttd7af9zq4305t4unvl4dlhr0vackf7wsqyt59qsd7z8lpv7ekzrx9ahx92qvk5lpw7nhpt3n8c3vtzlr8ggcmslg8afje6t7vh7a8v87jnvnpmh78uvrts7cj3fr5ef8uhxrc0qp9lagt7y2f9nmxt2wm3ygfv9vr85t3gt6gqqunptft0z7senak565qe0xh5ugpcpeqnsdg5sq3lsgplyaajree0hw0mygv07hp5wj7pzd0fcmcj6vmyuvcjrgsht82ry275c2zn04qt53mcj55qq6qjensru5hfdcfcecve8h6r78ge5sdevcl4ptdjccuxsuu5t6v7vqewwhepynp9qx57j2yvgfzg6sskgh7qrf7g0frc40j5hyrd5a2fzc822s9tqh256rpwk6xsfu82asrht7vwr4c83rrduql2j8fsjle225dvqgjmncgukfv3k3kyznfrkuzp9u3pfvc95se5hvlqxurzhafavw3zhdl7pugjuzfcugk7n9s82r8xvpf35z7mj776ynyrka2x37k9samtk04runyvk40cs5l488j0nj8vxq878rm25y6gk9hgqmzqq0z3j9vwtq9hj8hwzrnxq924xlcqef5rt78w2dcpl8ekaal7r59j6mgsake9jqaaaejejkwz9s6fkgwvptpmwzy6jxw6hyrjha8y37v0utd59j60p7zjsrr3eh40q3lac25vfs2ujpe8jkasnx7ay773f8nzzk7e5sv9yctc5y5pvm53yae90ad3qvx78zq2zr38up38q42x0wjxj52rnwgl9lru2tk3ktaekqxshgyuryua2vgz6u74uxs6mmngkq49fym3grymjh7v3xypnj6tcd3th9xrp9wz7ue9ry58ytdnlrtx4ed99a62jcgrja0rn6y9gszd5ehx0cq49wcwwkk03x20zhdydsh707pxu4x893yrzrkqvtkzx3gwkhv6xsjkncys6cvtfdfa46ktetqh2hufun0uzz9vjw2nd6yzcary9uzgsqqvqqqqqqqqqqqzh6hthzayscauryrcc3lurfu0xegy5f2c2wz54fltl8enxsqmhtclvuvphqq7cavk3xp4arg88xqqqfrrxvaz00l69zxyx37x86eyy33pfmnux77cpsak2mjzkyspdrpq8e74kcr3fjsgf0rpwvm95cqp5pqylhhnq8y77ugms2qes7ce6m778xf7jkpvjz7mltnd6eyxa6fkysm5rscwfmsfs9rq2d9gfqql83fv3vs6ajfxlhuzmv7kupwzupshsg898pln7ppy2qquk54j608vyusqqqu226wq", transitions = [{ id = "au14f2670sc8ctrx6yxh6ul437nldqujkpeuwke2h3v9e4jeqgnmgqsvv6qgg", program = "test.aleo", function = "main", tpk = "4440143486107103992672711015966996078009453027120325474960931472576699485110group", tcm = "956295719465073094565613190152229406522389368662418205874320011543205263268field", scm = "2303738667493433860273317733707681990458101881183765024674076257655590754869field", inputs = [{ type = "private", id = "1949397954224848824575951368219471374317423483328237061474447511813071331229field", value = "ciphertext1qyqvw6l0n2n2hfk6l3s4vhm6fr3q7edyln3amu9mkgkfvr6g6zg6gzseuzhlk" }], outputs = [{ type = "private", id = "588623943503757267501820045717084110015013266930773589316823232307129930688field", value = "ciphertext1qyq8g5f3dwdpjrv0j8jpzkya05c65w66zypnuf9xutpxsv26q56zqzst43x3z" }] }] } }, { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwc5hxvld7dt7hm7m5n038v2vn9hj4clae8hj8ssxyg9eseejwxyuqjteqsrfr7glaxx9a82q6qkcpq83637qdhymk6dlysnl37tgranak3pelhvnhxyxjxnx7dj6nhskzuw7y5g7mhwtqvn7pwmn274tusqxr84cuanufnxva8285cp7ky94n3zvkqhqf0ha2nppyry0ree5aggpqepmlty45dswctk4wx0c4p2qw4gjajzy0tk3v35kvlrpxfhlsf6sexyr6t3688qtqt0nfrucxcum7674xeun8czc0rjn2jx79z4sqsf29fle7yk88rcrwjk9hx6n2l9kfqa8wzzhv8jecktr9ml5jsa4qvhh58c0sy9y2grhmmue2eymczxwzxuyjn3l8u0azmnnum7e8cmq0qna4ldelrd2pdm6seylqsw33ncmm24a07p5aqsvd7xt0ttygsy4ssdcq8uu4hd072xs58g2szcxvdx5hnjalwr9s4vmka0mz6x3hpnrun63r2mkrmjx7e89skwym2qpkkua07h5fw9t5p4k9vcfcmvml70a3emgnza7ccdawfuj09kzxuk5jany7t63m69w5ng0288ad9squmruvahrn5t5mlj44lge7nep5mdn8tusug454wv2pm562j2jv6z2g0wl2aqm78nat4nyev3ckwwcqt2jjqw2t3skh9aw3c5cylm2fnrensz2cyh42sdl0u9xxxfy6nqxm8t8w9tt8eweuncjxfjg5m2lnj25ldgdxdfn0779s0s480g2zsp6m03le24ywzy84ffjrresjht3snjueks0hjkqy960rh54vvx5gp0v7rj0r76333w7n8e42remxfvgyezuk8qlceumhvqyg07nmcckqurzqga2fah0yxd9ldrftmvqmepkltkk2zrtej2yxdhrsqsxtp4c2vt9g2fp8n2pr0nmjsx6pjz0kxfz3k273vnanctfj7g2s8a2esgqhpy24px76fh6j4y5harq6spdsl3tem7r86c0x9ktzd2gxq65fyqktmpdhnwy3lrayrhveh6rw04hfdjelmllqs5jmps387znjlzqkqzk3snzv3njf32rqqh46arnenpegq2cflvpg9ltl8dxjw3dwc0vqgnvzrasrx7pn4x90j29kfdtv6l8d00qlh3tm7f828duus62w3vszqvqqqqqqqqqqqnz6e6hgyucw8wj6s6ujek5dvayumxmcrgazfm3wctxq95kk0rxyrzy99lhpjrhze3pphqh9g49esqqgkjw45dj60axhp3d3v7e3xknlg0lp522qchkrf2hpuhzlr4c7npk8suuwtmqfsvfkce38f2c0dh5qq9zumrsgfmt05m6u7tg5vdd23yncuysyvhmpz0lcrx0j6grh3xqq2mtckutcu05dfk4t0pnug59exz3jjfjjv6jh5vtpqttvpn8n665lc6vy0tu4szy80uldfa3upsyysyqqwkfss6", transitions = [{ id = "au10j060xemhs6hp22q5z9f666j9jjyx3ddrp9p0d8pf4kdq5j27sys3zqngj", program = "test.aleo", function = "main", tpk = "4152732181525065617351199828917779834060023954124968050606284621055360799826group", tcm = "235738461878268264507244718392472317265018971642030445084183397632412772752field", scm = "4900036025129937911534831193930720357249672696528783301190811935205857609210field", inputs = [{ type = "private", id = "8074222261243563712897852261345879392213326355389000002015095766254732085943field", value = "ciphertext1qyqphpe0wgwrqph360vc5m6ewu4dv3qq6d890sfddxjrwfjmcgm2jqgw89lgc" }], outputs = [{ type = "private", id = "3194122436616881424292291350925952583187555336316524560479373486165793182061field", value = "ciphertext1qyq86n235v5ggscdchqvt6k4hms3c8gkh4jzydf283rt622lrl9yzqg5s07wx" }] }] } }, { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqv7dw3ka4ejksgxtx6akhekvvf07p4yc9ya4r0qhf2mxu3fv658yqg8q7p2qteg25lsm4xzhp78zgpqyqh7t8t2d4gc8cetzxx793wlv52rlszsc5yu7gpksrvmzf92vytva6hs0s6l4tlga3zhejm5a3j0qzlhh8kwgxsyy9hcvfljmjsgf2mmuntlnkfkuashw698tmf4wzccz7pn5vrdwjxxe59ll34f77j9uqvqjlcqfz6djdgd48x5gj4rmrqua3ucag77kpdmufrdq7wmqx8flmtyf3axhglp3sg8em2estzv5vprgyak8k0crwwecc5ggt0z9ar5nlfzmu5m7pkvafusae27k6uxlmvmajuj25ykmum6hj8vlxdyurczvpx884rtkgmzz8np682a867ukdflum4c87fv8f5wfp0s2fxmphhtq62r4atxeg76g6vtenlafgssxal8thl8meu6ugyqevnt2ez9a2yx7jrdet42p5fp6zxdch82nkdrwk4ez7djkltw4t3k90whdqfgqyv287wen99g2gmxh6e9500mr3xgt2lht68u34feg8xrk559fwtkd98w07j7ny6tj7as4g97zdn7kqwydywp0fsn62szjrnp2mz4yh5wy7ee0wy0ufxw3azpl24rjqcaqsnwsql3mma60r5l0pa2yulxeypr0cd34vvnqu9s4frveakpgl662wjg622a633pxy3kqcgtku3ccxvzvkfugxnec58pt7fwt4jpwu88hsj6zqc47qzmmqrjmc9wwlycqvuga2mn648vk32mfhqfpadguu6renda5d8au7x44x04rakhdc8qrzafahn28pd4pnvcmsyqdnmd789ezmupeewec2jhwptxgn9yrmqqqw9zm9gh66vpmxfhmmheauqdnakqv0ue2sr0fnqnf5lj2x56ws80ht3yuvln6tw5qypsgcuq6wlyzxl7grr9mwl5r9xhenvdqtg6gp63729vy88gdquzyqfythm5tmumkrzkaf728awasrsd85vnxswgr55gvyvglzg5svlhe2elc7qjqluufsa7x4ar4cakxv243sgcp03prmdshll60cd7e6e6zfcy0js3csenmrzhak25r5c6jttll4rknpsse7yrkqaehvkh3jk38qmx9pmpssygk5ece0d98a6avqzu4x7zdgxqvqqqqqqqqqqq9y8x9q96t2fhnwxwm2cucn9cm8r02v5pusrhe3naz07ynz65n80zldkx2sc7x0286qa8984aj2ssyqwd3k675gq2vr2rjvvr8ekht4ltzs0el5hn7uv3hgfctwk0xramaqahwj3urycvt4ztmmzy503985pqxxh2r8fl2n65t7x32t0vhqkfu9q7ygry6vmkaqr378lu4qpufesejkd57res5aj02a8cf7acyv4aw88g0xypsh63nm98vwmcg3wg3hv6sr4chvxu3rm28qjpsdrj3e5qyqq3j7lvs", transitions = [{ id = "au10gyaju6yr9me6d8l28fwhx65w2zls2t0ccfy3t5pngax55nnq5qqqxrny8", program = "test.aleo", function = "main", tpk = "8230740749397616342957301999706650915153644162812370837746638975145956411137group", tcm = "2890782865234133958171457586056509922468321574973631315281975799959033914364field", scm = "5258565730318103630533845951156419665533866493701567935669993589597692371521field", inputs = [{ type = "private", id = "88204195335974216418759683303292216043779078355613167945781354727344920385field", value = "ciphertext1qyqpvkn6v5kk9tuapl84vqu3jte0f2w7qxuyt73s82kswx76qdz57yqktgrnz" }], outputs = [{ type = "private", id = "3914369771983733353164101765555458008753606209615886837893508835416845292078field", value = "ciphertext1qyq0nqz7sswcmmh9ass9v2n0cfrghtuzgx7ey3yrqd9uhtkvf6d2qps6rkspa" }] }] } }, diff --git a/tests/expectations/execution/complex_finalization.out b/tests/expectations/execution/complex_finalization.out index ea1281861c..682fb23b6d 100644 --- a/tests/expectations/execution/complex_finalization.out +++ b/tests/expectations/execution/complex_finalization.out @@ -1,11 +1,141 @@ namespace = "Execute" expectation = "Pass" outputs = [[{ compile = [ - { initial_symbol_table = "f7b34d530665598aa8aba5e5336aa060585283b8b2a76dc98306ff173a203071", type_checked_symbol_table = "0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9", unrolled_symbol_table = "0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9", initial_ast = "e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9", unrolled_ast = "e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9", ssa_ast = "7217c90bbea4fdec312462ca844b543af8dc5196616fd1587ec3c7d4f7c84f3a", flattened_ast = "b5ed12dd399d58be21f0a2a7a043b9daf7b23d6b4219df3d8da8518f352832e6", destructured_ast = "0671bc2face4c33922cdec4c53618fc14489f8346d8acfe1bf144dd696e9611e", inlined_ast = "5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5", dce_ast = "5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5", bytecode = "52779e86c63e1768f658aa3b1bbdaaa43251abbc0ea64c1d898a9e85cba92bb5", errors = "", warnings = "" }, - { initial_symbol_table = "1243dd49dd17a9f777fcdc00d5c44fd2fb083705b8d5a35bae91be413bcbd3fa", type_checked_symbol_table = "4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863", unrolled_symbol_table = "4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863", initial_ast = "326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325", unrolled_ast = "326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325", ssa_ast = "a7180c0d2198909f330b3b00414d1dc13f8f697c2d335d0279bdb6ef0b56b6ac", flattened_ast = "fb18dd53c61b7f4332ee7d82f11c82e6fa4d4c6bbf4a793052552a04f297c507", destructured_ast = "77a4ce1ae7af068cc283b615a58d453187a5df45ad1c971947750f448ae307bb", inlined_ast = "ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e", dce_ast = "ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e", bytecode = "745bf39548194d111a724d0f689714d35016d491c0ca78bcc82b500affe6dd05", errors = "", warnings = "" }, - { initial_symbol_table = "6223f92c3bd5bbad5da2f567698b6e984ece97d3134095b26cc0b1d11079f60c", type_checked_symbol_table = "e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69", unrolled_symbol_table = "e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69", initial_ast = "2c14e776b891d7131858e07a8dba4dbf727b3d01dbf4d2e22415711d688dc7c3", unrolled_ast = "31db5dfbc43b124cb4780c1d629ee28de4a249a5aba21727a0dcb9726d4322f6", ssa_ast = "1f4225e1f83eb88bb3368544c3b2a077da163281476eaeb688334dac41bc0a9d", flattened_ast = "eba4b124fd3df6170a5cbfaad89f0e6d398cb2cba50d61b3c18f00381a6b3be9", destructured_ast = "c1e81066ab08a49915eaaed5b82b323ab1b7227157be6916832ff22eb658b15c", inlined_ast = "22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840", dce_ast = "22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840", bytecode = "63f847c74fa6d9e087be27e6cdbe40035b78675c173b83f75929ab082d1362c8", errors = "", warnings = "" }, - { initial_symbol_table = "7d0a0d54b673b8428f972bec8346ca6830248f69cb3fba4b42c32e1a72cc1b0f", type_checked_symbol_table = "ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c", unrolled_symbol_table = "ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c", initial_ast = "387aba043fde6ead4d99bf4eb5c817051491a7d16aecd6383411e3cbc6aaefd5", unrolled_ast = "f93e4fd19542c5af01a5e0aec60e9f6265491a0952cafabfb7cdcfac00bd81b9", ssa_ast = "0ad477f1c1bc42ebcd4098caf856428e5be9a0845972cbd2908dcf53c6ce45a0", flattened_ast = "3fa8070cfe4be62533fb8b3d899c490f940686a97ae01ee0c8f6f7743527d726", destructured_ast = "5407ddb3a931cde7e50dc466557108fde8f6ebfd8d446cdb44855542208f4056", inlined_ast = "8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1", dce_ast = "8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1", bytecode = "d1e5f85421db54ae081514b026936fe5000a36feaa60a4cf7b28212303f6456f", errors = "", warnings = "" }, - { initial_symbol_table = "8272b3774900302d111cc659f82a49e7df702875ceb4e54787c068bcac901a85", type_checked_symbol_table = "3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c", unrolled_symbol_table = "3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c", initial_ast = "f731cdda879e0134eb5b1cf0d64d3cf5abbee2fd2ce758d3afac05ee07fb885f", unrolled_ast = "79017a53e402d0c7aad500a44936f4e06e418407b4a2b40f2bf69a185c4865c0", ssa_ast = "8a4f2ea8f8118515b8843aad5a201824dc2c6b06046f68698dde622f5ace3c4f", flattened_ast = "35f966d0d86e1e38c2c6650d83e62d701a9b9440766b78919ee0b509c3255cf7", destructured_ast = "5677314a7b55bf523441d3c40029daedf97666fb7821159b0c88654776ea2932", inlined_ast = "9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5", dce_ast = "9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5", bytecode = "7eae5abe4170258417df0bc1e66ec3ff346dfc2a1b325844241bf5e2c7430a12", errors = "", warnings = "" }, + { initial_symbol_table = "f7b34d530665598aa8aba5e5336aa060585283b8b2a76dc98306ff173a203071", type_checked_symbol_table = "0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9", unrolled_symbol_table = "0e02485a2b69bbeb947d1e5c948468b9e7528bd682057d9c85a57faaaa83fdc9", initial_ast = "e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9", unrolled_ast = "e6bc75a3724b70577f756022a39ffb50372edc46e13b2fd4ab577e1e912a29c9", ssa_ast = "7217c90bbea4fdec312462ca844b543af8dc5196616fd1587ec3c7d4f7c84f3a", flattened_ast = "b5ed12dd399d58be21f0a2a7a043b9daf7b23d6b4219df3d8da8518f352832e6", destructured_ast = "0671bc2face4c33922cdec4c53618fc14489f8346d8acfe1bf144dd696e9611e", inlined_ast = "5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5", dce_ast = "5a575b2f164da6a3cd46a931c22e669547b5e4d9f9c7c05be2e0e3e4fadfe0d5", bytecode = """ +program zero_program.aleo; + + + +mapping counts: +\tkey as address.public; +\tvalue as u64.public; + + +function c: + async c self.signer into r0; + output r0 as zero_program.aleo/c.future; + +finalize c: + input r0 as address.public; + get.or_use counts[r0] 0u64 into r1; + add r1 1u64 into r2; + set r2 into counts[r0]; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "1243dd49dd17a9f777fcdc00d5c44fd2fb083705b8d5a35bae91be413bcbd3fa", type_checked_symbol_table = "4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863", unrolled_symbol_table = "4c0efa312c0552ae635997b4efbeab453e3cffa1ab9deff3e9b0e99225d0d863", initial_ast = "326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325", unrolled_ast = "326e0b5b0b4599e0e82bc3c83fbc13b30cbf76279dbf4d0c4773255f05964325", ssa_ast = "a7180c0d2198909f330b3b00414d1dc13f8f697c2d335d0279bdb6ef0b56b6ac", flattened_ast = "fb18dd53c61b7f4332ee7d82f11c82e6fa4d4c6bbf4a793052552a04f297c507", destructured_ast = "77a4ce1ae7af068cc283b615a58d453187a5df45ad1c971947750f448ae307bb", inlined_ast = "ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e", dce_ast = "ba53501ad2f5854c6dcd49e17a9c208e7a3c5ded4fc30507b9ce9353b237e61e", bytecode = """ +program one_program.aleo; + + + +mapping counts: +\tkey as address.public; +\tvalue as u64.public; + + +function d: + async d self.signer into r0; + output r0 as one_program.aleo/d.future; + +finalize d: + input r0 as address.public; + get.or_use counts[r0] 0u64 into r1; + add r1 1u64 into r2; + set r2 into counts[r0]; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "6223f92c3bd5bbad5da2f567698b6e984ece97d3134095b26cc0b1d11079f60c", type_checked_symbol_table = "e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69", unrolled_symbol_table = "e22aa51f2a565205fe03a6f3b00552bd2e3442e100315dab5f2805a7f8b4cb69", initial_ast = "2c14e776b891d7131858e07a8dba4dbf727b3d01dbf4d2e22415711d688dc7c3", unrolled_ast = "31db5dfbc43b124cb4780c1d629ee28de4a249a5aba21727a0dcb9726d4322f6", ssa_ast = "1f4225e1f83eb88bb3368544c3b2a077da163281476eaeb688334dac41bc0a9d", flattened_ast = "eba4b124fd3df6170a5cbfaad89f0e6d398cb2cba50d61b3c18f00381a6b3be9", destructured_ast = "c1e81066ab08a49915eaaed5b82b323ab1b7227157be6916832ff22eb658b15c", inlined_ast = "22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840", dce_ast = "22f3f544c5331fee78a3b81381f6695bdaa06f437c4a56142b36da1e852d9840", bytecode = """ +import zero_program.aleo; +import one_program.aleo; +program two_program.aleo; + + + +mapping counts: +\tkey as address.public; +\tvalue as u64.public; + + +function b: + call zero_program.aleo/c into r0; + call one_program.aleo/d into r1; + async b r0 r1 self.signer into r2; + output r2 as two_program.aleo/b.future; + +finalize b: + input r0 as zero_program.aleo/c.future; + input r1 as one_program.aleo/d.future; + input r2 as address.public; + await r0; + await r1; + get.or_use counts[r2] 0u64 into r3; + add r3 1u64 into r4; + set r4 into counts[r2]; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "7d0a0d54b673b8428f972bec8346ca6830248f69cb3fba4b42c32e1a72cc1b0f", type_checked_symbol_table = "ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c", unrolled_symbol_table = "ea10fb298006b83389a483e12f9b97b7e1f691dc0a1aee602e74e10d915e8b0c", initial_ast = "387aba043fde6ead4d99bf4eb5c817051491a7d16aecd6383411e3cbc6aaefd5", unrolled_ast = "f93e4fd19542c5af01a5e0aec60e9f6265491a0952cafabfb7cdcfac00bd81b9", ssa_ast = "0ad477f1c1bc42ebcd4098caf856428e5be9a0845972cbd2908dcf53c6ce45a0", flattened_ast = "3fa8070cfe4be62533fb8b3d899c490f940686a97ae01ee0c8f6f7743527d726", destructured_ast = "5407ddb3a931cde7e50dc466557108fde8f6ebfd8d446cdb44855542208f4056", inlined_ast = "8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1", dce_ast = "8accc3977c89a2e948b39f6abc2c7f989e52313aac237bcb25469e4bc91fc4f1", bytecode = """ +import zero_program.aleo; +import one_program.aleo; +import two_program.aleo; +program three_program.aleo; + + + +mapping counts: +\tkey as address.public; +\tvalue as u64.public; + + +function e: + call two_program.aleo/b into r0; + call one_program.aleo/d into r1; + call zero_program.aleo/c into r2; + async e r0 r1 r2 self.signer into r3; + output r3 as three_program.aleo/e.future; + +finalize e: + input r0 as two_program.aleo/b.future; + input r1 as one_program.aleo/d.future; + input r2 as zero_program.aleo/c.future; + input r3 as address.public; + await r0; + await r1; + await r2; + get.or_use counts[r3] 0u64 into r4; + add r4 1u64 into r5; + set r5 into counts[r3]; + +""", errors = "", warnings = "" }, + { initial_symbol_table = "8272b3774900302d111cc659f82a49e7df702875ceb4e54787c068bcac901a85", type_checked_symbol_table = "3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c", unrolled_symbol_table = "3b9ce08a512a197af239b00944b50298885603f4f723debc4ee96b281d28bc4c", initial_ast = "f731cdda879e0134eb5b1cf0d64d3cf5abbee2fd2ce758d3afac05ee07fb885f", unrolled_ast = "79017a53e402d0c7aad500a44936f4e06e418407b4a2b40f2bf69a185c4865c0", ssa_ast = "8a4f2ea8f8118515b8843aad5a201824dc2c6b06046f68698dde622f5ace3c4f", flattened_ast = "35f966d0d86e1e38c2c6650d83e62d701a9b9440766b78919ee0b509c3255cf7", destructured_ast = "5677314a7b55bf523441d3c40029daedf97666fb7821159b0c88654776ea2932", inlined_ast = "9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5", dce_ast = "9c779149583480acdca132daad34c2577ec0d09e28c36b11ecf91beb556cc7b5", bytecode = """ +import zero_program.aleo; +import one_program.aleo; +import two_program.aleo; +import three_program.aleo; +program four_program.aleo; + + + +mapping counts: +\tkey as address.public; +\tvalue as u64.public; + + +function a: + call two_program.aleo/b into r0; + call three_program.aleo/e into r1; + async a r0 r1 self.signer into r2; + output r2 as four_program.aleo/a.future; + +finalize a: + input r0 as two_program.aleo/b.future; + input r1 as three_program.aleo/e.future; + input r2 as address.public; + await r0; + await r1; + get.or_use counts[r2] 0u64 into r3; + add r3 1u64 into r4; + set r4 into counts[r2]; + +""", errors = "", warnings = "" }, ], execute = [{ verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyzsqqqqqqqqqqqpqqqqqqqqqqqqxqqqqqqqqqqqqyqqqqqqqqqqqqsqqqqqqqqqqqpsqqqqqqqqqqq5var0y5tumwfxn2zhxyzg3k9ytf2qyzq9pamq2z4f84ap98xg7rdfsqfujtpxsxtk9qv8wf5hzcqu409ty4pcczufvcj2e7cq27mskjvehfm54xuds97z2mtgxadqxesl20pdmvy0lpa68lahq4ze2ysqu6kl9z2y6dhcc6q3dzhv6a5unfcux2nnluemlvzljwevw75mmh6wdz55k9vfgf6fpjkzwsh0lg3qq2ntatu9m8q8yggunm6ar0ntmfpa27utlz6xtjfmr3vk4tdpzpaj0dud0gghhttmseey5srlsaasqr96h8a63avwz44d5e9wcc3ymgd2d33pw8q4r0a2d2pt3zl02y5w9zecfhewspp4q35s92u2qkrkrqfrvd6xkd2chwll850ehch4f7jtpfdqefcnc022v5n33a4tnhs7mf8y9n5z2gd7wzkmx66w6cru3jqxfauzk34l3g5lqnkamavjejl4rr58ysfn5n2248t4acse46dh7j7ll7znu8hrqqvr5k9mpvpz6xgqh2q358zgh4qtuygxcz84h5aazze4kys75vczensdqjpnnzk79g0q5mfs0z3tgecy2ye0qx8jqjasp7u73agrlgca5h66ehqp6m6f22m8nk3a5xen3m2p70w5ne4dnpwx4s3de3w4npsyyaswml0p6a88srf474kugak4dcev249ph64d4xudem7sl8j6l4e590v527ek8jne84sj2jej3ht9l9w92m0alc4kpqqp6xdyu695uh58p03jeas9pj96fmsgn2ckt9cgdlpgwylscs94wgyux7n95ap57jj4erpeqau956xcz66r4r3qzh5yg5vuy8ns03e2mvamcm0kgwuyaa9yzzy7xqeecf6xxagcdzsnf4veq2pw00f99yn4szy6marlqq5sq8hy25qs9ked9rkrh88jwt0xd286032ye4kcywtth5w24xuz0kfa6ptwkaq73ckcpqv28jzkhj52zln9ue95yth88dr9m5kpc96z5sgvpy8kjyxd7ap0krua6mpc30lawys9at5ej8a7r7qerpldlgfthpy7lgwfdsv0sqlt7qfyz2nfsc2k7rn000hg0jlkz2vfh4qfsg69zwznkxy9er6f9gqptu78awm35q5en7fu0dwkpu2vlp07nl53pfm6ar20wkjftydt4ej6t0ygzws4vqpuza8982j39qjgr3rdc34qa8qxunfwrt8m3phjglud5twgayhw5m7cqruv90my863c55ajas66yxmga2ymj35k9pl2szsghl3kvu6jh8dyr57qqu34qxglr49a2q95lmkqxtz3vkzd9j29eqsxcl4xk8w3tahu3aktntq7uq85usnur6smyue8jd0j9znwq5w3da7rym73v4jcfsyha09cddzes6jaknes9hywy2v0w9nzsn3dswqzehwh50xtg944dprhdz3rnpx6t8a0n23n4hukwr45p0lkexy6jsg3h6v04s02y0npd7klsl3gtfupmeu5nm8mlh4s94n82dvvmzhrsuqlveg0f5m272970khqvmnkzdgx72llenfag4xvqzmngnn56qgcpzhw4gc5yzm2rq73r87wwhl0wql35v88ffmgx8hmt2gm3zuk2tmvvswttruf09urktw6ga73xr9ws8ehwm28weqnnl6f9rlfhdwahdy3m49g3953jpa4v3gtc7xpufacauhled78ha3yw7lzcves576vyq8ev6r8cq7v4sh2rv4d4yh0ryzkljm9uxsgu88y005vfl6uhqasgx7ezykl6s2k4avfkuuxpceuxxqdsrvxm7t6fwekgk7chw676e40wfrsplk87qagu7teh0tm6u0ukadfaxd8mfyznqylm4nu7vnmwv5phhr2fy8cupqwwta62840700g9f950ux7vxjxfjsnvswwnxkag3jkr5a7kmtyvf6qcycttxfg2gcczmddn0pzn87sa60zxc266g2gchye73nfvzryxap5tefz4f396hsy04m7zx243m0fuxfd6vt57yycqz2wqkpdfrvzps7spc2dkuud66m70s90jjn3dtks6v5dlgpqjudnga8l38rk299hv8e8wd8m2nd22qdac6jfp78qgrnjlwj3atlnm6p2fdrlphnp53jv5ymyrn5e4h2yv4sa804k6erzwsxpxz6ej2zjxxqkqpwxmnfmgkkyqwuk0ly48c5tmhs8u0lya2nw2mkq2j3myz79n077x36xe2tgw4e5a7a7n8qp3gcpl2wfcucqcmnwh4msk45eahfq9jja7ekud2q2drn2sw9crwlvjyyttlzpllr2ykg76rm6dyvwe5scqy3jgr6hcy0g8xg7rs96n923jynuzzyphru7zdtrpyl9wal75kl2cx2khc0ahe79048u6p7t38swps8qrvcszkj3s36qlagvsw8knrdgrdnv7r7lgvpyzdwfxyczwmeq7n9ftnhjszstl7j7nctn9ghhwwtgay2ly94xe720j3a5jfw5kfqyp34lthzpxl8l7gc2e0xus76mdy8fcnc8c8pf7skufqen4ee58yzzguek8werd7yw5z8a0k5qtwyw5v9xdsus2666t0vjn2ymznnaurja6m4psenpdgzsm7as23jswggp9dtjd57p7n7aaw0k8vkksalxzpau0chsmppddldedgehfz24588yar3kxkc8qfpwmgkaz226apzsg5ch9yxfl6383t690yxslj2yy6csatsjgm82jj8rvydx96tlnasgnx4yk6qrrqs0gcy77uz7sqqnzfdzrzey33m4csvhcnn72efk7qy2njghg6wgwlnfyram0cqs8m5jnr6zhumc7vfnxqrdhah9h6e47rp7j2xp9j3urthges52tavwhmfnpvhww9npsyv5qelmkmzkwlnxpwuu8lzcssc7c6tayzafrnzkxvlqzrmat78c3gfy5a9enhakc83qxrd0as9lkknlkadlt5pdtla07lmsmw4ch6dtfymd2cjk0njfcdqr86fgcyk28sdwarxz3f0436ldxv9jaeckvxq3jsr8lwmv2em7vc9lt32zuhvgucexu4c53c8ddeklsm429sa5dyyfsfnyt82j7sw52pse6xekqpcvj79k6m4sg5sypysx3073avcaex5c6ew0ujlk6tkdpu9tetth4mvxkg03sv9jsm8jt0mxk5u7agqwvd6fvkl4lwp0cz8ssvl6srkw5m5ucs7dqddfzmmxhkcjrzu6055nxq07uw7cuxjpnrc87c4ghgnl9w0fw9vjlrmu4p0k0h3dnsgatezldlqlhsry6hzhss9m0es8yh8h7wuv43s3saujrey5emc7n3taf7vuy9eqfw20rlpfxpapgl6237zx3qny6qxruywljpq5v0ry008c3h9zxf3ua9nhdxv4q2r87sf8hfrdefctmt8wjwh9ygu3xue2v954937sccrhjx2jgu9qxtc4mvtvz9z233he5lly96u3denxvcs2l4j92s7lp08605tclrqwgg3w2z0nmmpugfjhc3lj6lutvvwzvjyc6u4p850f9xuc8cg8fv80gw3d0ky7659ljrn3asc63cmwhvnmd2vwf3waypxxz8vnnl5lzp774e6cjw7ctnu84z6lw9ue5rvsp5jj6x4mkfdqja56x3qn2uevqg6t59xsedgczrkcflrhk97z9xev49u65xjsjjzgyy602yuue53s4kzkvqv6p62unmdnxlv3kmrafqc9ppeh8pa6k5pcyj0xassxjxszf44t5lca6rhurv96eyapxvrvr3jv209fgq23gacmjw4y020ncyg6p7hcegxvkf2xen62j8chm84ue5fqvmalrkdwgz8rmhdrpa4gwq07c3aletke44mjugtt6m94k538xev766lc8h0g4r478c6hv5egzxjfft2snapr2xuzwawv8ulhjrn5kgsqm4qhcvk70rjf6h7eukcqf83zehyr3g64zlsfshm2tduyn2lekmh2ue5k2vf69qvajyas44qyhujrj6pmedm3el4jalsh40kl55x8qv9mxr079jmcw2xchmhrqc872x8qpduf0a8dys4m0eqqcg425fnxlnee0s0excss3hw3fsefkpndrgnls0nlnqgz65h3yyslafy2mnmlvgn0aywgp43wg3la9cuqz98mutlrwvq8k7gal3k687gude23tnqy69sjemf2r5d3vxst2fgqftxd5p7xq0naf9jpraq23lg3v6u33mtaud0tfzjvxrtealcx77cv8h8x9kymy2as89deuvyktcdxq9yr66w4q203v9e20av5kq0xvvzfa3j2hjkhuqms5mhax4avuhemr9m3t7dd7uzk9c5de44z00cpgydtshgl2llpkqs8rpueg234tfzxexmyg8ctmf9y6strwpvqr4ldzzdvcyz0wl50l4gveymhdv3qqatcjzj2u4mwacnt63mva6wy0aeqz2rehygdtsuvkdt7hk6e7msuxgqvzs49ndeyaq0ajal676rmqtcg0spvg32jd4zrxsnexzzjkekph5p7kyedhmc3lhc4xluzqnhpkcxvjwa65c82trrkf3aypt4y07qvw3phqg2vyq38vtasqh9pzhc3xyppyfd3f0u86v5n4d6laj2sxsckdyds443egz0weu5tzywvmyjkpu9twf5nvl2x7akaddy9ewunuua9lysj332u8ejllcc0qcmc5473r04lzhkk0y0eujs74p02ucm0gdwqxyqacwepargxravjyyaj3ksvzx6r64tsxzwkxua93tyjqa43f9qw2l9z3d8pqez9ektnkcwemq94vue6x9m00zlajpmdf8w5ylyq09umc5hhxy42csc9ek29zcu42ze9hq82vdjq0rxenhajl90ewlnw3y9cg0llz5eqkn6ld7g72pazpwxnfmgx0cnth00lp6hxdjrry47q9qxas507yzvwgqsuxfalkm0sdgyl2nmrdpsqyk3ks6m8pv8q65xm0dqctgd8dk7xt5d32kc0nwcy4rk6arsmes4klwxx2ctydfrqtx30cz5mflz29222g6rck9r5rv8k9yjfey5efd87ecre26vg4vu96603tkfm8tz35wejfv0nka9xuqg0a7hqlrsmy3jtev8lz6uzlqmkwg0cecs37w2g8ld4p2ndvrg9pfvrwyv3nypyn42z0ryr980lkc7seqpzp8yfv2xk5dyhxe6tal6pq398ayc0gufvjtjhrq5gd9xt2fv8mw9gjvv450u3kvj2asgqf5gv2een5vtk779lmyrk6jwagf7gq7teh3f0wvf243pstnv5293e259sxqqqqqqqqqqqwqj3a42phh73vy8ulpws0het7ss7pgdckg6ewukl27098u39eyvyufztgalf2ej6c3v4chackxzcqq90mh3763y2jengjjvz3nep85llygeka8du9r27srhwpdvc7n35kfjmkr5xjfuspgmgwas0lyd6xkqqrs7snaesg6hslzwm2jgkrddrrrf0l3ltfrfsq474c36vuhl0klgrtjdxw0k9qgwa4us0yqx7pm43k37yflq32saxh4h0hg2ec5kxxyy3t8wur4mch05gxmhe45qw8sagzqqdhuwg5", transitions = [ { id = "au1qyvwmkzt573s9tk7xkatvaeqrpkqexxzv5rs6u8qg9emg4y5jqgsavzal2", program = "zero_program.aleo", function = "c", inputs = [], tpk = "5623264355502088525489655606156803223176963418640315466365974249858112877284group", tcm = "2553775328193142624284857276491107855038586595332068289064268167217173432363field", scm = "5897094027323026732582000041395493778965159040056808723489728586696701664724field", outputs = [{ type = "future", id = "890191710122231110203529870127655644143017144365056445657329457706577967091field", value = """ { diff --git a/tests/expectations/execution/cond_exec_in_finalize.out b/tests/expectations/execution/cond_exec_in_finalize.out index 3788a8d52b..552a5a2c48 100644 --- a/tests/expectations/execution/cond_exec_in_finalize.out +++ b/tests/expectations/execution/cond_exec_in_finalize.out @@ -1,6 +1,30 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "17dc9f6dcb320c160ffe1d26761b75b37ee44fe25619f2013fc6bc58b6583db1", type_checked_symbol_table = "1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3", unrolled_symbol_table = "1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3", initial_ast = "27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665", unrolled_ast = "27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665", ssa_ast = "5d2d844bb95e6a45dffd4786aa55c2483f7cda49617cb74671e9687c1cb75a74", flattened_ast = "ed13779e30ec49a94037b9091a346e8c583b0e810bd7fd7f66763d81748a50f9", destructured_ast = "5d359e7a833089b922e8120e18495aeaa2c934b3635d049b5a664821e4848ca2", inlined_ast = "c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e", dce_ast = "c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e", bytecode = "4c9b370477c0b08af171a80b375e88adaa53684d7419d52effb5504bbc5e9b59", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "17dc9f6dcb320c160ffe1d26761b75b37ee44fe25619f2013fc6bc58b6583db1", type_checked_symbol_table = "1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3", unrolled_symbol_table = "1d48096d1a93db0bb2462a54823dfaaedbfec9797947ad5642e106a3e01579e3", initial_ast = "27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665", unrolled_ast = "27c7103cf4aef0e2bb8a1abb044f3aa3a02b6d58c08a0f2cca78d13f7b061665", ssa_ast = "5d2d844bb95e6a45dffd4786aa55c2483f7cda49617cb74671e9687c1cb75a74", flattened_ast = "ed13779e30ec49a94037b9091a346e8c583b0e810bd7fd7f66763d81748a50f9", destructured_ast = "5d359e7a833089b922e8120e18495aeaa2c934b3635d049b5a664821e4848ca2", inlined_ast = "c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e", dce_ast = "c45e0ac0e118cfb19985499297124ec4b036450879a86c7b9deb8e2783d65b8e", bytecode = """ +program cond_exec_in_finalize.aleo; + + + + +function a: + input r0 as u64.private; + input r1 as u64.private; + async a r0 r1 into r2; + output r2 as cond_exec_in_finalize.aleo/a.future; + +finalize a: + input r0 as u64.public; + input r1 as u64.public; + is.eq r1 0u64 into r2; + branch.eq r2 false to end_then_0_0; + assert.eq r1 0u64; + branch.eq true true to end_otherwise_0_1; + position end_then_0_0; + div r0 r1 into r3; + assert.eq r3 1u64; + position end_otherwise_0_1; + +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq0rxwjqlxmc8acm0xaxeewz905709n3wjz45gmdpv6q0yy2pqhzj0dj7zaq2x32veqxg2aqveccuyqqys9vejps3830l50n6znqk47m7tf00xv4qnpg9vpz4l45rqs7n2hdyxutqjjd6w3j3le0p64u5dpjq2jhfant7td2w0wrr0r5v762k8lujm2r3rq283jfkl0aqrnfuhhklhxpe5zrhvcndj95p8drpw7fsqggqfk9e40l7nw600kel4p36ggaapgjpzpqlanwuuwlj3mas52p6qefk7xkacgcldxka9saqf4wwgqu9e87lv9jy68fzr65nujqdlxkds23l30nqejxfh0d6ycvvmgfzutps9ggafhelp0vc7zude43yjsrnx3348l4wzgu4nncayjlc88sw60h02lkn79ak8hszv4gqejvdlam4v5ylx5wsde7y5af0jrwkn2qp6st8j0ns5hafgh6mex29dt7ah26clzzmgm6ack4wvq64905ja9xuzsex6rf3uvahk89wzhlzx5eqwq7894l2l0f7vkmglk8d85987qttja0ug87594vxrkaadd008ary7fw94xyzga40cea6rlqqksq6qk52l549ze48pwenug4pg8g9lrfe3xqsl6dezyxa2a7vtnk83rhhw4uv9h4q4cas9v9r2meqkxmgspwe2r4gxyhn8zu2rraz9xspvj2skkarq30rv58zdqa6a6fftucu8l6788afecfl5r22dta56xfm6ze432hcxupq54sqpsug3dh2a6jqdkpw75pn7kdf60yfj0nru6w920cp808jxch6v3rj04rej26rvyqk5uz90k5kdlrg4c6hdxje2qtueffyw4mjr93yyuq8qjccstrq4qaad77dv42yl3wf5d0pqgceeurf4dtrzey0dt6jtz0tmynmvyzhcqycrcks09wslyy699lufkjcwknxju3t88vh9vffj0xmr5fzsh6cr72mjhwsrelh8lt023xeg0x9zvwn63pgz2es37p5dzlc3kut8sqp2tfy5vpazc58c5u25wg69aqa9vgjxkk94uwugx2n80jhwjqpugpxx9huu297v629hdjchld26c394rydn9t4rckf8ka63q3reelczq9uqdrgjh4azp353rx5x3matwx550cu9kgtwd7jnf76gl67nppkqfqvqqqqqqqqqqqwt6l5ch7kf7lrjfkpz83v2yw4mek6f6www8lwjucqpev25xf2x63tztw2x2mmqpp022yy8faa5csqqz5chxf3fde47ngzntjzhche0lv9ya3ywfagh8qxs490phu0n8pu0pz966d627zse28nap87cn65cpqy370fjf7z03rtrwshkz3fdu3hmknkdcx2sw72yv7elklj780n4qrq3lx7dmmuez3pj84zhhdhvuk9j9cpzxu74hfjkym23dkqya4cqkrtf5xhl06kpnqs6lfahpxjtysyqqwxuqrc", transitions = [{ id = "au1gssvavae6ac53rs8ksw8j9ga3hccp67z28xh36qf4062l8690spsyfy53e", program = "cond_exec_in_finalize.aleo", function = "a", tpk = "769969058670211305403054972674090607838301017799111639698834153018520792433group", tcm = "5925913616768344982910633865433077509444975263571425771517515198551312511915field", scm = "1886094021537141979658158678736082193414687088300410876802743154665441796198field", inputs = [ { type = "private", id = "7626202372721641535512265492191969309447186797313499247653268394332453807927field", value = "ciphertext1qyq85ue2r3j05nsht40nt5rxeewyzevhu40pl090yfrte5wvw0w3szqhtt7p9" }, { type = "private", id = "1443812050965843742096133489395435648284251851376088034812367117905213557076field", value = "ciphertext1qyqycthe92m9vq7n2jmqwq6yzrzdlvn3444uel0j6u7g74vyy4nggqc4kmcpq" }, diff --git a/tests/expectations/execution/counter.out b/tests/expectations/execution/counter.out index 00fc401f0f..7b40d08c26 100644 --- a/tests/expectations/execution/counter.out +++ b/tests/expectations/execution/counter.out @@ -1,6 +1,53 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "ae28dea8208d31b498caf1c490ae89eb7056b194f3e35a90dea9ad87895d65d2", type_checked_symbol_table = "37cfeb2a87c005d3348d6a67685f6243886663b0c54a7c3b0a60c9c9e7316be6", unrolled_symbol_table = "1e3c1f6215a5fd621bc62e76d428a89dbeebe6c188555a36f68f70987da78dea", initial_ast = "19721e772e221eb97e37f1c93467922f709e85ce513f52509ada17ee6d772f43", unrolled_ast = "9d6a97290f777830354c88a540cefbf102082a3e0c68cc8973515f4304509347", ssa_ast = "b25c2fed543056a8d3210f3c547a3e59b0fcf3889d03226c9c262ef96003577b", flattened_ast = "d30829dc6d894b5b770bd49f41056cd441c93b56d618babb87ab998b34859aed", destructured_ast = "b8e7938837dfc3472dce7a958a04ff50a94e484ae2105ee1921256787a01ed26", inlined_ast = "87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c", dce_ast = "87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c", bytecode = "34f95c324649b856e6e1178f1db6dfb00abe322f43e2ea08b37ba9065c6f3897", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "ae28dea8208d31b498caf1c490ae89eb7056b194f3e35a90dea9ad87895d65d2", type_checked_symbol_table = "37cfeb2a87c005d3348d6a67685f6243886663b0c54a7c3b0a60c9c9e7316be6", unrolled_symbol_table = "1e3c1f6215a5fd621bc62e76d428a89dbeebe6c188555a36f68f70987da78dea", initial_ast = "19721e772e221eb97e37f1c93467922f709e85ce513f52509ada17ee6d772f43", unrolled_ast = "9d6a97290f777830354c88a540cefbf102082a3e0c68cc8973515f4304509347", ssa_ast = "b25c2fed543056a8d3210f3c547a3e59b0fcf3889d03226c9c262ef96003577b", flattened_ast = "d30829dc6d894b5b770bd49f41056cd441c93b56d618babb87ab998b34859aed", destructured_ast = "b8e7938837dfc3472dce7a958a04ff50a94e484ae2105ee1921256787a01ed26", inlined_ast = "87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c", dce_ast = "87a498de52d504e6d37f5227a57d7ae0128a354a333f5b30106230735665293c", bytecode = """ +program test.aleo; + + + +mapping counter: +\tkey as address.public; +\tvalue as u64.public; + + +function dubble: + async dubble self.caller into r0; + output r0 as test.aleo/dubble.future; + +finalize dubble: + input r0 as address.public; + add 0_0u64 234u64 into r1; + add r1 0_1u64 into r2; + get.or_use counter[r0] r2 into r3; + add r3 1__u64 into r4; + set r4 into counter[r0]; + get counter[r0] into r5; + add r5 0___1u64 into r6; + set r6 into counter[r0]; + + + + +function unsafe_increment: + async unsafe_increment self.caller into r0; + output r0 as test.aleo/unsafe_increment.future; + +finalize unsafe_increment: + input r0 as address.public; + get counter[r0] into r1; + add r1 1u64 into r2; + add r2 1u64 into r3; + add r3 1u64 into r4; + add r4 1u64 into r5; + add r5 1u64 into r6; + add r6 1u64 into r7; + add r7 1u64 into r8; + add r8 1u64 into r9; + add r9 1u64 into r10; + add r10 0__1u64 into r11; + set r11 into counter[r0]; + +""", errors = "", warnings = "" }], execute = [ { verified = false, status = "aborted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqp5lf5rvda34lj66ey06fy5v5y8dmqmd0nxx0ywzjw7kkf3r0qwz90vmk4uvmpmrccdzj4w8tm2lypqxvfqlmmzxxpkc473c9s87y080gtjfrtnceqdy0jfp6l2lxqgun7hcy9wgcwh856ug2ca4qqfenfsqw3snk3ayvn258s6944p6wxya8j996t872pr5vdcuxdxn8yfs4ujz3quwu35udud6fk7hcqznves7qwjwsrgxcxdfhs80jj2hr5jmgjgul3fdmtms8t65jdage57wlzsfzel9e48vpz8sau496j70yu3qcpk7qgmtr68hl9kqy94fp3w34e6zz4azqfnrjz82u98g63mrr6pa3ef34w8n3kyr45sz0l8cmxsekqq9t5j9jy9lksw0wnn58k7jyfud0l983tqt4emr7sd5u3chpc9at76y43cnjx99l24uktv70m9962sx9lxc5a9hv7eh5fqjgwvflff5yl6zzwrmz5edutqxqr9gvfc3vjvvtdpuh46xqx3lv0sj3pjjvcnqf5drdynn37xr0xdq94ef0t333c0f7n8kdg9u57gkytq3cgu94zx86grwrr7wqljza86cqrx6jk6uqgq9qxf3gm8y9g54ntk7mg9e6ff6fcj83fupqvptjdknygrfpczrsjwnjeteyadpn47znzfvg29s5qea80wdg7vcu08hlwurcqx3ha2u3dre4gsq9y3jfv5w2hqfltf58esahpu6kjkcwj324uzuh5d5wjt38zptld6cvzxgtewrjusdc3cz789uhare62vqu4cv24ryzdln0ssldz7lgs5glgrzvfqzt6km5tzp4vem6srwtn93xjwahqjmv0zq88mfwl22960yv0ufgl83dudy9s27svht4uvnk54uhgap8wuwdqnhra6mzt0ndcd05py3egzvrfj4qt5unuz44zz4a8tsdtd0rkk4y6v4lksaekp23al67rh9ttut9xysxw3jxqsxw50w70h68d2px4stssw4w5p2dupljmf9wn0qhqpav85qeeaudmxxrsdf546fuu8my3ewnrszaamf9gjeveqtmk6perrsljzqxhw5daqqsgnc79g7m7gzzryslqy57j33j2xsz55jzqahm7grss3m56jhxwy82v5v5pk7sdxdcawql8cg5um4z0jj0dkzkumxht57czqvqqqqqqqqqqpg2wesjekvvp8rvnvh9529sjgfrdu2x74qej909vk352qf7uneaay38rwpcwet7hgs5k5davn0wvqqqtzwacjvnl2e006ufve83hm4s4rzupv5y6ymhhy6h6z26kuz6pgd3duj3a5nkk6urhtjxy8lf3zpgqqy7xr6vam98hfqft3uxcm90yedkaf3n5npy2jkd032qlzvyzezvqcl3acm0azpu75ran0gs6vj9v9xs6h0mkkny6hphyu724gs7nqz02fflmuq993fyfmsd5zyegnwzfqqqq4h5zpp", transitions = [{ id = "au1xe9ss45s52a7s6pa806dwgkdaazn7vs3zvspwhpuqn0rfymz7g8qnt9f6l", program = "test.aleo", function = "dubble", inputs = [], tpk = "5335156928382662463417682951586372143768154017026570642038100848385013470524group", tcm = "4767822739789057211554348258725193428142828427072824810197371556604343646664field", scm = "2701033919833853562637728369527609701654193986187336931878103571063109198360field", outputs = [{ type = "future", id = "4946982913093244233049959804312122789186741969911776114977991679216808685109field", value = """ { program_id: test.aleo, diff --git a/tests/expectations/execution/eq.out b/tests/expectations/execution/eq.out index 8862539327..479b366c49 100644 --- a/tests/expectations/execution/eq.out +++ b/tests/expectations/execution/eq.out @@ -1,6 +1,17 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "c9bb0e664995804ae4d47b4fa1ceedab0ad0095a15caa65c32a207da98a833bb", type_checked_symbol_table = "5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841", unrolled_symbol_table = "5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841", initial_ast = "9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900", unrolled_ast = "9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900", ssa_ast = "6139c602eee1ce0aa88df2eb050c210c5232f06e8798895de7a02527c695ee86", flattened_ast = "1785ff1b2256e77111ae8fe51c6403d8c3b10b79733292baaf4d2da1351be672", destructured_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", inlined_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", dce_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", bytecode = "15a3a90b1837b318b43b3f3bfc5e454a8821357b4c3feb01da00a4db810bde89", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "c9bb0e664995804ae4d47b4fa1ceedab0ad0095a15caa65c32a207da98a833bb", type_checked_symbol_table = "5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841", unrolled_symbol_table = "5d0645cbcb3c81a980454fab3e7c8282db0415eaf663a68674bd1cba36076841", initial_ast = "9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900", unrolled_ast = "9e916a48054e924200a2327e6003f3e2c6330b64592f9afbcc180b763aa93900", ssa_ast = "6139c602eee1ce0aa88df2eb050c210c5232f06e8798895de7a02527c695ee86", flattened_ast = "1785ff1b2256e77111ae8fe51c6403d8c3b10b79733292baaf4d2da1351be672", destructured_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", inlined_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", dce_ast = "255151d0fc6c790384f2b36b69cec857a19849c44543f2a87cfece95ddd38f53", bytecode = """ +program test.aleo; + + + +function main: + input r0 as u32.private; + input r1 as u32.private; + assert.eq r0 r1; + is.eq r0 r1 into r2; + output r2 as boolean.private; +""", errors = "", warnings = "" }], execute = [ { verified = false, status = "none", errors = "SnarkVMError(Failed to evaluate instruction (assert.eq r0 r1 ;): 'assert.eq' failed: '0u32' is not equal to '1u32' (should be equal))", warnings = "" }, { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqx22a34a0zztt9jqh5wf05enkltq2v5haxf3nngscm5ul6tnp4pa0fpwcd47cfx368h2zlml75x4upqyrnmn07yf2uzg53su96s4434tz5c0vyrspjvh5mpdg9hyrsvruglqd5ujvhwjl02m99g7d4s98cjqphmhczeg98mk6y8ekjklyllh0rnrt65wt6m544kkql9an5n02tm5nc6y5pmd438k2qfcxuudgp9kqm545ztmjxu68whlnkkec37u8wvrkn8a5lmd5kxxve6ayxxz00cmu8s0v9jzd85hnxewvzhpay2wqp7a0v2my4k7z5zx8u3ldx4h2tdwc02ccaq3q6lucsgyswnuecp3wdfmdrz6s2ekrjm2as4gnjt7zqzkq7y57mezgk3yqhcjhaqtc44nrslznc7w9npmxkj2qu7ee8y2v7j4achafgf2vhlfgjz59j7cs9syrhx2wpr9v3s23vf585fresnnk0cnneysz8mwx3dlacvfmur9ah5kgps0v8xu0n725pdwzxnh4qgqw3xamrwurwpacpwegdwgrj8xrpsatjwqf0gnta34etacf485d4hma99meevcfn6cqm8vrqvqk23uqkjek53fd4gp9hxuwh9jjx79ngq4xw0c5k4k4p36a6ywhgpshhmlshhenvcy95xm4xe6pewd58tv5qcgmxwm0myne7vr7laqgf63q9ulkxgz6xyyv3xrkwyyrcgrkjcuqn0nkd8gadpkgh4th4034mg5w0x9y8p4ge64j25dzl28nvfympcz7v7qf5ndqs3rx984js86kehy8netzftfafmmm0sf3qd55xgsumqufyxqnlhxm7lelpkunywgsmwt6m59xvqzvca3uyu7lwhq8uqjusan0fd6rrxr0nzzr8yjg3yxkze7esn88t8cxz6aleawp4pydp5gg9yascqm4760jtghhgq2sjgk75tk3zln3xk3cv5zdujyu42g6dwcf9v6w0lcqmd73j5k466ad6xqjg7ftaawnwalnewwp4ckfqthwzszdtxrqhz2m2zsehm7w6x24lfpewazamn29vwrzggwpqgg8vsws3ql0qsf0zwzka67qk6wxnwhdlc09m6j3dxhahd5mff0mw5n0cwj8szvjlqa4gmta40hj3mekzs0c9fl3m52dhtw8ahn67y35luqgm8kggqvqqqqqqqqqqqscg65mg7ha067fm9x9d9fzk9a05vf79d05jtk5jukxj0vff9h0v6s9jn6c3xnc6777x3w5ahaf4qqq048hdw3t6fx5t0nhpctux0h7jr7vcxpedevw0rm2p0zcptt59nv8hl2nypswhgnlmlg8fgxl0cggqq85pcx8kkhdygsjlgjau0300mfl24r70wveycq38cg7szfyd4ccqv66n8uh7dwe6gn4yrr6vhtsjrj732ut3zh4klg5ek4ks6yrz06srr3a2nfnuyqpeun2wk63chwfgsqqqw24nlx", transitions = [{ id = "au1vmzfta6zy5yrh7dmgq4kr92cjvr6tmwnxguawrkscwph9sapngyq3xzl33", program = "test.aleo", function = "main", tpk = "7320235361266753660867089687085915667607134461691518948277006011175174455549group", tcm = "4571179220108761820137637274591263343931560548835641677917358596650028410158field", scm = "6847040677223132793748545475372195696130417602435382529339173243220980601344field", inputs = [ { type = "private", id = "3030414102350222254510473051761565848361368618573163557613003397561582199342field", value = "ciphertext1qyqdyr0zw0xzuhrt7cfkmas4ya30f9aukyhf9clhmz9vmmj8794cuqg0rt38e" }, diff --git a/tests/expectations/execution/flattened_function_and_inline_matches.out b/tests/expectations/execution/flattened_function_and_inline_matches.out index fa64999684..ca3c9f9341 100644 --- a/tests/expectations/execution/flattened_function_and_inline_matches.out +++ b/tests/expectations/execution/flattened_function_and_inline_matches.out @@ -1,6 +1,153 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "33492050657dd82b8780af78e6cbb3768d50f190428f200a6a43472d50a9aa50", type_checked_symbol_table = "f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc", unrolled_symbol_table = "f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc", initial_ast = "e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c", unrolled_ast = "e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c", ssa_ast = "c11c83b8011667b9803def78e26c978af8a407a0bc550aa01d57f2a21d64d769", flattened_ast = "c9c69ccdd00a39a9f600ceba6ee7ac5e47c47b1abf8d8857264581cc18795fa6", destructured_ast = "d84d9587cb336791a142e889eb248c425e51acc8f3b8f17561ec1aea5b554378", inlined_ast = "558c25fa346d7e139cb309899cba630557836983ce4f147c2eef009343a670c2", dce_ast = "69876b0a87e8c14ed0085f25354da4a7f2bfaa351dfb5230f9b7f37bcf33d6e3", bytecode = "1524806e8239505d72e66621c387acc0e3342a9507535f00db692088eb933b1b", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "33492050657dd82b8780af78e6cbb3768d50f190428f200a6a43472d50a9aa50", type_checked_symbol_table = "f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc", unrolled_symbol_table = "f57a951ffd325863f2c35e4b4a4118d3ebbf721a03dd621c731c9a9258af2dbc", initial_ast = "e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c", unrolled_ast = "e5ad05937041eea6b511f067c946adc83282a76f09d9c67fd58aba4cddae9d0c", ssa_ast = "c11c83b8011667b9803def78e26c978af8a407a0bc550aa01d57f2a21d64d769", flattened_ast = "c9c69ccdd00a39a9f600ceba6ee7ac5e47c47b1abf8d8857264581cc18795fa6", destructured_ast = "d84d9587cb336791a142e889eb248c425e51acc8f3b8f17561ec1aea5b554378", inlined_ast = "558c25fa346d7e139cb309899cba630557836983ce4f147c2eef009343a670c2", dce_ast = "69876b0a87e8c14ed0085f25354da4a7f2bfaa351dfb5230f9b7f37bcf33d6e3", bytecode = """ +program test.aleo; + +struct Extra: + c as u8; + +struct Data: + a as u8; + b as u8; + c as Extra; + + + + +function bar: + input r0 as boolean.private; + input r1 as boolean.private; + input r2 as u8.private; + input r3 as u8.private; + cast r2 into r4 as Extra; + cast r2 r3 r4 into r5 as Data; + cast r2 into r6 as Extra; + cast r2 r3 r6 into r7 as Data; + is.eq r2 r3 into r8; + add r2 r3 into r9; + sub r2 r3 into r10; + add r9 r5.a into r11; + add r10 r5.b into r12; + ternary r8 r2 r11 into r13; + ternary r8 r3 r12 into r14; + ternary r8 r7.a r7.a into r15; + ternary r8 r7.b r7.b into r16; + ternary r8 r7.c.c r7.c.c into r17; + cast r17 into r18 as Extra; + cast r15 r16 r18 into r19 as Data; + cast r13 into r20 as Extra; + cast r13 r19.c.c r20 into r21 as Data; + is.eq r13 r19.c.c into r22; + add r13 r19.c.c into r23; + sub r13 r19.c.c into r24; + add r23 r19.a into r25; + add r24 r19.b into r26; + ternary r22 r13 r25 into r27; + ternary r22 r19.c.c r26 into r28; + ternary r22 r21.a r21.a into r29; + ternary r22 r21.b r21.b into r30; + ternary r22 r21.c.c r21.c.c into r31; + cast r31 into r32 as Extra; + cast r29 r30 r32 into r33 as Data; + cast r14 into r34 as Extra; + cast r14 r19.b r34 into r35 as Data; + is.eq r14 r19.b into r36; + add r14 r19.b into r37; + sub r14 r19.b into r38; + add r37 r19.a into r39; + add r38 r19.b into r40; + ternary r36 r14 r39 into r41; + ternary r36 r19.b r40 into r42; + ternary r36 r35.a r35.a into r43; + ternary r36 r35.b r35.b into r44; + ternary r36 r35.c.c r35.c.c into r45; + cast r45 into r46 as Extra; + cast r43 r44 r46 into r47 as Data; + cast r19.a into r48 as Extra; + cast r19.a r14 r48 into r49 as Data; + is.eq r19.a r14 into r50; + add r19.a r14 into r51; + sub r19.a r14 into r52; + add r51 r19.a into r53; + add r52 r19.b into r54; + ternary r50 r19.a r53 into r55; + ternary r50 r14 r54 into r56; + ternary r50 r49.a r49.a into r57; + ternary r50 r49.b r49.b into r58; + ternary r50 r49.c.c r49.c.c into r59; + cast r59 into r60 as Extra; + cast r57 r58 r60 into r61 as Data; + ternary r1 r41 r55 into r62; + ternary r1 r42 r56 into r63; + ternary r1 r47.a r61.a into r64; + ternary r1 r47.b r61.b into r65; + ternary r1 r47.c.c r61.c.c into r66; + cast r66 into r67 as Extra; + cast r64 r65 r67 into r68 as Data; + ternary r0 r27 r62 into r69; + ternary r0 r28 r63 into r70; + ternary r0 r33.a r68.a into r71; + ternary r0 r33.b r68.b into r72; + ternary r0 r33.c.c r68.c.c into r73; + cast r73 into r74 as Extra; + cast r71 r72 r74 into r75 as Data; + output r69 as u8.private; + output r70 as u8.private; + output r75 as Data.private; + + +closure floo: + input r0 as u8; + input r1 as u8; + input r2 as Data; + cast r0 into r3 as Extra; + cast r0 r1 r3 into r4 as Data; + is.eq r0 r1 into r5; + add r0 r1 into r6; + sub r0 r1 into r7; + add r6 r2.a into r8; + add r7 r2.b into r9; + ternary r5 r0 r8 into r10; + ternary r5 r1 r9 into r11; + ternary r5 r4.a r4.a into r12; + ternary r5 r4.b r4.b into r13; + ternary r5 r4.c.c r4.c.c into r14; + cast r14 into r15 as Extra; + cast r12 r13 r15 into r16 as Data; + output r10 as u8; + output r11 as u8; + output r16 as Data; + + +function blar: + input r0 as boolean.private; + input r1 as boolean.private; + input r2 as u8.private; + input r3 as u8.private; + cast r2 into r4 as Extra; + cast r2 r3 r4 into r5 as Data; + call floo r2 r3 r5 into r6 r7 r8; + call floo r6 r8.c.c r8 into r9 r10 r11; + call floo r7 r8.b r8 into r12 r13 r14; + call floo r8.a r7 r8 into r15 r16 r17; + ternary r1 r12 r15 into r18; + ternary r1 r13 r16 into r19; + ternary r1 r14.a r17.a into r20; + ternary r1 r14.b r17.b into r21; + ternary r1 r14.c.c r17.c.c into r22; + cast r22 into r23 as Extra; + cast r20 r21 r23 into r24 as Data; + ternary r0 r9 r18 into r25; + ternary r0 r10 r19 into r26; + ternary r0 r11.a r24.a into r27; + ternary r0 r11.b r24.b into r28; + ternary r0 r11.c.c r24.c.c into r29; + cast r29 into r30 as Extra; + cast r27 r28 r30 into r31 as Data; + output r25 as u8.private; + output r26 as u8.private; + output r31 as Data.private; +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqvug2lq5jm7kagadge93k94cygmha8c8l0prlgwtd4zcg3smezu7awtmqu2syzx4p5nmeku9wecrsqq8pkldp26xys0ng59w3nnxv796hr9n2824kml8w3dfxjp8euw4egyxs545z3qstczv792vcu0qqssq93zpfrrp90776hc4qshq2642a45uqa3q3vlsk5lwpzvmpach26unpdkdgdxnw27jxdfwlwmvcy65qv52lte8af3z7mdg204l7ca2l6ewgrnsesu23hpfmtu49vpu02te6v8qgpsxpu52wd2rc3vczlqhsq3g9hulls5gdffy9r8cwnxacatml4yh6cu0j0t8slyrwvsjkmxxqm0v4t0j0qqpgsddcxspeh85vspu4a3aemxslplpf0jz7eflgcvefeu6yml23hz6xf0zw5qwvj67xlqwht3vwn6ykuq4u2jhrx2ws0q9ydkpxuflz24l0zzuca4tumhcnnpzzn8pakfh7rhe8qmv3e3qf7wy9er2lqftlfrg0rl9rntyayvqqp6mqpgsv8aau2n3lxjxqckynl356489px3vaw2mdz42rp2neupprnupevzflcqxgsm344yf3r2sqgwz5qyr207ny7n4j2ptdeg6apgcj6vv6mml7hxw592t6q083qwpvsmpufcjl70e9n80jdutvw22qqt3m9fntq2dwqejapppzuzhsdwp0wcy3awj4gu6d9x7x6dlec8uxm0hcn0s6pdn924m270xds08h5ljremf5rdm3w5pxvjfhkdm8tcpemsak4fv025eadd2u5gx2zxqf9ez3u3hevcjegt98r6sj6fdaspz0dvc74367w4y4dtsaxzzcwcy5c596fmu26fh5278f0n7und7fqr6tlpggrf704nq6p6fr2qzyhk7zylxu0q3t3ucpe34enstsadfsfjrgetu2u302hxexyeykn6cd83x9nu6ak2kzgudfhcw30jtlzwgxyhr6qafv2su2d3rd4y2y0xuj8sdn94ew67esjlfnzxfee9lmq7r7akpf7zad3jjhjs9s75dnh3x62dwyuxlxqhfvrwjvrwzpe9p6npke6qcs0n7yzwdeeecvdw8zpxetpzgpnrq9f7nat2mqtfv5pnt3ssg2gekpdvw5wn2q666s9kdx7eypa6mtsqdgzpa5ts2mqwkfzaccrqvqqqqqqqqqqq7lg2vyxzxkwecktt7k93c5va2ghlek8fxzt5y7lfcd2ydel95msncqr0m82jex0nsdqsv7l7lk3qqqwv6rl7dya5rdrd5d4hqzxu8cjq2n2pmxfy2hzq5xk6atnte4su78fs74ldh48nmq6fauta75kpugqq9cm0ahn4dgv6hjq0c26rmeeyq2qlyf54jxs64xdsdp60av46vtstt3fwqrdlhhh6l49y086trksqga9dtnet8q68ju65a7pcrr3gjcdhteecq3wd65af09qwdkfxf9yqyqqwu0nd0", transitions = [{ id = "au1p58lq5w85avngfh30427w5jctrkf5fh9h8qshvt3hf3r5umvd5gq5wj8jj", program = "test.aleo", function = "bar", tpk = "512383684471783892777788076619862839966981157566564726912316434903274880697group", tcm = "7975307881435548581927347671860337126690869146772124069070420940707216867640field", scm = "1893779522364008370528920564800894353816316246386419733877530996647548645046field", inputs = [ { type = "private", id = "1531850374981700234317362560327096304118262075151346904203834021187461370021field", value = "ciphertext1qyqg6u4nh3rhtm7jg093rzflv73snx0v9evtc3cjck9ux6ywputgqyg69ff96" }, { type = "private", id = "678191410855210397352295986321172250933469641996123274026649469209708483390field", value = "ciphertext1qyq83jx9ycv03u6lknuvc90yx6ukurtwjumxt7e4x2warwlf2g40wrqvvmutl" }, diff --git a/tests/expectations/execution/group_operations.out b/tests/expectations/execution/group_operations.out index f2f8b744c1..cd9c03861d 100644 --- a/tests/expectations/execution/group_operations.out +++ b/tests/expectations/execution/group_operations.out @@ -1,6 +1,23 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "454cfafcd0058981ee306ef97e8be62c1dc21fd77cc43f7947d4f0e96cf8939f", type_checked_symbol_table = "1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930", unrolled_symbol_table = "1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930", initial_ast = "ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a", unrolled_ast = "ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a", ssa_ast = "34bf93dd7701246f7905a79239543071b9e83e4b54312b287cde6233396bd7b8", flattened_ast = "7c7a7642738b57f1cc0bde5abaf2f292ae4afc4e993b5fbf5a50e0ecd25bdc93", destructured_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", inlined_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", dce_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", bytecode = "5c20fda21a40464a1462524cf913438776a39383a671949312f48ce8ceb2dd16", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "454cfafcd0058981ee306ef97e8be62c1dc21fd77cc43f7947d4f0e96cf8939f", type_checked_symbol_table = "1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930", unrolled_symbol_table = "1b60c70e0ab5c5920116d9752cd4145e16562cf70b85d0a19a0b873f22aa1930", initial_ast = "ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a", unrolled_ast = "ed47c02e77446d3937b4e1764cd6ee82bfc48e0b909b4b699dff5dce0f886e0a", ssa_ast = "34bf93dd7701246f7905a79239543071b9e83e4b54312b287cde6233396bd7b8", flattened_ast = "7c7a7642738b57f1cc0bde5abaf2f292ae4afc4e993b5fbf5a50e0ecd25bdc93", destructured_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", inlined_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", dce_ast = "d6d5fec74e5db150b5bc3ee7c3eaf6f8d8a6ea4cf795395f956c49a9f528943b", bytecode = """ +program test.aleo; + + + +function main: + input r0 as group.private; + cast r0 into r1 as group.x; + cast r0 into r2 as field; + cast r0 into r3 as group.x; + assert.eq r1 r2; + assert.eq r1 r3; + cast r0 into r4 as group.y; + cast r0 into r5 as group.y; + assert.eq r4 r5; + output r1 as field.private; + output r4 as field.private; +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqq29jr5ux67v48knthj09ydltn9au9ullvvkm0eegp00g285w6j4ge8pv5yn9wa60v3vhtlca0ydqgqqxkr6srpqnmex0fym4hwuup3nkfe94v0w3nmtzrrcjgx6t2n395rqlswq48vzy7ytzpemm2vmn726qtm2x0s56mqsxgn82ecy6chfqvr978232g6fyy2p9le7d0m4guegrwklrgrpxkyrfg978qayn92rcq6z7uxszhsq5v942m25ddhzvw25xu5wfa80tvxf2azf4ncwlnskctnew8yxw8mfhlpp49x5dgflfuqtzu9pgurrrwy284yuu0qr3rkp873qyvc29082cj8envmlkwy93kwh96qa4x9k4gsfx7sy2pznycgr3fxd75ft6chdj2fnws6p602nqvy4c0nuzn4glcrw4gu766mu49ajwdcl8hnxq4meaee0xzzqm2uqrpzsqgz69hezj3zqv0eg6u2rq6egks45gm6hf8452r3z76f9edyxaqvnsrj56fusageknc5ku47jqyvdgsra5wwxnlg42g4nrh2tykfgqgryd2ve0g2dpypde97gfq7p5tuvq3qh936vumqs9u9e68evzq5cvjvqa780tkzl759zlcfm6jkcg7xap62k660frpg4unwy72m6lmn2v6qu0hms00t3rzer4g0vz5pylg9wu8k0yek5323xhj3cu3cdpllmuccppnnkhh323a8vj8qwc8xmn4mwx4j3rll7r8ctvfs5zp2y3jaupa52tjmh9kegdh8n4qgjrdux0dae47szq4sj4hu97nvz4u2jaewh0apr9ypxwszckx9a45mq378cuxxzt0n7hy8cgq8c4y6vluj7h5jc8skcxhdjykeym6cezrqmea8xyldp2salm8crf5v9rwuyz3d9xlq3muqs7j4askrhm8suzgpfa70389mrvthlfcw68ryxw6vw8dthdfhcatqg3srl0c8sygkdgrah3kd32v29zvwwhxqjgqcytza5hn6tgyqjr67xuyugy3p66q4wpt7ngmu9y9c2wg4rq8pdps7yp2qgvhglq3dmv58gfzkx68yjkkzzyw86xhfnx76acstsvwkz6jzaaq99l9hpqjg3vg53ducgyamxfvsezwh7er2yvhw6vv07d65rfgvzsw3an6hzu3pnsfqk6a74a6gegcqqvqqqqqqqqqqqd6dud2mpvw35xcdcjhk290qj7a0dd6kjzjv6xzvs9apgdvfrs6mg0qluk7tpjxfvwdx3v8d7gjyqqqzewwm0zu7fkw68upkyu2vjynsnkd608054u5y5e4udzecqkemftszt7wr6u760atzztpr7pwmaxvpqyjneeejsrptj89cxt0e8u588lcdcs6949zv9a7y20r28jg5e8wqw66lsgqktsn8dpdgzg775nf5j7f40ws4svl5aj5mxt7cxyxetnes8nfxrkfy84eqanvrf20jht65qqqqkrgzhe", transitions = [{ id = "au187rdc4puukgm858grjen9hlju98zsxchjlp70qcnst4mqa50pvgsdm5c6z", program = "test.aleo", function = "main", tpk = "7188069057750201933901557007451835366414439173171544553468899428394116031625group", tcm = "3844470742177765790277948503279806454368346487809526349970596034872755219279field", scm = "2327679852219863520750135973975927612406245355707501973328033844670451201794field", inputs = [{ type = "private", id = "786516318711484326613495654243100207572155770400750643552404887917704296823field", value = "ciphertext1qgqqgyhkhuszf3uq6cay2cxah9zwksh5y7nz5dvj4p5csln5jrl4vynzf025kty8qhrdyqdudrxaakmfqvg03p7zw09qf679kr59wdtrpqvpmfrg" }], outputs = [ { type = "private", id = "4920504549694252467898887871291311869682793258770415339727943050319280424047field", value = "ciphertext1qgqy93faa4epx3wp3pw3gsqyn84mrky595skqa4h623nwkxpffvagqgpkyw6czjq2zhw880ymgw39m8n5kzf2amsucgc69dr8t5nzf3mqc56ylrd" }, { type = "private", id = "6907416366855981672604353773902525944445124252525136965525426148151909017079field", value = "ciphertext1qgqzup20c94akxu99q5yhy7es79gdhf0atp5efaml7qhve0v9mtvqrh6pgx7cmtdx8eafj23vdz7vprxe5c3la0de97tmkdxjgn5e5ucp556zgc7" }, diff --git a/tests/expectations/execution/metadata.out b/tests/expectations/execution/metadata.out index 8802d38d73..ae624b7dd9 100644 --- a/tests/expectations/execution/metadata.out +++ b/tests/expectations/execution/metadata.out @@ -1,6 +1,33 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "10998586280d1ca360372389b512bc2af12c88a4bcfd4f7e2c99756ddf1b04e8", type_checked_symbol_table = "2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767", unrolled_symbol_table = "2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767", initial_ast = "2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63", unrolled_ast = "2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63", ssa_ast = "a90f345a4a71399b2e61dddfa5c5ec22826bba09fb1828cbb68708b84f17c472", flattened_ast = "537d17595b4dea625a8e46cf3b28307963ba74f75bff3b028d8162463c5fc280", destructured_ast = "2994c3f5f24c6b2b6e7d9804511b5c90fff8f3f2f048ef0ddbe7a9809aef219b", inlined_ast = "1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6", dce_ast = "1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6", bytecode = "c5fbc61b3a7b1400dda65dc947a495d14f1b43986550cd889efd4cc653912355", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "10998586280d1ca360372389b512bc2af12c88a4bcfd4f7e2c99756ddf1b04e8", type_checked_symbol_table = "2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767", unrolled_symbol_table = "2f5f1d4b4e58e58f307e1b920c43c5289eefe1a677246067a85c1b0b6a04a767", initial_ast = "2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63", unrolled_ast = "2046f4b2df6c90aed76613afc85d1784a8e293bd203efedd32bb416715982d63", ssa_ast = "a90f345a4a71399b2e61dddfa5c5ec22826bba09fb1828cbb68708b84f17c472", flattened_ast = "537d17595b4dea625a8e46cf3b28307963ba74f75bff3b028d8162463c5fc280", destructured_ast = "2994c3f5f24c6b2b6e7d9804511b5c90fff8f3f2f048ef0ddbe7a9809aef219b", inlined_ast = "1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6", dce_ast = "1e50eaf77ff3f385d9355f5df95656230dcf2517cca5ba414c804083e867dcd6", bytecode = """ +program metadata.aleo; + + + + +function is_block_height: + input r0 as u32.private; + async is_block_height r0 into r1; + output r1 as metadata.aleo/is_block_height.future; + +finalize is_block_height: + input r0 as u32.public; + assert.eq r0 block.height; + + + + +function is_network_id: + input r0 as u16.private; + async is_network_id r0 into r1; + output r1 as metadata.aleo/is_network_id.future; + +finalize is_network_id: + input r0 as u16.public; + assert.eq r0 network.id; + +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqwnt9kc7w5mlsy92749ly00s3d8aje529f6qrun8ra8utk7dse49ezfwj8erxuclwetdthkz20z9uqqylhezq3dmrqm3cm4tawnuznt5gc2fv8psgvswzavf79my3t8ahzhj9x5epa9k6s9vznyh8mp4qsnqg8n8aza9sfw3kryelnz8k0p7sx375kzu754wlhy3k5rdq3vz0gnxs0dh0pcz5nchj72ug77suxnxqe20ln5arx2lrvykq6ela5tfzajjew2jmr2e2nfjzafrt3alsplf2llm62deuq02xa4406r5heqhvpp30p46fjt7u7xc3mhv6j65l5cdnmuxzu9d9ngewapqs3d4ad9jpq42ltsmdt9gtv8utv9hqywe4gp9jw4dsapm4nlmeu02hhn6tj44065j5k6l3lrjksmhfletr6kvu92usrlgqdwvhnv87g36afl7hcsrwepsc8nlepqngw2q4r3kpyq20avfgrnft528axwr7e9jjr66dmt63ylatjvh65rc69uqz3nkvemqtqlzescl08dx3xjy36a5u7x89vh5vjkvkpfz5edep3av8f2p37f7d9vjnq3zfrn3p85zx7gjyqg7qyqrqh5hg70a7klgy5eq0vrth7pz7e7g8t57pkju5k9z6xwexvg4uz2svry0mk7latuz3z6ynyc9cprfmcjkjwmezs4vl7w3kk4hlhumkzm2v3jvzqahx2m9e86p557c8pjtudkgd499geem5jf5u9qxuz5mcpdvegqm43x4dn6uyrdzjmzz6mgcadv0y0gced4dh20t757kgms6u45ma5kezmc6ghf9n538arp076gjrkp9y7lggntqr2v8aqvpuyw7szd0f9d8hrlsyff6re23xpp288aeadrh8lwqdjkpgwhdv95vn8araf5t8tgrtm22w8r7turzcqtyllzl8s9cfeczzst6ec4narg7da76fcq5neycd6slgx68g63yyv6g63ae9m7ztepxvxw4852aadryfy49zemrzhqquypkaehrf66qwwjhf3gwnm5aamtv79v4zeps0xf5urc5cw8xlaltapg0pm54kjplc3udlz587zkd82qzj7vlzljeup57t4hggmafzf303yx8l3ypvq25cvm4jfympct84an2f7q53pqymcgzgxwln29ga909uhv2c6nss0qvqqqqqqqqqqq4ydt9dssx08jcecc7lpc8x4npzm45nzx4gjeepzltl42xqtu6ljaegs3vmkyp9gmcxejarwucjysyq9gjdqfq9ugcxqc2dlwxzhgw6ltxctn0gva6m6hz9a5lm8la0fm2nctmj3kksdal53ktu3wffgmfypq9sp749hfxy8wvdnsagqs4w3hxr83qkpdacm92er3htljzqz4yzss8valjgymcql5xm5uqxwuar3549jrkl577ww5mxvxarkcs97jpulpht09q6w4axjxj254ezzahy4sqqq7sy9wf", transitions = [{ id = "au1mdg84h5sf70jd3jcz5ly6v7d2d65jthy2c9mp00ftsd7d7wasq9sywmyl4", program = "metadata.aleo", function = "is_block_height", tpk = "4174266389141840694112770464623549736508472115786023137592436699114609405528group", tcm = "8338099097402671626408038034858578087638496090147697571937791628404909729345field", scm = "1980270338266624580494901677581519840423416572710948745278059423752506827747field", inputs = [{ type = "private", id = "6254483773873152836214079053344956162296914127394184523955489854019104782235field", value = "ciphertext1qyqg8xn2lx3ukujrthuh67jazc3h5v96hhc7zacwef08y7a9lpu92pq3dsj78" }], outputs = [{ type = "future", id = "3584812567307540139221803946418691936915110293757497103263084678323624798088field", value = """ { program_id: metadata.aleo, diff --git a/tests/expectations/execution/mint.out b/tests/expectations/execution/mint.out index 97f9158e25..45b3a5d205 100644 --- a/tests/expectations/execution/mint.out +++ b/tests/expectations/execution/mint.out @@ -1,6 +1,20 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "b1030d2b7e1dc433bcd3691ff89d35caa81dfd394c85f9aa93632c6fdd8ab4b6", type_checked_symbol_table = "231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b", unrolled_symbol_table = "231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b", initial_ast = "bbdd126cd1b3eaeaa719c45b93549653529addb4edd833d367c362e981cdc3e4", unrolled_ast = "daf988283c1682dbbaa69c9588be2654d0d8f161918e696d7a9609854b9e5311", ssa_ast = "92d71ac22b15e4595e2805ead2085b705bdc72550563ef46024e234ceb17e0b8", flattened_ast = "f99c95ce74a5e971118299b787c572047809ea6b45dc7b7d83f6cdb08979e21d", destructured_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", inlined_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", dce_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", bytecode = "d47819ba59e730eb159ee9e33fef5a35aac6062e70c743a749157d54824a45d9", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "b1030d2b7e1dc433bcd3691ff89d35caa81dfd394c85f9aa93632c6fdd8ab4b6", type_checked_symbol_table = "231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b", unrolled_symbol_table = "231df4a77d82b439bd0d83a23be38e6b0fad8d10817908a60a65a1467aa9e68b", initial_ast = "bbdd126cd1b3eaeaa719c45b93549653529addb4edd833d367c362e981cdc3e4", unrolled_ast = "daf988283c1682dbbaa69c9588be2654d0d8f161918e696d7a9609854b9e5311", ssa_ast = "92d71ac22b15e4595e2805ead2085b705bdc72550563ef46024e234ceb17e0b8", flattened_ast = "f99c95ce74a5e971118299b787c572047809ea6b45dc7b7d83f6cdb08979e21d", destructured_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", inlined_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", dce_ast = "3dbc345d506a24072db8e3228eb4bbc99b41df7d673a112d3a351ea493acafb8", bytecode = """ +program test.aleo; + +record Token: + owner as address.private; + amount as u64.private; + flag as boolean.constant; + + +function mint: + input r0 as address.private; + input r1 as u64.private; + cast r0 r1 true into r2 as Token.record; + output r2 as Token.record; +""", errors = "", warnings = "" }], execute = [ { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqpv7w3dzev6sak90ly70mwxydt494x88tuyym6pfw8sr5fy9y0zdkru4j4vvxmudjy4da22mczmzcpqyphrfleuraudqzcyuxf8acjvm2t4ctdd8eqq0rhjrcq9s5hmnzuk977q64mg8lynee7hrf5lm7a2qq7tv3axyrdqjapj4su7k7rjm6rh3k8kmt4n0zjhmwhpm7a2yaq7q6wu3gw2ucnmnqrkdcxna8yjcqt8fujq8t6wdfc20aplwx0pezgzt3q3agw6maprc6dlfmdetk9c4c6ay6hlvw8xf83dx7j36klu4cquyypq6wj78x2p8aqrsqsfanhr3h229jagmptrtpy9hjetf7qsue97ga6scqqgx4lyxd3nqqt9akqry27am87yuyqpsafcsjnuu603jujxtepc70xm0pd3uxwyzp0qv2a7swaan4ys08gvljq2mncsurksxysac8k6hdx7c0jalrc5sf9qjgmc49pw4y4jaxnuca6wqd52mxzeya39gtyjl0py3prut3lj6r98qzwx4v6ar6f9m4mxsrv0nsy9twzh80xnf7xcjur6fjm43j3at5h9nha29l3rq7csdrvp9wkefhzj7q8zueluz0u4n5g8wf6ne5050jslg448x3eca39yg6x7eru79tqzle4lay6v8464hqc3n660j4tlruph9uhvdsugh47f4sl6f0grwk8txvle7whdlcwn8mmvcpu2d3lhv9zmqd06kswypdm5th9h0dw4qt67x4l2l9vpvqs0r7shg7adnezjr8yfrzvqzr387ttvq7c27nrlr2xf78wg0f3726z398v8l4mpvxcquqs4rjn0kffspkxe8u8qhkzcs2fnptc28zkja3wsufee9t5p0us6q6mfsgplsnhq5akyftdnjeatnjfhhqp8fckhu39033367yw7jg0k065882yu0e3pafnsttngwymcmmg9j9e24htqrt2rllrngzd3spdkhefjn878wt3r9t79kn99ygrmd6tlqd3zkw4rpwvvhvc6fw2cy2gl4tp3h3kr6h6f3nrwnyuerhvv2vkt2ly0ch6vtyy33vfzeyap0wp3ud280xrm376ua7sy95d96p438q8lhh5at6e6x0qg3yfs2aqz072s8y8m80y7dh93tqgn57c72md76zrdkuus3t2ax3uedfnskqfqvqqqqqqqqqqpa4q4lhjg8smyty9e8g8cy2zdn6revlv9nu5dt7mndkeh4jgk7nsae2jvtll62q0m8dl9rsjzlwfqqqf66rhr2q6wx5qdutj8g3zvttuv24q9xjslwc68fewd2et4snf6pnreyz768fruazvq06x6p2xj8sqqxek9cqtcwr2dg39ry6e89cmufadcvxmwmc4wl2c37vprhnm40hsjuflplcytsgkpd3fchzy3j8q2cjqtu0vr0arngfwlwj4zj3ch38vj2879wqvguecfkw97nadf7zhsqqqydj89c", transitions = [{ id = "au1sghrqk9s5998jacu40qw6nwpvkxj9wfqlyus2rymu7cm9lewu5psgwe7zf", program = "test.aleo", function = "mint", tpk = "7835567325899127550325463306228588669553911215612671657187814910151824399315group", tcm = "4346953566447634214157280385182045626270093194427104596054934347800656899000field", scm = "976314679729564700856316609545716173163081344239778489091042818470177990760field", inputs = [ { type = "private", id = "7855253885486279710229453851594786218259580934362540680646828300595665281202field", value = "ciphertext1qgqf7p64udkc2uzcsemzy2k4p6q0h6arl68ujpmva4dqllyte8wwjrhdnldv5w6c9rxuxz55xge5czjzqrdqhk884hgvzmqlqmlpncldzqwl8x46" }, { type = "private", id = "5426061205580372303096592424694483165889188915103920753208915604989483184458field", value = "ciphertext1qyqxqzkt4kvyxgc53dfat7kvmr2z4d4v9q2dyklu2528hq7ehamfsqq8zekty" }, diff --git a/tests/expectations/execution/primitive_casts.out b/tests/expectations/execution/primitive_casts.out index 7a7523c1d6..1951c1f6c0 100644 --- a/tests/expectations/execution/primitive_casts.out +++ b/tests/expectations/execution/primitive_casts.out @@ -1,6 +1,513 @@ namespace = "Execute" expectation = "Pass" -outputs = [[{ compile = [{ initial_symbol_table = "9e7d17a4e02b7e7daff030ee0600a9284c49c15fa1a2843c367d31e71286f343", type_checked_symbol_table = "b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093", unrolled_symbol_table = "b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093", initial_ast = "0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676", unrolled_ast = "0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676", ssa_ast = "fa4b2aee6af80d118660d054c70bb7eaf68fbcdd9eea92ce7391b34af8c422bb", flattened_ast = "596e90d7e1c8160687c1ce1079c1cf8871ed89aca9326104f73c41610ffbd1c7", destructured_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", inlined_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", dce_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", bytecode = "558400159426d4e89eb78e174a495d3dd2816aa4e78e5988d58a62d3c4d39392", errors = "", warnings = "" }], execute = [ +outputs = [[{ compile = [{ initial_symbol_table = "9e7d17a4e02b7e7daff030ee0600a9284c49c15fa1a2843c367d31e71286f343", type_checked_symbol_table = "b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093", unrolled_symbol_table = "b1b413b0da0165deee231441b15c131a145712daa1fc7db9a5d0f0ab0ad5f093", initial_ast = "0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676", unrolled_ast = "0b101b555f20ff7068e10248afe70c5b9fc68afd891cbb7e6ed7210cd65bc676", ssa_ast = "fa4b2aee6af80d118660d054c70bb7eaf68fbcdd9eea92ce7391b34af8c422bb", flattened_ast = "596e90d7e1c8160687c1ce1079c1cf8871ed89aca9326104f73c41610ffbd1c7", destructured_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", inlined_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", dce_ast = "2a72e11ce73e37385aa3ac762c9114dbf5667bfbe12a58994636a7a8b5bccda5", bytecode = """ +program test.aleo; + + + +function address_cast: + input r0 as address.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function bool_cast: + input r0 as boolean.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function field_casts: + input r0 as field.private; + cast r0 into r1 as boolean; + cast r0 into r2 as field; + cast r0 into r3 as group; + cast r0 into r4 as i8; + cast r0 into r5 as i16; + cast r0 into r6 as i32; + cast r0 into r7 as i64; + cast r0 into r8 as i128; + cast r0 into r9 as u8; + cast r0 into r10 as u16; + cast r0 into r11 as u32; + cast r0 into r12 as u64; + cast r0 into r13 as u128; + output r1 as boolean.private; + output r2 as field.private; + output r3 as group.private; + output r4 as i8.private; + output r5 as i16.private; + output r6 as i32.private; + output r7 as i64.private; + output r8 as i128.private; + output r9 as u8.private; + output r10 as u16.private; + output r11 as u32.private; + output r12 as u64.private; + output r13 as u128.private; + + +function group_casts: + input r0 as group.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + + +function i8_casts: + input r0 as i8.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function i16_casts: + input r0 as i16.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function i32_casts: + input r0 as i32.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function i64_casts: + input r0 as i64.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function i128_casts: + input r0 as i128.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function u8_casts: + input r0 as u8.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function u16_casts: + input r0 as u16.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function u32_casts: + input r0 as u32.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function u64_casts: + input r0 as u64.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function u128_casts: + input r0 as u128.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; + + +function scalar_cast: + input r0 as scalar.private; + cast r0 into r1 as address; + cast r0 into r2 as boolean; + cast r0 into r3 as field; + cast r0 into r4 as group; + cast r0 into r5 as i8; + cast r0 into r6 as i16; + cast r0 into r7 as i32; + cast r0 into r8 as i64; + cast r0 into r9 as i128; + cast r0 into r10 as u8; + cast r0 into r11 as u16; + cast r0 into r12 as u32; + cast r0 into r13 as u64; + cast r0 into r14 as u128; + cast r0 into r15 as scalar; + output r1 as address.private; + output r2 as boolean.private; + output r3 as field.private; + output r4 as group.private; + output r5 as i8.private; + output r6 as i16.private; + output r7 as i32.private; + output r8 as i64.private; + output r9 as i128.private; + output r10 as u8.private; + output r11 as u16.private; + output r12 as u32.private; + output r13 as u64.private; + output r14 as u128.private; + output r15 as scalar.private; +""", errors = "", warnings = "" }], execute = [ { verified = false, status = "none", errors = "SnarkVMError(Failed to evaluate instruction (cast r0 into r2 as boolean;): Failed to convert field to boolean: field element is not zero or one)", warnings = "" }, { verified = true, status = "accepted", errors = "", warnings = "", execution = { global_state_root = "sr1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq6gk0xu", proof = "proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqr9t73c7ur3wphtpfxmugwau2krnqz7zvppqsc6xjaq03mkvc6y8ce5yx67jzv4j7vyak4h548y2uqqy0s7fz947x6ycthac9jpe06lzuzd9yydl7lvpe4lgxap86x4tcan3pt5jy4hqs89myqljrwne9ycqte7pnv2saqzv8zguwm0k0v05l3r6xlcdj4p27qt43j44w7kkx5tpqlhq65a5p6x358uspz7836a5q22jxdxdhrf3cfvjuwsrdq5wphfg0yljyuf0eh866s98ldlf8dan53jjcapldf2lm9cxac70p2lsyqpqkm85csyupnfaefwgce8pwk92x0l9khtec7ksp2ylyt9f4ngk590lmmacmsueurc8y20f8s894qzv0gc6k5fh0mmeh43pufleqtpwluu9a7van0f943f8wpenlgwdju3t75ckacw5rs2pedc5yndd4fqywmkr0mwdjn0f9f29nf5hccy8wzmemnyhargy5r7swnan4jk2quxsv66kykq8nh8m6y86dkeg85qqqc4p0rs2tq9dzk0qa7r6s203ad7kn3xpagek3fsuzah5plh9d50l2a5ghxmnt6m63sr9xpr26sd2qcl7edp2vw8l67dskwem2ktxk9tsmupga4xcyr3n5awqc0t0c6eqj322gh3ut398xml2asxx2w575ppm3am3um9da957cu4yqtlgklaae35zd67kmtwg57d5a2a25xju846dx9ytvj0953wwyh5ezly4l42mgmmga88q0g7eyf80w54t2wvpj0d72uvc8hg3ahzdtpd5lpshn23fnzyfhjqd5qkxg5tf404pjup9snrj25frwr6586zuuke3dk0zx20mvnxnypjysn4hz4n4ejscuqrcjenkunqk9ungezprd77m20u99kn7p7xwpk27c4ef9sfhanpnc0xrc847zqcwfyasz58d6gvg2clh7ppfwcgfh8npxdezujgzzywsyfjgh4wuvvz4zadzpk3ncf069ulm8w8q3lsmxh4xauszma349nwre87s0tgezt0l7392qdg45n6zsen3whdy2cx4ahqufjmsrjmn7upna75jh8euyp55cxrrlkx8jta9hq9txdc7klhg9tw2sqnkr5eydqr26vf8te2u0jtlf3w3nvlh2ewutp0qedyltdz3gqcq9du82wttcsqvqqqqqqqqqqp2vytpxkm66stlawctz7s0py8cdy5p58kq72e3wzjk3qxll6u79mdpwfdfjq6ksj29nu6fk0vcegqqqy4r3y734ckuvdk4svg2nzemncrd9z8w3976ptnjlwf4qpryax639et2sdshqftkazg064zj6h5hgqq93x7fh828m59eyxwaqad7en8al6gkryavfkawsv4tfqyd4yuras339g68wejexp25vxgzdfzf87ra99645kll99cs7p5963m86yave58fugucjq63qehlpwn80ff4emsyqqjsrxwh", transitions = [{ id = "au1vxsqq85uzyxvy2k0qylq8s2gsd3etuu4ckfa6wy8rrny3dcdgyqszln7hm", program = "test.aleo", function = "bool_cast", tpk = "1840775000742132221378217470390403415772894197711079446698402298218210582564group", tcm = "4997724197499109479392119364652053918729566448250116943429037180294488682414field", scm = "2273075582360443326451938231856015807711165656796230579989764810685688490856field", inputs = [{ type = "private", id = "3652773017842723677695414936555553623545505167243357822542337827471217256094field", value = "ciphertext1qyqzvs3wx8nhw7nes3c4m09yxuq60e3fqrpsyzqkrwn2yczyr35agzcxhzwnd" }], outputs = [ { type = "private", id = "1489903468267774922477104600233457150822527790489645507079505097147284139318field", value = "ciphertext1qgqd7qgs5hnngcm7fefm5h5ch4yc7ln86k78j35xfqjx3n7jvx79jqdnh0lzv3ntqjccdw5nj8lhz50cwuf6acufdpnuhyhj7fee8k2lqvgga0ym" },