From 2f801a50d1bd42ec7b43e4e118ea1d7a14cf1bff Mon Sep 17 00:00:00 2001 From: Eric McCarthy Date: Thu, 4 Aug 2022 22:52:40 -0700 Subject: [PATCH 01/16] [examples] twoadicity: number of factors of two in field value --- examples/twoadicity/.gitignore | 2 ++ examples/twoadicity/README.md | 8 +++++++ examples/twoadicity/inputs/twoadicity.in | 11 ++++++++++ examples/twoadicity/program.json | 10 +++++++++ examples/twoadicity/src/main.leo | 28 ++++++++++++++++++++++++ 5 files changed, 59 insertions(+) create mode 100644 examples/twoadicity/.gitignore create mode 100644 examples/twoadicity/README.md create mode 100644 examples/twoadicity/inputs/twoadicity.in create mode 100644 examples/twoadicity/program.json create mode 100644 examples/twoadicity/src/main.leo diff --git a/examples/twoadicity/.gitignore b/examples/twoadicity/.gitignore new file mode 100644 index 0000000000..b28696155d --- /dev/null +++ b/examples/twoadicity/.gitignore @@ -0,0 +1,2 @@ +outputs/ +build/ diff --git a/examples/twoadicity/README.md b/examples/twoadicity/README.md new file mode 100644 index 0000000000..a30617b8aa --- /dev/null +++ b/examples/twoadicity/README.md @@ -0,0 +1,8 @@ +# src/twoadicity.leo + +## Build Guide + +To compile and run this Leo program, run: +```bash +leo run +``` diff --git a/examples/twoadicity/inputs/twoadicity.in b/examples/twoadicity/inputs/twoadicity.in new file mode 100644 index 0000000000..2cc7860439 --- /dev/null +++ b/examples/twoadicity/inputs/twoadicity.in @@ -0,0 +1,11 @@ +// The program input for twoadicity/src/main.leo +[main] +// Here is a made-up example. +// public a: field = 391995973843653359517682711560178397928211734490775552field; +// (comes from: 2field.pow(41) * 178259130663561045147472537592047227885001field) + +// This example is (maxfield - 1). +// The output for this can be seen in the Pratt certificate +// for bls12-377-scalar-field-prime +// as the number of factors of 2 in (bls12-377-scalar-field-prime - 1). +public a: field = 8444461749428370424248824938781546531375899335154063827935233455917409239040field; diff --git a/examples/twoadicity/program.json b/examples/twoadicity/program.json new file mode 100644 index 0000000000..33f8524efa --- /dev/null +++ b/examples/twoadicity/program.json @@ -0,0 +1,10 @@ +{ + "program": "twoadicity.aleo", + "version": "0.0.0", + "description": "", + "development": { + "private_key": "APrivateKey1zkp3JKK9YGWZYbPUVShFurexLMqRp1JHuvub9fnZwNW7XsW", + "address": "aleo1cagy225kufzj3fs2jvf8mk84dvx7umq53u4rana2ukp5d68kjy8s0t24sh" + }, + "license": "MIT" +} diff --git a/examples/twoadicity/src/main.leo b/examples/twoadicity/src/main.leo new file mode 100644 index 0000000000..84280c3bab --- /dev/null +++ b/examples/twoadicity/src/main.leo @@ -0,0 +1,28 @@ +// The 'twoadicity' main function. +function main(public n: field) -> u8 { + let remaining_n: field = n; + let powers_of_two: u8 = 0u8; + // Since field ints are 253 bits or fewer, + // any number in the field will have at most 252 powers of two in its prime factoring. + for i:u8 in 0u8..252u8 { + if (remaining_n / 2field < remaining_n) { + remaining_n = remaining_n / 2field; + powers_of_two = powers_of_two + 1u8; + } + } + return powers_of_two; +} + +/* We don't yet have shifts or bitmasks or % for fields, + but we can define evenp as in the definition below. + If n is even and nonzero, clearly n/2 < n. + If n is odd, n-p is a field-equivalent negative number that is even, + and (n-p)/2 is a field-equivalent negative number closer to 0, greater than n-p. + If we add p to both of these negative numbers, we have + n/2 = (n-p)/2 + p = (n+p)/2 is greater than n and still less than p. +*/ +/* We don't yet have function calls, so this got inlined above. +function is_even_and_nonzero (n: field) -> bool { + return n / 2field < n; +} +*/ From c54740cc5e82c37eb6014dd8a5046554234f85b2 Mon Sep 17 00:00:00 2001 From: Eric McCarthy Date: Fri, 5 Aug 2022 22:48:43 -0700 Subject: [PATCH 02/16] [examples] update field twoadicity example with @program and calling helper function --- examples/twoadicity/src/main.leo | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/twoadicity/src/main.leo b/examples/twoadicity/src/main.leo index 84280c3bab..4f8632b424 100644 --- a/examples/twoadicity/src/main.leo +++ b/examples/twoadicity/src/main.leo @@ -1,11 +1,12 @@ // The 'twoadicity' main function. +@program function main(public n: field) -> u8 { let remaining_n: field = n; let powers_of_two: u8 = 0u8; // Since field ints are 253 bits or fewer, // any number in the field will have at most 252 powers of two in its prime factoring. for i:u8 in 0u8..252u8 { - if (remaining_n / 2field < remaining_n) { + if is_even_and_nonzero(remaining_n) { remaining_n = remaining_n / 2field; powers_of_two = powers_of_two + 1u8; } @@ -21,8 +22,6 @@ function main(public n: field) -> u8 { If we add p to both of these negative numbers, we have n/2 = (n-p)/2 + p = (n+p)/2 is greater than n and still less than p. */ -/* We don't yet have function calls, so this got inlined above. function is_even_and_nonzero (n: field) -> bool { return n / 2field < n; } -*/ From 87cbd39a66750417abd15248b162adc056381fb1 Mon Sep 17 00:00:00 2001 From: Eric McCarthy Date: Tue, 9 Aug 2022 10:13:09 -0700 Subject: [PATCH 03/16] reword comment --- examples/twoadicity/src/main.leo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/twoadicity/src/main.leo b/examples/twoadicity/src/main.leo index 4f8632b424..4eabfd023f 100644 --- a/examples/twoadicity/src/main.leo +++ b/examples/twoadicity/src/main.leo @@ -14,8 +14,7 @@ function main(public n: field) -> u8 { return powers_of_two; } -/* We don't yet have shifts or bitmasks or % for fields, - but we can define evenp as in the definition below. +/* We define the is_even predicate on fields as follows. If n is even and nonzero, clearly n/2 < n. If n is odd, n-p is a field-equivalent negative number that is even, and (n-p)/2 is a field-equivalent negative number closer to 0, greater than n-p. From f5d504ed8d8f88411026e26316cecd8eba956b04 Mon Sep 17 00:00:00 2001 From: collin <16715212+collinc97@users.noreply.github.com> Date: Tue, 9 Aug 2022 16:05:28 -0700 Subject: [PATCH 04/16] add two-adicity example to circleci --- .circleci/test-examples.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.circleci/test-examples.sh b/.circleci/test-examples.sh index 7364e58676..fada13bea6 100755 --- a/.circleci/test-examples.sh +++ b/.circleci/test-examples.sh @@ -43,4 +43,10 @@ # Run the transfer program. $LEO run transfer +) + +# Build and run the two-adicity program. +( + cd ./project/examples/twoadicity || exit + $LEO run main ) \ No newline at end of file From a1d79da501cdbf654c597774c3780eb32003d1ed Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sat, 6 Aug 2022 09:26:40 -0700 Subject: [PATCH 05/16] Parser produces negative integer literals --- compiler/parser/src/parser/expression.rs | 32 ++++++++++++++++++++---- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/compiler/parser/src/parser/expression.rs b/compiler/parser/src/parser/expression.rs index ac23c183c1..6a41644090 100644 --- a/compiler/parser/src/parser/expression.rs +++ b/compiler/parser/src/parser/expression.rs @@ -252,11 +252,33 @@ impl ParserContext<'_> { } let mut inner = self.parse_postfix_expression()?; for (op, op_span) in ops.into_iter().rev() { - inner = Expression::Unary(UnaryExpression { - span: op_span + inner.span(), - op, - receiver: Box::new(inner), - }); + inner = match inner { + // If the unary operation is a negate, and the inner expression is a signed integer literal, + // then produce a negative integer literal. + // This helps handle a special case where -128i8, treated as a unary expression, overflows, but -128i8, treated as an integer literal doesn't. + // TODO: the parser produces a negative integer literal for both -(128i8) and -128i8. Is this an issue? + Expression::Literal(Literal::I8(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I8(format!("-{}", string), op_span + span)) + } + Expression::Literal(Literal::I16(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I16(format!("-{}", string), op_span + span)) + } + Expression::Literal(Literal::I32(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I32(format!("-{}", string), op_span + span)) + } + Expression::Literal(Literal::I64(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I64(format!("-{}", string), op_span + span)) + } + Expression::Literal(Literal::I128(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I128(format!("-{}", string), op_span + span)) + } + // Otherwise, produce a unary expression. + _ => Expression::Unary(UnaryExpression { + span: op_span + inner.span(), + op, + receiver: Box::new(inner), + }), + }; } Ok(inner) } From 7d2f306f15ecaa15aa594b7a1a0ac4ef8a9aecfc Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sat, 6 Aug 2022 09:27:30 -0700 Subject: [PATCH 06/16] Simplify type checking logic --- .../src/type_checking/check_expressions.rs | 274 ++++++++---------- compiler/passes/src/type_checking/checker.rs | 2 - 2 files changed, 115 insertions(+), 161 deletions(-) diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index b7442c1c3a..5cc89f6cab 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -15,7 +15,10 @@ // along with the Leo library. If not, see . use leo_ast::*; +use leo_errors::emitter::Handler; use leo_errors::TypeCheckerError; +use leo_span::Span; +use std::str::FromStr; use crate::TypeChecker; @@ -165,161 +168,6 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { None } - fn visit_circuit_init(&mut self, input: &'a CircuitExpression, additional: &Self::AdditionalInput) -> Self::Output { - let circ = self.symbol_table.borrow().lookup_circuit(input.name.name).cloned(); - if let Some(circ) = circ { - // Check circuit type name. - let ret = self.check_expected_circuit(circ.identifier, additional, input.name.span()); - - // Check number of circuit members. - if circ.members.len() != input.members.len() { - self.emit_err(TypeCheckerError::incorrect_num_circuit_members( - circ.members.len(), - input.members.len(), - input.span(), - )); - } - - // Check circuit member types. - circ.members - .iter() - .for_each(|CircuitMember::CircuitVariable(name, ty)| { - // Lookup circuit variable name. - if let Some(actual) = input.members.iter().find(|member| member.identifier.name == name.name) { - if let Some(expr) = &actual.expression { - self.visit_expression(expr, &Some(ty.clone())); - } - } else { - self.emit_err(TypeCheckerError::missing_circuit_member( - circ.identifier, - name, - input.span(), - )); - }; - }); - - Some(ret) - } else { - self.emit_err(TypeCheckerError::unknown_sym( - "circuit", - &input.name.name, - input.name.span(), - )); - None - } - } - - fn visit_identifier(&mut self, var: &'a Identifier, expected: &Self::AdditionalInput) -> Self::Output { - if let Some(circuit) = self.symbol_table.borrow().lookup_circuit(var.name) { - Some(self.assert_and_return_type(Type::Identifier(circuit.identifier), expected, var.span)) - } else if let Some(var) = self.symbol_table.borrow().lookup_variable(var.name) { - Some(self.assert_and_return_type(var.type_.clone(), expected, var.span)) - } else { - self.emit_err(TypeCheckerError::unknown_sym("variable", var.name, var.span())); - None - } - } - - fn visit_literal(&mut self, input: &'a Literal, expected: &Self::AdditionalInput) -> Self::Output { - // Closure to produce a negated integer as a string. - let negate_int = |str_content: &String| { - if self.negate { - format!("-{str_content}") - } else { - str_content.clone() - } - }; - - Some(match input { - Literal::Address(_, _) => self.assert_and_return_type(Type::Address, expected, input.span()), - Literal::Boolean(_, _) => self.assert_and_return_type(Type::Boolean, expected, input.span()), - Literal::Field(_, _) => self.assert_and_return_type(Type::Field, expected, input.span()), - Literal::I8(str_content, _) => { - let int = negate_int(str_content); - - if int.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i8", input.span())); - } - self.assert_and_return_type(Type::I8, expected, input.span()) - } - Literal::I16(str_content, _) => { - let int = negate_int(str_content); - - if int.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i16", input.span())); - } - self.assert_and_return_type(Type::I16, expected, input.span()) - } - Literal::I32(str_content, _) => { - let int = negate_int(str_content); - - if int.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i32", input.span())); - } - self.assert_and_return_type(Type::I32, expected, input.span()) - } - Literal::I64(str_content, _) => { - let int = negate_int(str_content); - - if int.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i64", input.span())); - } - self.assert_and_return_type(Type::I64, expected, input.span()) - } - Literal::I128(str_content, _) => { - let int = negate_int(str_content); - - if int.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(int, "i128", input.span())); - } - self.assert_and_return_type(Type::I128, expected, input.span()) - } - Literal::U8(str_content, _) => { - if str_content.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u8", input.span())); - } - self.assert_and_return_type(Type::U8, expected, input.span()) - } - Literal::U16(str_content, _) => { - if str_content.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u16", input.span())); - } - self.assert_and_return_type(Type::U16, expected, input.span()) - } - Literal::U32(str_content, _) => { - if str_content.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u32", input.span())); - } - self.assert_and_return_type(Type::U32, expected, input.span()) - } - Literal::U64(str_content, _) => { - if str_content.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u64", input.span())); - } - self.assert_and_return_type(Type::U64, expected, input.span()) - } - Literal::U128(str_content, _) => { - if str_content.parse::().is_err() { - self.handler - .emit_err(TypeCheckerError::invalid_int_value(str_content, "u128", input.span())); - } - self.assert_and_return_type(Type::U128, expected, input.span()) - } - Literal::Group(_) => self.assert_and_return_type(Type::Group, expected, input.span()), - Literal::Scalar(_, _) => self.assert_and_return_type(Type::Scalar, expected, input.span()), - Literal::String(_, _) => self.assert_and_return_type(Type::String, expected, input.span()), - }) - } - fn visit_binary(&mut self, input: &'a BinaryExpression, destination: &Self::AdditionalInput) -> Self::Output { match input.op { BinaryOperation::And | BinaryOperation::Or | BinaryOperation::Nand | BinaryOperation::Nor => { @@ -566,6 +414,118 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { } } + fn visit_circuit_init(&mut self, input: &'a CircuitExpression, additional: &Self::AdditionalInput) -> Self::Output { + let circ = self.symbol_table.borrow().lookup_circuit(input.name.name).cloned(); + if let Some(circ) = circ { + // Check circuit type name. + let ret = self.check_expected_circuit(circ.identifier, additional, input.name.span()); + + // Check number of circuit members. + if circ.members.len() != input.members.len() { + self.emit_err(TypeCheckerError::incorrect_num_circuit_members( + circ.members.len(), + input.members.len(), + input.span(), + )); + } + + // Check circuit member types. + circ.members + .iter() + .for_each(|CircuitMember::CircuitVariable(name, ty)| { + // Lookup circuit variable name. + if let Some(actual) = input.members.iter().find(|member| member.identifier.name == name.name) { + if let Some(expr) = &actual.expression { + self.visit_expression(expr, &Some(ty.clone())); + } + } else { + self.emit_err(TypeCheckerError::missing_circuit_member( + circ.identifier, + name, + input.span(), + )); + }; + }); + + Some(ret) + } else { + self.emit_err(TypeCheckerError::unknown_sym( + "circuit", + &input.name.name, + input.name.span(), + )); + None + } + } + + fn visit_identifier(&mut self, var: &'a Identifier, expected: &Self::AdditionalInput) -> Self::Output { + if let Some(circuit) = self.symbol_table.borrow().lookup_circuit(var.name) { + Some(self.assert_and_return_type(Type::Identifier(circuit.identifier), expected, var.span)) + } else if let Some(var) = self.symbol_table.borrow().lookup_variable(var.name) { + Some(self.assert_and_return_type(var.type_.clone(), expected, var.span)) + } else { + self.emit_err(TypeCheckerError::unknown_sym("variable", var.name, var.span())); + None + } + } + + fn visit_literal(&mut self, input: &'a Literal, expected: &Self::AdditionalInput) -> Self::Output { + fn parse_integer_literal(handler: &Handler, string: &String, span: Span, type_string: &str) { + if string.parse::().is_err() { + handler.emit_err(TypeCheckerError::invalid_int_value(string, type_string, span)); + } + } + + Some(match input { + Literal::Address(_, _) => self.assert_and_return_type(Type::Address, expected, input.span()), + Literal::Boolean(_, _) => self.assert_and_return_type(Type::Boolean, expected, input.span()), + Literal::Field(_, _) => self.assert_and_return_type(Type::Field, expected, input.span()), + Literal::I8(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "i8"); + self.assert_and_return_type(Type::I8, expected, input.span()) + } + Literal::I16(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "i16"); + self.assert_and_return_type(Type::I16, expected, input.span()) + } + Literal::I32(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "i32"); + self.assert_and_return_type(Type::I32, expected, input.span()) + } + Literal::I64(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "i64"); + self.assert_and_return_type(Type::I64, expected, input.span()) + } + Literal::I128(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "i128"); + self.assert_and_return_type(Type::I128, expected, input.span()) + } + Literal::U8(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "u8"); + self.assert_and_return_type(Type::U8, expected, input.span()) + } + Literal::U16(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "u16"); + self.assert_and_return_type(Type::U16, expected, input.span()) + } + Literal::U32(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "u32"); + self.assert_and_return_type(Type::U32, expected, input.span()) + } + Literal::U64(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "u64"); + self.assert_and_return_type(Type::U64, expected, input.span()) + } + Literal::U128(string, _) => { + parse_integer_literal::(self.handler, string, input.span(), "u128"); + self.assert_and_return_type(Type::U128, expected, input.span()) + } + Literal::Group(_) => self.assert_and_return_type(Type::Group, expected, input.span()), + Literal::Scalar(_, _) => self.assert_and_return_type(Type::Scalar, expected, input.span()), + Literal::String(_, _) => self.assert_and_return_type(Type::String, expected, input.span()), + }) + } + fn visit_ternary(&mut self, input: &'a TernaryExpression, expected: &Self::AdditionalInput) -> Self::Output { self.visit_expression(&input.condition, &Some(Type::Boolean)); @@ -626,11 +586,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { self.visit_expression(&input.receiver, destination) } UnaryOperation::Negate => { - let prior_negate_state = self.negate; - self.negate = true; - let type_ = self.visit_expression(&input.receiver, destination); - self.negate = prior_negate_state; // Only field, group, or signed integer types. self.assert_field_group_signed_int_type(&type_, input.receiver.span()); diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index ae9b71be6e..2566f1e2a9 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -29,7 +29,6 @@ pub struct TypeChecker<'a> { pub(crate) handler: &'a Handler, pub(crate) parent: Option, pub(crate) has_return: bool, - pub(crate) negate: bool, /// Are we traversing a program function? /// A "program function" is a function that can be invoked by a user or another program. pub(crate) is_program_function: bool, @@ -71,7 +70,6 @@ impl<'a> TypeChecker<'a> { handler, parent: None, has_return: false, - negate: false, } } From 8f5d5badb7a1cbef2909724c6572cf3ff3de173b Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Sat, 6 Aug 2022 09:32:01 -0700 Subject: [PATCH 07/16] Fix and regen test expectations --- tests/compiler/integers/i128/min_fail.leo | 8 +++-- .../integers/i128/negate_min_fail.leo | 7 ++-- tests/compiler/integers/i16/max_fail.leo | 5 ++- tests/compiler/integers/i16/min_fail.leo | 8 +++-- .../compiler/integers/i16/negate_min_fail.leo | 7 ++-- tests/compiler/integers/i32/min_fail.leo | 8 +++-- .../compiler/integers/i32/negate_min_fail.leo | 7 ++-- tests/compiler/integers/i64/min_fail.leo | 8 +++-- .../compiler/integers/i64/negate_min_fail.leo | 7 ++-- tests/compiler/integers/i8/min_fail.leo | 8 +++-- .../compiler/integers/i8/negate_min_fail.leo | 7 ++-- .../compiler/integers/i128/min.out | 6 ++-- .../compiler/integers/i128/min_fail.out | 8 +++-- .../compiler/integers/i128/negate.out | 4 +-- .../integers/i128/negate_min_fail.out | 8 +++-- .../compiler/integers/i16/max_fail.out | 2 +- .../compiler/integers/i16/min.out | 6 ++-- .../compiler/integers/i16/min_fail.out | 8 +++-- .../compiler/integers/i16/negate.out | 4 +-- .../compiler/integers/i16/negate_min_fail.out | 8 +++-- .../compiler/integers/i32/min.out | 6 ++-- .../compiler/integers/i32/min_fail.out | 8 +++-- .../compiler/integers/i32/negate.out | 4 +-- .../compiler/integers/i32/negate_min_fail.out | 8 +++-- .../compiler/integers/i64/min.out | 6 ++-- .../compiler/integers/i64/min_fail.out | 8 +++-- .../compiler/integers/i64/negate.out | 4 +-- .../compiler/integers/i64/negate_min_fail.out | 8 +++-- .../expectations/compiler/integers/i8/min.out | 6 ++-- .../compiler/integers/i8/min_fail.out | 8 +++-- .../compiler/integers/i8/negate.out | 4 +-- .../compiler/integers/i8/negate_min_fail.out | 8 +++-- .../parser/expression/unary/neg.out | 18 ++++------ .../parser/inputs/input_const.out | 36 +++++++------------ .../parser/inputs/input_constant.out | 36 +++++++------------ .../parser/inputs/input_public.out | 36 +++++++------------ 36 files changed, 187 insertions(+), 151 deletions(-) diff --git a/tests/compiler/integers/i128/min_fail.leo b/tests/compiler/integers/i128/min_fail.leo index e8417c0dbc..d2c34c042a 100644 --- a/tests/compiler/integers/i128/min_fail.leo +++ b/tests/compiler/integers/i128/min_fail.leo @@ -1,9 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass +input_file: ../inputs/dummy.in */ -function main() -> i128 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i128 { let a: i128 = -170141183460469231731687303715884105727i128; return a - 2i128; // This line attempts to return --170141183460469231731687303715884105729i128 however, the smallest i128 value is -170141183460469231731687303715884105728i128. diff --git a/tests/compiler/integers/i128/negate_min_fail.leo b/tests/compiler/integers/i128/negate_min_fail.leo index 9c2c65d83d..1f5d5ed74c 100644 --- a/tests/compiler/integers/i128/negate_min_fail.leo +++ b/tests/compiler/integers/i128/negate_min_fail.leo @@ -1,10 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass input_file: ../inputs/dummy.in */ -function main() -> i128 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i128 { let a: i128 = -170141183460469231731687303715884105727i128; let b: i128 = a - 1i128; diff --git a/tests/compiler/integers/i16/max_fail.leo b/tests/compiler/integers/i16/max_fail.leo index 96f55e241b..dd0563c7a8 100644 --- a/tests/compiler/integers/i16/max_fail.leo +++ b/tests/compiler/integers/i16/max_fail.leo @@ -1,8 +1,11 @@ /* namespace: Compile expectation: Fail +input_file: ../inputs/dummy.in */ -function main() { +@program +function main(y: bool) -> i16 { const a: i16 = 32768i16; + return a; } \ No newline at end of file diff --git a/tests/compiler/integers/i16/min_fail.leo b/tests/compiler/integers/i16/min_fail.leo index 3737a18a2b..f199331be4 100644 --- a/tests/compiler/integers/i16/min_fail.leo +++ b/tests/compiler/integers/i16/min_fail.leo @@ -1,9 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass +input_file: ../inputs/dummy.in */ -function main() -> i16 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i16 { let a: i16 = -32767i16; return a - 2i16; // This line attempts to return -32769i16 however, the smallest i16 value is -32768i16. diff --git a/tests/compiler/integers/i16/negate_min_fail.leo b/tests/compiler/integers/i16/negate_min_fail.leo index eb7565c2a0..07215ece6b 100644 --- a/tests/compiler/integers/i16/negate_min_fail.leo +++ b/tests/compiler/integers/i16/negate_min_fail.leo @@ -1,10 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass input_file: ../inputs/dummy.in */ -function main() -> i16 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i16 { let a: i16 = -32767i16; let b: i16 = a - 1i16; diff --git a/tests/compiler/integers/i32/min_fail.leo b/tests/compiler/integers/i32/min_fail.leo index d332862f51..a531767ae1 100644 --- a/tests/compiler/integers/i32/min_fail.leo +++ b/tests/compiler/integers/i32/min_fail.leo @@ -1,9 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass +input_file: ../inputs/dummy.in */ -function main() -> i32 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i32 { let a: i32 = -2147483647i32; return a - 2i32; // This line attempts to return -2147483649i32 however, the smallest i32 value is -2147483648i32. diff --git a/tests/compiler/integers/i32/negate_min_fail.leo b/tests/compiler/integers/i32/negate_min_fail.leo index ba9f223f73..48c79b3c6a 100644 --- a/tests/compiler/integers/i32/negate_min_fail.leo +++ b/tests/compiler/integers/i32/negate_min_fail.leo @@ -1,10 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass input_file: ../inputs/dummy.in */ -function main() -> i32 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i32 { let a: i32 = -2147483647i32; let b: i32 = a - 1i32; diff --git a/tests/compiler/integers/i64/min_fail.leo b/tests/compiler/integers/i64/min_fail.leo index 094ff6c7a4..e0e1d7dadb 100644 --- a/tests/compiler/integers/i64/min_fail.leo +++ b/tests/compiler/integers/i64/min_fail.leo @@ -1,9 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass +input_file: ../inputs/dummy.in */ -function main() -> i64 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i64 { let a: i64 = -9223372036854775807i64; return a - 2i64; // This line attempts to return -9223372036854775809i64 however, the smallest i64 value is -9223372036854775808i64. diff --git a/tests/compiler/integers/i64/negate_min_fail.leo b/tests/compiler/integers/i64/negate_min_fail.leo index 4f5a8b15f9..1ea7c0189f 100644 --- a/tests/compiler/integers/i64/negate_min_fail.leo +++ b/tests/compiler/integers/i64/negate_min_fail.leo @@ -1,10 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass input_file: ../inputs/dummy.in */ -function main() -> i64 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i64 { let a: i64 = -9223372036854775807i64; let b: i64 = a - 1i64; diff --git a/tests/compiler/integers/i8/min_fail.leo b/tests/compiler/integers/i8/min_fail.leo index 1f56b8a5dd..dbea15697a 100644 --- a/tests/compiler/integers/i8/min_fail.leo +++ b/tests/compiler/integers/i8/min_fail.leo @@ -1,9 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass +input_file: ../inputs/dummy.in */ -function main() -> i8 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i8 { let a: i8 = -127i8; return a - 2i8; // This line attempts to return -129i8 however, the smallest i8 value is -128i8. diff --git a/tests/compiler/integers/i8/negate_min_fail.leo b/tests/compiler/integers/i8/negate_min_fail.leo index b78223045c..8db789fcef 100644 --- a/tests/compiler/integers/i8/negate_min_fail.leo +++ b/tests/compiler/integers/i8/negate_min_fail.leo @@ -1,10 +1,13 @@ /* namespace: Compile -expectation: Fail +expectation: Pass input_file: ../inputs/dummy.in */ -function main() -> i8 { +// TODO: This test passes, but constant propogation should detect an overflow. + +@program +function main(y: bool) -> i8 { let a: i8 = -127i8; let b: i8 = a - 1i8; diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index e0709c97f0..4b76acd6c4 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 42d3d2a95ecf42808533fc38c7765957dd86f6d84679e6db05141f14078d1723 - initial_ast: a835c5cdf987d342c5fe92633a62939a513b7135acb8b0a7caafd369b3f197ff - unrolled_ast: a835c5cdf987d342c5fe92633a62939a513b7135acb8b0a7caafd369b3f197ff - ssa_ast: 646087bb3a3332f84128e3f123ddadad7861447132e3060feeca1cd039b34cab + initial_ast: 9f54baf4e2df224554aed10f27cf86804fa6853e4a5fcec6a3d4d71e7c29a845 + unrolled_ast: 9f54baf4e2df224554aed10f27cf86804fa6853e4a5fcec6a3d4d71e7c29a845 + ssa_ast: 6704fcf76ec1c652443336b0eef56d7a0da84a68beaa67dacf0491479255afe3 diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index c2513046ff..9a78d25cc9 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 2i128 into r1;\\n output r1 as i128;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: c73d747914473c57db75df7fd1672a0675b56394dca1ed1fb3536f6777c86d80 + initial_ast: e48cd3c49011fc6cdc05308b9ce2f696c3a68eaf7cdfeb62cc4565715cd6710b + unrolled_ast: e48cd3c49011fc6cdc05308b9ce2f696c3a68eaf7cdfeb62cc4565715cd6710b + ssa_ast: b1bac3b891509b8f3b51db8d0fd17320a80dab5dfc36a45f697df11d81ef2cb5 diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index 6a833d1bc7..b8d8dfe47f 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b8ec17eea6039a34b9e77c74f445c43a4c0802f9cfe8ff86e84c5954c247e49f - - initial_input_ast: 6c116007a92625c046449f00e89d6ed09d20f8806cf7139946800cca5b18e688 + - initial_input_ast: ad84f053b470cc3496abac049a0bc39cb65a2529ed6a263f7158f722beca6f99 + - initial_input_ast: fb7d5befac46a4b8dfe740fd6811888a22577c4a136db40b31aefe56ef0c8c4b initial_ast: 3dc2d25c4df9618e4a6bec9cfecafd49a502b74b2655adfbd2498a36a024aed3 unrolled_ast: 3dc2d25c4df9618e4a6bec9cfecafd49a502b74b2655adfbd2498a36a024aed3 ssa_ast: dce6ca6d8021939acb48603e42157edf3ca09c703ebc8b899c859ff1c70477a9 diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index f7660a69f3..51b8a4abe8 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 170141183460469231731687303715884105727i128 into r0;\\n sub r0 1i128 into r1;\\n neg r1 into r2;\\n output r2 as i128;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: cc445b61155a660fbbd967b7736f50f07a9f5a139143a7f486b80eca2aaa29f2 + initial_ast: 7663d1db962f0c96762c2109439ed5e8c44397402132ecd7342da8baf666f4ae + unrolled_ast: 7663d1db962f0c96762c2109439ed5e8c44397402132ecd7342da8baf666f4ae + ssa_ast: b7607cdbbdf81c53b4273cbed4c72cc99bccb9ec170d3a4c7a26967cc7a9f24a diff --git a/tests/expectations/compiler/integers/i16/max_fail.out b/tests/expectations/compiler/integers/i16/max_fail.out index 9ac75fd08d..53a0e4af11 100644 --- a/tests/expectations/compiler/integers/i16/max_fail.out +++ b/tests/expectations/compiler/integers/i16/max_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [EPAR0370005]: expected -> -- found '{'\n --> compiler-test:3:17\n |\n 3 | function main() {\n | ^" + - "Error [ETYC0372008]: The value 32768 is not a valid `i16`\n --> compiler-test:5:20\n |\n 5 | const a: i16 = 32768i16;\n | ^^^^^^^^\n" diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index 28cbf00cb6..545d826205 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 41447babe412945bcb82a83876bfbf13a49da1bd175909bd66def5f983abc0fa - initial_ast: ac2f6713a2372926514109f4800b95a371cb90f374c033872b5f3a72e065cd35 - unrolled_ast: ac2f6713a2372926514109f4800b95a371cb90f374c033872b5f3a72e065cd35 - ssa_ast: c48dbcb655e0324971cc1dcec072fdd2608905a14aaa3df1c772d2ea0491de0b + initial_ast: 38064bcbf709fed1dc53d83041ab50c4e0ab8e1d3e1658f66a26deb533d20a53 + unrolled_ast: 38064bcbf709fed1dc53d83041ab50c4e0ab8e1d3e1658f66a26deb533d20a53 + ssa_ast: cf158c6ea09188b84ce1db6f569d0e56e455fe99f2d87e5ce02ab02f008ff6f7 diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index 0d84cf58e3..9b8a5057f9 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 2i16 into r1;\\n output r1 as i16;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: 79bcbe7e9238a5693c7767022694c80ac5b120c8a165666d22d3a84b31c1a561 + initial_ast: e9c3b44e095957d32956781b9453904c44660e695a6529cd625c10660a94ac32 + unrolled_ast: e9c3b44e095957d32956781b9453904c44660e695a6529cd625c10660a94ac32 + ssa_ast: 1ff03bbdf341387f0c3863886edb37b9e684a6ec976faf5059e9c6ed7e324bca diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index 413a0470be..b69c301b94 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e3a67432f9c9f0672adc30127fcc2e31f9a0ab239c22ba8d663254f0efbb5458 - - initial_input_ast: 505c16cb20bfee80be7082a17afad679fab76f6e6401597cb9ea6844eb00531a + - initial_input_ast: d00fb0834d6c7e82bd4725ccef9e7b0a246ccaf0fa149162d3191e12ca7a91aa + - initial_input_ast: 7d25236922783092ec2ff51bbec26518786797eff2cf3b4a39498c825cdbcaf1 initial_ast: a96922f205d357ae040c5de3f5acaa1bf819e145243b2e450510c3086589c784 unrolled_ast: a96922f205d357ae040c5de3f5acaa1bf819e145243b2e450510c3086589c784 ssa_ast: 920cdbde9274e3fa395a3036e59bbf798ff72216869c61f4d90c467c6a9dcee6 diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index d12c306f26..47882cf0ed 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 32767i16 into r0;\\n sub r0 1i16 into r1;\\n neg r1 into r2;\\n output r2 as i16;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: 6b4cdfe5abc1c4ee9ebc7c514658f87e6c179a03a18a7d9249849c1fdff20e39 + initial_ast: 612e1a7438a1a6578325bdcd841c56c79e8ac321797f8bb408d9bb6b83d0e0cc + unrolled_ast: 612e1a7438a1a6578325bdcd841c56c79e8ac321797f8bb408d9bb6b83d0e0cc + ssa_ast: e4de22c6ccb1b29ce1d3fd8546131ad3752f63ba4f67a33d261dcf39f557b27c diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index 1f5471fbde..ccdbe90e24 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: b4483ea97ae93b05ca67ce2eb626c795b43deb35efbac286bbed4aca4b560861 - initial_ast: f644161dceb21060c338f07124ba790ba97b017096941e5ff6b51e4d3e9722b7 - unrolled_ast: f644161dceb21060c338f07124ba790ba97b017096941e5ff6b51e4d3e9722b7 - ssa_ast: b11c58719edbeb142feb1f4f58c3a7104fae69a7364479fa5c89b2f90d75047e + initial_ast: bde5be32e05120e4464bc98db421b23d306f70cec5650b1fa166b4ea51713667 + unrolled_ast: bde5be32e05120e4464bc98db421b23d306f70cec5650b1fa166b4ea51713667 + ssa_ast: 32f21a6564ec6a8bcc0fd5b5e8ee333d34f382eb9ff1ee61574d72b34f65067e diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index eb1e7f565e..af37d1a10b 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 2i32 into r1;\\n output r1 as i32;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: 50f33fa362d3ae6db603da995505be6967495258db78476959871136723a651a + initial_ast: fa87c006b864d4e53d64175e50d81112dd33fa77a094567987f06b9d2bee5d58 + unrolled_ast: fa87c006b864d4e53d64175e50d81112dd33fa77a094567987f06b9d2bee5d58 + ssa_ast: 813732df76f2324135e5e157503cbaf9d8d50add416037bef4f3542f18822e02 diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index 749e2acfe4..64c54a1de0 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ae4d4203374ee9ad849f4686d2bbda7798927f64affd648ab7f43a5533478f1a - - initial_input_ast: 472f0ed7598d1c1609332374c0f85fe7a3718b7fd27bbee6c38152584121ef23 + - initial_input_ast: 73a1b55568b6659b313e5c492b778cb93cc84eabf3ef8e7ef1dfd40b6e1c56ca + - initial_input_ast: f875beabafba44118db871e4d1c1b87460986a2e8547e421e9b509367cf3ef80 initial_ast: 5dd828505325c1c765304e866d87101e93ed54797dd283dd4899e586b1bdd96a unrolled_ast: 5dd828505325c1c765304e866d87101e93ed54797dd283dd4899e586b1bdd96a ssa_ast: 29311316479295dfe46950d8a296993141d0f77304027deeb416358b9d5c7447 diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index c96611f73d..03f9f427f2 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 2147483647i32 into r0;\\n sub r0 1i32 into r1;\\n neg r1 into r2;\\n output r2 as i32;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: 3ca155c33debfdfb0192a7bddb387e5e7fafeeaf31f0ef5089be2352d74faed3 + initial_ast: 45465e4f913c8b730d8a2dd3606e7d3af47bcd5086f831f199f5a743533ce9a5 + unrolled_ast: 45465e4f913c8b730d8a2dd3606e7d3af47bcd5086f831f199f5a743533ce9a5 + ssa_ast: d827308a1755e5f58e067eaa2bebb7d747bafa401644f6e899942afbe585bdfb diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index 4be4efa52c..483ed2ad70 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: b3b2f3490a1151c22fee2d9df5a0d82783701dd70b6c2b4fd9ca3e69490783bb - initial_ast: e5000099c14e87137d2f2bc669edb80ef9c9827f165147cba121e17db302e9d5 - unrolled_ast: e5000099c14e87137d2f2bc669edb80ef9c9827f165147cba121e17db302e9d5 - ssa_ast: 9837dae3084030b34fc9f3cd5c5ad78928ce6481c548d9dfca6aef4f0a01f25f + initial_ast: e5a1694b70ad7d154dd1411650b464eb664fca4343a76cf7a3f34faaef54978c + unrolled_ast: e5a1694b70ad7d154dd1411650b464eb664fca4343a76cf7a3f34faaef54978c + ssa_ast: 313ef790a91e449c5e40684ab754736f23ac5e28ab411676360e76802e89ee31 diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index b0f4ab8637..ad62125709 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 2i64 into r1;\\n output r1 as i64;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: f34404634c932da950bef25437cdfb41606af09de9ef6ca2f1d347977e2c9170 + initial_ast: d7f2f2a039b6c4e91c570bf8773476c54fe2bc703ed1241ef0aa5d6f8826a038 + unrolled_ast: d7f2f2a039b6c4e91c570bf8773476c54fe2bc703ed1241ef0aa5d6f8826a038 + ssa_ast: 3ba654e151d5a17a362cb8da959d7cfd0c35a1a65e6ce411cc38401cd26781cb diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index f451841123..c15e42175c 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 936a54d9bbe52e0f04e572a5b8b240bb2a9f016b50c72393ac3384777f3b0b0d - - initial_input_ast: 0c06c0ad8f97eb34d1cc23a47f961b308cb7145a30b353e02885288b4b789873 + - initial_input_ast: e07791f8836ac8e6a360778264ea47b9ed9c9ceba9ca9b371ddc4f10a40d8203 + - initial_input_ast: fdebd3a81049af25aa21c677fbef4785658415e0cb9b46b1856d38b60936e23e initial_ast: f229f8cf5cbd66073c577a86a075cfad4a2608404442971c9119135a53530f54 unrolled_ast: f229f8cf5cbd66073c577a86a075cfad4a2608404442971c9119135a53530f54 ssa_ast: 83341ff87d409f7e2ed49284d9af76c225c70ab0fa8f3537479ec1076373af44 diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index b5b91a76f3..3aebe49189 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 9223372036854775807i64 into r0;\\n sub r0 1i64 into r1;\\n neg r1 into r2;\\n output r2 as i64;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: b92bed9f53de41035d8001d9f8be4a5631049b47066b2d71de4c461f7f2a464d + initial_ast: a494b73fd1c830a12d84382db4cdf60916b5e381ecf874029feebdbdaebc3eec + unrolled_ast: a494b73fd1c830a12d84382db4cdf60916b5e381ecf874029feebdbdaebc3eec + ssa_ast: a259511a9f4618d4a11c9b9b619ac19dd670ad251d02637ead3170ce2b2a88c0 diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index dc43431139..7be8f18841 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 3e63ac0f1c06b032de265411bd6b2e699c930841e0978be6b9233cbeb86cc605 - initial_ast: 70c6d62c439ec959dd9b0ed47a867c5e98035035b40f8de20946545dee84698a - unrolled_ast: 70c6d62c439ec959dd9b0ed47a867c5e98035035b40f8de20946545dee84698a - ssa_ast: e71d332aadafc0ea3c35a374919d49f329b5705f5293dcdd691d0cb0389a609a + initial_ast: 57852b7a300e4c1c2cf7b9401fef66287c1adbaa4767a5c475fad0c71d4eb960 + unrolled_ast: 57852b7a300e4c1c2cf7b9401fef66287c1adbaa4767a5c475fad0c71d4eb960 + ssa_ast: b92dc45d25f7fb25ea1f82278d68a1c30c02fb7c90453a96c1f853331a4e1b54 diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index 8d316c4736..8bf0f5f394 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 2i8 into r1;\\n output r1 as i8;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: b31dfe6cd2720310b35822c841634998be88bc3f57fc4a22375b567a92f46133 + initial_ast: 82baa72f7b009875bbfb9a52e59a24b2cbb8befbf0ff0926b7f113a54b4afdf4 + unrolled_ast: 82baa72f7b009875bbfb9a52e59a24b2cbb8befbf0ff0926b7f113a54b4afdf4 + ssa_ast: ab56766b1d3ba302a545a6b55067afbe0ab1a439faea632e19356aad3d7197c9 diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index 5e99ee29e5..177e633b0a 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0240f4f3a25cc059e688afbf3caed78bde18ad61f67b385de41b9c82de1c21f8 - - initial_input_ast: 55daf1fbe841b4cfc2a4a87dc4008ff9cf2edb7b52ec7192e40678315e0c03be + - initial_input_ast: 1bd20ea148c690dea235babece3a0cc7be442369a8d7f68580cea025c6815899 + - initial_input_ast: 5617dd2ded7e70af83fba9ae83760664c1d0255c49fd4ae7f81f96d54956c593 initial_ast: 3d91e13f420b7ff1c0249ccfb27ffeeffd09ad171ccb382ad386522eef62e7af unrolled_ast: 3d91e13f420b7ff1c0249ccfb27ffeeffd09ad171ccb382ad386522eef62e7af ssa_ast: 02c7b689cb8af367b4dc045d99a2a5076f175454755c9c95046cec05270ca818 diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index 618b6a840b..3ea585d3c8 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -1,5 +1,9 @@ --- namespace: Compile -expectation: Fail +expectation: Pass outputs: - - "Failed to parse string. Parsing Error: VerboseError { errors: [(\"closure main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8;\\n\\n\\n\", Nom(Tag)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8;\\n\\n\\n\", Nom(Alt)), (\"closure main:\\n neg 127i8 into r0;\\n sub r0 1i8 into r1;\\n neg r1 into r2;\\n output r2 as i8;\\n\\n\\n\", Nom(Many1))] }" + - output: + - initial_input_ast: 53570f9b01fe828f720945ab561a01e4c514f52cec152aa4b458f1f0da94bcd2 + initial_ast: 4b3b640379d93cb35bf40aa911b4a20ee38fe3fc12eb5f288e337fa5eb01e03c + unrolled_ast: 4b3b640379d93cb35bf40aa911b4a20ee38fe3fc12eb5f288e337fa5eb01e03c + ssa_ast: b3d97eac6bd352d60fa2e84ac88933d8b03a2ec222a2df68fd005bc6d350ad59 diff --git a/tests/expectations/parser/expression/unary/neg.out b/tests/expectations/parser/expression/unary/neg.out index 6bddc3c4e1..20a2fa3c14 100644 --- a/tests/expectations/parser/expression/unary/neg.out +++ b/tests/expectations/parser/expression/unary/neg.out @@ -48,18 +48,12 @@ outputs: span: lo: 0 hi: 3 - - Unary: - receiver: - Literal: - I8: - - "5" - - span: - lo: 1 - hi: 4 - op: Negate - span: - lo: 0 - hi: 4 + - Literal: + I8: + - "-5" + - span: + lo: 0 + hi: 4 - Unary: receiver: Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" diff --git a/tests/expectations/parser/inputs/input_const.out b/tests/expectations/parser/inputs/input_const.out index 77aa962b94..9cde03ff64 100644 --- a/tests/expectations/parser/inputs/input_const.out +++ b/tests/expectations/parser/inputs/input_const.out @@ -86,18 +86,12 @@ outputs: type_: I8 name: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":199,\\\"hi\\\":200}\"}" value: - Unary: - receiver: - Literal: - I8: - - "2" - - span: - lo: 211 - hi: 214 - op: Negate - span: - lo: 210 - hi: 214 + Literal: + I8: + - "-2" + - span: + lo: 210 + hi: 214 span: lo: 202 hi: 204 @@ -187,18 +181,12 @@ outputs: type_: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":388,\\\"hi\\\":390}\"}" value: - Unary: - receiver: - Literal: - I8: - - "1" - - span: - lo: 398 - hi: 401 - op: Negate - span: - lo: 397 - hi: 401 + Literal: + I8: + - "-1" + - span: + lo: 397 + hi: 401 span: lo: 392 hi: 394 diff --git a/tests/expectations/parser/inputs/input_constant.out b/tests/expectations/parser/inputs/input_constant.out index cc5442dcd5..ded04d93cc 100644 --- a/tests/expectations/parser/inputs/input_constant.out +++ b/tests/expectations/parser/inputs/input_constant.out @@ -86,18 +86,12 @@ outputs: type_: I8 name: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":217,\\\"hi\\\":218}\"}" value: - Unary: - receiver: - Literal: - I8: - - "2" - - span: - lo: 229 - hi: 232 - op: Negate - span: - lo: 228 - hi: 232 + Literal: + I8: + - "-2" + - span: + lo: 228 + hi: 232 span: lo: 220 hi: 222 @@ -187,18 +181,12 @@ outputs: type_: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":406,\\\"hi\\\":408}\"}" value: - Unary: - receiver: - Literal: - I8: - - "1" - - span: - lo: 416 - hi: 419 - op: Negate - span: - lo: 415 - hi: 419 + Literal: + I8: + - "-1" + - span: + lo: 415 + hi: 419 span: lo: 410 hi: 412 diff --git a/tests/expectations/parser/inputs/input_public.out b/tests/expectations/parser/inputs/input_public.out index 50ca09b1ae..33eea2b888 100644 --- a/tests/expectations/parser/inputs/input_public.out +++ b/tests/expectations/parser/inputs/input_public.out @@ -86,18 +86,12 @@ outputs: type_: I8 name: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":272,\\\"hi\\\":273}\"}" value: - Unary: - receiver: - Literal: - I8: - - "2" - - span: - lo: 284 - hi: 287 - op: Negate - span: - lo: 283 - hi: 287 + Literal: + I8: + - "-2" + - span: + lo: 283 + hi: 287 span: lo: 275 hi: 277 @@ -187,18 +181,12 @@ outputs: type_: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":528,\\\"hi\\\":530}\"}" value: - Unary: - receiver: - Literal: - I8: - - "1" - - span: - lo: 538 - hi: 541 - op: Negate - span: - lo: 537 - hi: 541 + Literal: + I8: + - "-1" + - span: + lo: 537 + hi: 541 span: lo: 532 hi: 534 From 7ff7170c456bb234f3baa4814f98dd869fcae54e Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 9 Aug 2022 15:22:33 -0700 Subject: [PATCH 08/16] Fix unary negation parser; add test --- compiler/ast/src/expressions/literal.rs | 1 + compiler/parser/src/parser/expression.rs | 17 +++++++++++------ .../parser/expression/unary/neg.out | 18 ++++++++++++++++++ tests/parser/expression/unary/neg.leo | 4 ++++ 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/compiler/ast/src/expressions/literal.rs b/compiler/ast/src/expressions/literal.rs index 9687f3cbe3..4b3f930b15 100644 --- a/compiler/ast/src/expressions/literal.rs +++ b/compiler/ast/src/expressions/literal.rs @@ -18,6 +18,7 @@ use crate::GroupLiteral; use super::*; +// TODO: Refactor integer literals to use `IntegerType`. /// A literal. #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub enum Literal { diff --git a/compiler/parser/src/parser/expression.rs b/compiler/parser/src/parser/expression.rs index 6a41644090..4b4513bd1f 100644 --- a/compiler/parser/src/parser/expression.rs +++ b/compiler/parser/src/parser/expression.rs @@ -250,26 +250,31 @@ impl ParserContext<'_> { }; ops.push((operation, self.prev_token.span)); } + + // This is needed to ensure that only the token sequence `-`, `Token::Integer(..)` is parsed as a negative integer literal. + let inner_is_integer = matches!(self.token.token, Token::Integer(..)); + let mut inner = self.parse_postfix_expression()?; for (op, op_span) in ops.into_iter().rev() { inner = match inner { // If the unary operation is a negate, and the inner expression is a signed integer literal, // then produce a negative integer literal. // This helps handle a special case where -128i8, treated as a unary expression, overflows, but -128i8, treated as an integer literal doesn't. - // TODO: the parser produces a negative integer literal for both -(128i8) and -128i8. Is this an issue? - Expression::Literal(Literal::I8(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I8(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { Expression::Literal(Literal::I8(format!("-{}", string), op_span + span)) } - Expression::Literal(Literal::I16(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I16(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { Expression::Literal(Literal::I16(format!("-{}", string), op_span + span)) } - Expression::Literal(Literal::I32(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I32(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { Expression::Literal(Literal::I32(format!("-{}", string), op_span + span)) } - Expression::Literal(Literal::I64(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I64(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { Expression::Literal(Literal::I64(format!("-{}", string), op_span + span)) } - Expression::Literal(Literal::I128(string, span)) if op == UnaryOperation::Negate => { + Expression::Literal(Literal::I128(string, span)) + if op == UnaryOperation::Negate && inner_is_integer => + { Expression::Literal(Literal::I128(format!("-{}", string), op_span + span)) } // Otherwise, produce a unary expression. diff --git a/tests/expectations/parser/expression/unary/neg.out b/tests/expectations/parser/expression/unary/neg.out index 20a2fa3c14..fc6fcf5448 100644 --- a/tests/expectations/parser/expression/unary/neg.out +++ b/tests/expectations/parser/expression/unary/neg.out @@ -54,6 +54,24 @@ outputs: - span: lo: 0 hi: 4 + - Literal: + I8: + - "-128" + - span: + lo: 0 + hi: 6 + - Unary: + receiver: + Literal: + I8: + - "128" + - span: + lo: 2 + hi: 7 + op: Negate + span: + lo: 0 + hi: 7 - Unary: receiver: Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}" diff --git a/tests/parser/expression/unary/neg.leo b/tests/parser/expression/unary/neg.leo index bad2bae1fc..959f805b3a 100644 --- a/tests/parser/expression/unary/neg.leo +++ b/tests/parser/expression/unary/neg.leo @@ -10,6 +10,10 @@ expectation: Pass -5i8 +-128i8 + +-(128i8) + x.neg() x.neg().neg().neg() -x.neg() From dcbdb1bd85db9bce7bcd1cdfb593d77a3963c626 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 9 Aug 2022 16:13:10 -0700 Subject: [PATCH 09/16] Reintroduce IntegerType --- compiler/ast/src/expressions/literal.rs | 61 ++------------ compiler/ast/src/input/input_value.rs | 41 +++------- compiler/ast/src/types/integer_type.rs | 78 ++++++++++++++++++ compiler/ast/src/types/mod.rs | 3 + compiler/ast/src/types/type_.rs | 49 ++--------- compiler/ast/src/value/mod.rs | 64 ++++++++------- compiler/core/src/algorithms/mod.rs | 58 ++++++------- compiler/parser/src/parser/expression.rs | 31 +------ compiler/parser/src/parser/type_.rs | 50 ++++++----- .../passes/src/code_generation/visit_type.rs | 11 +-- .../src/loop_unrolling/unroll_statement.rs | 24 +++--- .../passes/src/loop_unrolling/unroller.rs | 42 +++++++--- .../src/type_checking/check_expressions.rs | 82 ++++++++++--------- .../passes/src/type_checking/check_program.rs | 2 +- compiler/passes/src/type_checking/checker.rs | 44 ++++++---- 15 files changed, 320 insertions(+), 320 deletions(-) create mode 100644 compiler/ast/src/types/integer_type.rs diff --git a/compiler/ast/src/expressions/literal.rs b/compiler/ast/src/expressions/literal.rs index 4b3f930b15..d256ffab33 100644 --- a/compiler/ast/src/expressions/literal.rs +++ b/compiler/ast/src/expressions/literal.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::GroupLiteral; +use crate::{GroupLiteral, IntegerType}; use super::*; @@ -33,31 +33,13 @@ pub enum Literal { /// A group literal, either product or affine. /// For example, `42group` or `(12, 52)group`. Group(Box), + /// An integer literal, e.g., `42`. + Integer(IntegerType, String, #[serde(with = "leo_span::span_json")] Span), /// A scalar literal, e.g. `1scalar`. /// An unsigned number followed by the keyword `scalar`. Scalar(String, #[serde(with = "leo_span::span_json")] Span), /// A string literal, e.g., `"foobar"`. String(String, #[serde(with = "leo_span::span_json")] Span), - /// An 8-bit signed integer literal, e.g., `42i8`. - I8(String, #[serde(with = "leo_span::span_json")] Span), - /// A 16-bit signed integer literal, e.g., `42i16`. - I16(String, #[serde(with = "leo_span::span_json")] Span), - /// A 32-bit signed integer literal, e.g., `42i32`. - I32(String, #[serde(with = "leo_span::span_json")] Span), - /// A 64-bit signed integer literal, e.g., `42i64`. - I64(String, #[serde(with = "leo_span::span_json")] Span), - /// A 128-bit signed integer literal, e.g., `42i128`. - I128(String, #[serde(with = "leo_span::span_json")] Span), - /// A 8-bit unsigned integer literal, e.g., `42u8`. - U8(String, #[serde(with = "leo_span::span_json")] Span), - /// A 16-bit unsigned integer literal, e.g., `42u16`. - U16(String, #[serde(with = "leo_span::span_json")] Span), - /// A 32-bit unsigned integer literal, e.g., `42u32`. - U32(String, #[serde(with = "leo_span::span_json")] Span), - /// A 64-bit unsigned integer literal, e.g., `42u64`. - U64(String, #[serde(with = "leo_span::span_json")] Span), - /// A 128-bit unsigned integer literal, e.g., `42u128`. - U128(String, #[serde(with = "leo_span::span_json")] Span), } impl fmt::Display for Literal { @@ -65,20 +47,11 @@ impl fmt::Display for Literal { match &self { Self::Address(address, _) => write!(f, "{}", address), Self::Boolean(boolean, _) => write!(f, "{}", boolean), - Self::I8(integer, _) => write!(f, "{}i8", integer), - Self::I16(integer, _) => write!(f, "{}i16", integer), - Self::I32(integer, _) => write!(f, "{}i32", integer), - Self::I64(integer, _) => write!(f, "{}i64", integer), - Self::I128(integer, _) => write!(f, "{}i128", integer), Self::Field(field, _) => write!(f, "{}field", field), Self::Group(group) => write!(f, "{}group", group), + Self::Integer(type_, value, _) => write!(f, "{}{}", value, type_), Self::Scalar(scalar, _) => write!(f, "{}scalar", scalar), Self::String(string, _) => write!(f, "{}", string), - Self::U8(integer, _) => write!(f, "{}u8", integer), - Self::U16(integer, _) => write!(f, "{}u16", integer), - Self::U32(integer, _) => write!(f, "{}u32", integer), - Self::U64(integer, _) => write!(f, "{}u64", integer), - Self::U128(integer, _) => write!(f, "{}u128", integer), } } } @@ -89,18 +62,9 @@ impl Node for Literal { Self::Address(_, span) | Self::Boolean(_, span) | Self::Field(_, span) - | Self::I8(_, span) - | Self::I16(_, span) - | Self::I32(_, span) - | Self::I64(_, span) - | Self::I128(_, span) + | Self::Integer(_, _, span) | Self::Scalar(_, span) - | Self::String(_, span) - | Self::U8(_, span) - | Self::U16(_, span) - | Self::U32(_, span) - | Self::U64(_, span) - | Self::U128(_, span) => *span, + | Self::String(_, span) => *span, Self::Group(group) => match &**group { GroupLiteral::Single(_, span) => *span, GroupLiteral::Tuple(tuple) => tuple.span, @@ -113,18 +77,9 @@ impl Node for Literal { Self::Address(_, span) | Self::Boolean(_, span) | Self::Field(_, span) - | Self::I8(_, span) - | Self::I16(_, span) - | Self::I32(_, span) - | Self::I64(_, span) - | Self::I128(_, span) + | Self::Integer(_, _, span) | Self::Scalar(_, span) - | Self::String(_, span) - | Self::U8(_, span) - | Self::U16(_, span) - | Self::U32(_, span) - | Self::U64(_, span) - | Self::U128(_, span) => *span = new_span, + | Self::String(_, span) => *span = new_span, Self::Group(group) => match &mut **group { GroupLiteral::Single(_, span) => *span = new_span, GroupLiteral::Tuple(tuple) => tuple.span = new_span, diff --git a/compiler/ast/src/input/input_value.rs b/compiler/ast/src/input/input_value.rs index 4d0bdc0cff..78adbeba3e 100644 --- a/compiler/ast/src/input/input_value.rs +++ b/compiler/ast/src/input/input_value.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Expression, GroupLiteral, Literal, Node, Type, UnaryOperation}; +use crate::{Expression, GroupLiteral, IntegerType, Literal, Node, Type, UnaryOperation}; use leo_errors::{InputError, LeoError, Result}; use serde::{Deserialize, Serialize}; @@ -26,16 +26,7 @@ pub enum InputValue { Boolean(bool), Field(String), Group(GroupLiteral), - I8(String), - I16(String), - I32(String), - I64(String), - I128(String), - U8(String), - U16(String), - U32(String), - U64(String), - U128(String), + Integer(IntegerType, String), } impl TryFrom<(Type, Expression)> for InputValue { @@ -47,16 +38,13 @@ impl TryFrom<(Type, Expression)> for InputValue { (Type::Boolean, Literal::Boolean(value, _)) => Self::Boolean(value), (Type::Field, Literal::Field(value, _)) => Self::Field(value), (Type::Group, Literal::Group(value)) => Self::Group(*value), - (Type::I8, Literal::I8(value, _)) => Self::I8(value), - (Type::I16, Literal::I16(value, _)) => Self::I16(value), - (Type::I32, Literal::I32(value, _)) => Self::I32(value), - (Type::I64, Literal::I64(value, _)) => Self::I64(value), - (Type::I128, Literal::I128(value, _)) => Self::I128(value), - (Type::U8, Literal::U8(value, _)) => Self::U8(value), - (Type::U16, Literal::U16(value, _)) => Self::U16(value), - (Type::U32, Literal::U32(value, _)) => Self::U32(value), - (Type::U64, Literal::U64(value, _)) => Self::U64(value), - (Type::U128, Literal::U128(value, _)) => Self::U128(value), + (Type::Integer(expected), Literal::Integer(actual, value, span)) => { + if expected == actual { + Self::Integer(expected, value) + } else { + return Err(InputError::unexpected_type(expected.to_string(), actual, span).into()); + } + } (x, y) => { return Err(InputError::unexpected_type(x, &y, y.span()).into()); } @@ -76,16 +64,7 @@ impl fmt::Display for InputValue { InputValue::Boolean(ref boolean) => write!(f, "{}", boolean), InputValue::Group(ref group) => write!(f, "{}", group), InputValue::Field(ref field) => write!(f, "{}", field), - InputValue::I8(ref integer) => write!(f, "{}", integer), - InputValue::I16(ref integer) => write!(f, "{}", integer), - InputValue::I32(ref integer) => write!(f, "{}", integer), - InputValue::I64(ref integer) => write!(f, "{}", integer), - InputValue::I128(ref integer) => write!(f, "{}", integer), - InputValue::U8(ref integer) => write!(f, "{}", integer), - InputValue::U16(ref integer) => write!(f, "{}", integer), - InputValue::U32(ref integer) => write!(f, "{}", integer), - InputValue::U64(ref integer) => write!(f, "{}", integer), - InputValue::U128(ref integer) => write!(f, "{}", integer), + InputValue::Integer(ref type_, ref number) => write!(f, "{}{:?}", number, type_), } } } diff --git a/compiler/ast/src/types/integer_type.rs b/compiler/ast/src/types/integer_type.rs new file mode 100644 index 0000000000..f3dea925cc --- /dev/null +++ b/compiler/ast/src/types/integer_type.rs @@ -0,0 +1,78 @@ +// Copyright (C) 2019-2022 Aleo Systems Inc. +// This file is part of the Leo library. + +// The Leo library is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// The Leo library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with the Leo library. If not, see . + +use leo_span::{sym, Symbol}; + +use serde::{Deserialize, Serialize}; +use std::fmt; + +/// Explicit integer type. +#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] +pub enum IntegerType { + U8, + U16, + U32, + U64, + U128, + + I8, + I16, + I32, + I64, + I128, +} + +impl IntegerType { + /// Is the integer type a signed one? + pub fn is_signed(&self) -> bool { + use IntegerType::*; + matches!(self, I8 | I16 | I32 | I64 | I128) + } + + /// Returns the symbol for the integer type. + pub fn symbol(self) -> Symbol { + match self { + Self::I8 => sym::i8, + Self::I16 => sym::i16, + Self::I32 => sym::i32, + Self::I64 => sym::i64, + Self::I128 => sym::i128, + Self::U8 => sym::u8, + Self::U16 => sym::u16, + Self::U32 => sym::u32, + Self::U64 => sym::u64, + Self::U128 => sym::u128, + } + } +} + +impl fmt::Display for IntegerType { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + match *self { + IntegerType::U8 => write!(f, "u8"), + IntegerType::U16 => write!(f, "u16"), + IntegerType::U32 => write!(f, "u32"), + IntegerType::U64 => write!(f, "u64"), + IntegerType::U128 => write!(f, "u128"), + + IntegerType::I8 => write!(f, "i8"), + IntegerType::I16 => write!(f, "i16"), + IntegerType::I32 => write!(f, "i32"), + IntegerType::I64 => write!(f, "i64"), + IntegerType::I128 => write!(f, "i128"), + } + } +} diff --git a/compiler/ast/src/types/mod.rs b/compiler/ast/src/types/mod.rs index c83feff52f..974c8bbe96 100644 --- a/compiler/ast/src/types/mod.rs +++ b/compiler/ast/src/types/mod.rs @@ -14,6 +14,9 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . +pub mod integer_type; +pub use integer_type::*; + pub mod tuple; pub use tuple::*; diff --git a/compiler/ast/src/types/type_.rs b/compiler/ast/src/types/type_.rs index 941949a35e..f4079a1b30 100644 --- a/compiler/ast/src/types/type_.rs +++ b/compiler/ast/src/types/type_.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{Identifier, Tuple}; +use crate::{Identifier, IntegerType, Tuple}; use serde::{Deserialize, Serialize}; use std::fmt; @@ -31,35 +31,16 @@ pub enum Type { Field, /// The `group` type. Group, - /// The 8-bit signed integer type. - I8, - /// The 16-bit signed integer type. - I16, - /// The 32-bit signed integer type. - I32, - /// The 64-bit signed integer type. - I64, - /// The 128-bit signed integer type. - I128, /// A reference to a built in type. Identifier(Identifier), + /// An integer type. + Integer(IntegerType), /// The `scalar` type. Scalar, /// The `string` type. String, - /// The 8-bit unsigned integer type. - U8, - /// The 16-bit unsigned integer type. - U16, - /// The 32-bit unsigned integer type. - U32, - /// The 64-bit unsigned integer type. - U64, - /// The 128-bit unsigned integer type. - U128, /// A static tuple of at least one type. Tuple(Tuple), - /// Placeholder for a type that could not be resolved or was not well-formed. /// Will eventually lead to a compile error. Err, @@ -77,18 +58,9 @@ impl Type { | (Type::Boolean, Type::Boolean) | (Type::Field, Type::Field) | (Type::Group, Type::Group) - | (Type::I8, Type::I8) - | (Type::I16, Type::I16) - | (Type::I32, Type::I32) - | (Type::I64, Type::I64) - | (Type::I128, Type::I128) | (Type::Scalar, Type::Scalar) - | (Type::String, Type::String) - | (Type::U8, Type::U8) - | (Type::U16, Type::U16) - | (Type::U32, Type::U32) - | (Type::U64, Type::U64) - | (Type::U128, Type::U128) => true, + | (Type::String, Type::String) => true, + (Type::Integer(left), Type::Integer(right)) => left.eq(right), (Type::Tuple(left), Type::Tuple(right)) => left .iter() .zip(right.iter()) @@ -106,19 +78,10 @@ impl fmt::Display for Type { Type::Boolean => write!(f, "boolean"), Type::Field => write!(f, "field"), Type::Group => write!(f, "group"), - Type::I8 => write!(f, "i8"), - Type::I16 => write!(f, "i16"), - Type::I32 => write!(f, "i32"), - Type::I64 => write!(f, "i64"), - Type::I128 => write!(f, "i128"), Type::Identifier(ref variable) => write!(f, "circuit {}", variable), + Type::Integer(ref integer_type) => write!(f, "{}", integer_type), Type::Scalar => write!(f, "scalar"), Type::String => write!(f, "string"), - Type::U8 => write!(f, "u8"), - Type::U16 => write!(f, "u16"), - Type::U32 => write!(f, "u32"), - Type::U64 => write!(f, "u64"), - Type::U128 => write!(f, "u128"), Type::Tuple(ref tuple) => write!(f, "{}", tuple), Type::Err => write!(f, "error"), } diff --git a/compiler/ast/src/value/mod.rs b/compiler/ast/src/value/mod.rs index 0f460da7c7..817e323399 100644 --- a/compiler/ast/src/value/mod.rs +++ b/compiler/ast/src/value/mod.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with the Leo library. If not, see . -use crate::{GroupLiteral, Identifier, Literal, Type}; +use crate::{GroupLiteral, Identifier, IntegerType, Literal, Type}; use leo_errors::{type_name, FlattenError, LeoError, Result}; use leo_span::{Span, Symbol}; @@ -848,16 +848,16 @@ impl From<&Value> for Type { Circuit(ident, _) => Type::Identifier(*ident), Field(_, _) => Type::Field, Group(_) => Type::Group, - I8(_, _) => Type::I8, - I16(_, _) => Type::I16, - I32(_, _) => Type::I32, - I64(_, _) => Type::I64, - I128(_, _) => Type::I128, - U8(_, _) => Type::U8, - U16(_, _) => Type::U16, - U32(_, _) => Type::U32, - U64(_, _) => Type::U64, - U128(_, _) => Type::U128, + I8(_, _) => Type::Integer(IntegerType::I8), + I16(_, _) => Type::Integer(IntegerType::I16), + I32(_, _) => Type::Integer(IntegerType::I32), + I64(_, _) => Type::Integer(IntegerType::I64), + I128(_, _) => Type::Integer(IntegerType::I128), + U8(_, _) => Type::Integer(IntegerType::U8), + U16(_, _) => Type::Integer(IntegerType::U16), + U32(_, _) => Type::Integer(IntegerType::U32), + U64(_, _) => Type::Integer(IntegerType::U64), + U128(_, _) => Type::Integer(IntegerType::U128), Scalar(_, _) => Type::Scalar, String(_, _) => Type::String, } @@ -876,16 +876,18 @@ impl From<&Literal> for Value { Literal::Group(group_literal) => Self::Group(group_literal.clone()), Literal::Scalar(string, span) => Self::Scalar(string.clone(), *span), Literal::String(string, span) => Self::String(string.clone(), *span), - Literal::I8(string, span) => Self::I8(string.parse::().unwrap(), *span), - Literal::I16(string, span) => Self::I16(string.parse::().unwrap(), *span), - Literal::I32(string, span) => Self::I32(string.parse::().unwrap(), *span), - Literal::I64(string, span) => Self::I64(string.parse::().unwrap(), *span), - Literal::I128(string, span) => Self::I128(string.parse::().unwrap(), *span), - Literal::U8(string, span) => Self::U8(string.parse::().unwrap(), *span), - Literal::U16(string, span) => Self::U16(string.parse::().unwrap(), *span), - Literal::U32(string, span) => Self::U32(string.parse::().unwrap(), *span), - Literal::U64(string, span) => Self::U64(string.parse::().unwrap(), *span), - Literal::U128(string, span) => Self::U128(string.parse::().unwrap(), *span), + Literal::Integer(integer_type, string, span) => match integer_type { + IntegerType::U8 => Self::U8(string.parse().unwrap(), *span), + IntegerType::U16 => Self::U16(string.parse().unwrap(), *span), + IntegerType::U32 => Self::U32(string.parse().unwrap(), *span), + IntegerType::U64 => Self::U64(string.parse().unwrap(), *span), + IntegerType::U128 => Self::U128(string.parse().unwrap(), *span), + IntegerType::I8 => Self::I8(string.parse().unwrap(), *span), + IntegerType::I16 => Self::I16(string.parse().unwrap(), *span), + IntegerType::I32 => Self::I32(string.parse().unwrap(), *span), + IntegerType::I64 => Self::I64(string.parse().unwrap(), *span), + IntegerType::I128 => Self::I128(string.parse().unwrap(), *span), + }, } } } @@ -900,16 +902,16 @@ impl From for Literal { Circuit(_ident, _values) => todo!("We need to test if this is hittable"), Field(v, span) => Literal::Field(v, span), Group(v) => Literal::Group(v), - I8(v, span) => Literal::I8(v.to_string(), span), - I16(v, span) => Literal::I16(v.to_string(), span), - I32(v, span) => Literal::I32(v.to_string(), span), - I64(v, span) => Literal::I64(v.to_string(), span), - I128(v, span) => Literal::I128(v.to_string(), span), - U8(v, span) => Literal::U8(v.to_string(), span), - U16(v, span) => Literal::U16(v.to_string(), span), - U32(v, span) => Literal::U32(v.to_string(), span), - U64(v, span) => Literal::U64(v.to_string(), span), - U128(v, span) => Literal::U128(v.to_string(), span), + I8(v, span) => Literal::Integer(IntegerType::I8, v.to_string(), span), + I16(v, span) => Literal::Integer(IntegerType::I16, v.to_string(), span), + I32(v, span) => Literal::Integer(IntegerType::I32, v.to_string(), span), + I64(v, span) => Literal::Integer(IntegerType::I64, v.to_string(), span), + I128(v, span) => Literal::Integer(IntegerType::I128, v.to_string(), span), + U8(v, span) => Literal::Integer(IntegerType::U8, v.to_string(), span), + U16(v, span) => Literal::Integer(IntegerType::U16, v.to_string(), span), + U32(v, span) => Literal::Integer(IntegerType::U32, v.to_string(), span), + U64(v, span) => Literal::Integer(IntegerType::U64, v.to_string(), span), + U128(v, span) => Literal::Integer(IntegerType::U128, v.to_string(), span), Scalar(v, span) => Literal::Scalar(v, span), String(v, span) => Literal::String(v, span), } diff --git a/compiler/core/src/algorithms/mod.rs b/compiler/core/src/algorithms/mod.rs index 0836e5c64b..e09042471a 100644 --- a/compiler/core/src/algorithms/mod.rs +++ b/compiler/core/src/algorithms/mod.rs @@ -22,7 +22,7 @@ pub use pedersen::*; mod poseidon; pub use poseidon::*; -use leo_ast::Type; +use leo_ast::{IntegerType, Type}; use leo_span::{sym, Symbol}; /// A core instruction that maps directly to an AVM bytecode instruction. @@ -188,44 +188,44 @@ const ALL_TYPES: [Type; 16] = [ Type::Boolean, Type::Field, Type::Group, - Type::I8, - Type::I16, - Type::I32, - Type::I64, - Type::I128, - Type::U8, - Type::U16, - Type::U32, - Type::U64, - Type::U128, + Type::Integer(IntegerType::I8), + Type::Integer(IntegerType::I16), + Type::Integer(IntegerType::I32), + Type::Integer(IntegerType::I64), + Type::Integer(IntegerType::I128), + Type::Integer(IntegerType::U8), + Type::Integer(IntegerType::U16), + Type::Integer(IntegerType::U32), + Type::Integer(IntegerType::U64), + Type::Integer(IntegerType::U128), Type::Scalar, Type::String, ]; const BOOL_INT_STRING_TYPES: [Type; 12] = [ Type::Boolean, - Type::I8, - Type::I16, - Type::I32, - Type::I64, - Type::I128, - Type::U8, - Type::U16, - Type::U32, - Type::U64, - Type::U128, + Type::Integer(IntegerType::I8), + Type::Integer(IntegerType::I16), + Type::Integer(IntegerType::I32), + Type::Integer(IntegerType::I64), + Type::Integer(IntegerType::I128), + Type::Integer(IntegerType::U8), + Type::Integer(IntegerType::U16), + Type::Integer(IntegerType::U32), + Type::Integer(IntegerType::U64), + Type::Integer(IntegerType::U128), Type::String, ]; const BOOL_INT64_STRING_TYPES: [Type; 10] = [ Type::Boolean, - Type::I8, - Type::I16, - Type::I32, - Type::I64, - Type::U8, - Type::U16, - Type::U32, - Type::U64, + Type::Integer(IntegerType::I8), + Type::Integer(IntegerType::I16), + Type::Integer(IntegerType::I32), + Type::Integer(IntegerType::I64), + Type::Integer(IntegerType::U8), + Type::Integer(IntegerType::U16), + Type::Integer(IntegerType::U32), + Type::Integer(IntegerType::U64), Type::String, ]; diff --git a/compiler/parser/src/parser/expression.rs b/compiler/parser/src/parser/expression.rs index 4b4513bd1f..c36d6fecb6 100644 --- a/compiler/parser/src/parser/expression.rs +++ b/compiler/parser/src/parser/expression.rs @@ -260,22 +260,10 @@ impl ParserContext<'_> { // If the unary operation is a negate, and the inner expression is a signed integer literal, // then produce a negative integer literal. // This helps handle a special case where -128i8, treated as a unary expression, overflows, but -128i8, treated as an integer literal doesn't. - Expression::Literal(Literal::I8(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { - Expression::Literal(Literal::I8(format!("-{}", string), op_span + span)) - } - Expression::Literal(Literal::I16(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { - Expression::Literal(Literal::I16(format!("-{}", string), op_span + span)) - } - Expression::Literal(Literal::I32(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { - Expression::Literal(Literal::I32(format!("-{}", string), op_span + span)) - } - Expression::Literal(Literal::I64(string, span)) if op == UnaryOperation::Negate && inner_is_integer => { - Expression::Literal(Literal::I64(format!("-{}", string), op_span + span)) - } - Expression::Literal(Literal::I128(string, span)) + Expression::Literal(Literal::Integer(integer_type, string, span)) if op == UnaryOperation::Negate && inner_is_integer => { - Expression::Literal(Literal::I128(format!("-{}", string), op_span + span)) + Expression::Literal(Literal::Integer(integer_type, format!("-{}", string), op_span + span)) } // Otherwise, produce a unary expression. _ => Expression::Unary(UnaryExpression { @@ -563,19 +551,8 @@ impl ParserContext<'_> { // Literal followed by other type suffix, e.g., `42u8`. Some(suffix) => { assert_no_whitespace(&suffix.to_string())?; - match suffix { - Token::I8 => Expression::Literal(Literal::I8(value, full_span)), - Token::I16 => Expression::Literal(Literal::I16(value, full_span)), - Token::I32 => Expression::Literal(Literal::I32(value, full_span)), - Token::I64 => Expression::Literal(Literal::I64(value, full_span)), - Token::I128 => Expression::Literal(Literal::I128(value, full_span)), - Token::U8 => Expression::Literal(Literal::U8(value, full_span)), - Token::U16 => Expression::Literal(Literal::U16(value, full_span)), - Token::U32 => Expression::Literal(Literal::U32(value, full_span)), - Token::U64 => Expression::Literal(Literal::U64(value, full_span)), - Token::U128 => Expression::Literal(Literal::U128(value, full_span)), - _ => return Err(ParserError::unexpected_token("Expected integer type suffix", span).into()), - } + let int_ty = Self::token_to_int_type(suffix).expect("unknown int type token"); + Expression::Literal(Literal::Integer(int_ty, value, full_span)) } None => return Err(ParserError::implicit_values_not_allowed(value, span).into()), } diff --git a/compiler/parser/src/parser/type_.rs b/compiler/parser/src/parser/type_.rs index f467a8edf1..1838f81857 100644 --- a/compiler/parser/src/parser/type_.rs +++ b/compiler/parser/src/parser/type_.rs @@ -16,7 +16,7 @@ use super::*; -use leo_errors::{ParserError, Result}; +use leo_errors::Result; pub(super) const TYPE_TOKENS: &[Token] = &[ Token::Address, @@ -38,29 +38,39 @@ pub(super) const TYPE_TOKENS: &[Token] = &[ ]; impl ParserContext<'_> { + /// Returns a [`IntegerType`] AST node if the given token is a supported integer type, or [`None`]. + pub(super) fn token_to_int_type(token: &Token) -> Option { + Some(match token { + Token::I8 => IntegerType::I8, + Token::I16 => IntegerType::I16, + Token::I32 => IntegerType::I32, + Token::I64 => IntegerType::I64, + Token::I128 => IntegerType::I128, + Token::U8 => IntegerType::U8, + Token::U16 => IntegerType::U16, + Token::U32 => IntegerType::U32, + Token::U64 => IntegerType::U64, + Token::U128 => IntegerType::U128, + _ => return None, + }) + } + /// Returns a [`(Type, Span)`] tuple of AST nodes if the next token represents a primitive type. /// Also returns the span of the parsed token. pub fn parse_primitive_type(&mut self) -> Result<(Type, Span)> { let span = self.expect_any(TYPE_TOKENS)?; - match &self.prev_token.token { - Token::Address => Ok((Type::Address, span)), - Token::Bool => Ok((Type::Boolean, span)), - Token::Field => Ok((Type::Field, span)), - Token::Group => Ok((Type::Group, span)), - Token::I8 => Ok((Type::I8, span)), - Token::I16 => Ok((Type::I16, span)), - Token::I32 => Ok((Type::I32, span)), - Token::I64 => Ok((Type::I64, span)), - Token::I128 => Ok((Type::I128, span)), - Token::Scalar => Ok((Type::Scalar, span)), - Token::String => Ok((Type::String, span)), - Token::U8 => Ok((Type::U8, span)), - Token::U16 => Ok((Type::U16, span)), - Token::U32 => Ok((Type::U32, span)), - Token::U64 => Ok((Type::U64, span)), - Token::U128 => Ok((Type::U128, span)), - _ => Err(ParserError::unexpected_token("Expected a primitive type.", span).into()), - } + Ok(( + match &self.prev_token.token { + Token::Address => Type::Address, + Token::Bool => Type::Boolean, + Token::Field => Type::Field, + Token::Group => Type::Group, + Token::Scalar => Type::Scalar, + Token::String => Type::String, + x => Type::Integer(Self::token_to_int_type(x).expect("invalid int type")), + }, + span, + )) } /// Returns a [`(Type, Span)`] tuple of AST nodes if the next token represents a type. diff --git a/compiler/passes/src/code_generation/visit_type.rs b/compiler/passes/src/code_generation/visit_type.rs index 63b21e575f..f615e09f30 100644 --- a/compiler/passes/src/code_generation/visit_type.rs +++ b/compiler/passes/src/code_generation/visit_type.rs @@ -28,16 +28,7 @@ impl<'a> CodeGenerator<'a> { | Type::Group | Type::Scalar | Type::String - | Type::I8 - | Type::I16 - | Type::I32 - | Type::I64 - | Type::I128 - | Type::U8 - | Type::U16 - | Type::U32 - | Type::U64 - | Type::U128 => format!("{}", input), + | Type::Integer(..) => format!("{}", input), Type::Identifier(ident) => { if let Some((_, type_)) = self.composite_mapping.get(&ident.name) { format!("{}.{}", ident.to_string().to_lowercase(), type_) diff --git a/compiler/passes/src/loop_unrolling/unroll_statement.rs b/compiler/passes/src/loop_unrolling/unroll_statement.rs index a0726f7028..c989b3c797 100644 --- a/compiler/passes/src/loop_unrolling/unroll_statement.rs +++ b/compiler/passes/src/loop_unrolling/unroll_statement.rs @@ -51,16 +51,20 @@ impl StatementReconstructor for Unroller<'_> { input.stop_value.clone().into_inner(), ) { (Some(start), Some(stop)) => match (Type::from(&start), Type::from(&stop)) { - (Type::I8, Type::I8) - | (Type::I16, Type::I16) - | (Type::I32, Type::I32) - | (Type::I64, Type::I64) - | (Type::I128, Type::I128) => self.unroll_iteration_statement::(input, start, stop), - (Type::U8, Type::U8) - | (Type::U16, Type::U16) - | (Type::U32, Type::U32) - | (Type::U64, Type::U64) - | (Type::U128, Type::U128) => self.unroll_iteration_statement::(input, start, stop), + (Type::Integer(IntegerType::I8), Type::Integer(IntegerType::I8)) + | (Type::Integer(IntegerType::I16), Type::Integer(IntegerType::I16)) + | (Type::Integer(IntegerType::I32), Type::Integer(IntegerType::I32)) + | (Type::Integer(IntegerType::I64), Type::Integer(IntegerType::I64)) + | (Type::Integer(IntegerType::I128), Type::Integer(IntegerType::I128)) => { + self.unroll_iteration_statement::(input, start, stop) + } + (Type::Integer(IntegerType::U8), Type::Integer(IntegerType::U8)) + | (Type::Integer(IntegerType::U16), Type::Integer(IntegerType::U16)) + | (Type::Integer(IntegerType::U32), Type::Integer(IntegerType::U32)) + | (Type::Integer(IntegerType::U64), Type::Integer(IntegerType::U64)) + | (Type::Integer(IntegerType::U128), Type::Integer(IntegerType::U128)) => { + self.unroll_iteration_statement::(input, start, stop) + } _ => unreachable!("Type checking ensures that `start` and `stop` have the same type."), }, // If both loop bounds are not constant, then the loop is not unrolled. diff --git a/compiler/passes/src/loop_unrolling/unroller.rs b/compiler/passes/src/loop_unrolling/unroller.rs index 821888be9a..5e30affe9f 100644 --- a/compiler/passes/src/loop_unrolling/unroller.rs +++ b/compiler/passes/src/loop_unrolling/unroller.rs @@ -15,7 +15,7 @@ // along with the Leo library. If not, see . use leo_ast::{ - Block, DeclarationType, DefinitionStatement, Expression, IterationStatement, Literal, Statement, + Block, DeclarationType, DefinitionStatement, Expression, IntegerType, IterationStatement, Literal, Statement, StatementReconstructor, Type, Value, }; use std::cell::RefCell; @@ -149,16 +149,36 @@ impl<'a> Unroller<'a> { // Reconstruct `iteration_count` as a `Literal`. let value = match input.type_ { - Type::I8 => Literal::I8(iteration_count.to_string(), Default::default()), - Type::I16 => Literal::I16(iteration_count.to_string(), Default::default()), - Type::I32 => Literal::I32(iteration_count.to_string(), Default::default()), - Type::I64 => Literal::I64(iteration_count.to_string(), Default::default()), - Type::I128 => Literal::I128(iteration_count.to_string(), Default::default()), - Type::U8 => Literal::U8(iteration_count.to_string(), Default::default()), - Type::U16 => Literal::U16(iteration_count.to_string(), Default::default()), - Type::U32 => Literal::U32(iteration_count.to_string(), Default::default()), - Type::U64 => Literal::U64(iteration_count.to_string(), Default::default()), - Type::U128 => Literal::U128(iteration_count.to_string(), Default::default()), + Type::Integer(IntegerType::I8) => { + Literal::Integer(IntegerType::I8, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::I16) => { + Literal::Integer(IntegerType::I16, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::I32) => { + Literal::Integer(IntegerType::I32, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::I64) => { + Literal::Integer(IntegerType::I64, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::I128) => { + Literal::Integer(IntegerType::I128, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::U8) => { + Literal::Integer(IntegerType::U8, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::U16) => { + Literal::Integer(IntegerType::U16, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::U32) => { + Literal::Integer(IntegerType::U32, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::U64) => { + Literal::Integer(IntegerType::U64, iteration_count.to_string(), Default::default()) + } + Type::Integer(IntegerType::U128) => { + Literal::Integer(IntegerType::U128, iteration_count.to_string(), Default::default()) + } _ => unreachable!( "The iteration variable must be an integer type. This should be enforced by type checking." ), diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index 5cc89f6cab..1b258cf5d7 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -480,46 +480,48 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { Literal::Address(_, _) => self.assert_and_return_type(Type::Address, expected, input.span()), Literal::Boolean(_, _) => self.assert_and_return_type(Type::Boolean, expected, input.span()), Literal::Field(_, _) => self.assert_and_return_type(Type::Field, expected, input.span()), - Literal::I8(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "i8"); - self.assert_and_return_type(Type::I8, expected, input.span()) - } - Literal::I16(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "i16"); - self.assert_and_return_type(Type::I16, expected, input.span()) - } - Literal::I32(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "i32"); - self.assert_and_return_type(Type::I32, expected, input.span()) - } - Literal::I64(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "i64"); - self.assert_and_return_type(Type::I64, expected, input.span()) - } - Literal::I128(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "i128"); - self.assert_and_return_type(Type::I128, expected, input.span()) - } - Literal::U8(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "u8"); - self.assert_and_return_type(Type::U8, expected, input.span()) - } - Literal::U16(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "u16"); - self.assert_and_return_type(Type::U16, expected, input.span()) - } - Literal::U32(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "u32"); - self.assert_and_return_type(Type::U32, expected, input.span()) - } - Literal::U64(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "u64"); - self.assert_and_return_type(Type::U64, expected, input.span()) - } - Literal::U128(string, _) => { - parse_integer_literal::(self.handler, string, input.span(), "u128"); - self.assert_and_return_type(Type::U128, expected, input.span()) - } + Literal::Integer(integer_type, string, _) => match integer_type { + IntegerType::U8 => { + parse_integer_literal::(self.handler, string, input.span(), "u8"); + self.assert_and_return_type(Type::Integer(IntegerType::U8), expected, input.span()) + } + IntegerType::U16 => { + parse_integer_literal::(self.handler, string, input.span(), "u16"); + self.assert_and_return_type(Type::Integer(IntegerType::U16), expected, input.span()) + } + IntegerType::U32 => { + parse_integer_literal::(self.handler, string, input.span(), "u32"); + self.assert_and_return_type(Type::Integer(IntegerType::U32), expected, input.span()) + } + IntegerType::U64 => { + parse_integer_literal::(self.handler, string, input.span(), "u64"); + self.assert_and_return_type(Type::Integer(IntegerType::U64), expected, input.span()) + } + IntegerType::U128 => { + parse_integer_literal::(self.handler, string, input.span(), "u128"); + self.assert_and_return_type(Type::Integer(IntegerType::U128), expected, input.span()) + } + IntegerType::I8 => { + parse_integer_literal::(self.handler, string, input.span(), "i8"); + self.assert_and_return_type(Type::Integer(IntegerType::I8), expected, input.span()) + } + IntegerType::I16 => { + parse_integer_literal::(self.handler, string, input.span(), "i16"); + self.assert_and_return_type(Type::Integer(IntegerType::I16), expected, input.span()) + } + IntegerType::I32 => { + parse_integer_literal::(self.handler, string, input.span(), "i32"); + self.assert_and_return_type(Type::Integer(IntegerType::I32), expected, input.span()) + } + IntegerType::I64 => { + parse_integer_literal::(self.handler, string, input.span(), "i64"); + self.assert_and_return_type(Type::Integer(IntegerType::I64), expected, input.span()) + } + IntegerType::I128 => { + parse_integer_literal::(self.handler, string, input.span(), "i128"); + self.assert_and_return_type(Type::Integer(IntegerType::I128), expected, input.span()) + } + }, Literal::Group(_) => self.assert_and_return_type(Type::Group, expected, input.span()), Literal::Scalar(_, _) => self.assert_and_return_type(Type::Scalar, expected, input.span()), Literal::String(_, _) => self.assert_and_return_type(Type::String, expected, input.span()), diff --git a/compiler/passes/src/type_checking/check_program.rs b/compiler/passes/src/type_checking/check_program.rs index 342da11195..620cb16723 100644 --- a/compiler/passes/src/type_checking/check_program.rs +++ b/compiler/passes/src/type_checking/check_program.rs @@ -120,7 +120,7 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { } }; check_has_field(sym::owner, Type::Address); - check_has_field(sym::gates, Type::U64); + check_has_field(sym::gates, Type::Integer(IntegerType::U64)); } // Ensure there are no tuple typed members. diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 2566f1e2a9..819d5a8bd1 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -16,7 +16,7 @@ use crate::SymbolTable; -use leo_ast::{Identifier, Node, Type}; +use leo_ast::{Identifier, IntegerType, Node, Type}; use leo_core::*; use leo_errors::{emitter::Handler, TypeCheckerError}; use leo_span::{Span, Symbol}; @@ -43,23 +43,39 @@ const GROUP_TYPE: Type = Type::Group; const SCALAR_TYPE: Type = Type::Scalar; const INT_TYPES: [Type; 10] = [ - Type::I8, - Type::I16, - Type::I32, - Type::I64, - Type::I128, - Type::U8, - Type::U16, - Type::U32, - Type::U64, - Type::U128, + Type::Integer(IntegerType::I8), + Type::Integer(IntegerType::I16), + Type::Integer(IntegerType::I32), + Type::Integer(IntegerType::I64), + Type::Integer(IntegerType::I128), + Type::Integer(IntegerType::U8), + Type::Integer(IntegerType::U16), + Type::Integer(IntegerType::U32), + Type::Integer(IntegerType::U64), + Type::Integer(IntegerType::U128), ]; -const SIGNED_INT_TYPES: [Type; 5] = [Type::I8, Type::I16, Type::I32, Type::I64, Type::I128]; +const SIGNED_INT_TYPES: [Type; 5] = [ + Type::Integer(IntegerType::I8), + Type::Integer(IntegerType::I16), + Type::Integer(IntegerType::I32), + Type::Integer(IntegerType::I64), + Type::Integer(IntegerType::I128), +]; -const UNSIGNED_INT_TYPES: [Type; 5] = [Type::U8, Type::U16, Type::U32, Type::U64, Type::U128]; +const UNSIGNED_INT_TYPES: [Type; 5] = [ + Type::Integer(IntegerType::U8), + Type::Integer(IntegerType::U16), + Type::Integer(IntegerType::U32), + Type::Integer(IntegerType::U64), + Type::Integer(IntegerType::U128), +]; -const MAGNITUDE_TYPES: [Type; 3] = [Type::U8, Type::U16, Type::U32]; +const MAGNITUDE_TYPES: [Type; 3] = [ + Type::Integer(IntegerType::U8), + Type::Integer(IntegerType::U16), + Type::Integer(IntegerType::U32), +]; impl<'a> TypeChecker<'a> { /// Returns a new type checker given a symbol table and error handler. From 2a34d31d33cd0956d2d177147f4aafc0817f2eef Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Tue, 9 Aug 2022 16:14:05 -0700 Subject: [PATCH 10/16] Regen test expectations --- .../expectations/compiler/circuits/inline.out | 6 +- .../compiler/circuits/member_variable.out | 6 +- .../compiler/console/log_conditional.out | 10 +- .../compiler/console/log_parameter.out | 6 +- .../compiler/console/log_parameter_many.out | 6 +- .../core/algorithms/bhp1024_commit.out | 8 +- .../compiler/core/algorithms/bhp1024_hash.out | 8 +- .../core/algorithms/bhp256_commit.out | 8 +- .../compiler/core/algorithms/bhp256_hash.out | 8 +- .../core/algorithms/bhp512_commit.out | 8 +- .../compiler/core/algorithms/bhp512_hash.out | 8 +- .../core/algorithms/bhp768_commit.out | 8 +- .../compiler/core/algorithms/bhp768_hash.out | 8 +- .../core/algorithms/pedersen128_hash.out | 8 +- .../core/algorithms/pedersen64_hash.out | 8 +- .../core/algorithms/poseidon2_hash.out | 8 +- .../core/algorithms/poseidon4_hash.out | 8 +- .../core/algorithms/poseidon8_hash.out | 8 +- .../compiler/function/conditional_return.out | 8 +- .../compiler/function/function_call.out | 8 +- .../compiler/integers/i128/add.out | 8 +- .../compiler/integers/i128/and.out | 8 +- .../compiler/integers/i128/console_assert.out | 8 +- .../compiler/integers/i128/div.out | 8 +- .../compiler/integers/i128/eq.out | 8 +- .../compiler/integers/i128/ge.out | 10 +- .../compiler/integers/i128/gt.out | 10 +- .../compiler/integers/i128/le.out | 10 +- .../compiler/integers/i128/lt.out | 10 +- .../compiler/integers/i128/max.out | 8 +- .../compiler/integers/i128/min.out | 8 +- .../compiler/integers/i128/min_fail.out | 6 +- .../compiler/integers/i128/mul.out | 8 +- .../compiler/integers/i128/ne.out | 10 +- .../compiler/integers/i128/negate.out | 10 +- .../integers/i128/negate_min_fail.out | 6 +- .../compiler/integers/i128/negate_zero.out | 6 +- .../integers/i128/operator_methods.out | 8 +- .../compiler/integers/i128/or.out | 8 +- .../compiler/integers/i128/pow.out | 8 +- .../compiler/integers/i128/rem.out | 8 +- .../compiler/integers/i128/shl.out | 8 +- .../compiler/integers/i128/shr.out | 8 +- .../compiler/integers/i128/sub.out | 8 +- .../compiler/integers/i128/ternary.out | 10 +- .../compiler/integers/i128/xor.out | 8 +- .../compiler/integers/i16/add.out | 8 +- .../compiler/integers/i16/and.out | 8 +- .../compiler/integers/i16/console_assert.out | 8 +- .../compiler/integers/i16/div.out | 8 +- .../expectations/compiler/integers/i16/eq.out | 8 +- .../expectations/compiler/integers/i16/ge.out | 10 +- .../expectations/compiler/integers/i16/gt.out | 10 +- .../expectations/compiler/integers/i16/le.out | 10 +- .../expectations/compiler/integers/i16/lt.out | 10 +- .../compiler/integers/i16/max.out | 8 +- .../compiler/integers/i16/min.out | 8 +- .../compiler/integers/i16/min_fail.out | 6 +- .../compiler/integers/i16/mul.out | 8 +- .../expectations/compiler/integers/i16/ne.out | 10 +- .../compiler/integers/i16/negate.out | 10 +- .../compiler/integers/i16/negate_min_fail.out | 6 +- .../compiler/integers/i16/negate_zero.out | 6 +- .../integers/i16/operator_methods.out | 8 +- .../expectations/compiler/integers/i16/or.out | 8 +- .../compiler/integers/i16/pow.out | 8 +- .../compiler/integers/i16/rem.out | 8 +- .../compiler/integers/i16/shl.out | 8 +- .../compiler/integers/i16/shr.out | 8 +- .../compiler/integers/i16/sub.out | 8 +- .../compiler/integers/i16/ternary.out | 10 +- .../compiler/integers/i16/xor.out | 8 +- .../compiler/integers/i32/add.out | 8 +- .../compiler/integers/i32/and.out | 8 +- .../compiler/integers/i32/console_assert.out | 8 +- .../compiler/integers/i32/div.out | 8 +- .../expectations/compiler/integers/i32/eq.out | 8 +- .../expectations/compiler/integers/i32/ge.out | 10 +- .../expectations/compiler/integers/i32/gt.out | 10 +- .../expectations/compiler/integers/i32/le.out | 10 +- .../expectations/compiler/integers/i32/lt.out | 10 +- .../compiler/integers/i32/max.out | 8 +- .../compiler/integers/i32/min.out | 8 +- .../compiler/integers/i32/min_fail.out | 6 +- .../compiler/integers/i32/mul.out | 8 +- .../expectations/compiler/integers/i32/ne.out | 10 +- .../compiler/integers/i32/negate.out | 10 +- .../compiler/integers/i32/negate_min_fail.out | 6 +- .../compiler/integers/i32/negate_zero.out | 6 +- .../integers/i32/operator_methods.out | 8 +- .../expectations/compiler/integers/i32/or.out | 8 +- .../compiler/integers/i32/pow.out | 8 +- .../compiler/integers/i32/rem.out | 8 +- .../compiler/integers/i32/shl.out | 8 +- .../compiler/integers/i32/shr.out | 8 +- .../compiler/integers/i32/sub.out | 8 +- .../compiler/integers/i32/ternary.out | 10 +- .../compiler/integers/i32/xor.out | 8 +- .../compiler/integers/i64/add.out | 8 +- .../compiler/integers/i64/and.out | 8 +- .../compiler/integers/i64/console_assert.out | 8 +- .../compiler/integers/i64/div.out | 8 +- .../expectations/compiler/integers/i64/eq.out | 8 +- .../expectations/compiler/integers/i64/ge.out | 10 +- .../expectations/compiler/integers/i64/gt.out | 10 +- .../expectations/compiler/integers/i64/le.out | 10 +- .../expectations/compiler/integers/i64/lt.out | 10 +- .../compiler/integers/i64/max.out | 8 +- .../compiler/integers/i64/min.out | 8 +- .../compiler/integers/i64/min_fail.out | 6 +- .../compiler/integers/i64/mul.out | 8 +- .../expectations/compiler/integers/i64/ne.out | 10 +- .../compiler/integers/i64/negate.out | 10 +- .../compiler/integers/i64/negate_min_fail.out | 6 +- .../compiler/integers/i64/negate_zero.out | 6 +- .../integers/i64/operator_methods.out | 8 +- .../expectations/compiler/integers/i64/or.out | 8 +- .../compiler/integers/i64/pow.out | 8 +- .../compiler/integers/i64/rem.out | 8 +- .../compiler/integers/i64/shl.out | 8 +- .../compiler/integers/i64/shr.out | 8 +- .../compiler/integers/i64/sub.out | 8 +- .../compiler/integers/i64/ternary.out | 10 +- .../compiler/integers/i64/xor.out | 8 +- .../expectations/compiler/integers/i8/add.out | 8 +- .../expectations/compiler/integers/i8/and.out | 8 +- .../compiler/integers/i8/console_assert.out | 8 +- .../expectations/compiler/integers/i8/div.out | 8 +- .../expectations/compiler/integers/i8/eq.out | 8 +- .../expectations/compiler/integers/i8/ge.out | 10 +- .../expectations/compiler/integers/i8/gt.out | 10 +- .../expectations/compiler/integers/i8/le.out | 10 +- .../expectations/compiler/integers/i8/lt.out | 10 +- .../expectations/compiler/integers/i8/max.out | 8 +- .../expectations/compiler/integers/i8/min.out | 8 +- .../compiler/integers/i8/min_fail.out | 6 +- .../expectations/compiler/integers/i8/mul.out | 8 +- .../expectations/compiler/integers/i8/ne.out | 10 +- .../compiler/integers/i8/negate.out | 10 +- .../compiler/integers/i8/negate_min_fail.out | 6 +- .../compiler/integers/i8/negate_zero.out | 6 +- .../compiler/integers/i8/operator_methods.out | 8 +- .../expectations/compiler/integers/i8/or.out | 8 +- .../expectations/compiler/integers/i8/pow.out | 8 +- .../expectations/compiler/integers/i8/rem.out | 8 +- .../expectations/compiler/integers/i8/shl.out | 8 +- .../expectations/compiler/integers/i8/shr.out | 8 +- .../expectations/compiler/integers/i8/sub.out | 8 +- .../compiler/integers/i8/ternary.out | 10 +- .../expectations/compiler/integers/i8/xor.out | 8 +- .../compiler/integers/u128/add.out | 8 +- .../compiler/integers/u128/and.out | 8 +- .../compiler/integers/u128/console_assert.out | 8 +- .../compiler/integers/u128/div.out | 8 +- .../compiler/integers/u128/eq.out | 8 +- .../compiler/integers/u128/ge.out | 10 +- .../compiler/integers/u128/gt.out | 10 +- .../compiler/integers/u128/le.out | 10 +- .../compiler/integers/u128/lt.out | 10 +- .../compiler/integers/u128/max.out | 6 +- .../compiler/integers/u128/min.out | 6 +- .../compiler/integers/u128/mul.out | 8 +- .../compiler/integers/u128/ne.out | 10 +- .../integers/u128/operator_methods.out | 8 +- .../compiler/integers/u128/or.out | 8 +- .../compiler/integers/u128/pow.out | 6 +- .../compiler/integers/u128/rem.out | 8 +- .../compiler/integers/u128/shl.out | 8 +- .../compiler/integers/u128/shr.out | 8 +- .../compiler/integers/u128/sub.out | 8 +- .../compiler/integers/u128/ternary.out | 10 +- .../compiler/integers/u128/xor.out | 8 +- .../compiler/integers/u16/add.out | 8 +- .../compiler/integers/u16/and.out | 8 +- .../compiler/integers/u16/console_assert.out | 8 +- .../compiler/integers/u16/div.out | 8 +- .../expectations/compiler/integers/u16/eq.out | 8 +- .../expectations/compiler/integers/u16/ge.out | 10 +- .../expectations/compiler/integers/u16/gt.out | 10 +- .../expectations/compiler/integers/u16/le.out | 10 +- .../expectations/compiler/integers/u16/lt.out | 10 +- .../compiler/integers/u16/max.out | 6 +- .../compiler/integers/u16/min.out | 6 +- .../compiler/integers/u16/mul.out | 8 +- .../expectations/compiler/integers/u16/ne.out | 10 +- .../integers/u16/operator_methods.out | 8 +- .../expectations/compiler/integers/u16/or.out | 8 +- .../compiler/integers/u16/pow.out | 8 +- .../compiler/integers/u16/rem.out | 8 +- .../compiler/integers/u16/shl.out | 8 +- .../compiler/integers/u16/shr.out | 8 +- .../compiler/integers/u16/sub.out | 8 +- .../compiler/integers/u16/ternary.out | 10 +- .../compiler/integers/u16/xor.out | 8 +- .../compiler/integers/u32/add.out | 8 +- .../compiler/integers/u32/and.out | 8 +- .../compiler/integers/u32/console_assert.out | 8 +- .../compiler/integers/u32/div.out | 8 +- .../expectations/compiler/integers/u32/eq.out | 8 +- .../expectations/compiler/integers/u32/ge.out | 10 +- .../expectations/compiler/integers/u32/gt.out | 10 +- .../expectations/compiler/integers/u32/le.out | 10 +- .../expectations/compiler/integers/u32/lt.out | 10 +- .../compiler/integers/u32/max.out | 6 +- .../compiler/integers/u32/min.out | 6 +- .../compiler/integers/u32/mul.out | 8 +- .../expectations/compiler/integers/u32/ne.out | 10 +- .../integers/u32/operator_methods.out | 8 +- .../expectations/compiler/integers/u32/or.out | 8 +- .../compiler/integers/u32/pow.out | 8 +- .../compiler/integers/u32/rem.out | 8 +- .../compiler/integers/u32/shl.out | 8 +- .../compiler/integers/u32/shr.out | 8 +- .../compiler/integers/u32/sub.out | 8 +- .../compiler/integers/u32/ternary.out | 10 +- .../compiler/integers/u32/xor.out | 8 +- .../compiler/integers/u64/add.out | 8 +- .../compiler/integers/u64/and.out | 8 +- .../compiler/integers/u64/console_assert.out | 8 +- .../compiler/integers/u64/div.out | 8 +- .../expectations/compiler/integers/u64/eq.out | 8 +- .../expectations/compiler/integers/u64/ge.out | 10 +- .../expectations/compiler/integers/u64/gt.out | 10 +- .../expectations/compiler/integers/u64/le.out | 10 +- .../expectations/compiler/integers/u64/lt.out | 10 +- .../compiler/integers/u64/max.out | 6 +- .../compiler/integers/u64/min.out | 6 +- .../compiler/integers/u64/mul.out | 8 +- .../expectations/compiler/integers/u64/ne.out | 10 +- .../integers/u64/operator_methods.out | 8 +- .../expectations/compiler/integers/u64/or.out | 8 +- .../compiler/integers/u64/pow.out | 8 +- .../compiler/integers/u64/rem.out | 8 +- .../compiler/integers/u64/shl.out | 8 +- .../compiler/integers/u64/shr.out | 8 +- .../compiler/integers/u64/sub.out | 8 +- .../compiler/integers/u64/ternary.out | 10 +- .../compiler/integers/u64/xor.out | 8 +- .../expectations/compiler/integers/u8/add.out | 8 +- .../expectations/compiler/integers/u8/and.out | 8 +- .../compiler/integers/u8/console_assert.out | 8 +- .../expectations/compiler/integers/u8/div.out | 8 +- .../expectations/compiler/integers/u8/eq.out | 8 +- .../expectations/compiler/integers/u8/ge.out | 10 +- .../expectations/compiler/integers/u8/gt.out | 10 +- .../expectations/compiler/integers/u8/le.out | 10 +- .../expectations/compiler/integers/u8/lt.out | 10 +- .../expectations/compiler/integers/u8/max.out | 6 +- .../expectations/compiler/integers/u8/min.out | 6 +- .../expectations/compiler/integers/u8/mul.out | 8 +- .../expectations/compiler/integers/u8/ne.out | 10 +- .../compiler/integers/u8/operator_methods.out | 8 +- .../expectations/compiler/integers/u8/or.out | 8 +- .../expectations/compiler/integers/u8/pow.out | 8 +- .../expectations/compiler/integers/u8/rem.out | 8 +- .../expectations/compiler/integers/u8/shl.out | 8 +- .../expectations/compiler/integers/u8/shr.out | 8 +- .../expectations/compiler/integers/u8/sub.out | 8 +- .../compiler/integers/u8/ternary.out | 10 +- .../expectations/compiler/integers/u8/xor.out | 8 +- .../compiler/records/declaration.out | 6 +- .../compiler/records/init_expression.out | 6 +- .../records/init_expression_shorthand.out | 6 +- .../compiler/statements/assign.out | 8 +- .../compiler/statements/block.out | 8 +- .../compiler/statements/chain.out | 12 +- .../compare_invalid_negates_fail.out | 2 +- .../compiler/statements/iteration_basic.out | 8 +- .../compiler/statements/iteration_nested.out | 8 +- .../compiler/statements/multiple_returns.out | 10 +- .../compiler/statements/mutate.out | 10 +- .../statements/operations/add_assign.out | 6 +- .../statements/operations/bitand_assign.out | 6 +- .../statements/operations/bitor_assign.out | 6 +- .../statements/operations/bitxor_assign.out | 6 +- .../statements/operations/div_assign.out | 6 +- .../statements/operations/mul_assign.out | 6 +- .../statements/operations/pow_assign.out | 6 +- .../statements/operations/rem_assign.out | 6 +- .../statements/operations/shl_assign.out | 6 +- .../statements/operations/shr_assign.out | 6 +- .../statements/operations/sub_assign.out | 6 +- .../ternary_explicit_and_implicit.out | 8 +- .../compiler/tuple/function_early_return.out | 8 +- .../compiler/tuple/function_return.out | 8 +- .../parser/expression/binary/add.out | 60 ++-- .../parser/expression/binary/bit_and.out | 60 ++-- .../parser/expression/binary/bit_or.out | 60 ++-- .../parser/expression/binary/bit_xor.out | 60 ++-- .../parser/expression/binary/div.out | 33 +- .../parser/expression/binary/eq.out | 48 ++- .../parser/expression/binary/ge.out | 24 +- .../parser/expression/binary/gt.out | 24 +- .../parser/expression/binary/le.out | 24 +- .../parser/expression/binary/lt.out | 24 +- .../parser/expression/binary/mul.out | 51 ++- .../parser/expression/binary/neq.out | 48 ++- .../parser/expression/binary/pow.out | 21 +- .../parser/expression/binary/rem.out | 33 +- .../parser/expression/binary/shl.out | 60 ++-- .../parser/expression/binary/shr.out | 60 ++-- .../parser/expression/binary/sub.out | 33 +- .../expression/literal/int_parse/i128.out | 315 ++++++++++++------ .../expression/literal/int_parse/i16.out | 315 ++++++++++++------ .../expression/literal/int_parse/i32.out | 315 ++++++++++++------ .../expression/literal/int_parse/i64.out | 315 ++++++++++++------ .../expression/literal/int_parse/i8.out | 315 ++++++++++++------ .../expression/literal/int_parse/u128.out | 315 ++++++++++++------ .../expression/literal/int_parse/u16.out | 315 ++++++++++++------ .../expression/literal/int_parse/u32.out | 315 ++++++++++++------ .../expression/literal/int_parse/u64.out | 315 ++++++++++++------ .../expression/literal/int_parse/u8.out | 315 ++++++++++++------ .../parser/expression/unary/neg.out | 9 +- .../parser/functions/annotated_context.out | 12 +- .../parser/functions/annotated_functions.out | 9 +- .../parser/functions/const_input.out | 12 +- .../parser/functions/const_param.out | 24 +- .../functions/danling_annotations_fail.out | 3 +- .../expectations/parser/functions/empty2.out | 3 +- .../expectations/parser/functions/params.out | 12 +- .../parser/functions/params_return.out | 12 +- .../parser/functions/public_param.out | 24 +- .../expectations/parser/functions/return.out | 6 +- .../parser/inputs/input_const.out | 24 +- .../parser/inputs/input_constant.out | 24 +- .../parser/inputs/input_public.out | 24 +- .../parser/serialize/one_plus_one.out | 11 +- tests/expectations/parser/statement/block.out | 9 +- .../parser/statement/conditional.out | 9 +- .../parser/statement/definition.out | 36 +- .../parser/statement/iteration.out | 33 +- .../expectations/parser/statement/return.out | 3 +- .../parser/unreachable/math_op_pass.out | 21 +- .../parser/unreachable/postfix_pass.out | 75 +++-- 334 files changed, 4009 insertions(+), 2585 deletions(-) diff --git a/tests/expectations/compiler/circuits/inline.out b/tests/expectations/compiler/circuits/inline.out index feb75b8603..3ca5c99c6f 100644 --- a/tests/expectations/compiler/circuits/inline.out +++ b/tests/expectations/compiler/circuits/inline.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 42b05cc1bf023a01dd8f8e2ae9269ebea9d33d9e33f2817700947882de3a68d6 - unrolled_ast: 42b05cc1bf023a01dd8f8e2ae9269ebea9d33d9e33f2817700947882de3a68d6 - ssa_ast: 8393011c629a3b5e4916744d7ad11cb04e5859608f98f134acbb8f4b489bce3c + initial_ast: 5c65976b4634ee0fbbad7377b00319b0c0e855c96bfbdd67239f374029116764 + unrolled_ast: 5c65976b4634ee0fbbad7377b00319b0c0e855c96bfbdd67239f374029116764 + ssa_ast: a906b7af20a005df6964f8eebd9699d90dd4fa004d30e13e313f9e0c68c98973 diff --git a/tests/expectations/compiler/circuits/member_variable.out b/tests/expectations/compiler/circuits/member_variable.out index 943f519526..892dfcbaf8 100644 --- a/tests/expectations/compiler/circuits/member_variable.out +++ b/tests/expectations/compiler/circuits/member_variable.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 3ad7f9e1a4aa5edb8ab4cc1eb0d4baa189f8d388eb90565a269098cee9b06d3c - initial_ast: dbf04a84f2365baaba791dc1e55efdbbaff17159e04506a0cb4678a6ea5e6c5f - unrolled_ast: dbf04a84f2365baaba791dc1e55efdbbaff17159e04506a0cb4678a6ea5e6c5f - ssa_ast: e550a6a7bd2b01a57065db34ce68144a30ce42f2077888795ddaa79ce81291ac + initial_ast: 104350e2f6dda8259ba0a4d7328471cba029bca9fa76fe0e4776900662fdce6f + unrolled_ast: 104350e2f6dda8259ba0a4d7328471cba029bca9fa76fe0e4776900662fdce6f + ssa_ast: 338dc89f05324c4527d992c7f82953921e6c2f36f2c2e39a4dc6525760350b6a diff --git a/tests/expectations/compiler/console/log_conditional.out b/tests/expectations/compiler/console/log_conditional.out index 14b46607f8..21a84df429 100644 --- a/tests/expectations/compiler/console/log_conditional.out +++ b/tests/expectations/compiler/console/log_conditional.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b87ab1284b31d3833752609e052fca4ab8897966498304a704da44c2e2e40646 - - initial_input_ast: 518590e47d3c1eefd56a4b20dee801e1149974bbec280afed58a8c1960b74485 - initial_ast: 5a8395f339c4e2c3614c478fb3bd1841f4fb711aa60c39b94c6576c2788a7354 - unrolled_ast: 5a8395f339c4e2c3614c478fb3bd1841f4fb711aa60c39b94c6576c2788a7354 - ssa_ast: e7d52a59e25fe61e60bf751a80312b40e46c1d67e1bfc442643bf0a87ef22569 + - initial_input_ast: 06ca750e19583956979968f4f3fa54ae1e11219af80c88b2722ca4a169b48751 + - initial_input_ast: bdf478032fd867197166feec39cb6c567c15c78a9b0ce919730dc36ed5fdfac2 + initial_ast: 3bb4a339efa4ee13910a9d124bfa9accfabb3f0ee2ea26bb0fc801bf3060f665 + unrolled_ast: 3bb4a339efa4ee13910a9d124bfa9accfabb3f0ee2ea26bb0fc801bf3060f665 + ssa_ast: 6c85fcd78c7bd2a71868187c155bab28ef477e8b3ad9ccc449d7e7584427643e diff --git a/tests/expectations/compiler/console/log_parameter.out b/tests/expectations/compiler/console/log_parameter.out index a136d7bbb6..c199cbb1ba 100644 --- a/tests/expectations/compiler/console/log_parameter.out +++ b/tests/expectations/compiler/console/log_parameter.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 987814f874125b118371952a4d882da2c78ee2c441d8fb228372ec0c8f2c5aad - initial_ast: ee164e9e7399f1f2de3d10d04648c33c5ed334bdd80b60e71bff4598614434f4 - unrolled_ast: ee164e9e7399f1f2de3d10d04648c33c5ed334bdd80b60e71bff4598614434f4 - ssa_ast: a711efa647428b754f482a984895680893bc65b3e22ef55b7feb7033bcab2edf + initial_ast: 5ad90e127767873141d0ffb7aece1ea35cf0596a4af53a4445de27913896bef8 + unrolled_ast: 5ad90e127767873141d0ffb7aece1ea35cf0596a4af53a4445de27913896bef8 + ssa_ast: 9619d9cc3de3033bddaa53a99e4b1f7156f5a71e73b2a47c40c0fe2d8141b9d4 diff --git a/tests/expectations/compiler/console/log_parameter_many.out b/tests/expectations/compiler/console/log_parameter_many.out index 15c1a9e68c..23b0d3deb5 100644 --- a/tests/expectations/compiler/console/log_parameter_many.out +++ b/tests/expectations/compiler/console/log_parameter_many.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 7f94df9586954921fa1d2a86514669de35d102d4544fde34645d042810684363 - initial_ast: 6ad2d0250ad3b4f09759024662225ef696a11dc28106c947b009073d23458800 - unrolled_ast: 6ad2d0250ad3b4f09759024662225ef696a11dc28106c947b009073d23458800 - ssa_ast: 6f67d640a8558cf6edd31bfbf722d7e3a83515b79c0aa2fd5ff64e2e39fdea6f + initial_ast: b040faf711350fd0a4d5a0f2d24683f3b276cf1e602ed068a419c619bd98b415 + unrolled_ast: b040faf711350fd0a4d5a0f2d24683f3b276cf1e602ed068a419c619bd98b415 + ssa_ast: 2a2f280b8c485c925fef23ceca24379dd5ff57374ebed0d503366575589bcaa8 diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out index 82e0122136..0677b421c6 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 43992721d507407a33d10f3afff1a090bb2ec0471e95e575f24cefc1fc7bf2ff - initial_ast: cd6f620d1b50c366e79eaa9b4a80bd9ce6060239cb2ae5c2eb241b8206e52f01 - unrolled_ast: cd6f620d1b50c366e79eaa9b4a80bd9ce6060239cb2ae5c2eb241b8206e52f01 - ssa_ast: 460516746a59780de3935221797c236a7bad2e475a8078a30a809403c67836ae + - initial_input_ast: e2bfa0e0050ddd8f84ce1a20c2ffc199a98ca3cbf8127be7981ac6a9bf6cad17 + initial_ast: 9c2e14a8cb8c917f977bb28febb830d65f83c8cce6102d1302396d797eca312f + unrolled_ast: 9c2e14a8cb8c917f977bb28febb830d65f83c8cce6102d1302396d797eca312f + ssa_ast: 953e64b995f1db499d4af9196751daf05c19ff8586058f8816bbc8e59071d7dd diff --git a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out index 8a3a104bb0..87a65ef4e8 100644 --- a/tests/expectations/compiler/core/algorithms/bhp1024_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp1024_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4e49ec4d638b46ab5f86cdc3a490f0a9074ed71065bfe39e4c3400fa7e7d729b - initial_ast: af858f851dfec04c4d206755aa91b0ab701a13cbffa77a88c93a7a6a4483ebf3 - unrolled_ast: af858f851dfec04c4d206755aa91b0ab701a13cbffa77a88c93a7a6a4483ebf3 - ssa_ast: 9adff39c81008da0d1152fe1f8bca8d1c106e793fafbc05ba3778c351b2ea391 + - initial_input_ast: fbfd0e7729a170e9ad5edbe89d81a834f80286bdac7386e976bef82006266241 + initial_ast: 3bb94652d20591cab35478dd2d59a559f1c8f26e2561bb707c31343e9c3d482b + unrolled_ast: 3bb94652d20591cab35478dd2d59a559f1c8f26e2561bb707c31343e9c3d482b + ssa_ast: ae587914b9e8979809455e4d184b29b0e069e43b4d00cfa9c1d8dc4467497c89 diff --git a/tests/expectations/compiler/core/algorithms/bhp256_commit.out b/tests/expectations/compiler/core/algorithms/bhp256_commit.out index beebe72081..75f4f4059e 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e57e2971deec32a3b718fd4acc86c7d71fc2acbdba6c81f28c2a510b3fa64947 - initial_ast: 0f356614fca7d35440b1c677d973a166009b0b2e8c09ec6445f542dd5baaddd9 - unrolled_ast: 0f356614fca7d35440b1c677d973a166009b0b2e8c09ec6445f542dd5baaddd9 - ssa_ast: a11cb24779cce1859966931b08208aaa9cd8db6cdceb7f7e27246678a92ff748 + - initial_input_ast: 30bcdf9e3064f59cff10bde5c59834ff95d21da38a9f0db7f12dee3017ae5887 + initial_ast: 7169ffd66a51e90cfdeabe43eec375b249f37b817f2678768b491ef6e2ad931a + unrolled_ast: 7169ffd66a51e90cfdeabe43eec375b249f37b817f2678768b491ef6e2ad931a + ssa_ast: 1d956eda2272fca55c831aae60ba2dac46d30a550e0091dd2ff8eddf9a811165 diff --git a/tests/expectations/compiler/core/algorithms/bhp256_hash.out b/tests/expectations/compiler/core/algorithms/bhp256_hash.out index 4e75db6322..34c21d8f5c 100644 --- a/tests/expectations/compiler/core/algorithms/bhp256_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp256_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a76e3cbec17567bc7e5f8377c10fd50c145ab29ef6f915dd867c398412d9715b - initial_ast: d62b24b6e20445b7a669320bc023d2f8f74ae3dfeaf4cba935760e11b5b98ff1 - unrolled_ast: d62b24b6e20445b7a669320bc023d2f8f74ae3dfeaf4cba935760e11b5b98ff1 - ssa_ast: 5b29bf98344df84d0fcf41e0c10c64f1eddff792260c3f0104ef2a20834a9001 + - initial_input_ast: 8c88aa92e2f75c9e87085f5f02553aa660cecd69581cbcaccd29b27fd2d075a8 + initial_ast: bef7cb39477c6e74c2d5569dcbeb540af561fda971924bbc9bcf6a93e385ba30 + unrolled_ast: bef7cb39477c6e74c2d5569dcbeb540af561fda971924bbc9bcf6a93e385ba30 + ssa_ast: 6ba100cc26ba1d62e606fcb3f5cc11eb0fca4714227d1a5d3dbd91bcd282e5df diff --git a/tests/expectations/compiler/core/algorithms/bhp512_commit.out b/tests/expectations/compiler/core/algorithms/bhp512_commit.out index 7b2d343455..28cbfe1508 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e57e2971deec32a3b718fd4acc86c7d71fc2acbdba6c81f28c2a510b3fa64947 - initial_ast: 2bd84fb0d42145c35bd237786c3bc551047c7e07d93007adc5c660c3cc81e00b - unrolled_ast: 2bd84fb0d42145c35bd237786c3bc551047c7e07d93007adc5c660c3cc81e00b - ssa_ast: 393594ff11f2cda5ba5ca5f4638dfc1b976cbced62c26414cb6f3787bc59650b + - initial_input_ast: 30bcdf9e3064f59cff10bde5c59834ff95d21da38a9f0db7f12dee3017ae5887 + initial_ast: 4e081c0897bb0b2e66078430d5e5b4cbc6f27d400be7a41be7efd59b2da12c17 + unrolled_ast: 4e081c0897bb0b2e66078430d5e5b4cbc6f27d400be7a41be7efd59b2da12c17 + ssa_ast: 35dc2d3b8ccc5cd4277132d66322e3c46d07e9f7ac53abd4c51893275eec56cd diff --git a/tests/expectations/compiler/core/algorithms/bhp512_hash.out b/tests/expectations/compiler/core/algorithms/bhp512_hash.out index a24f95a7bc..755286074a 100644 --- a/tests/expectations/compiler/core/algorithms/bhp512_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp512_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a76e3cbec17567bc7e5f8377c10fd50c145ab29ef6f915dd867c398412d9715b - initial_ast: ebf8a008fb067b77d7483defca92ecfddd245f73f62470d99b06c4f82c7ef4fd - unrolled_ast: ebf8a008fb067b77d7483defca92ecfddd245f73f62470d99b06c4f82c7ef4fd - ssa_ast: 0ff15ecd2fe1e688bf2de9ca9ce5d28fbef3eb96d4277a1e8e907b5418e5fc56 + - initial_input_ast: 8c88aa92e2f75c9e87085f5f02553aa660cecd69581cbcaccd29b27fd2d075a8 + initial_ast: 9617cc65bc15eb1fa6ef3daa28a1d1e6befa0a754272ed3f1e8902711c9f8868 + unrolled_ast: 9617cc65bc15eb1fa6ef3daa28a1d1e6befa0a754272ed3f1e8902711c9f8868 + ssa_ast: 6c34e63da14996d3fcd11967bc7075437352b276ca84edbc39e239a370032d63 diff --git a/tests/expectations/compiler/core/algorithms/bhp768_commit.out b/tests/expectations/compiler/core/algorithms/bhp768_commit.out index 9e786a05ff..7b538243e3 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_commit.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_commit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e57e2971deec32a3b718fd4acc86c7d71fc2acbdba6c81f28c2a510b3fa64947 - initial_ast: c6609dd05a455d442e77e74d9674fe0b78f058ea7d39bd613cd0a3ed1fa8b737 - unrolled_ast: c6609dd05a455d442e77e74d9674fe0b78f058ea7d39bd613cd0a3ed1fa8b737 - ssa_ast: 713254e721a386bf17b91ae94815d344cb0e1e186b05dfbd8b976da2555c6bf7 + - initial_input_ast: 30bcdf9e3064f59cff10bde5c59834ff95d21da38a9f0db7f12dee3017ae5887 + initial_ast: c964668b045cb461255ec028c7ff47e22e8e64cc2b4d319332550268d8f812fb + unrolled_ast: c964668b045cb461255ec028c7ff47e22e8e64cc2b4d319332550268d8f812fb + ssa_ast: 59f2d4cbfa42518b6d01d7a997c37ce57f359bce237063b52071dbd125d36c2c diff --git a/tests/expectations/compiler/core/algorithms/bhp768_hash.out b/tests/expectations/compiler/core/algorithms/bhp768_hash.out index e8c4da6b23..d1ddd00c1b 100644 --- a/tests/expectations/compiler/core/algorithms/bhp768_hash.out +++ b/tests/expectations/compiler/core/algorithms/bhp768_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a76e3cbec17567bc7e5f8377c10fd50c145ab29ef6f915dd867c398412d9715b - initial_ast: 253c0b07c4c4dbe54760158ff1d49636694e544805c492182bdea4868c8fbc10 - unrolled_ast: 253c0b07c4c4dbe54760158ff1d49636694e544805c492182bdea4868c8fbc10 - ssa_ast: 835158424ce3d9b44cfa2a14e1e9b2bec1d2fbe245f4b17906bfa171242b4357 + - initial_input_ast: 8c88aa92e2f75c9e87085f5f02553aa660cecd69581cbcaccd29b27fd2d075a8 + initial_ast: 4a1a4a5d4a5a3431e2c05495cbade311f82a48473ae50f21381d68b1cca46c92 + unrolled_ast: 4a1a4a5d4a5a3431e2c05495cbade311f82a48473ae50f21381d68b1cca46c92 + ssa_ast: 2c8f3d902d429bb3b7d89b3c6b15a42cf0d38d2d3673db077df2f6e7fb8d94c1 diff --git a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out index 913417bd52..024daee705 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen128_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen128_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2b3b80f8bbbc37a19b90063fc5aef3ede42acae5cd7c283e112de1f9379cb3ff - initial_ast: 205bd154440ab96e5dece07a2502163fa5af0c71fdd77de5a63701c5f1253321 - unrolled_ast: 205bd154440ab96e5dece07a2502163fa5af0c71fdd77de5a63701c5f1253321 - ssa_ast: 05c7ffce246d0327645a88a24a01bad8a8aa2fdb99cd2d6b08857fd055f17f69 + - initial_input_ast: 43e7c413d898dd18070456e6875adbf73a93f3cd2703fc7f6bc7c793d8063bbd + initial_ast: 5ae7882af5f6a744795df6b35b8bcbc34def145069cd58561e2d7b1a4c4da12c + unrolled_ast: 5ae7882af5f6a744795df6b35b8bcbc34def145069cd58561e2d7b1a4c4da12c + ssa_ast: 8e0e3dbb1c15e9e605cdd60f86a71b3b40884a3c618257637ae3f34a8972a7ad diff --git a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out index 5822c5fe0c..eaaf93e563 100644 --- a/tests/expectations/compiler/core/algorithms/pedersen64_hash.out +++ b/tests/expectations/compiler/core/algorithms/pedersen64_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f037dfade413579955a2e52e6e96b71427af03d7defe97d47df88b0c73ca3690 - initial_ast: ca217c6f3aea50ceb8950ca5800e024aed65541460d32e4525b786297a35badf - unrolled_ast: ca217c6f3aea50ceb8950ca5800e024aed65541460d32e4525b786297a35badf - ssa_ast: fbf68197740665762e53fe739fc22ba921785e1aeba945c9f0093fc7a9f2fd43 + - initial_input_ast: e4ca07cbf83cbb0689e77f23f535f3e207b95e02ced7b97c0e54181109e4e435 + initial_ast: da050bd06b235a73f9ef845b873d3ae9b20220524dcfe6a04591c2ff6056139d + unrolled_ast: da050bd06b235a73f9ef845b873d3ae9b20220524dcfe6a04591c2ff6056139d + ssa_ast: f1e9fe73ab40c7eda4bec6fe3e9c795dc5bc7752a57c8c896591da44fd28b226 diff --git a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out index 8a6f840309..bc756864f6 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon2_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon2_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8c4833854e62c3d51519f2858909f9c64e9864a11f55a82c8f7e7f6bd02fa823 - initial_ast: 1861d68bda8e64e4407e6da2418d6133bd032cbe454b400403ac1541ef5a38b2 - unrolled_ast: 1861d68bda8e64e4407e6da2418d6133bd032cbe454b400403ac1541ef5a38b2 - ssa_ast: 97480918a106fea32ce19bced3ec6bb4516e29ad928826729cc32df5601e80eb + - initial_input_ast: 320bf92be1f73a8faef64838d58c78d2c1b3bb305d4eff603e032995d9b4bca2 + initial_ast: 2349458411c2e3077ae34f501de4377809c52a588d7ec0e5672d0f1722048518 + unrolled_ast: 2349458411c2e3077ae34f501de4377809c52a588d7ec0e5672d0f1722048518 + ssa_ast: 89c5c83dc018118a8de6be933801240fff637075583b8a645898aa8708eb9063 diff --git a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out index 5cfea5b92b..93c954b380 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon4_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon4_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8c4833854e62c3d51519f2858909f9c64e9864a11f55a82c8f7e7f6bd02fa823 - initial_ast: 6dbc7a6ea98ab36210dbe32f1d1e1634491d9c04ac5865ac1e3f486447f5f329 - unrolled_ast: 6dbc7a6ea98ab36210dbe32f1d1e1634491d9c04ac5865ac1e3f486447f5f329 - ssa_ast: bdbec8dc3f59954988a07ca7853ccb0982a8673ddb09f2f36a4ccfd005b786a6 + - initial_input_ast: 320bf92be1f73a8faef64838d58c78d2c1b3bb305d4eff603e032995d9b4bca2 + initial_ast: 622a7f73146c9c75e242ffd994b7e93b4d0e69eeb8e43e8fe7efc4119c263cdd + unrolled_ast: 622a7f73146c9c75e242ffd994b7e93b4d0e69eeb8e43e8fe7efc4119c263cdd + ssa_ast: 3b131b64957ac0e22b22265a89fc80134824c6b4f7b5fe0e03758fc2d440e1b8 diff --git a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out index cf4e2fcd11..f6a286673e 100644 --- a/tests/expectations/compiler/core/algorithms/poseidon8_hash.out +++ b/tests/expectations/compiler/core/algorithms/poseidon8_hash.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8c4833854e62c3d51519f2858909f9c64e9864a11f55a82c8f7e7f6bd02fa823 - initial_ast: 1ad15ca1e28d97305f3c1bdf0ee7fdd32ab3623b08c4934545adeb56463fd0ef - unrolled_ast: 1ad15ca1e28d97305f3c1bdf0ee7fdd32ab3623b08c4934545adeb56463fd0ef - ssa_ast: 4a6b3f37df80c57ba14b9f579106707f3a025102a9cd0b151828145a03a3f222 + - initial_input_ast: 320bf92be1f73a8faef64838d58c78d2c1b3bb305d4eff603e032995d9b4bca2 + initial_ast: 7e96f01d3cbe223ce3fa26baaf7bb0eabfcb5bdb48cfa3b2529d7567fa606d8f + unrolled_ast: 7e96f01d3cbe223ce3fa26baaf7bb0eabfcb5bdb48cfa3b2529d7567fa606d8f + ssa_ast: 5affb5b905adfc42683ecbc09cbce3cff34497c9839ad73f3a95ffe3f38317b5 diff --git a/tests/expectations/compiler/function/conditional_return.out b/tests/expectations/compiler/function/conditional_return.out index af9756c08c..5490f9ac88 100644 --- a/tests/expectations/compiler/function/conditional_return.out +++ b/tests/expectations/compiler/function/conditional_return.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fd4851f6581155b1e1f63488d141006413b52e2df042673193e838813134c8f8 - initial_ast: 3b2b884072048267d8433cb3d0d720823fe591c776066d13b4f433468808eef1 - unrolled_ast: 3b2b884072048267d8433cb3d0d720823fe591c776066d13b4f433468808eef1 - ssa_ast: e70d9df3b0cff002906ea599cb7c8873972d65fa5b3b7011f769fc496ff52b79 + - initial_input_ast: e742fe16a7df15d6f9c6b514f28746a9a5a48fda7e0bf6628601e84782878dd1 + initial_ast: 7b15cc9c2c89267099e4c1a83c695cb19776bc428256fcae70b12286ed64e352 + unrolled_ast: 7b15cc9c2c89267099e4c1a83c695cb19776bc428256fcae70b12286ed64e352 + ssa_ast: 2254d7bf2518d280ed7701fe47724114f46baa36de0845d0e662f42d37404a46 diff --git a/tests/expectations/compiler/function/function_call.out b/tests/expectations/compiler/function/function_call.out index 96b8f021f8..e2e890d1cf 100644 --- a/tests/expectations/compiler/function/function_call.out +++ b/tests/expectations/compiler/function/function_call.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7771059685b08997e10c889f701cab07503de86515a498e7e3b332eb0499bd80 - initial_ast: e4d2863962de0163515a775493ed831b2f06bb58bdbb7906de9e9a9f3c08db7c - unrolled_ast: e4d2863962de0163515a775493ed831b2f06bb58bdbb7906de9e9a9f3c08db7c - ssa_ast: 01a32cc3f75c557bed46fd3634337ed890a2e32bdc2ea24bbbdb2d3cae3bc5cf + - initial_input_ast: d25b5d30496f06387198d06e44a771e142f8e6592347c3849a8b3b957287f1b6 + initial_ast: f4d9dbfbba7f0b408d0db7bf4b142b064d350a2505c5b1de5dc1b780424db898 + unrolled_ast: f4d9dbfbba7f0b408d0db7bf4b142b064d350a2505c5b1de5dc1b780424db898 + ssa_ast: 975a2b0deb8ac7942a757a6069078c18dab7fe313b25eef4dba811bfd5ad29cf diff --git a/tests/expectations/compiler/integers/i128/add.out b/tests/expectations/compiler/integers/i128/add.out index d03e5e6df2..be8e099a73 100644 --- a/tests/expectations/compiler/integers/i128/add.out +++ b/tests/expectations/compiler/integers/i128/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e7f79b5056ddc163ce256bf7a04eb1a906e7603abd21f940890c5138c74ecd27 - initial_ast: 04e5363d319a4962436425cce40b8f5b47952f311b1141a60a71650089a2aeca - unrolled_ast: 04e5363d319a4962436425cce40b8f5b47952f311b1141a60a71650089a2aeca - ssa_ast: 2dc0a99f6fdc25ab1377c1ae6c8ce4d437310c749fc0bbba81faac88619aaca4 + - initial_input_ast: 039af54743c15033383282d9a4fbada1272039efbb8248abad2667a472268038 + initial_ast: e624899be0135a92c25fde25504ad965a87a2bb44dfa460581f3a4399518e354 + unrolled_ast: e624899be0135a92c25fde25504ad965a87a2bb44dfa460581f3a4399518e354 + ssa_ast: afc1d80e038f131a7de54f00cb842623543f9c7e0fde4c5d8b2a396fe1473013 diff --git a/tests/expectations/compiler/integers/i128/and.out b/tests/expectations/compiler/integers/i128/and.out index d338c1a9c0..6d52a49c38 100644 --- a/tests/expectations/compiler/integers/i128/and.out +++ b/tests/expectations/compiler/integers/i128/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e7f79b5056ddc163ce256bf7a04eb1a906e7603abd21f940890c5138c74ecd27 - initial_ast: e4810ac737afe750f188d08413eaf347c3ccfb2003d5649af5801bc76c341c81 - unrolled_ast: e4810ac737afe750f188d08413eaf347c3ccfb2003d5649af5801bc76c341c81 - ssa_ast: 8fa77b1ba6e516d45dca5d73b76d7aa9eba7e070699bd858f3a6eeec98ad8c7e + - initial_input_ast: 039af54743c15033383282d9a4fbada1272039efbb8248abad2667a472268038 + initial_ast: 1b70efd847626c966937bb0112f0b7bdafa5a969924be55e9b6f86548fa01abd + unrolled_ast: 1b70efd847626c966937bb0112f0b7bdafa5a969924be55e9b6f86548fa01abd + ssa_ast: fa0c99ca018e352b0535ca035f67ff17d88a78886df8263179f4e0e3a2fd0389 diff --git a/tests/expectations/compiler/integers/i128/console_assert.out b/tests/expectations/compiler/integers/i128/console_assert.out index 892ac7fe89..9d6de712eb 100644 --- a/tests/expectations/compiler/integers/i128/console_assert.out +++ b/tests/expectations/compiler/integers/i128/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a9d656cd719217c9df4fe73c1f6293aa89575e8c2f7d5e89a48c2c292a3e5e06 - initial_ast: 5ab8123c554f609d580bdfe6594f1d21d4a8cea0c5acbd31b019a2502c0187c4 - unrolled_ast: 5ab8123c554f609d580bdfe6594f1d21d4a8cea0c5acbd31b019a2502c0187c4 - ssa_ast: 91c2aa12786c1eaa46d3b8198e19c4e0c4205ed5993a19368dd5e0e87ba4b55c + - initial_input_ast: 79308811ede3a2d4c490aadba0d40a914b4efdb8cd97ab3c9677f806673aec8d + initial_ast: ae0c1c8dca0049668d3592ec365cef35cf969f5ab26ed8abf9eab18e4668561a + unrolled_ast: ae0c1c8dca0049668d3592ec365cef35cf969f5ab26ed8abf9eab18e4668561a + ssa_ast: 04ee21bf86373f235d8d6b16a2fd719f70416dfe3c3adf5c422699407fd9efca diff --git a/tests/expectations/compiler/integers/i128/div.out b/tests/expectations/compiler/integers/i128/div.out index ae29cd4054..09c1246fd4 100644 --- a/tests/expectations/compiler/integers/i128/div.out +++ b/tests/expectations/compiler/integers/i128/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 040a06927355054fb98cc4471807f0daceba0c3f7376346478ed5909f762d544 - initial_ast: eda442d3334351c3758ad67dbf74bc90a7fd5b2ead0d71cd35f44c7124b0e2f7 - unrolled_ast: eda442d3334351c3758ad67dbf74bc90a7fd5b2ead0d71cd35f44c7124b0e2f7 - ssa_ast: 7901ffc309a3384411543d9da0644b12935304562e9c9f57f760b689563ff760 + - initial_input_ast: 15e7c9d93b79f6ac900148264525a556e783fa4a482030968c0749a0f69b035e + initial_ast: b29fdb415dc37f88b76cf02fd531cdf77bbb391d3a2392f643e043b737e4b5e2 + unrolled_ast: b29fdb415dc37f88b76cf02fd531cdf77bbb391d3a2392f643e043b737e4b5e2 + ssa_ast: fb425621761505abd8e9e4b3cd6d7bd7da6b1b295a1e487cbcfc80f28afd237d diff --git a/tests/expectations/compiler/integers/i128/eq.out b/tests/expectations/compiler/integers/i128/eq.out index b296d8073b..df6c9ffce4 100644 --- a/tests/expectations/compiler/integers/i128/eq.out +++ b/tests/expectations/compiler/integers/i128/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2d7031d44a212721505ffd13e275b705a910e6f803acb7fe2ff44a91b85dcd09 - initial_ast: 4b4f649b12d3c262c39f44346808961daa870d488a56affdeedce5b71f3a6251 - unrolled_ast: 4b4f649b12d3c262c39f44346808961daa870d488a56affdeedce5b71f3a6251 - ssa_ast: e7f219c4567593af2f0d60731e1149ed0f807ba9dddae2c0b6e79e07bb30a642 + - initial_input_ast: 50c9794b0377757b37b71027a8f6264e9c2e1bdde040b3946b89521ce9a2fda6 + initial_ast: a4e144cc9cc78f59672e65ce086ac6994cd3f035662f3c311ef21c7d511509ef + unrolled_ast: a4e144cc9cc78f59672e65ce086ac6994cd3f035662f3c311ef21c7d511509ef + ssa_ast: 55eb686c1797e5df96654434e580b7604391f68afc4de946711d8fb5d3909f5a diff --git a/tests/expectations/compiler/integers/i128/ge.out b/tests/expectations/compiler/integers/i128/ge.out index 2d8f6270fb..a74e522934 100644 --- a/tests/expectations/compiler/integers/i128/ge.out +++ b/tests/expectations/compiler/integers/i128/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0073bbe6842eb1f47d4bd0d9a69f2cef9ceab14f7c6fee9cb64de09db43504dc - - initial_input_ast: f71ddbed9223717e966b06bf8f763bbff72630ca1d3cc111aab9d0d3e1e5c939 - initial_ast: 9a0e14d58fde3dd3891729dcd524c230883326853cb855d25613bf8c94e3b0f5 - unrolled_ast: 9a0e14d58fde3dd3891729dcd524c230883326853cb855d25613bf8c94e3b0f5 - ssa_ast: 6229f23d969ccd869065a04d250fd115eed56e412025a4f0be1fa3db39b94432 + - initial_input_ast: 3c529c8d7cc460b8b3c2594fcc404fc454a6f9f6bf404f6e58ef0b9d0ac0bcea + - initial_input_ast: adf28e234235b1bd389c5d33b44d415423d7f6e55321fb82f6b70be1810de213 + initial_ast: 501c1fdf52b3ebc30c9db8f01617375d30b328ae9df59e3dfd20bae9778ee100 + unrolled_ast: 501c1fdf52b3ebc30c9db8f01617375d30b328ae9df59e3dfd20bae9778ee100 + ssa_ast: 867fe524b8b0f0357579ba91fd2ca86a38f0a17676faee953687a2d34853f0e1 diff --git a/tests/expectations/compiler/integers/i128/gt.out b/tests/expectations/compiler/integers/i128/gt.out index 0411f55c7a..9700f1a026 100644 --- a/tests/expectations/compiler/integers/i128/gt.out +++ b/tests/expectations/compiler/integers/i128/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9c8c671f61b95462337ca91e8f834c10a6ef9396c194311735617e6a89433d5e - - initial_input_ast: f1fd221ab17b979c2f0d93dde9cba7ec1321a4c50ff2dc2692b562b96bd947e4 - initial_ast: 1d79f9cbad0a1a9a3af89388783ea7768ebb3ed4805465a3e7f13ce891a4eeb8 - unrolled_ast: 1d79f9cbad0a1a9a3af89388783ea7768ebb3ed4805465a3e7f13ce891a4eeb8 - ssa_ast: efe219dc01c0e8d852d938b07b1b0dd61eff0365ef3bc601b5630db4c4a4e9fe + - initial_input_ast: d5091be026ee55218e4b4f064008f87bc05e1052fed135b68c3e3014d448d319 + - initial_input_ast: eb0db3f61bc7199a31443d1bb3a75c62678b3da03c299a984cb1e1ede94aa507 + initial_ast: c8be4378ceb6988bdc1ec98a7d66b3de68cee0867dc6d1b9b0a43a45ce88f8df + unrolled_ast: c8be4378ceb6988bdc1ec98a7d66b3de68cee0867dc6d1b9b0a43a45ce88f8df + ssa_ast: a8e6273034a7581c4a37b73039e3f496dff93c83260b63742bbc1e633e345d43 diff --git a/tests/expectations/compiler/integers/i128/le.out b/tests/expectations/compiler/integers/i128/le.out index 2df3e3cdfb..db26b47489 100644 --- a/tests/expectations/compiler/integers/i128/le.out +++ b/tests/expectations/compiler/integers/i128/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0073bbe6842eb1f47d4bd0d9a69f2cef9ceab14f7c6fee9cb64de09db43504dc - - initial_input_ast: 2dc9355aaf9107b66bf59810782af1964d420417e65fa74b7930c04991c6333c - initial_ast: dbd2129ee38a1ddc39eee3aa4d75143a9758b6d336b0b7e91d30cca609ba8f23 - unrolled_ast: dbd2129ee38a1ddc39eee3aa4d75143a9758b6d336b0b7e91d30cca609ba8f23 - ssa_ast: 17828ce1eb4f3ec1b9178962a7b2bc3ed2a472dc661adf4e20d2545c28ed13ee + - initial_input_ast: 3c529c8d7cc460b8b3c2594fcc404fc454a6f9f6bf404f6e58ef0b9d0ac0bcea + - initial_input_ast: 4e63736fd3aecff398414ac7d2625d79ab5fb81ee9eec0e3e28eeadd95d12e56 + initial_ast: 29d2956fb510170b995f99541ff8a58a42a482467bcf4131f077c790b6bb7dc7 + unrolled_ast: 29d2956fb510170b995f99541ff8a58a42a482467bcf4131f077c790b6bb7dc7 + ssa_ast: 04e31373812d61e5f8f7ec7df36029e0157e1a97b8d747527380701449353a08 diff --git a/tests/expectations/compiler/integers/i128/lt.out b/tests/expectations/compiler/integers/i128/lt.out index 3ef970c975..d1ca03b476 100644 --- a/tests/expectations/compiler/integers/i128/lt.out +++ b/tests/expectations/compiler/integers/i128/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 839e61ab19309760f1b478b897e337bb8cf6e4bb218e926883ed9444d51d8a28 - - initial_input_ast: 58cecb481ced6587e9ee954f76df79d810747054149b30e21c94d1cb45f9bac9 - initial_ast: 8357a13fe26f60ed22001d2d861bf0043f12d804be36e41f4265d80df3e0ed18 - unrolled_ast: 8357a13fe26f60ed22001d2d861bf0043f12d804be36e41f4265d80df3e0ed18 - ssa_ast: f5ab6db08078729bfd119493c68b9caf3751b28528deb5dba0f2a1e188a7bcf6 + - initial_input_ast: 6cbc303a565783de6a9aa6f963e27659d89d56c4106803e4387bdf5158df114d + - initial_input_ast: 5d6aa3cebc88676c91bf621ae27eaf39fbb9babec171b2df88d8970d5fea5d9b + initial_ast: c7318d0126271c747105e963a68073430fa15c21aab859305f6b87fc5d8c0e5b + unrolled_ast: c7318d0126271c747105e963a68073430fa15c21aab859305f6b87fc5d8c0e5b + ssa_ast: 74c97eb0e249b30d63d9279ca87f6e111130ada0ed04df693fa1e819a921e7e9 diff --git a/tests/expectations/compiler/integers/i128/max.out b/tests/expectations/compiler/integers/i128/max.out index 0b35b81f07..cb0e43149c 100644 --- a/tests/expectations/compiler/integers/i128/max.out +++ b/tests/expectations/compiler/integers/i128/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0c988849087349f8f3fc79a2992efbb2d085c528c76f92f323efb856d678170c - initial_ast: 127bd2f2dfc26310382ac2a45b3001e9f8a79f3fd9c6fcaaf03083fd59acf947 - unrolled_ast: 127bd2f2dfc26310382ac2a45b3001e9f8a79f3fd9c6fcaaf03083fd59acf947 - ssa_ast: fded1c4ff0a5c5adc5b286631206948b74639e304fff76ae5d3cab8c1b0992b6 + - initial_input_ast: 79da2a39d3ce373fda219a5f4d946dfde01a8dbee50e2dfcffbfc892bf6d123f + initial_ast: f1a9651b746900f9c1086ef336d61ec6119faaa144e0034b213116f33ae2d41f + unrolled_ast: f1a9651b746900f9c1086ef336d61ec6119faaa144e0034b213116f33ae2d41f + ssa_ast: 0f47e67aac75a16abc51034267d9c71e5af15803bb9aa346bc1ca2f982ec4b2e diff --git a/tests/expectations/compiler/integers/i128/min.out b/tests/expectations/compiler/integers/i128/min.out index 4b76acd6c4..681a87ee51 100644 --- a/tests/expectations/compiler/integers/i128/min.out +++ b/tests/expectations/compiler/integers/i128/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 42d3d2a95ecf42808533fc38c7765957dd86f6d84679e6db05141f14078d1723 - initial_ast: 9f54baf4e2df224554aed10f27cf86804fa6853e4a5fcec6a3d4d71e7c29a845 - unrolled_ast: 9f54baf4e2df224554aed10f27cf86804fa6853e4a5fcec6a3d4d71e7c29a845 - ssa_ast: 6704fcf76ec1c652443336b0eef56d7a0da84a68beaa67dacf0491479255afe3 + - initial_input_ast: a7f556e6d66a954ec5c7b4a8f326257e7c5535125bcb62db30aeb9668d4a4019 + initial_ast: b8fca4461143590bb1ad98f1212c14459d9db111c6c9d072aa31b79612364b9e + unrolled_ast: b8fca4461143590bb1ad98f1212c14459d9db111c6c9d072aa31b79612364b9e + ssa_ast: be0e248c821ce8d41b0aa8e061444d021162e3cade64cabaf1782dc31eeec6a8 diff --git a/tests/expectations/compiler/integers/i128/min_fail.out b/tests/expectations/compiler/integers/i128/min_fail.out index 9a78d25cc9..d4a3e33e11 100644 --- a/tests/expectations/compiler/integers/i128/min_fail.out +++ b/tests/expectations/compiler/integers/i128/min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: c73d747914473c57db75df7fd1672a0675b56394dca1ed1fb3536f6777c86d80 - initial_ast: e48cd3c49011fc6cdc05308b9ce2f696c3a68eaf7cdfeb62cc4565715cd6710b - unrolled_ast: e48cd3c49011fc6cdc05308b9ce2f696c3a68eaf7cdfeb62cc4565715cd6710b - ssa_ast: b1bac3b891509b8f3b51db8d0fd17320a80dab5dfc36a45f697df11d81ef2cb5 + initial_ast: a5aa8ea645fd06ab5886a7036858583c7635735040c464068142dc6f5cc56b0f + unrolled_ast: a5aa8ea645fd06ab5886a7036858583c7635735040c464068142dc6f5cc56b0f + ssa_ast: db807469612306919568dd4427372ee4da200d215059658f1bf03d802e5924b5 diff --git a/tests/expectations/compiler/integers/i128/mul.out b/tests/expectations/compiler/integers/i128/mul.out index c41beca2f2..154d160e36 100644 --- a/tests/expectations/compiler/integers/i128/mul.out +++ b/tests/expectations/compiler/integers/i128/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e598def825099f6b2617d39059b877cf49137140ce1e095415a9875b8e0e637d - initial_ast: 0da749b9b44d40858426f14431bf864d457dcfd2a394fa8e5d89bfef3412a9bc - unrolled_ast: 0da749b9b44d40858426f14431bf864d457dcfd2a394fa8e5d89bfef3412a9bc - ssa_ast: bd167e08296a7c4962cac68e653c9c2cd382915c7d7a2f8292eb65cde6c9e1be + - initial_input_ast: cc4bb320d4e0a99758a94b8f64a2e3da7469cd00db94156b05b3dc7d97173dc0 + initial_ast: 512828f9b059c5715d2650edba209b32a167152da19f915bcb7738c8c3c5a771 + unrolled_ast: 512828f9b059c5715d2650edba209b32a167152da19f915bcb7738c8c3c5a771 + ssa_ast: 9d3bc29df6312205e2f913d8d274d3afaf2769c98b2b31cdf23cfb585fc7d491 diff --git a/tests/expectations/compiler/integers/i128/ne.out b/tests/expectations/compiler/integers/i128/ne.out index 0f5fe33fc1..1b02aca689 100644 --- a/tests/expectations/compiler/integers/i128/ne.out +++ b/tests/expectations/compiler/integers/i128/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a20467288639231bd180d7ff942a339170dbefb26440a24c8907efa8ba941f7f - - initial_input_ast: afa4aa7f9a7280ec3553bc674b4a00d473978805198e715b726b43e17d142af3 - initial_ast: 7295cf0eb725e557e0fba2b60786dc1fbdea6c46f13ede2c57ea2398a4c4d90f - unrolled_ast: 7295cf0eb725e557e0fba2b60786dc1fbdea6c46f13ede2c57ea2398a4c4d90f - ssa_ast: 6540798d78cbcf495205233e8139f00bdf8ee2f34b522cd9fd1dcec236046a44 + - initial_input_ast: cb902874c03a9409774f0e1f3c2225d392f49ff46774d795599dd72bbe44f9cd + - initial_input_ast: a1857946296862e584d879ddb5d5901b22cae5ea864bafc43de453ba9d99eb38 + initial_ast: a7d37ad9f764b871f328f82b3d3c50a849cb94a31bcdf92fdcaf4d16651b5a27 + unrolled_ast: a7d37ad9f764b871f328f82b3d3c50a849cb94a31bcdf92fdcaf4d16651b5a27 + ssa_ast: 7580a7b771a9a79c5ce85757dd937caa3ce14ced57fe5a6d04b6b2f281b61005 diff --git a/tests/expectations/compiler/integers/i128/negate.out b/tests/expectations/compiler/integers/i128/negate.out index b8d8dfe47f..51779ebc8a 100644 --- a/tests/expectations/compiler/integers/i128/negate.out +++ b/tests/expectations/compiler/integers/i128/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ad84f053b470cc3496abac049a0bc39cb65a2529ed6a263f7158f722beca6f99 - - initial_input_ast: fb7d5befac46a4b8dfe740fd6811888a22577c4a136db40b31aefe56ef0c8c4b - initial_ast: 3dc2d25c4df9618e4a6bec9cfecafd49a502b74b2655adfbd2498a36a024aed3 - unrolled_ast: 3dc2d25c4df9618e4a6bec9cfecafd49a502b74b2655adfbd2498a36a024aed3 - ssa_ast: dce6ca6d8021939acb48603e42157edf3ca09c703ebc8b899c859ff1c70477a9 + - initial_input_ast: 03f9c9174959a180ab0cff4fd139efad96ca1e9e63c78acada0097a065a1afff + - initial_input_ast: 4537564bdc7b22346f16c5bb36ed4dbacafa3bc973f4cca857b7a9fa4e148ba4 + initial_ast: c5c9641ec3b8a94b1b3462d873f7a613b228c3427224216e3b1d635888aa3564 + unrolled_ast: c5c9641ec3b8a94b1b3462d873f7a613b228c3427224216e3b1d635888aa3564 + ssa_ast: fe06d7657a54e164ea344df81fec6ed3485e3ed9fd81fc41817db7b784c45e63 diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index 51b8a4abe8..df2e5ea92c 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: cc445b61155a660fbbd967b7736f50f07a9f5a139143a7f486b80eca2aaa29f2 - initial_ast: 7663d1db962f0c96762c2109439ed5e8c44397402132ecd7342da8baf666f4ae - unrolled_ast: 7663d1db962f0c96762c2109439ed5e8c44397402132ecd7342da8baf666f4ae - ssa_ast: b7607cdbbdf81c53b4273cbed4c72cc99bccb9ec170d3a4c7a26967cc7a9f24a + initial_ast: 805299a00fb71e9fb1d001b4a9706e58965a8aeb3189b269021e1d28d4aa4039 + unrolled_ast: 805299a00fb71e9fb1d001b4a9706e58965a8aeb3189b269021e1d28d4aa4039 + ssa_ast: 84c94b86325af97e2fc4e2ba2fd959e2ecaa4500249935d1e08b074a588a8e40 diff --git a/tests/expectations/compiler/integers/i128/negate_zero.out b/tests/expectations/compiler/integers/i128/negate_zero.out index e058937eb3..baa50ed05e 100644 --- a/tests/expectations/compiler/integers/i128/negate_zero.out +++ b/tests/expectations/compiler/integers/i128/negate_zero.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 5b85c589bd5729444d6aad8fa52e8f17f93b026a8e3991766fa304ed7a57aa78 - initial_ast: 09bcefee1e16874bfc4b1ff8722756e23d67135e2fd56014ed1905ba33936ed6 - unrolled_ast: 09bcefee1e16874bfc4b1ff8722756e23d67135e2fd56014ed1905ba33936ed6 - ssa_ast: 47309b2dadcacb59e23ecce52f295b04d832483bd2c597fe456c5288e426337f + initial_ast: 5e3da2a1b4010d891aaa02fcc6768bb2e264adb72f2f63fc317d19a3f66cae78 + unrolled_ast: 5e3da2a1b4010d891aaa02fcc6768bb2e264adb72f2f63fc317d19a3f66cae78 + ssa_ast: caa03ee56042bb8d23f0fe133158146d5edc6fca695419324ac895fd09f7532f diff --git a/tests/expectations/compiler/integers/i128/operator_methods.out b/tests/expectations/compiler/integers/i128/operator_methods.out index 6620ac4983..a04f9f01f0 100644 --- a/tests/expectations/compiler/integers/i128/operator_methods.out +++ b/tests/expectations/compiler/integers/i128/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 61eac183bae63ae8192f044c59a37feaea409f56b8c3c93bdeb00b8fb2e7dfb1 - initial_ast: 72b63e1fa3e176c6171fc99a7745cca6499f1282f53818e02d5397848e8a7ee2 - unrolled_ast: 72b63e1fa3e176c6171fc99a7745cca6499f1282f53818e02d5397848e8a7ee2 - ssa_ast: a5ecd348910ca4785a4f5754e4b5b45ab43742b2693556fd1648de0c47efc2cc + - initial_input_ast: 0177c7eed02c77740d71258108323ec082e7625abdf9cf5d3e9a2c5151262d99 + initial_ast: 170f2d6786366bf2e99030153ee3e32efcdedc6a4549edbbb248f23c5a80ffad + unrolled_ast: 170f2d6786366bf2e99030153ee3e32efcdedc6a4549edbbb248f23c5a80ffad + ssa_ast: cbe007e222c59381eecb3715e333c091a2250e82b41f4082726f9900319bbe6c diff --git a/tests/expectations/compiler/integers/i128/or.out b/tests/expectations/compiler/integers/i128/or.out index ab5de9b058..f9bd95b6ab 100644 --- a/tests/expectations/compiler/integers/i128/or.out +++ b/tests/expectations/compiler/integers/i128/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e7f79b5056ddc163ce256bf7a04eb1a906e7603abd21f940890c5138c74ecd27 - initial_ast: 517119de93baf717228127edf46ac737e3945649892a70e661d9979ec962b21a - unrolled_ast: 517119de93baf717228127edf46ac737e3945649892a70e661d9979ec962b21a - ssa_ast: 49f6fa2d491d88cfb4307f784c48e43a6002e873b545733220029413b78a201f + - initial_input_ast: 039af54743c15033383282d9a4fbada1272039efbb8248abad2667a472268038 + initial_ast: 7a582c2c4f99ea4140b26de6e41cd65809710a6a908b2fe502ca3c43b3fe5e8f + unrolled_ast: 7a582c2c4f99ea4140b26de6e41cd65809710a6a908b2fe502ca3c43b3fe5e8f + ssa_ast: 1580168120145940540b77ed83942f4f6c72c5261a22ec599ded15efa536a941 diff --git a/tests/expectations/compiler/integers/i128/pow.out b/tests/expectations/compiler/integers/i128/pow.out index 9085bef74a..1f9b9af748 100644 --- a/tests/expectations/compiler/integers/i128/pow.out +++ b/tests/expectations/compiler/integers/i128/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 965a2a9889ffac2b94872375270953221ad1785aed55c8bc139b4bc70a7230cb - initial_ast: 998c59a5e826dab3e73d8d16f596773c19026b63d6f6baf093cf696951a2639f - unrolled_ast: 998c59a5e826dab3e73d8d16f596773c19026b63d6f6baf093cf696951a2639f - ssa_ast: f9e04dc07cd87aab28d4b4afc03032eaf69f86973d677fbf3d7f23a9ea15ca8d + - initial_input_ast: fc1e1ab7acff26b62b719506922cd02b116f446510fafb1181186474528de408 + initial_ast: 45cc8c1b28acef1231cd9d5658665600cca2579fe64e7fbcc4cff3df565511e1 + unrolled_ast: 45cc8c1b28acef1231cd9d5658665600cca2579fe64e7fbcc4cff3df565511e1 + ssa_ast: c2c13b08e12456df6d52c58b80eb26f8b9ef9a36faed701dc1167e90d03539c4 diff --git a/tests/expectations/compiler/integers/i128/rem.out b/tests/expectations/compiler/integers/i128/rem.out index 7dc5053ed9..9d79070a36 100644 --- a/tests/expectations/compiler/integers/i128/rem.out +++ b/tests/expectations/compiler/integers/i128/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 040a06927355054fb98cc4471807f0daceba0c3f7376346478ed5909f762d544 - initial_ast: 2109e52172d6b88e9d2b2218e37ed1e0cb9e9b7ef277dd3c58a01a4086c477c4 - unrolled_ast: 2109e52172d6b88e9d2b2218e37ed1e0cb9e9b7ef277dd3c58a01a4086c477c4 - ssa_ast: 865fd700a395677730123776b94f9a0647441e559f2adebf7e61f437803d3e30 + - initial_input_ast: 15e7c9d93b79f6ac900148264525a556e783fa4a482030968c0749a0f69b035e + initial_ast: 83107718cf4f8becbd2a2f6d6e9b3156e6e3f3cbb77d9e1727db1b13d4e031f7 + unrolled_ast: 83107718cf4f8becbd2a2f6d6e9b3156e6e3f3cbb77d9e1727db1b13d4e031f7 + ssa_ast: 03351383c6c5a6e60bc9c0d46757f8379ee5c38d8e67ff31a50bed3bcdd4c174 diff --git a/tests/expectations/compiler/integers/i128/shl.out b/tests/expectations/compiler/integers/i128/shl.out index b88af7fdc5..0e8e7c037b 100644 --- a/tests/expectations/compiler/integers/i128/shl.out +++ b/tests/expectations/compiler/integers/i128/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 049cd06c422de7247df7f0e2a1ad98429c613a941f5ece0a791e149434612580 - initial_ast: af6e287228b8cb6f6755b8eeea019c3f9a9da648f1da6451c4ef31c7301e39d1 - unrolled_ast: af6e287228b8cb6f6755b8eeea019c3f9a9da648f1da6451c4ef31c7301e39d1 - ssa_ast: b52e4a0ba681f19d4769ff88863c870f1c89fc6071dd17ebac0308087d5496be + - initial_input_ast: dcc462f54ea6ca5718527bd01c96bafa3a9d8d42b539db23b6f570867441b2c0 + initial_ast: 005ffe05a09cfcdb965f199031066eb338044abfbd21a4fb23af0d110cf7fc76 + unrolled_ast: 005ffe05a09cfcdb965f199031066eb338044abfbd21a4fb23af0d110cf7fc76 + ssa_ast: 071d6705f1587ac581237d2f815b797592e646d546a1e9eed5d4b8c81cdcd31f diff --git a/tests/expectations/compiler/integers/i128/shr.out b/tests/expectations/compiler/integers/i128/shr.out index 1ec6769374..9214f42443 100644 --- a/tests/expectations/compiler/integers/i128/shr.out +++ b/tests/expectations/compiler/integers/i128/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 049cd06c422de7247df7f0e2a1ad98429c613a941f5ece0a791e149434612580 - initial_ast: f7e13d9f0d4c80aa93a32c30bf4a6503b21f0dc4e51d204f50f9afe952f4d89f - unrolled_ast: f7e13d9f0d4c80aa93a32c30bf4a6503b21f0dc4e51d204f50f9afe952f4d89f - ssa_ast: 857780dbeb54b3f88f6ea68fa7cd7f78641e4293ab4ecd757cac27c73b7e43c5 + - initial_input_ast: dcc462f54ea6ca5718527bd01c96bafa3a9d8d42b539db23b6f570867441b2c0 + initial_ast: 80e4e5aaf431d55251d5918834b4e8ce2ade81e2048651a539b52f0c0de0fb04 + unrolled_ast: 80e4e5aaf431d55251d5918834b4e8ce2ade81e2048651a539b52f0c0de0fb04 + ssa_ast: ad205558957eba8df61590f96aa3db1a9291efabee5a3b48c907bb840ae7c7e4 diff --git a/tests/expectations/compiler/integers/i128/sub.out b/tests/expectations/compiler/integers/i128/sub.out index 9415f6baa0..9ecbd031bd 100644 --- a/tests/expectations/compiler/integers/i128/sub.out +++ b/tests/expectations/compiler/integers/i128/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3400af7ad9d967ebee212ba94102763b1e3d78c40cfcfb21e1496544111a842b - initial_ast: a825840684e68553816c9c56419356888517c81d3111590d17c228fc9ad5fcba - unrolled_ast: a825840684e68553816c9c56419356888517c81d3111590d17c228fc9ad5fcba - ssa_ast: 7cfa241ad77363631a30871d2dc3f485ec8b9e55da008deb397915ec7f7d8d10 + - initial_input_ast: 1a5fe4b85de6981afcc4c53e54ddfc72e5898e737875b4108d495fce8aa23194 + initial_ast: 4bd6afc807895ea63bc61e1157cbdac6de281dc465763914f34ab732203f7e17 + unrolled_ast: 4bd6afc807895ea63bc61e1157cbdac6de281dc465763914f34ab732203f7e17 + ssa_ast: 252c8d727e69d55203339a7b29bf5972f21553d85718a060005db94b9e9c5763 diff --git a/tests/expectations/compiler/integers/i128/ternary.out b/tests/expectations/compiler/integers/i128/ternary.out index 8dd19412c7..9f3c530f8b 100644 --- a/tests/expectations/compiler/integers/i128/ternary.out +++ b/tests/expectations/compiler/integers/i128/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 513958b9ca8c081b703e39f4c99751d60bf8e8a8b2c198b57b50dab7c5af3327 - - initial_input_ast: 7be5155718612a25f8eadba1a6e8cde45c7806ce99f4ede89a7a5acdfc5966ca - initial_ast: 9146d98fbb82e6e0321a9a630b940993910aa29648c153be7a2330b95ae01e4e - unrolled_ast: 9146d98fbb82e6e0321a9a630b940993910aa29648c153be7a2330b95ae01e4e - ssa_ast: d7a6af105d6e8b4d0b2a0b6f452b97a6b9cfb52b7813d591c8a756f801267db4 + - initial_input_ast: 90608a4dc4fe1c76f2ca875129ae9038d3d0585a6c671e4efca827af29dbdfc1 + - initial_input_ast: 579a49a1239e4c5e70cc3d3f40256a55f1d4f4d250dc9e71dab89b292f77bce5 + initial_ast: 3396decc2d51d008352eac007a71b65b5f0be4924d3810af12e87d306b27fa0b + unrolled_ast: 3396decc2d51d008352eac007a71b65b5f0be4924d3810af12e87d306b27fa0b + ssa_ast: fb96832d0d1be2dd436771b029fe9e696a36290c0cdedff10e0087a34954a520 diff --git a/tests/expectations/compiler/integers/i128/xor.out b/tests/expectations/compiler/integers/i128/xor.out index b90c960292..047fcc061f 100644 --- a/tests/expectations/compiler/integers/i128/xor.out +++ b/tests/expectations/compiler/integers/i128/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f686fc3d84ba39af944ba435926d6ed9dee6b6bcb7548a72d3da169b80b6fdd8 - initial_ast: cb92e2927b3f4f81e7e893ff99614304243ac40637dce6b15fab5356a7ce212c - unrolled_ast: cb92e2927b3f4f81e7e893ff99614304243ac40637dce6b15fab5356a7ce212c - ssa_ast: eb4a86210215fde28b85389e063317dfd55cebdff078fc4a05b2d9feeb578224 + - initial_input_ast: 3b6b12b624fce460422e119724836696bf4446f9f26feff0e5d76f7e345f4573 + initial_ast: 2bfe0bb6c317e1a42e99f8c9211f5c9876bdaba75adf6a3dbe014bb8e137fdc0 + unrolled_ast: 2bfe0bb6c317e1a42e99f8c9211f5c9876bdaba75adf6a3dbe014bb8e137fdc0 + ssa_ast: 4b831d3949c00c3a03aa836eade6af0cad8731652e1c5c0a4f661f7f0d147785 diff --git a/tests/expectations/compiler/integers/i16/add.out b/tests/expectations/compiler/integers/i16/add.out index c93c19b994..65bc2f7f6f 100644 --- a/tests/expectations/compiler/integers/i16/add.out +++ b/tests/expectations/compiler/integers/i16/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f2735a0950a2843a36c064271415244f527dee4a3e53e5115bf1954c50ed4808 - initial_ast: e1aed63fee648b767384037e8aeeb1eac7bf05874c3ac16a98bd58ae3fa54495 - unrolled_ast: e1aed63fee648b767384037e8aeeb1eac7bf05874c3ac16a98bd58ae3fa54495 - ssa_ast: 3e2666c11cb7a3287e4ac2d2632b3fc288a0332879ba6f5b377752da44f89b9a + - initial_input_ast: 40307e11e7c825f8af2ba9d98ba89534834e5816500737ac4d4d2507063f0497 + initial_ast: d7b601eaca170549bf3d678fde9e8c3afad2f09a11d24f0f20439f6cf097a5bc + unrolled_ast: d7b601eaca170549bf3d678fde9e8c3afad2f09a11d24f0f20439f6cf097a5bc + ssa_ast: 76eaf3717af74178ccd8a3747d1c583c2d8dd7001d6d54bb3d3e7f856652421c diff --git a/tests/expectations/compiler/integers/i16/and.out b/tests/expectations/compiler/integers/i16/and.out index 3ef250a4e9..b06ab0fac0 100644 --- a/tests/expectations/compiler/integers/i16/and.out +++ b/tests/expectations/compiler/integers/i16/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f2735a0950a2843a36c064271415244f527dee4a3e53e5115bf1954c50ed4808 - initial_ast: 604433a3de4dedc6a8a8ef418e0a616b3a66ea1f3f2bfbff767726b9d971681f - unrolled_ast: 604433a3de4dedc6a8a8ef418e0a616b3a66ea1f3f2bfbff767726b9d971681f - ssa_ast: 9e1e6b894fbcc1979f0f96de658477cc5e1313de19c47feb14963f0638fc9ac2 + - initial_input_ast: 40307e11e7c825f8af2ba9d98ba89534834e5816500737ac4d4d2507063f0497 + initial_ast: 43d1e3a865fae24774afbccdd5f12bd30a964cdc85e0403d25ade9d89f273496 + unrolled_ast: 43d1e3a865fae24774afbccdd5f12bd30a964cdc85e0403d25ade9d89f273496 + ssa_ast: 104e42a06b0cda9a3ab4f790e386a0fda96062f8aaa0fcb64be2df1a357df931 diff --git a/tests/expectations/compiler/integers/i16/console_assert.out b/tests/expectations/compiler/integers/i16/console_assert.out index b812a4eeb1..9bde938d5b 100644 --- a/tests/expectations/compiler/integers/i16/console_assert.out +++ b/tests/expectations/compiler/integers/i16/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9986979e83203ebe5400f735d48cbeb65142f8b858a3b604c99b6e5d6bfeb167 - initial_ast: 0cff7268ed011d4658fe162cd2c788c79411970f36654341a486ddcae583d78f - unrolled_ast: 0cff7268ed011d4658fe162cd2c788c79411970f36654341a486ddcae583d78f - ssa_ast: ffdf060169c4a8c92815c0a33f18c07d770a4ee6cc3686ca8a95e90927998c46 + - initial_input_ast: aabcbfbe3c7ad948859c5594b0a8aa0da06f84502dab69e1f74cbf15964169bc + initial_ast: 980488b313c96fb22bfa83a0a4fbbff4e7bcc98af66b8e826be0319fdb0c8ea0 + unrolled_ast: 980488b313c96fb22bfa83a0a4fbbff4e7bcc98af66b8e826be0319fdb0c8ea0 + ssa_ast: 99818913a8119d8c1942a44de7aa2562604c0816c841e958be4184185810e83b diff --git a/tests/expectations/compiler/integers/i16/div.out b/tests/expectations/compiler/integers/i16/div.out index 01b8878394..8d10733493 100644 --- a/tests/expectations/compiler/integers/i16/div.out +++ b/tests/expectations/compiler/integers/i16/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 284cc306edf57a02339ef2560f21ce29808d1bce42ab36402091e814e39c9fb6 - initial_ast: 402b3835d4a638d4bf1c62f92038184012dd89390cdccff0b2fef49996323096 - unrolled_ast: 402b3835d4a638d4bf1c62f92038184012dd89390cdccff0b2fef49996323096 - ssa_ast: f26955234e3e713f2d1c64de779522f751b758f04e35006af728d108457525c8 + - initial_input_ast: d176e8f3f8e1c2fdba4f650075f34212caad33f2d09ec00cf99e806ed08f7d01 + initial_ast: 1f5bebfb20262bf97da698e2ff16faa861f1242a572341825e3b80a51552066a + unrolled_ast: 1f5bebfb20262bf97da698e2ff16faa861f1242a572341825e3b80a51552066a + ssa_ast: 679323ec8be6ee1b24fc248fd4b4d0287920a3944c3a971af366a23ea4379094 diff --git a/tests/expectations/compiler/integers/i16/eq.out b/tests/expectations/compiler/integers/i16/eq.out index 1517e14c9d..70a055a06f 100644 --- a/tests/expectations/compiler/integers/i16/eq.out +++ b/tests/expectations/compiler/integers/i16/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 31328c147e6bd03afc7ae3611332b408f605b56416363b73f603c8035c601395 - initial_ast: 7f0fef0753723a803a47c275be57fdf960bbf6e5d3683f86ab593ed4b1ef6349 - unrolled_ast: 7f0fef0753723a803a47c275be57fdf960bbf6e5d3683f86ab593ed4b1ef6349 - ssa_ast: 81573fbb9b726887f7b09d2c09ed5f55919b5d611d6474c2c558e633da14656f + - initial_input_ast: 9f4e840f09f05a9d5a333a7556c1e06fa92a9285b2b100e15e845c0728d0b1d1 + initial_ast: 31637a72e7b3710464bc4bbb2250385f22839d1855311d157025787b0225ddae + unrolled_ast: 31637a72e7b3710464bc4bbb2250385f22839d1855311d157025787b0225ddae + ssa_ast: f6c7207f9a927be42ed882efb2a40baf00c364413b8679aed3736e27bc8dfecb diff --git a/tests/expectations/compiler/integers/i16/ge.out b/tests/expectations/compiler/integers/i16/ge.out index 918a6c1d71..41f102913c 100644 --- a/tests/expectations/compiler/integers/i16/ge.out +++ b/tests/expectations/compiler/integers/i16/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 84737613983ce8d5980d79c278d0df7581a2b67253b1e8e5f5e78187592cb736 - - initial_input_ast: 24dc5feb0a4a2c1c380b49392fb1a05f8ddcc6754b6b5561a334ad264a8e2904 - initial_ast: 987f064325cfd98f260555625ed121eaf030fb890f23a1094f831edbd368b40a - unrolled_ast: 987f064325cfd98f260555625ed121eaf030fb890f23a1094f831edbd368b40a - ssa_ast: 161265e76c7ccebbbc053353cb5244d903dd896a674a4110d083e8caa131680b + - initial_input_ast: 1e3bc80186397460f0d7fdbca7bfc8c4a2c65ea8f544f12f8cbf987520327a70 + - initial_input_ast: c5c783e56584d35218b1794b0cc2b78527e882c2d120abff2f6f62a9bd9f4d1b + initial_ast: 1f3ed866641cf8d3ae3664e58f40a5551eecb6bff6b3845ecc1ae208cd2d7b2e + unrolled_ast: 1f3ed866641cf8d3ae3664e58f40a5551eecb6bff6b3845ecc1ae208cd2d7b2e + ssa_ast: e9a4899bc3336b36506135c032dc3be02bba8aa3ad040b64c84665099e6f1615 diff --git a/tests/expectations/compiler/integers/i16/gt.out b/tests/expectations/compiler/integers/i16/gt.out index 961df4339e..3f51be3e40 100644 --- a/tests/expectations/compiler/integers/i16/gt.out +++ b/tests/expectations/compiler/integers/i16/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ce03fd3769c534ade9d6db8593ddfbb5bffedc449a0c12ec4ef4ee0847a1d63c - - initial_input_ast: fdd90f054b5d5bfc4126eb950c18a4465d6940e618e373b8b6aa6b79c5df43ed - initial_ast: f787e2e4c1e71549bd6feeb7693dbc7c7551328046627a682c4017f51134d6a9 - unrolled_ast: f787e2e4c1e71549bd6feeb7693dbc7c7551328046627a682c4017f51134d6a9 - ssa_ast: b3380eefb97d14a6cd022155ef247ce852bb1d0d4ee9464c1535fdf791c60f62 + - initial_input_ast: 96bd5d5fadb142f2d4584560f23c06453171ac46bce758962d3fa62d3de826b9 + - initial_input_ast: 55d6f4c3055a015f300fddd93616965b5a8c6339ee3c8a052a1a3ca43131c75e + initial_ast: fbc02cf7cffe67acc2ba54a65d5c7f6185c4bd908d6d41948c273f7a6351fbca + unrolled_ast: fbc02cf7cffe67acc2ba54a65d5c7f6185c4bd908d6d41948c273f7a6351fbca + ssa_ast: b0db21a84ff1ddc99ba36b28e294e26bca852c21ac60041c01ba059d4c93f47f diff --git a/tests/expectations/compiler/integers/i16/le.out b/tests/expectations/compiler/integers/i16/le.out index e57ac32af6..1ba5292f2f 100644 --- a/tests/expectations/compiler/integers/i16/le.out +++ b/tests/expectations/compiler/integers/i16/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 84737613983ce8d5980d79c278d0df7581a2b67253b1e8e5f5e78187592cb736 - - initial_input_ast: a18db69adb3a3cf6e975d3631367199901f74e2c2dcf47dad59c196d75e84296 - initial_ast: 187f5722d547f273209af43573eea2eeb2122d17f3e4c605524e376d7ad3ed34 - unrolled_ast: 187f5722d547f273209af43573eea2eeb2122d17f3e4c605524e376d7ad3ed34 - ssa_ast: 382adac57e7d57c423ab97ea3359c0dd07bbd9490a9a28ba071425960c2cefcc + - initial_input_ast: 1e3bc80186397460f0d7fdbca7bfc8c4a2c65ea8f544f12f8cbf987520327a70 + - initial_input_ast: ab2559f6d78ee4c41a3d7e181ee872eca6139dd7f6defa981decc3c7c3173e86 + initial_ast: 3ff12a1a7958a776bff06088d1a0ba38905432828033a8c01391c86525991fea + unrolled_ast: 3ff12a1a7958a776bff06088d1a0ba38905432828033a8c01391c86525991fea + ssa_ast: 0ac1e90f36a5bd800865d97fba6d3e4f29d9e06b6a19e18e6791144bb62e54c4 diff --git a/tests/expectations/compiler/integers/i16/lt.out b/tests/expectations/compiler/integers/i16/lt.out index 8d8fc5c908..05f33fd24c 100644 --- a/tests/expectations/compiler/integers/i16/lt.out +++ b/tests/expectations/compiler/integers/i16/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6acc632daaf5f0c552f4d80973d19881cf097ff377fab16d5156c11aeb7930ca - - initial_input_ast: 723023394750964e78349b54a39fb569c861b33205b2b332cc6be525f01d07bd - initial_ast: 6603f57d41a1ce41b0fa57de7b0351e51b42cb551597f27fc4d9e0e5f64f89a7 - unrolled_ast: 6603f57d41a1ce41b0fa57de7b0351e51b42cb551597f27fc4d9e0e5f64f89a7 - ssa_ast: ba3ec9b1d28143155c5fe0ab682706263dfdcf0f7a09b8fc4567a43f2ce4e21b + - initial_input_ast: bf5506bb148ebd276e006d26957cb9d1482319cce03716eae74e4e973c7e3c53 + - initial_input_ast: b5f8e0f060ee0428c214f242e56679137c1fb661fedbb792a16207b2e5ea3faf + initial_ast: 68f1f488e04f9aa6103077bdf47e3b15160ef82bb7f5b3ea0c2a9ffa5a320c44 + unrolled_ast: 68f1f488e04f9aa6103077bdf47e3b15160ef82bb7f5b3ea0c2a9ffa5a320c44 + ssa_ast: 05e25627a5405914c6114729d68dd966ed75d9f3cbedd646ee5f86995780e190 diff --git a/tests/expectations/compiler/integers/i16/max.out b/tests/expectations/compiler/integers/i16/max.out index af4e440c6c..2b9930c7e9 100644 --- a/tests/expectations/compiler/integers/i16/max.out +++ b/tests/expectations/compiler/integers/i16/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 804fee09bda9b498b193d0fbc9654f078fa9fb09fd02f6ffe94d05d71ade52af - initial_ast: 38f1802cc79a6fba93c5ffb3d6361e68cbdb5dd66f7f01e9d6166ba4894e5d29 - unrolled_ast: 38f1802cc79a6fba93c5ffb3d6361e68cbdb5dd66f7f01e9d6166ba4894e5d29 - ssa_ast: e786d750aa26fb6399a1311c9afd31d20e56d990a34eb0343cb63b21c257b7e1 + - initial_input_ast: 42c3ea30914e89eb47ce7d31a96d47f6d1cd364a7fb5cd0d27e49735bae4cc00 + initial_ast: 6ea535384e138485643e9674dbcbf38487b45fb20bc743cedbe5130ca6b61001 + unrolled_ast: 6ea535384e138485643e9674dbcbf38487b45fb20bc743cedbe5130ca6b61001 + ssa_ast: ffd3704d8b61bc4b6ba3dd7ce6a51f77718a834e60d296282944355a78c9edda diff --git a/tests/expectations/compiler/integers/i16/min.out b/tests/expectations/compiler/integers/i16/min.out index 545d826205..c55084d013 100644 --- a/tests/expectations/compiler/integers/i16/min.out +++ b/tests/expectations/compiler/integers/i16/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 41447babe412945bcb82a83876bfbf13a49da1bd175909bd66def5f983abc0fa - initial_ast: 38064bcbf709fed1dc53d83041ab50c4e0ab8e1d3e1658f66a26deb533d20a53 - unrolled_ast: 38064bcbf709fed1dc53d83041ab50c4e0ab8e1d3e1658f66a26deb533d20a53 - ssa_ast: cf158c6ea09188b84ce1db6f569d0e56e455fe99f2d87e5ce02ab02f008ff6f7 + - initial_input_ast: 3659f083f005fb393c9ae234061a976d0cb989def72f50688dd09eb6505a5e88 + initial_ast: 467e605d0d30da8e6e7d93c1e33897bf9ec1c4dfae0e807e0e0c60f45b27b81d + unrolled_ast: 467e605d0d30da8e6e7d93c1e33897bf9ec1c4dfae0e807e0e0c60f45b27b81d + ssa_ast: 5be594db36321078437ffc177621bef2d68981b12c1c7c932431070249dd4155 diff --git a/tests/expectations/compiler/integers/i16/min_fail.out b/tests/expectations/compiler/integers/i16/min_fail.out index 9b8a5057f9..fc09966c2b 100644 --- a/tests/expectations/compiler/integers/i16/min_fail.out +++ b/tests/expectations/compiler/integers/i16/min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 79bcbe7e9238a5693c7767022694c80ac5b120c8a165666d22d3a84b31c1a561 - initial_ast: e9c3b44e095957d32956781b9453904c44660e695a6529cd625c10660a94ac32 - unrolled_ast: e9c3b44e095957d32956781b9453904c44660e695a6529cd625c10660a94ac32 - ssa_ast: 1ff03bbdf341387f0c3863886edb37b9e684a6ec976faf5059e9c6ed7e324bca + initial_ast: 6a89bc09a0fdf663002fbeda1e56a84c1311554c94a5a0b3201cf12b187fbbe7 + unrolled_ast: 6a89bc09a0fdf663002fbeda1e56a84c1311554c94a5a0b3201cf12b187fbbe7 + ssa_ast: 3928b45e84ed49128f1252dc11a159ab9a22426706d1f799f2ea02d2f47e22b4 diff --git a/tests/expectations/compiler/integers/i16/mul.out b/tests/expectations/compiler/integers/i16/mul.out index 62bd957104..697b09bd70 100644 --- a/tests/expectations/compiler/integers/i16/mul.out +++ b/tests/expectations/compiler/integers/i16/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f28c5410b5041b6e21629d81f363e7fd74270126f079c800fbd58fb11f293da3 - initial_ast: e9d57d899affad9edff799b290339f0283bca2b4a0d400951b23a779a620e005 - unrolled_ast: e9d57d899affad9edff799b290339f0283bca2b4a0d400951b23a779a620e005 - ssa_ast: 0afc03de290f248b1c26c1ab9e191b448c2614a8dda40b69bc37f6862455d36e + - initial_input_ast: 9722cdeff84adc4cdb69b06d4a24ccdca73b41ba1c8b0ee49a2bc0f7e7b69785 + initial_ast: 9bb3181a094c2c855a03cd61ca2f23036caa4c287f2d9cdecbd2e141910e3e4a + unrolled_ast: 9bb3181a094c2c855a03cd61ca2f23036caa4c287f2d9cdecbd2e141910e3e4a + ssa_ast: 88bb97bb72e430ce17f0f8202a29c3940f840d435655941c7b3a871b9b8bc6a5 diff --git a/tests/expectations/compiler/integers/i16/ne.out b/tests/expectations/compiler/integers/i16/ne.out index f282cc4dcd..ed9289b44e 100644 --- a/tests/expectations/compiler/integers/i16/ne.out +++ b/tests/expectations/compiler/integers/i16/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 42dd06ef7efc360932a547493c392d952bdb69ed5c400ca4efe013f837221c73 - - initial_input_ast: d80612f02541273bd3f2808b80208653a6802501f28db23f267fcf9d139599c4 - initial_ast: c90a0e1f1f3a53d90d3d3f31a4d5fbd52e9b6149e3940965061561c63536f65e - unrolled_ast: c90a0e1f1f3a53d90d3d3f31a4d5fbd52e9b6149e3940965061561c63536f65e - ssa_ast: 2c2da6a314c59ae52ee8275b740f6ed823c9438153448fac72aba48e6d01c6e6 + - initial_input_ast: 8f4c093de1f74f3bdac1881fd891906c77d3afe8a8b374ffd5bd84f0f392945e + - initial_input_ast: d0df3c351200469c617f5c31e0c41ca9a54ed97b690aca511a5427359dbbaed9 + initial_ast: 7899794cbdf59823ab5cac9e56b177c2be61e6dc1b3d40d3d52383013c6bc76d + unrolled_ast: 7899794cbdf59823ab5cac9e56b177c2be61e6dc1b3d40d3d52383013c6bc76d + ssa_ast: af608525463c0be7cfe8317c74c1ab4c64fd38b9dfe35e200eeafa2750901404 diff --git a/tests/expectations/compiler/integers/i16/negate.out b/tests/expectations/compiler/integers/i16/negate.out index b69c301b94..7b955af5ca 100644 --- a/tests/expectations/compiler/integers/i16/negate.out +++ b/tests/expectations/compiler/integers/i16/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d00fb0834d6c7e82bd4725ccef9e7b0a246ccaf0fa149162d3191e12ca7a91aa - - initial_input_ast: 7d25236922783092ec2ff51bbec26518786797eff2cf3b4a39498c825cdbcaf1 - initial_ast: a96922f205d357ae040c5de3f5acaa1bf819e145243b2e450510c3086589c784 - unrolled_ast: a96922f205d357ae040c5de3f5acaa1bf819e145243b2e450510c3086589c784 - ssa_ast: 920cdbde9274e3fa395a3036e59bbf798ff72216869c61f4d90c467c6a9dcee6 + - initial_input_ast: 6148c63792d2df4234dae1e3a094c87e461afdf10b2761c0b2ecbb143b4aeaf0 + - initial_input_ast: c19503821db7d2fe797e97f0c3b0a969e575de996efa0f63e3ba87ec8ed2afdc + initial_ast: 310bfda2586c3685abaa36d4915a58e8d3b82b7359e846c8f2189223fa4dca27 + unrolled_ast: 310bfda2586c3685abaa36d4915a58e8d3b82b7359e846c8f2189223fa4dca27 + ssa_ast: 739a40e87fb644716cc842b5f121274f9a9de6922e2716fe4fb9e28ed3123f70 diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index 47882cf0ed..d5a169c384 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 6b4cdfe5abc1c4ee9ebc7c514658f87e6c179a03a18a7d9249849c1fdff20e39 - initial_ast: 612e1a7438a1a6578325bdcd841c56c79e8ac321797f8bb408d9bb6b83d0e0cc - unrolled_ast: 612e1a7438a1a6578325bdcd841c56c79e8ac321797f8bb408d9bb6b83d0e0cc - ssa_ast: e4de22c6ccb1b29ce1d3fd8546131ad3752f63ba4f67a33d261dcf39f557b27c + initial_ast: 0440d94eecc9c17b787fe02d2adce7e59ec555b3757abccb69d052fa9c45366a + unrolled_ast: 0440d94eecc9c17b787fe02d2adce7e59ec555b3757abccb69d052fa9c45366a + ssa_ast: 0e509b5959c4db25344bdc086628e149390fdb2640cd369362ff838469c866be diff --git a/tests/expectations/compiler/integers/i16/negate_zero.out b/tests/expectations/compiler/integers/i16/negate_zero.out index 7c53eab7a7..86e223cab8 100644 --- a/tests/expectations/compiler/integers/i16/negate_zero.out +++ b/tests/expectations/compiler/integers/i16/negate_zero.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 - initial_ast: 3c4c8b83883cb5eddce9517ff14019f6c6cc6febc6665c68f9c81c9f0b258b3c - unrolled_ast: 3c4c8b83883cb5eddce9517ff14019f6c6cc6febc6665c68f9c81c9f0b258b3c - ssa_ast: 6ded6b7f235aba8f94823a70c697438ad00658ca160283965387ed3ac43a7b2a + initial_ast: f3cc59e6ae944246ef50510baec959e54ef8144c9deb693904975918416a06c7 + unrolled_ast: f3cc59e6ae944246ef50510baec959e54ef8144c9deb693904975918416a06c7 + ssa_ast: 9c8a21f641fcdd48c5e84365bc25388e25f9035881eb5d6cd98dddb1f9f43a52 diff --git a/tests/expectations/compiler/integers/i16/operator_methods.out b/tests/expectations/compiler/integers/i16/operator_methods.out index 8b599c988d..033b9fcaa9 100644 --- a/tests/expectations/compiler/integers/i16/operator_methods.out +++ b/tests/expectations/compiler/integers/i16/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ecb03a6467deb3712193feffc2b7d3af04442b075671ecfaf36e932162a86e2a - initial_ast: 72ee05afa4686d5a470bbadb0c4e08fb3133926b3139ec0df55399c605dd5044 - unrolled_ast: 72ee05afa4686d5a470bbadb0c4e08fb3133926b3139ec0df55399c605dd5044 - ssa_ast: 767ac8c9e5b8a755bafc956d727d9adce7a38faf8075fcbb7807689088718d3e + - initial_input_ast: f340494ce3be84e4198d8615b02c7c1c3ca14fbcf1bf0750350dd61211302cdb + initial_ast: d7032e6d3047e2ebe679f81ae6f6480f992449f8fee93a681d2cf4ce132fe758 + unrolled_ast: d7032e6d3047e2ebe679f81ae6f6480f992449f8fee93a681d2cf4ce132fe758 + ssa_ast: 1fbc8e4afd24b4cb04595030d2df0f3fd9f5d7e7c009505f6277a32bed8b9486 diff --git a/tests/expectations/compiler/integers/i16/or.out b/tests/expectations/compiler/integers/i16/or.out index e6c951dc8f..56a100be80 100644 --- a/tests/expectations/compiler/integers/i16/or.out +++ b/tests/expectations/compiler/integers/i16/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f2735a0950a2843a36c064271415244f527dee4a3e53e5115bf1954c50ed4808 - initial_ast: 8b3ab65110ccfe89dcea5cf731f5b31747090296bb2860e37ae4b55b3e251fca - unrolled_ast: 8b3ab65110ccfe89dcea5cf731f5b31747090296bb2860e37ae4b55b3e251fca - ssa_ast: a2a54e0b22a26557983402e5b4f614d23bca1288e38a9b139fcb58ec3cb6ea9b + - initial_input_ast: 40307e11e7c825f8af2ba9d98ba89534834e5816500737ac4d4d2507063f0497 + initial_ast: e7555489e7b459e32ec15727ae08d28ada2881e00ad34a5eba75b91a2e4fae67 + unrolled_ast: e7555489e7b459e32ec15727ae08d28ada2881e00ad34a5eba75b91a2e4fae67 + ssa_ast: 79edc34bcd2a1990a5721ebc0f809a4339bc11953f6c61b403693c6cb2066a9c diff --git a/tests/expectations/compiler/integers/i16/pow.out b/tests/expectations/compiler/integers/i16/pow.out index bc7b32bed6..a97322b88c 100644 --- a/tests/expectations/compiler/integers/i16/pow.out +++ b/tests/expectations/compiler/integers/i16/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 905ff3d2b160b47b3067a8db8dc39d97d7d561bd539b7aea9eb2e62fd3858614 - initial_ast: afa23273b45590c06f2e18981be59833dff23a2d4c39e5445ad138abef7a1abe - unrolled_ast: afa23273b45590c06f2e18981be59833dff23a2d4c39e5445ad138abef7a1abe - ssa_ast: 9b6327d9277607015c6894a87d3a69242547c432773c44f6b27a220428adeb94 + - initial_input_ast: e3629375749944fc640359e2e871b50137d6a40fd22301134f7c708c24438365 + initial_ast: d1afd91fdc4486fda17ea817efefd4c69dac1d97ef8aab93dbfaa238a6360f7d + unrolled_ast: d1afd91fdc4486fda17ea817efefd4c69dac1d97ef8aab93dbfaa238a6360f7d + ssa_ast: 96726c5565994a94be528ab8fcdf41f9f7df9dad57ef9cf9bcdd7bb357260f5c diff --git a/tests/expectations/compiler/integers/i16/rem.out b/tests/expectations/compiler/integers/i16/rem.out index 55a3deae75..1146fc649a 100644 --- a/tests/expectations/compiler/integers/i16/rem.out +++ b/tests/expectations/compiler/integers/i16/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 284cc306edf57a02339ef2560f21ce29808d1bce42ab36402091e814e39c9fb6 - initial_ast: 0f6e2f6f6b246e81038c5b081c9f5369226faa6dca4783496de4f5e8c466b27b - unrolled_ast: 0f6e2f6f6b246e81038c5b081c9f5369226faa6dca4783496de4f5e8c466b27b - ssa_ast: 14bc8091a06552d40af76123d9b7156c616bf1c459f7916943b44871d8508765 + - initial_input_ast: d176e8f3f8e1c2fdba4f650075f34212caad33f2d09ec00cf99e806ed08f7d01 + initial_ast: 874b1fc9fc388fb2e72f7c102c3c9ab95a0914672143d41794e7eac553f08e25 + unrolled_ast: 874b1fc9fc388fb2e72f7c102c3c9ab95a0914672143d41794e7eac553f08e25 + ssa_ast: a740634bf7dab4fae35dd9c9a70e740bc4223663a361e12fa5a03acc18863123 diff --git a/tests/expectations/compiler/integers/i16/shl.out b/tests/expectations/compiler/integers/i16/shl.out index 8847a74aab..fd4820d36d 100644 --- a/tests/expectations/compiler/integers/i16/shl.out +++ b/tests/expectations/compiler/integers/i16/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d80ff983ad30c7caaccb75dc86099ad956649b9f9a0bb5c6363665e495ce3a36 - initial_ast: 0e1027b3605e2882a78c501fef307559ba076714ccc99b35b9de19926aa4fc4d - unrolled_ast: 0e1027b3605e2882a78c501fef307559ba076714ccc99b35b9de19926aa4fc4d - ssa_ast: 9a44421052b76d6827eacf52262764239b3a60a0bb046258bbaae015751378d3 + - initial_input_ast: 011c30fafe5e5b8fc33a71cac58c44075184ab0cceb337388285a0bb5d4254f4 + initial_ast: 94c59d931c0b9c7c1c1ec8cd12087e178a53e8af1786f4496c68e85e63174fdb + unrolled_ast: 94c59d931c0b9c7c1c1ec8cd12087e178a53e8af1786f4496c68e85e63174fdb + ssa_ast: 80be4492765869f743a3db36de9da463c90cb8ab155dca2546de0b72879b7cd8 diff --git a/tests/expectations/compiler/integers/i16/shr.out b/tests/expectations/compiler/integers/i16/shr.out index 35b5fc3ba6..c59bc5adca 100644 --- a/tests/expectations/compiler/integers/i16/shr.out +++ b/tests/expectations/compiler/integers/i16/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d80ff983ad30c7caaccb75dc86099ad956649b9f9a0bb5c6363665e495ce3a36 - initial_ast: dc90701696eeafd03f2ea5d03a9f05f23b5f47002350e7348a66beb3c7d8b121 - unrolled_ast: dc90701696eeafd03f2ea5d03a9f05f23b5f47002350e7348a66beb3c7d8b121 - ssa_ast: d80c4a16a282b4981f60119037769fefcd38a70b78a4c0f999e5208d6245c062 + - initial_input_ast: 011c30fafe5e5b8fc33a71cac58c44075184ab0cceb337388285a0bb5d4254f4 + initial_ast: cdbc0d942404524f5d25f98e0048982361bff55ace37ca1de4d51cf07de6b66a + unrolled_ast: cdbc0d942404524f5d25f98e0048982361bff55ace37ca1de4d51cf07de6b66a + ssa_ast: 25c3b0b44fdc9fcf698fc6487834194fd7f522bdd6203f8cfa8fe6e55ba1a002 diff --git a/tests/expectations/compiler/integers/i16/sub.out b/tests/expectations/compiler/integers/i16/sub.out index da0d6c801a..6468377eb3 100644 --- a/tests/expectations/compiler/integers/i16/sub.out +++ b/tests/expectations/compiler/integers/i16/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8c98050d194e1a5ea13ec3b4410c455eb9fa17d8884fe99cb92813f1b7bd16fa - initial_ast: 61106babdbd13a3e7312b95e7acb474c5ea7b20213ce727edaaece6ab050e6ac - unrolled_ast: 61106babdbd13a3e7312b95e7acb474c5ea7b20213ce727edaaece6ab050e6ac - ssa_ast: 15947ba1de1e3666eb9ed6b9cfb6872b50d9f64a1157e4d7e85203f4f8dbb921 + - initial_input_ast: f29c7d2e431dde3de3c970179105ab02912cf0aecd0ef180d452a0af37677534 + initial_ast: ab86bf30259d222a0e9ddef62b1d3294de3c0a4d8727517412937099e38976ad + unrolled_ast: ab86bf30259d222a0e9ddef62b1d3294de3c0a4d8727517412937099e38976ad + ssa_ast: c3a7244c5503b56d0ce3cb2b62d4503199b6bd65c24f4152e1cb10cae236a5d5 diff --git a/tests/expectations/compiler/integers/i16/ternary.out b/tests/expectations/compiler/integers/i16/ternary.out index 70e4d1f214..7e68dee2c0 100644 --- a/tests/expectations/compiler/integers/i16/ternary.out +++ b/tests/expectations/compiler/integers/i16/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6b08c7ce3be7da162dc4013599e9ce4173e7f587a5b8e82d20961b8375bf2b53 - - initial_input_ast: 501a8b159c09d956d26e8665e582bb1a4cc603fad380e52f2132ddbee3034e16 - initial_ast: 605cd8f4935087f09446a44b168198286841bf5a075a86bbf674bb79f00b0851 - unrolled_ast: 605cd8f4935087f09446a44b168198286841bf5a075a86bbf674bb79f00b0851 - ssa_ast: d4768038ab0d620ee070cbee9ca4e34e18a725661e7a3e212a850878a11648aa + - initial_input_ast: a1af7a4643cac81ced12af9c07c21529b6ccdc821f401fc219796fea8e2bbee5 + - initial_input_ast: e2e39a4d263ee686e6dc45d22a01806c565cf251757cad894ab48dda6af88729 + initial_ast: 6b5d4069ac1a7fa4c5133fd4bddaf70aa3f0552db0d9f615f33fd38df27679b9 + unrolled_ast: 6b5d4069ac1a7fa4c5133fd4bddaf70aa3f0552db0d9f615f33fd38df27679b9 + ssa_ast: 95440ed79efa50c2b0ba357a98e87995c362a999240f9ff1844fb88b3dd44ac8 diff --git a/tests/expectations/compiler/integers/i16/xor.out b/tests/expectations/compiler/integers/i16/xor.out index 542e3ef6d1..a49e8c87fc 100644 --- a/tests/expectations/compiler/integers/i16/xor.out +++ b/tests/expectations/compiler/integers/i16/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: dd8b2fd6dfb555a8056adb9f5abc46f46b6f705302e2e3a032b45f75330783a2 - initial_ast: ee8c58e28e28d81bc27660022a13fa135a02baed281382f353244a18fac3cdf3 - unrolled_ast: ee8c58e28e28d81bc27660022a13fa135a02baed281382f353244a18fac3cdf3 - ssa_ast: b0bc5745edfed4b5747b5708719344cc134cf1c42c0a5e5392ed684f72208d7a + - initial_input_ast: 39d44e875fc43ef0d828d99321b682becf9a4589682d9b151e4c491c1a0de1eb + initial_ast: 579518fb806b9b06a35a896cbae22dcaa1d87b2bca67e3b2e6d1c9c2ed7afc1b + unrolled_ast: 579518fb806b9b06a35a896cbae22dcaa1d87b2bca67e3b2e6d1c9c2ed7afc1b + ssa_ast: dc14739bb2df34734b150eea0c91c003e3f16793cd1902817e2cf4072ca6f8ae diff --git a/tests/expectations/compiler/integers/i32/add.out b/tests/expectations/compiler/integers/i32/add.out index 5de02512fe..136edb9e73 100644 --- a/tests/expectations/compiler/integers/i32/add.out +++ b/tests/expectations/compiler/integers/i32/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 30d851318437d390a5310141e2e6fbff9cf932de61c7b71c7215d791dd7ad82a - initial_ast: 773d7b633f3b5d3f2eb02036c39a032bc3a6d15d5cae568134069788e45de926 - unrolled_ast: 773d7b633f3b5d3f2eb02036c39a032bc3a6d15d5cae568134069788e45de926 - ssa_ast: e8a56dfd4f86c95346a63456d970334b248ddf48034bc120b09bbcc652d1d0f4 + - initial_input_ast: 115a6d30ecb5cb1da8947c891164f05b134b1b1ec674a4ad7347dc9a0e29bba5 + initial_ast: f2e96359836abbeb7e633d41336d047ebd447008739153686a94f25130102f76 + unrolled_ast: f2e96359836abbeb7e633d41336d047ebd447008739153686a94f25130102f76 + ssa_ast: 721f5f095fe3d2dcd3ec7f2591f5181aba7d4a16e1bd5dfb0dd873dc83ab3930 diff --git a/tests/expectations/compiler/integers/i32/and.out b/tests/expectations/compiler/integers/i32/and.out index 332b72ac72..c409f3e72e 100644 --- a/tests/expectations/compiler/integers/i32/and.out +++ b/tests/expectations/compiler/integers/i32/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 30d851318437d390a5310141e2e6fbff9cf932de61c7b71c7215d791dd7ad82a - initial_ast: 5ed8578e7bff329058279d7f4d15fcbe73fd7976013ec3ef88cbbd304e62fd55 - unrolled_ast: 5ed8578e7bff329058279d7f4d15fcbe73fd7976013ec3ef88cbbd304e62fd55 - ssa_ast: cd7d8488b62780c4a05703e86a1a5dd5ba1967c0a7fb2e67d40830ab1da29b45 + - initial_input_ast: 115a6d30ecb5cb1da8947c891164f05b134b1b1ec674a4ad7347dc9a0e29bba5 + initial_ast: 0f460e8710bd17a503752946643c51b3b8e81fcbeabc556d579a450e61ecc7bf + unrolled_ast: 0f460e8710bd17a503752946643c51b3b8e81fcbeabc556d579a450e61ecc7bf + ssa_ast: c9e8f0ad54930fa4e47abd8881322b74ed66c83fb557f0c80875b2aa64d82bef diff --git a/tests/expectations/compiler/integers/i32/console_assert.out b/tests/expectations/compiler/integers/i32/console_assert.out index c89b5600a3..ea1a2852ac 100644 --- a/tests/expectations/compiler/integers/i32/console_assert.out +++ b/tests/expectations/compiler/integers/i32/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 39e705a9216291f52ce6053a6f28fa041ba65a79ffd01acd32052cdc9baaaf25 - initial_ast: 0f5309922dfbd54be92ecef3717fedc05acbabdfcd2b0e436b94e992b065db11 - unrolled_ast: 0f5309922dfbd54be92ecef3717fedc05acbabdfcd2b0e436b94e992b065db11 - ssa_ast: fc06fb1b617eef470c2a94023b6d2b71625b93e51cfe25670a3710b1b2292909 + - initial_input_ast: 2d9e24f0eff681efa2b8314ac499e01e459c0410f9198551ba0eb10acc001bbc + initial_ast: 26994cfc596afc45a281971c27f72bf6cf9b883ff9feeef80c17de370b108eb6 + unrolled_ast: 26994cfc596afc45a281971c27f72bf6cf9b883ff9feeef80c17de370b108eb6 + ssa_ast: 6583248d5d62ebb190468a179d5afcce06d641f721a8ad3a0c9fdf1690d9b8d5 diff --git a/tests/expectations/compiler/integers/i32/div.out b/tests/expectations/compiler/integers/i32/div.out index 2193b98590..a4021ecd76 100644 --- a/tests/expectations/compiler/integers/i32/div.out +++ b/tests/expectations/compiler/integers/i32/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 34d29b9c03c17cf1c6d33f5dca0287e351c98c3e38dcaef5007697ee936e5f5e - initial_ast: e588e948d2ecb99f4e0112b5d58e7e684d96b51a75739f7b1985e63c962908e5 - unrolled_ast: e588e948d2ecb99f4e0112b5d58e7e684d96b51a75739f7b1985e63c962908e5 - ssa_ast: a6357fc3521a9f34f0e3720a47b710731ec4014f5d20314b829c295c7f6830df + - initial_input_ast: fe4ab50a782b6c0845f8aad4f6fc15552e8535ef1d9a2577244472922e574c29 + initial_ast: c8b73a3d9044375b28d356d25aecbcdaa88dbe4a5c633e54ada602b14ea99c72 + unrolled_ast: c8b73a3d9044375b28d356d25aecbcdaa88dbe4a5c633e54ada602b14ea99c72 + ssa_ast: 2adb7e244b12a07f5d216bf70993108bda464652c0f8fb06c406a31062837246 diff --git a/tests/expectations/compiler/integers/i32/eq.out b/tests/expectations/compiler/integers/i32/eq.out index 209e4e543c..20317b5f67 100644 --- a/tests/expectations/compiler/integers/i32/eq.out +++ b/tests/expectations/compiler/integers/i32/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6360176079556b3313c644fa61e446f14630c10001147ad13c045ccd78829805 - initial_ast: 5e78e189a97ba2c78377b347cb9f4d9c68cc246fa3ed69b4d385fb7b43f19a73 - unrolled_ast: 5e78e189a97ba2c78377b347cb9f4d9c68cc246fa3ed69b4d385fb7b43f19a73 - ssa_ast: 0c3a58cadf10d2dae0800926911ca7cd026a8c959a20e553bcbffc404875c492 + - initial_input_ast: 9bc3ddb569ee0fdc3124bc962fae2f3847c6f774977fbab344f83dbc5843e155 + initial_ast: fbe0aea6e99b69452567b0e6ca947b49130320f580dd6d24e5acfaeb13c30243 + unrolled_ast: fbe0aea6e99b69452567b0e6ca947b49130320f580dd6d24e5acfaeb13c30243 + ssa_ast: a52981da8bf68400bf8f1039a530a3558d927285b8f9dd29e43f9d2b4b5c79cf diff --git a/tests/expectations/compiler/integers/i32/ge.out b/tests/expectations/compiler/integers/i32/ge.out index c46571122b..08142a17c0 100644 --- a/tests/expectations/compiler/integers/i32/ge.out +++ b/tests/expectations/compiler/integers/i32/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 35db03e52c5ef3c2e427eb75aacaf425b3ec691afcdabfd7f0e3d1349e69ec25 - - initial_input_ast: 4a149a7f5164375cd51c1e5db08f2a1d2a446a24f6553aac9b9afab80fc482da - initial_ast: 81561f821aaeb803fa371cf8d5c9668c7ab5e46aa86335fd6225f276cb1d01ec - unrolled_ast: 81561f821aaeb803fa371cf8d5c9668c7ab5e46aa86335fd6225f276cb1d01ec - ssa_ast: d4648caa5845124680eaed25db3a02f46e3735204cdbeb3035584aadd21a2184 + - initial_input_ast: 1fa88a06cb7904bb6ea38bcb43cbbfc1d6ee6b006b17df3163c364f7e243a3dc + - initial_input_ast: 7a74980e5da40040f4780fbf4dfd669822a27ccd0f969e61eaf9b1e417c514a2 + initial_ast: 72a52284fd9e2bbaaf339bf1cfb1cef26da93e818dfe67e1c989a76e7900afe0 + unrolled_ast: 72a52284fd9e2bbaaf339bf1cfb1cef26da93e818dfe67e1c989a76e7900afe0 + ssa_ast: c3cc12fdb099eb9ee93f395b5e38d8251174cb4e9ce5799a3485c341e94396ff diff --git a/tests/expectations/compiler/integers/i32/gt.out b/tests/expectations/compiler/integers/i32/gt.out index 7a7c413e33..e000a9e78d 100644 --- a/tests/expectations/compiler/integers/i32/gt.out +++ b/tests/expectations/compiler/integers/i32/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 50c7482a56acb07b3da23475d069e90fe855b4b88a39262178440f40d003803a - - initial_input_ast: 1b9524b3145966c3f8e1869a25174833c61bb2c6fdbb86139a5d0f2521b70d70 - initial_ast: 005ac95dad8efad91e1a6682ec2867d9ce52bcb95bac65f3f9783ca3bf2e634e - unrolled_ast: 005ac95dad8efad91e1a6682ec2867d9ce52bcb95bac65f3f9783ca3bf2e634e - ssa_ast: 16fc6f83b6854a6750af5f16bad29481645d093191811b1480cee338f13d7c73 + - initial_input_ast: 6fb06b89859fe3226d58feb5de4308e41bd94f1f353b714b78b5e9e9f8e59067 + - initial_input_ast: 6c356448bc6553c91445af7b202407784666d13b43b1d5b6cb7f46507e7dce64 + initial_ast: 0cf2d2abf079c102d8d3089b3035ea49227e900869cf623d2b608e95dec72d22 + unrolled_ast: 0cf2d2abf079c102d8d3089b3035ea49227e900869cf623d2b608e95dec72d22 + ssa_ast: b5807dbaab23db0ae2dd4102bccc7646ffbb61d47eb9014574e4c5b855b075a0 diff --git a/tests/expectations/compiler/integers/i32/le.out b/tests/expectations/compiler/integers/i32/le.out index 1e3d94fae2..bdcb30e648 100644 --- a/tests/expectations/compiler/integers/i32/le.out +++ b/tests/expectations/compiler/integers/i32/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 35db03e52c5ef3c2e427eb75aacaf425b3ec691afcdabfd7f0e3d1349e69ec25 - - initial_input_ast: ad0c7031ac184de9b31321c63d831f5fceed8f4fdc5c20ab9dbd131a9684fd63 - initial_ast: dc6b6130e53cf3732cc3546f6209e12c4dfc7ed2ae874143444db9c5bfa70ca4 - unrolled_ast: dc6b6130e53cf3732cc3546f6209e12c4dfc7ed2ae874143444db9c5bfa70ca4 - ssa_ast: e60c62024af697b0353937324278d1f4f9c3c4c6696569a5c598a1c865a530a5 + - initial_input_ast: 1fa88a06cb7904bb6ea38bcb43cbbfc1d6ee6b006b17df3163c364f7e243a3dc + - initial_input_ast: 34fca992b4e36972940eab79a622a8eacea6767d3396dd1d3ae9a7c3374429b8 + initial_ast: f3e1791b8b04ce16236038950221129b23879e443be980062bb78148c9480983 + unrolled_ast: f3e1791b8b04ce16236038950221129b23879e443be980062bb78148c9480983 + ssa_ast: d77dd2b707143936f0482993bd7db449da9e7886ba84e3fb11f8c3fba97da2fd diff --git a/tests/expectations/compiler/integers/i32/lt.out b/tests/expectations/compiler/integers/i32/lt.out index 801ee7d982..9555e8487a 100644 --- a/tests/expectations/compiler/integers/i32/lt.out +++ b/tests/expectations/compiler/integers/i32/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d98ebc004fe3864ce283998439c94bea4e7cc1b8a4d9ede48a22600558b69927 - - initial_input_ast: 75a864aff97aa223aeaa46b8552ed6fe480586f3ef96559cad52e2ad145663fd - initial_ast: 95f648aa1e3495e45649ee82f76fba4e7900b5e4c0e18c9c2ecd903a7815feba - unrolled_ast: 95f648aa1e3495e45649ee82f76fba4e7900b5e4c0e18c9c2ecd903a7815feba - ssa_ast: e3fac625d2f40e3b24ffda2a6c411a1073bf00d75b9197a791e5da8e1319dcdc + - initial_input_ast: 5e260199130a28cb0fe68b9b99907af0abc64b197ad290518e286382b6583e9f + - initial_input_ast: 101d5088f3e20acaef900756e1dd82deb3bcef96515ec9e29451000acb93f574 + initial_ast: adbac325414c75de1835423024a8a9f54fc83d5e691ce8c3ed023b1a9835b5e0 + unrolled_ast: adbac325414c75de1835423024a8a9f54fc83d5e691ce8c3ed023b1a9835b5e0 + ssa_ast: d231afd3c3aa742ac943893c4bac6f6e95d1e52b168b1337e652887bcfb1b383 diff --git a/tests/expectations/compiler/integers/i32/max.out b/tests/expectations/compiler/integers/i32/max.out index b0888094eb..a00c19d6b1 100644 --- a/tests/expectations/compiler/integers/i32/max.out +++ b/tests/expectations/compiler/integers/i32/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 257a1001521c3f8c50fa9698a12f1a70220d572fd99002e50f513a60cb09d719 - initial_ast: 879b50bc6c73616c72fe8d4d328b9885e45d312547e8e3fc7ebb4956526d4808 - unrolled_ast: 879b50bc6c73616c72fe8d4d328b9885e45d312547e8e3fc7ebb4956526d4808 - ssa_ast: b37fa262aa6a16254ac9fd55be8c0ddf4411388c18f9be126d72239ac408cbd8 + - initial_input_ast: 9c83d769040080581099af69372dfe6e214a24ac5a525b7ec2ea847a6bad0510 + initial_ast: 2e432ebbc75b4d80078410391b177680536ed169eadb4186c4e4aaa7a7305e09 + unrolled_ast: 2e432ebbc75b4d80078410391b177680536ed169eadb4186c4e4aaa7a7305e09 + ssa_ast: 2868119487beb364064a8fd536aa02de8a1182eb9ffb434b3413e5e4ed771866 diff --git a/tests/expectations/compiler/integers/i32/min.out b/tests/expectations/compiler/integers/i32/min.out index ccdbe90e24..456d93f391 100644 --- a/tests/expectations/compiler/integers/i32/min.out +++ b/tests/expectations/compiler/integers/i32/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b4483ea97ae93b05ca67ce2eb626c795b43deb35efbac286bbed4aca4b560861 - initial_ast: bde5be32e05120e4464bc98db421b23d306f70cec5650b1fa166b4ea51713667 - unrolled_ast: bde5be32e05120e4464bc98db421b23d306f70cec5650b1fa166b4ea51713667 - ssa_ast: 32f21a6564ec6a8bcc0fd5b5e8ee333d34f382eb9ff1ee61574d72b34f65067e + - initial_input_ast: 79b30b487a7c4c687b0b97e1dcaf1b979a57f5a2a995c8b716941ce243694fb2 + initial_ast: 7fec575f7474204446332708bb666f5f061866f9af66fc7b669be1322391be12 + unrolled_ast: 7fec575f7474204446332708bb666f5f061866f9af66fc7b669be1322391be12 + ssa_ast: 45bacb813e33d69f4b904c952ab30693f97530aa7a0d5d1bb2d191c8b0c0cd66 diff --git a/tests/expectations/compiler/integers/i32/min_fail.out b/tests/expectations/compiler/integers/i32/min_fail.out index af37d1a10b..cd384ac05a 100644 --- a/tests/expectations/compiler/integers/i32/min_fail.out +++ b/tests/expectations/compiler/integers/i32/min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 50f33fa362d3ae6db603da995505be6967495258db78476959871136723a651a - initial_ast: fa87c006b864d4e53d64175e50d81112dd33fa77a094567987f06b9d2bee5d58 - unrolled_ast: fa87c006b864d4e53d64175e50d81112dd33fa77a094567987f06b9d2bee5d58 - ssa_ast: 813732df76f2324135e5e157503cbaf9d8d50add416037bef4f3542f18822e02 + initial_ast: 00da05e4b5f761c3f388125430ada5e10f57fe55afd8a834ea4cb14cad9acf53 + unrolled_ast: 00da05e4b5f761c3f388125430ada5e10f57fe55afd8a834ea4cb14cad9acf53 + ssa_ast: 52f52e98b0eb3b67c1fd7b689d3fbc832218a23ffff3d4f72b18c4718d250d8d diff --git a/tests/expectations/compiler/integers/i32/mul.out b/tests/expectations/compiler/integers/i32/mul.out index 7574b18865..f57f6aa146 100644 --- a/tests/expectations/compiler/integers/i32/mul.out +++ b/tests/expectations/compiler/integers/i32/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a1bd0fd91abb38e0e797ef352b247bfbc1dc5c0b56f00ec644766de21b74c424 - initial_ast: 63301ce9fde52455008195d647e4f11dc89bf680d5e29bef2b95a1b8ecb5a8c8 - unrolled_ast: 63301ce9fde52455008195d647e4f11dc89bf680d5e29bef2b95a1b8ecb5a8c8 - ssa_ast: 9de77de1eaa24bbcddfb643c875cfd8186a55d166a50bc343d6f777c674a6950 + - initial_input_ast: 74714a64482769e3a2d83ab594136b153299176d59e0011a58f65e92255aaf56 + initial_ast: 1b5cc33628f767e3746861002d737d9bca65a7def3d32a45b1a7d9b0e62bb8a1 + unrolled_ast: 1b5cc33628f767e3746861002d737d9bca65a7def3d32a45b1a7d9b0e62bb8a1 + ssa_ast: 91a231ca1435f9f21e7479690b49d80e6370c2893fb92617f1a9005b9d91a387 diff --git a/tests/expectations/compiler/integers/i32/ne.out b/tests/expectations/compiler/integers/i32/ne.out index f0f4ae1edf..5d1971f314 100644 --- a/tests/expectations/compiler/integers/i32/ne.out +++ b/tests/expectations/compiler/integers/i32/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e4666302821a525290f4b128b39e70b84044a183cf70260ac852ed61f70f14ee - - initial_input_ast: be370f4f74d08437ccaa313592d97d422b3ddb5f6b62e4c4698d8d2b40e3848a - initial_ast: 8c265f26cf4c6d7e8536e746a90dc569ea786ccb9ca4fa4541ce75c95cf87cb9 - unrolled_ast: 8c265f26cf4c6d7e8536e746a90dc569ea786ccb9ca4fa4541ce75c95cf87cb9 - ssa_ast: 544ea8367fda83a9fa1cb8f406f33c54f34c891ab5254a32b45f4597f6b3b3c2 + - initial_input_ast: d85745dddc74c432c15e81c93dc3af0e28a95fa711bc78029c9db537168e1684 + - initial_input_ast: 62919447bb6ae8f7dd9c65be206a631f352ac43ffe8a12c14fbf160311c321d6 + initial_ast: 4f4a0fa2929a0578bb1c03a5a3bd56255fb6b45bc76e2d73de20e777efc93e69 + unrolled_ast: 4f4a0fa2929a0578bb1c03a5a3bd56255fb6b45bc76e2d73de20e777efc93e69 + ssa_ast: 42924760f4013cb362f6e52e63ec95272e0011a6c4ea2c069eef49eb5c8680b6 diff --git a/tests/expectations/compiler/integers/i32/negate.out b/tests/expectations/compiler/integers/i32/negate.out index 64c54a1de0..dd998a084f 100644 --- a/tests/expectations/compiler/integers/i32/negate.out +++ b/tests/expectations/compiler/integers/i32/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 73a1b55568b6659b313e5c492b778cb93cc84eabf3ef8e7ef1dfd40b6e1c56ca - - initial_input_ast: f875beabafba44118db871e4d1c1b87460986a2e8547e421e9b509367cf3ef80 - initial_ast: 5dd828505325c1c765304e866d87101e93ed54797dd283dd4899e586b1bdd96a - unrolled_ast: 5dd828505325c1c765304e866d87101e93ed54797dd283dd4899e586b1bdd96a - ssa_ast: 29311316479295dfe46950d8a296993141d0f77304027deeb416358b9d5c7447 + - initial_input_ast: 7d02099f52dd4b4c853372b4eaadee788915bec063ffd5e3229cd66fcea83931 + - initial_input_ast: e9433083cfadc9e5340a4359e6cbff511a853d3e1ab24b9093c7bbaa96f06f13 + initial_ast: f9c0a6e8c71d38e9cd75bbd5ef1feacafb9930cf5e029e9b2d410f9ad4ad79b2 + unrolled_ast: f9c0a6e8c71d38e9cd75bbd5ef1feacafb9930cf5e029e9b2d410f9ad4ad79b2 + ssa_ast: b2463c7c8ff712e0dd2a589692ab9d5222eaf91e8988afcf923c98f5f4d874d1 diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index 03f9f427f2..e5876222c6 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 3ca155c33debfdfb0192a7bddb387e5e7fafeeaf31f0ef5089be2352d74faed3 - initial_ast: 45465e4f913c8b730d8a2dd3606e7d3af47bcd5086f831f199f5a743533ce9a5 - unrolled_ast: 45465e4f913c8b730d8a2dd3606e7d3af47bcd5086f831f199f5a743533ce9a5 - ssa_ast: d827308a1755e5f58e067eaa2bebb7d747bafa401644f6e899942afbe585bdfb + initial_ast: 363b5086541a48fb6f45600281a01b2b29ebd11364eb7bd7f99df619c4335ae4 + unrolled_ast: 363b5086541a48fb6f45600281a01b2b29ebd11364eb7bd7f99df619c4335ae4 + ssa_ast: 6dfca0c27bda52e7578da2abd3f209ad58769d1087f0ef6c0bcb0fe8395f9185 diff --git a/tests/expectations/compiler/integers/i32/negate_zero.out b/tests/expectations/compiler/integers/i32/negate_zero.out index ce814b17ef..e502c2d1fa 100644 --- a/tests/expectations/compiler/integers/i32/negate_zero.out +++ b/tests/expectations/compiler/integers/i32/negate_zero.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 - initial_ast: db3369fbc15d20ef7d16625dfd3a4304c911e1b7865516f776c16de83d42fe60 - unrolled_ast: db3369fbc15d20ef7d16625dfd3a4304c911e1b7865516f776c16de83d42fe60 - ssa_ast: 675ee8d8b919d90c1e9626965c6f129a0f49709d6535286218ddb708f742aa7f + initial_ast: 29c82fd5e9ae8314f471d622641877d6d21346cde2118255b6a0b45b904c82a8 + unrolled_ast: 29c82fd5e9ae8314f471d622641877d6d21346cde2118255b6a0b45b904c82a8 + ssa_ast: c3f992556ed8d576be530f942b658c0ad3430b3f84f1f7f93c19ae0467170b51 diff --git a/tests/expectations/compiler/integers/i32/operator_methods.out b/tests/expectations/compiler/integers/i32/operator_methods.out index 2cd98a10a1..0271ac24b7 100644 --- a/tests/expectations/compiler/integers/i32/operator_methods.out +++ b/tests/expectations/compiler/integers/i32/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: cb358ee9b480ffb3da9b28826142166b899c35ee2e1db08501cb6b77af8e7cf5 - initial_ast: a9689ec9022d420a6e868010ffa615362727444cd27c4ad96f12ca0efc3e28db - unrolled_ast: a9689ec9022d420a6e868010ffa615362727444cd27c4ad96f12ca0efc3e28db - ssa_ast: 3923daddaaf15c0e03af1ce73cf52e35fde8566bf23c4bc9ae8fab5ea155d15e + - initial_input_ast: f17c9c37498de762a3900d8d33b939195120a97dea62589903fb55fa085c5b12 + initial_ast: 2371da5843f8f0a1c8893979c514de57e4805e6a8afebb830f6b66284ccc8cde + unrolled_ast: 2371da5843f8f0a1c8893979c514de57e4805e6a8afebb830f6b66284ccc8cde + ssa_ast: 340482c5e32c9b1ed7380f71b7b177816ddf135c6125f68e2718bd83a75a9786 diff --git a/tests/expectations/compiler/integers/i32/or.out b/tests/expectations/compiler/integers/i32/or.out index d12f4c1059..7adc331a2a 100644 --- a/tests/expectations/compiler/integers/i32/or.out +++ b/tests/expectations/compiler/integers/i32/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 30d851318437d390a5310141e2e6fbff9cf932de61c7b71c7215d791dd7ad82a - initial_ast: c79bcb28e3237bbc3486419aa564a7cdebee50fc5e1a4044d6082accd253cd9b - unrolled_ast: c79bcb28e3237bbc3486419aa564a7cdebee50fc5e1a4044d6082accd253cd9b - ssa_ast: 290d6fb798cf695fc3d887191011d38ce9b93b1ce0fa558338c91bcb591acac1 + - initial_input_ast: 115a6d30ecb5cb1da8947c891164f05b134b1b1ec674a4ad7347dc9a0e29bba5 + initial_ast: 2ebfec93f4d83c37de381b746150e78f10ce83646c8f007c6f630841091293d6 + unrolled_ast: 2ebfec93f4d83c37de381b746150e78f10ce83646c8f007c6f630841091293d6 + ssa_ast: d978f50e2bc773d4bc557b325b9a41e2ffe4f9b25c83381575afc5e5429bc9fd diff --git a/tests/expectations/compiler/integers/i32/pow.out b/tests/expectations/compiler/integers/i32/pow.out index 3e6ec0eee4..4301bd5bbb 100644 --- a/tests/expectations/compiler/integers/i32/pow.out +++ b/tests/expectations/compiler/integers/i32/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: df9139e95a82ad62d065a7b337a3c1f3729d21a566fadcab835691aec4d83af7 - initial_ast: 519da459ee96166fe7ba40ae79df76a44d1469912551465fcbb18d61761df3ac - unrolled_ast: 519da459ee96166fe7ba40ae79df76a44d1469912551465fcbb18d61761df3ac - ssa_ast: 95c683987002b9eaf8825b3ac987542950d4b0a5e96bab91a56db4e46879395b + - initial_input_ast: b85ca75790be46091fc6688e15edb349d2a20687795e9172943372d181ad2952 + initial_ast: 0720295f32918fed2e7707b86a0915c47c144128c7b8bda4651c670d49d1f652 + unrolled_ast: 0720295f32918fed2e7707b86a0915c47c144128c7b8bda4651c670d49d1f652 + ssa_ast: 94993ee688e81ef3ca7908ae5eb0c39fcffbb86c086950314c15ec0673eddda5 diff --git a/tests/expectations/compiler/integers/i32/rem.out b/tests/expectations/compiler/integers/i32/rem.out index bdd458fcfe..b2861f0544 100644 --- a/tests/expectations/compiler/integers/i32/rem.out +++ b/tests/expectations/compiler/integers/i32/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 34d29b9c03c17cf1c6d33f5dca0287e351c98c3e38dcaef5007697ee936e5f5e - initial_ast: e49df348a31c55427dfd4b880fd3a66ea77561b6d7a7900adfc676a87f3ed655 - unrolled_ast: e49df348a31c55427dfd4b880fd3a66ea77561b6d7a7900adfc676a87f3ed655 - ssa_ast: ba2913a96fce22c2cdbbfee53d288cbc42e80dfe86507b9179fb718713c315d6 + - initial_input_ast: fe4ab50a782b6c0845f8aad4f6fc15552e8535ef1d9a2577244472922e574c29 + initial_ast: 50f15c384224f88ab8b78d60d87a7c7a127026578e6c2e96c86d2d14b9e05470 + unrolled_ast: 50f15c384224f88ab8b78d60d87a7c7a127026578e6c2e96c86d2d14b9e05470 + ssa_ast: 85a9b9c81e1027f650840a2d3d62ef280c84b74aadd31cb8085803d8b4f2d711 diff --git a/tests/expectations/compiler/integers/i32/shl.out b/tests/expectations/compiler/integers/i32/shl.out index f68ff2422a..15623c79b7 100644 --- a/tests/expectations/compiler/integers/i32/shl.out +++ b/tests/expectations/compiler/integers/i32/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b4483ea97ae93b05ca67ce2eb626c795b43deb35efbac286bbed4aca4b560861 - initial_ast: bf564e3cd1388805a710c700d884240dc9d1855c484d31a2b0a80b30f78b7334 - unrolled_ast: bf564e3cd1388805a710c700d884240dc9d1855c484d31a2b0a80b30f78b7334 - ssa_ast: 89a3b29a62d8ae578f8f98bf449558e9724b3b57b79f54ca3bd4ffc4d7e31f7f + - initial_input_ast: 79b30b487a7c4c687b0b97e1dcaf1b979a57f5a2a995c8b716941ce243694fb2 + initial_ast: 44f0a52e26a9a0655e5c22e2b9fc8be808102f31048f5278004eca345789a82e + unrolled_ast: 44f0a52e26a9a0655e5c22e2b9fc8be808102f31048f5278004eca345789a82e + ssa_ast: ae0dace46198543a879b560ec7c6d63ce5641d0f6ed1edf5a1f4ed19f5665fe2 diff --git a/tests/expectations/compiler/integers/i32/shr.out b/tests/expectations/compiler/integers/i32/shr.out index 3153831422..63f71744f1 100644 --- a/tests/expectations/compiler/integers/i32/shr.out +++ b/tests/expectations/compiler/integers/i32/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b4483ea97ae93b05ca67ce2eb626c795b43deb35efbac286bbed4aca4b560861 - initial_ast: ea20d107b9e62d3a6eb9f86d2db6542e05aa26089694b92d200eacb033239dcc - unrolled_ast: ea20d107b9e62d3a6eb9f86d2db6542e05aa26089694b92d200eacb033239dcc - ssa_ast: c22576c1f960a28d64f100be3d465a189e73c39cad35d18a5ca39e76d20700d2 + - initial_input_ast: 79b30b487a7c4c687b0b97e1dcaf1b979a57f5a2a995c8b716941ce243694fb2 + initial_ast: a0434f5faa0695919e1c524592dc09144d3689bd1a6ef3961e2472f7e8bc5dcd + unrolled_ast: a0434f5faa0695919e1c524592dc09144d3689bd1a6ef3961e2472f7e8bc5dcd + ssa_ast: 8c9acbe0172b6ee087c8c8eabf0fad4f2485c6d666fa75f1c2b81feb83607c4f diff --git a/tests/expectations/compiler/integers/i32/sub.out b/tests/expectations/compiler/integers/i32/sub.out index 94a0a8611b..b1aceb88db 100644 --- a/tests/expectations/compiler/integers/i32/sub.out +++ b/tests/expectations/compiler/integers/i32/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c2cf1fd22485f467dc32475dee9d32ac80402e54adfcb0e2983099dba96f40d3 - initial_ast: d33ec9c0d4a97795faf2d47bc5e7d9750da8e86b8b2d353affc3161ca7f1f943 - unrolled_ast: d33ec9c0d4a97795faf2d47bc5e7d9750da8e86b8b2d353affc3161ca7f1f943 - ssa_ast: 9e22f3fe5d5808420259ffa12a9174a2dfb733536442eebf5518016096fdbbb2 + - initial_input_ast: 604a4578e0523e2ddb38aeeedaee3d2e03ffb926e86c7b41abcfa4acbf0a36b1 + initial_ast: 874d9ddb276bda2e2cadcd65625409d73251749c92bf6d359e49721e3de0bc54 + unrolled_ast: 874d9ddb276bda2e2cadcd65625409d73251749c92bf6d359e49721e3de0bc54 + ssa_ast: d060ea328c6985082fd803a711f934203da0b1cd62aa3cbc8e666fd06a83f0b5 diff --git a/tests/expectations/compiler/integers/i32/ternary.out b/tests/expectations/compiler/integers/i32/ternary.out index d5038a0969..0bc1b9ea09 100644 --- a/tests/expectations/compiler/integers/i32/ternary.out +++ b/tests/expectations/compiler/integers/i32/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2e1bc1f809806530e7c67b1740832ee9aaafb33d88628827b48dc375226f012b - - initial_input_ast: ec2c6839989988dc1c8e299c62401fc3b9fb5142932db597aa118d513b3e702d - initial_ast: 1287e489a48316557188db8521745a56c0ec9b32f64af5f4a9b1ded84eabb896 - unrolled_ast: 1287e489a48316557188db8521745a56c0ec9b32f64af5f4a9b1ded84eabb896 - ssa_ast: 66b0044b71e082dea89e12a36f97f500949fd01d0d3addd6aa1cc67f899cbe50 + - initial_input_ast: 4e62f141b67203605d32079bce0b9ec6e15daf344fc859e74fdbc3303d905ee0 + - initial_input_ast: 0b63552977276f07dd66655887e2229892221de404045ed8c241862911209a53 + initial_ast: 64d539fdc6cbae0b02497912cc732c37c2d7861b7390c05bf69d35c9ba670f88 + unrolled_ast: 64d539fdc6cbae0b02497912cc732c37c2d7861b7390c05bf69d35c9ba670f88 + ssa_ast: b1543f4e3a2ecff481b255173c3b9721ac609d55db3e712830905d7c2d1f2009 diff --git a/tests/expectations/compiler/integers/i32/xor.out b/tests/expectations/compiler/integers/i32/xor.out index daceebf9bf..6e2557d697 100644 --- a/tests/expectations/compiler/integers/i32/xor.out +++ b/tests/expectations/compiler/integers/i32/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c07a3d095cc4b5f846216a1b003c61a3ad1d84708011458123458c9661c38202 - initial_ast: 800231e603b27054529ee116a57d0e1bdfe12f07e993cc3a33925becf2ceea7b - unrolled_ast: 800231e603b27054529ee116a57d0e1bdfe12f07e993cc3a33925becf2ceea7b - ssa_ast: c575604455c032a8c23ab624e1e5be5ef6536b697a645e39dc879522e1065cc3 + - initial_input_ast: 13988c7cc9981328d79ed311c53b3b8bc5bebc5f1c6dbcb00f3b9994c51574a6 + initial_ast: 76fadfc164f893d399d60c98b3f2ca4e44cb39fc36b2ba60cb92dda906d74c5d + unrolled_ast: 76fadfc164f893d399d60c98b3f2ca4e44cb39fc36b2ba60cb92dda906d74c5d + ssa_ast: d938008042f1a9adc054cf00181dd868ec70629a42e69a34433bf25c19ab906b diff --git a/tests/expectations/compiler/integers/i64/add.out b/tests/expectations/compiler/integers/i64/add.out index c231d17fdd..ce6b4d27e8 100644 --- a/tests/expectations/compiler/integers/i64/add.out +++ b/tests/expectations/compiler/integers/i64/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 72f3b357e61d584331132a2392a397a2d6dddd303c459784a56b1ecd2db861f0 - initial_ast: a1778ae4bd22e43a09e2f62bce14ef5926b764aae3a82d6974defd49a31b564b - unrolled_ast: a1778ae4bd22e43a09e2f62bce14ef5926b764aae3a82d6974defd49a31b564b - ssa_ast: 888d28e1eca788b94bf328eaa713c395fe6cb9be4b60e83d7c07e17e4de7f978 + - initial_input_ast: 6fc33f607dbe5193ab8d46e6f9a005e71951aaade01779089cf7a6494ac02fa1 + initial_ast: 0baecd4e5c80e3ac9dc668d84bde0be750ef9643f3dd3853a7ab5586809d3a31 + unrolled_ast: 0baecd4e5c80e3ac9dc668d84bde0be750ef9643f3dd3853a7ab5586809d3a31 + ssa_ast: 1a19f25aced09c269c58e4b8d44ce0622954ee5f2614309ec08c21570c6e4ad0 diff --git a/tests/expectations/compiler/integers/i64/and.out b/tests/expectations/compiler/integers/i64/and.out index 3cf17fac82..6c22f6fbc8 100644 --- a/tests/expectations/compiler/integers/i64/and.out +++ b/tests/expectations/compiler/integers/i64/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 72f3b357e61d584331132a2392a397a2d6dddd303c459784a56b1ecd2db861f0 - initial_ast: 7a5c0b6b9b0f2d03ded951d71f5196ee0befd2d7ad7914918aa3727ceb825f9e - unrolled_ast: 7a5c0b6b9b0f2d03ded951d71f5196ee0befd2d7ad7914918aa3727ceb825f9e - ssa_ast: b678b717994c9e4a4ebe0e6dcbc41a5ea4d9c05091d0d211e33bcbc6e3f0f756 + - initial_input_ast: 6fc33f607dbe5193ab8d46e6f9a005e71951aaade01779089cf7a6494ac02fa1 + initial_ast: c7aaf669b5ddaafa21ff0e8c166e2999d1f45976b8288e102a9de90af8f3bb98 + unrolled_ast: c7aaf669b5ddaafa21ff0e8c166e2999d1f45976b8288e102a9de90af8f3bb98 + ssa_ast: 4d01e06d642c18d221be822892ea5adb66cd39f30a65e65e22886c860cb75f90 diff --git a/tests/expectations/compiler/integers/i64/console_assert.out b/tests/expectations/compiler/integers/i64/console_assert.out index 28916a689e..c7dba0d7d4 100644 --- a/tests/expectations/compiler/integers/i64/console_assert.out +++ b/tests/expectations/compiler/integers/i64/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f6c9e2d6a8e9a823ba6a2beb20ffb74e6276c45131e381082c47cf3b022a4534 - initial_ast: 7f9df25ff813674f7dca7f3ad73c44b072b7b17ecca4a414ba8487c53669d631 - unrolled_ast: 7f9df25ff813674f7dca7f3ad73c44b072b7b17ecca4a414ba8487c53669d631 - ssa_ast: f13d071066752ba4587b7586be33e63f01a2cd3873b578d852aca96195d39720 + - initial_input_ast: 3fd31c4a34229737feee0dae0ec9c498ac4b62100b7cb853bc34382b24fe5b7c + initial_ast: a749dca3ee6d546fedf6752e942452919b43abff8a529f76d8ab0fdb996e1c0b + unrolled_ast: a749dca3ee6d546fedf6752e942452919b43abff8a529f76d8ab0fdb996e1c0b + ssa_ast: db52fe445edb183130c65fa131bd55e289d270390b2151663b25b64b412cdd2f diff --git a/tests/expectations/compiler/integers/i64/div.out b/tests/expectations/compiler/integers/i64/div.out index 3bb5444436..9806935867 100644 --- a/tests/expectations/compiler/integers/i64/div.out +++ b/tests/expectations/compiler/integers/i64/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 38b990381cdc53033626ff2bd890627961a1d86facc2266bc6667069927e1595 - initial_ast: 087f0ca845b4a79d2e0d54cc9147fffd8add9932048f1b763553d6af0410ca96 - unrolled_ast: 087f0ca845b4a79d2e0d54cc9147fffd8add9932048f1b763553d6af0410ca96 - ssa_ast: 2683efcddcebfa6d27ea138e40152edd58d4dc13938d7e2c5358742b3c4be233 + - initial_input_ast: d2e3fe44006c568658f67f08eda96db15b8d7e13b719ffad9905b892782249b3 + initial_ast: 24cdc4ece4fef7821a03dae2b466062fb89c17540e58bcfe2379dc8ceaa3c129 + unrolled_ast: 24cdc4ece4fef7821a03dae2b466062fb89c17540e58bcfe2379dc8ceaa3c129 + ssa_ast: 4c33aca3c2a286b8d11f2192cd4a4a67491f6f6cbbedf15357560efb49e893d0 diff --git a/tests/expectations/compiler/integers/i64/eq.out b/tests/expectations/compiler/integers/i64/eq.out index 87e2e08d60..b87319db88 100644 --- a/tests/expectations/compiler/integers/i64/eq.out +++ b/tests/expectations/compiler/integers/i64/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bee0ac11572ec7d1596f2f6d9546aa9248f6acf6158024d52609197a1cbfc9c2 - initial_ast: a5ff9d82240a4f2105dabc0184926aa8c447e40b5eb2e9f04138db414018e9da - unrolled_ast: a5ff9d82240a4f2105dabc0184926aa8c447e40b5eb2e9f04138db414018e9da - ssa_ast: cbc29b1dd052acadfdfc5f67be1fa1e0d8c92cc7c30ce7b0cf6860a5f209da4d + - initial_input_ast: 335672c73f4108e2fbfc2938c861d7a269d46607d085a6ad1b1dc828c0417019 + initial_ast: 875c59bde98fad9c8b6d78d9b8f15282e1d12d01b8b7e2bf1a737defd65cc7cf + unrolled_ast: 875c59bde98fad9c8b6d78d9b8f15282e1d12d01b8b7e2bf1a737defd65cc7cf + ssa_ast: 7dcd54309390a70273a80f6b0b40321c0800592842d37114a4481bdc8cb9ede0 diff --git a/tests/expectations/compiler/integers/i64/ge.out b/tests/expectations/compiler/integers/i64/ge.out index 0d42ebdd1e..c18d4ee565 100644 --- a/tests/expectations/compiler/integers/i64/ge.out +++ b/tests/expectations/compiler/integers/i64/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d244d5805d6ee812b1b645a6007f790e556e98401b8679c4eacb46d3c6d11efd - - initial_input_ast: 358c2e497340033e9a6b684c928fa31734630b8a413579f73b7f0817f450e706 - initial_ast: 5efaaaca6c62aba0bca2bb079e0c7eaf6d8415e6aa4295469149ea43f7c2a595 - unrolled_ast: 5efaaaca6c62aba0bca2bb079e0c7eaf6d8415e6aa4295469149ea43f7c2a595 - ssa_ast: 8a56788116a3218f2c915c59af6c6befe212ec0b7a59a81af8b7bb20f3d79025 + - initial_input_ast: d379c7c64e9478a70dae21b62eba562b5777c16b7ad753d0f89b17c4af4b26c6 + - initial_input_ast: 3854fb2a758050e03219f041ad29a643c00140a816b563dfbdd3f5456a6b15f0 + initial_ast: 0e81d141692e050f527c354c327fec062623e13db23d04e88d43872e59c93121 + unrolled_ast: 0e81d141692e050f527c354c327fec062623e13db23d04e88d43872e59c93121 + ssa_ast: 992ce16e2ddcf5d5e7dd71bb88a50bc2e1db3830363aaa6f2911053f3da0243c diff --git a/tests/expectations/compiler/integers/i64/gt.out b/tests/expectations/compiler/integers/i64/gt.out index 234b95027a..b1679404c0 100644 --- a/tests/expectations/compiler/integers/i64/gt.out +++ b/tests/expectations/compiler/integers/i64/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: acf15aa53d09fafb333b18253ea42770eb7946cfcf9ce4c84fc412676a846781 - - initial_input_ast: db8ed8e9d123106b100648857994fe1c3753dcc3d1a0cf0c2ee712ccaef45083 - initial_ast: 879d9c6863b17148da259ddf4ad679c4eac6ac892f7f508f0c3305d64f5f4a29 - unrolled_ast: 879d9c6863b17148da259ddf4ad679c4eac6ac892f7f508f0c3305d64f5f4a29 - ssa_ast: 6fbb6cf7a6331a4da0bfaee8f07ffcd45f5379377c43c36772373b98f429ebb7 + - initial_input_ast: 99992561f24eed5a9b3010d7953c92e48407e37816a819404f60f977b382506a + - initial_input_ast: 957ab5092605c323e2b4c22a18e0dfc2c2beed23df7c909d11cba866fe23ff5d + initial_ast: 38e679c159b2307ea2c6b625a17feda4ec4fd06f45fe9c8cf8dda49d47ef6f30 + unrolled_ast: 38e679c159b2307ea2c6b625a17feda4ec4fd06f45fe9c8cf8dda49d47ef6f30 + ssa_ast: 8a415a2073911108c83e11273016df47b71f5750d86bc8d2aea9dfea83855980 diff --git a/tests/expectations/compiler/integers/i64/le.out b/tests/expectations/compiler/integers/i64/le.out index fa38fff4c2..b668897674 100644 --- a/tests/expectations/compiler/integers/i64/le.out +++ b/tests/expectations/compiler/integers/i64/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d244d5805d6ee812b1b645a6007f790e556e98401b8679c4eacb46d3c6d11efd - - initial_input_ast: f7fea7261c8115c90543047577cdc8fba17860006d4661093df294e912206402 - initial_ast: 85c853776491caf3fdfab7e2ad9cccb42de430328fb46176815e2eb50bc5507a - unrolled_ast: 85c853776491caf3fdfab7e2ad9cccb42de430328fb46176815e2eb50bc5507a - ssa_ast: 7613a97324eaaf6c9f71f7dc88d199e4dfa1158a19c2c3c80b109dd7402c7c63 + - initial_input_ast: d379c7c64e9478a70dae21b62eba562b5777c16b7ad753d0f89b17c4af4b26c6 + - initial_input_ast: 251c542549844c8861fee0a7cf32f1a8bd386bd88ab61ea945c5aad7d24f8738 + initial_ast: 59631237a38eb039802872cafc497bfffcca9f76fc3ae9462d5237dc1e08af2b + unrolled_ast: 59631237a38eb039802872cafc497bfffcca9f76fc3ae9462d5237dc1e08af2b + ssa_ast: 88bfc3c3db2604435059e48eafc22d4872b8caf944fb3b1def007efbbdb4ceab diff --git a/tests/expectations/compiler/integers/i64/lt.out b/tests/expectations/compiler/integers/i64/lt.out index 83ec718f5b..b5b8276fbf 100644 --- a/tests/expectations/compiler/integers/i64/lt.out +++ b/tests/expectations/compiler/integers/i64/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ac0c2de3a07425cef70289738cb02ee787068eed6528578ee4bc5e20621f8663 - - initial_input_ast: d2bc34fd913a14a074682a42c6ed533c6015b696108e2b7ac5bf84002dd1229c - initial_ast: 4ccd28c5b40f174ca89ca1f27c1442ae3480e67add21a7d4e8cb463626fc4231 - unrolled_ast: 4ccd28c5b40f174ca89ca1f27c1442ae3480e67add21a7d4e8cb463626fc4231 - ssa_ast: bf5025cc8d3a6f32a556bc1231360f174b9aa8cb65c25c1c614c6695a23b6b5b + - initial_input_ast: 86682dc056299cdcb5c229c5d778e7fdb34d9a7576494b875ddbfd74696845c2 + - initial_input_ast: 3d68ca3f6005feb1e9466048ac4fe403156a2fddc7e12ffe2d56bb95779a63f1 + initial_ast: 17f3c68f7a34759055d3cf3f0a90f7234babed4dee29514499725598fb1264ce + unrolled_ast: 17f3c68f7a34759055d3cf3f0a90f7234babed4dee29514499725598fb1264ce + ssa_ast: a13c4c5eba83d6a0f30bec1acb35b902f35b29ee9691398cf39443b5bd97d89d diff --git a/tests/expectations/compiler/integers/i64/max.out b/tests/expectations/compiler/integers/i64/max.out index c095c6ec80..285b402f51 100644 --- a/tests/expectations/compiler/integers/i64/max.out +++ b/tests/expectations/compiler/integers/i64/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 81f8d84c4b1c0f7a462567ce341c2e09113d82e3d9dc34712cf9f26048f10678 - initial_ast: 6ba934d78972e708812e8c38fbf1801f9325a0b29fda0df47e5ce648ff6ecf7f - unrolled_ast: 6ba934d78972e708812e8c38fbf1801f9325a0b29fda0df47e5ce648ff6ecf7f - ssa_ast: 5dd610f417304b401a288ae7109fab3177033edf5c23ad417ad00f0e4e721ed8 + - initial_input_ast: 6fd6be744bea2b602eba62ceedb46e3625c5acc07d0bf681bf1900682b31ac35 + initial_ast: 921725a2c910497e50322725dc096d56cb80676034d24a30b29f838586e5ca6b + unrolled_ast: 921725a2c910497e50322725dc096d56cb80676034d24a30b29f838586e5ca6b + ssa_ast: 9679f816e7c3d03ff694f559722b0d6afbf76c3263f8b6d3a691a10933591240 diff --git a/tests/expectations/compiler/integers/i64/min.out b/tests/expectations/compiler/integers/i64/min.out index 483ed2ad70..d0c5dbc3af 100644 --- a/tests/expectations/compiler/integers/i64/min.out +++ b/tests/expectations/compiler/integers/i64/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b3b2f3490a1151c22fee2d9df5a0d82783701dd70b6c2b4fd9ca3e69490783bb - initial_ast: e5a1694b70ad7d154dd1411650b464eb664fca4343a76cf7a3f34faaef54978c - unrolled_ast: e5a1694b70ad7d154dd1411650b464eb664fca4343a76cf7a3f34faaef54978c - ssa_ast: 313ef790a91e449c5e40684ab754736f23ac5e28ab411676360e76802e89ee31 + - initial_input_ast: 7582ae4f8c653f9037b47edecd134af42b9a1d459551e343408b2c6dc94c68e9 + initial_ast: 3642c7b110ddc928af16f79fc56096b53053502e96e463c0420f8581311004cc + unrolled_ast: 3642c7b110ddc928af16f79fc56096b53053502e96e463c0420f8581311004cc + ssa_ast: 6b5c36146f0fc8c6cadfaf4bd25ad241d00781468c524e1161f35fa9183da8c2 diff --git a/tests/expectations/compiler/integers/i64/min_fail.out b/tests/expectations/compiler/integers/i64/min_fail.out index ad62125709..3c17fac09f 100644 --- a/tests/expectations/compiler/integers/i64/min_fail.out +++ b/tests/expectations/compiler/integers/i64/min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: f34404634c932da950bef25437cdfb41606af09de9ef6ca2f1d347977e2c9170 - initial_ast: d7f2f2a039b6c4e91c570bf8773476c54fe2bc703ed1241ef0aa5d6f8826a038 - unrolled_ast: d7f2f2a039b6c4e91c570bf8773476c54fe2bc703ed1241ef0aa5d6f8826a038 - ssa_ast: 3ba654e151d5a17a362cb8da959d7cfd0c35a1a65e6ce411cc38401cd26781cb + initial_ast: 6bb5614bc1ce6001afaf048f68ee38ce2f7f83c39692b5ef65dc3957ee605606 + unrolled_ast: 6bb5614bc1ce6001afaf048f68ee38ce2f7f83c39692b5ef65dc3957ee605606 + ssa_ast: ba8e7dac35fdf8ef371f78a24572752b887e6f63ae8a3211c2f2226e61650fb5 diff --git a/tests/expectations/compiler/integers/i64/mul.out b/tests/expectations/compiler/integers/i64/mul.out index d8e7efbf19..1e7d9ce623 100644 --- a/tests/expectations/compiler/integers/i64/mul.out +++ b/tests/expectations/compiler/integers/i64/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 16ae22285ab19638bf174a2d548251ac5e89ec1c7684b95dbee0ee25b5434033 - initial_ast: 9e21267913bdbe66d7526ac199dbf59d8f694f62e7f897f7fdbcc849e94fb1c8 - unrolled_ast: 9e21267913bdbe66d7526ac199dbf59d8f694f62e7f897f7fdbcc849e94fb1c8 - ssa_ast: e617a8251db2ed84978bf3fc5c23bad117f83cb2348747b4f00a7baa09599bb7 + - initial_input_ast: 23aa90f2bc68a3842201144d02e5a38c51198317cb182c39e78110f0775a346f + initial_ast: 97c61efb7fe112dd1fecb39f4b53b76e457f508cd9fe2edf5e837929f89a885d + unrolled_ast: 97c61efb7fe112dd1fecb39f4b53b76e457f508cd9fe2edf5e837929f89a885d + ssa_ast: e148730dbdb95c31681545dd0721bfa672012ec0fcc2ba5f2e592b6cb935429e diff --git a/tests/expectations/compiler/integers/i64/ne.out b/tests/expectations/compiler/integers/i64/ne.out index 4d23c08375..5ab83a1842 100644 --- a/tests/expectations/compiler/integers/i64/ne.out +++ b/tests/expectations/compiler/integers/i64/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a3bd5093b4313caed55adf7f2c48933aea2065feceac6593ee5c9f3131fcfe23 - - initial_input_ast: f39ba22bd83e3d40966b19253af60542e9969952ea960dac14fcd99a28c6881a - initial_ast: cdd60e33863eac4c14bbe387ef8f6d81f31dad55c5efb451f1acf48935393ed7 - unrolled_ast: cdd60e33863eac4c14bbe387ef8f6d81f31dad55c5efb451f1acf48935393ed7 - ssa_ast: a89056be4a85c7a21b83f0722c9f433554ddfb78966a3f7a59e1b9f74b751bec + - initial_input_ast: dcfaecfb50139b6eddcc846679be87b91da6293d3201e44f2d339fee3cc29af0 + - initial_input_ast: b21ea5f69a6f9456bbd82a3d2d02c4e8eda130ea189a2549224b3e62239ab9cf + initial_ast: 94f913561b6231858a02cc5948bf1ae371a529aaf285278116a86820f83947a7 + unrolled_ast: 94f913561b6231858a02cc5948bf1ae371a529aaf285278116a86820f83947a7 + ssa_ast: a9e404e4f26106d10ee1692812c774f5fa04d6f07041da117309ea10c4577977 diff --git a/tests/expectations/compiler/integers/i64/negate.out b/tests/expectations/compiler/integers/i64/negate.out index c15e42175c..b8b93aa518 100644 --- a/tests/expectations/compiler/integers/i64/negate.out +++ b/tests/expectations/compiler/integers/i64/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e07791f8836ac8e6a360778264ea47b9ed9c9ceba9ca9b371ddc4f10a40d8203 - - initial_input_ast: fdebd3a81049af25aa21c677fbef4785658415e0cb9b46b1856d38b60936e23e - initial_ast: f229f8cf5cbd66073c577a86a075cfad4a2608404442971c9119135a53530f54 - unrolled_ast: f229f8cf5cbd66073c577a86a075cfad4a2608404442971c9119135a53530f54 - ssa_ast: 83341ff87d409f7e2ed49284d9af76c225c70ab0fa8f3537479ec1076373af44 + - initial_input_ast: 4e832e2a1d5bc619f878460528f4ce2966113fa79784078490821efdc2da0fbd + - initial_input_ast: 694086f29eaf0a2b2c76912c4dc80138809ecff84e6ee94047bafc536e4ad24b + initial_ast: d4860783ac0a3168f6f19ef9c8743a0a391504676e330b30e341a8a3217388ad + unrolled_ast: d4860783ac0a3168f6f19ef9c8743a0a391504676e330b30e341a8a3217388ad + ssa_ast: 207874df4ef9891da995d2c0babe18a1ffc1fb0656381f4676096bd33a5bb424 diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index 3aebe49189..aa11612fa0 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: b92bed9f53de41035d8001d9f8be4a5631049b47066b2d71de4c461f7f2a464d - initial_ast: a494b73fd1c830a12d84382db4cdf60916b5e381ecf874029feebdbdaebc3eec - unrolled_ast: a494b73fd1c830a12d84382db4cdf60916b5e381ecf874029feebdbdaebc3eec - ssa_ast: a259511a9f4618d4a11c9b9b619ac19dd670ad251d02637ead3170ce2b2a88c0 + initial_ast: 0cc342cea14752ac6e0a311fb66df84fa36e3f2a58dc7f9947a69aed91dfc410 + unrolled_ast: 0cc342cea14752ac6e0a311fb66df84fa36e3f2a58dc7f9947a69aed91dfc410 + ssa_ast: 1669ebc39317a0782b40b3b6fc21b48f1e8b3d0e5363eeeb12df66a21fb45372 diff --git a/tests/expectations/compiler/integers/i64/negate_zero.out b/tests/expectations/compiler/integers/i64/negate_zero.out index 99c25f35c1..5b3105659d 100644 --- a/tests/expectations/compiler/integers/i64/negate_zero.out +++ b/tests/expectations/compiler/integers/i64/negate_zero.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 - initial_ast: 29324e0ab75025298715518a3626006de8cbf3f105a940474bda85dd27c33086 - unrolled_ast: 29324e0ab75025298715518a3626006de8cbf3f105a940474bda85dd27c33086 - ssa_ast: a912372a7f1477bde5253ebe910dfc8f0f6dabe733e1cf8c162ecd26fc5c4c9e + initial_ast: ab2005980064f5a4a5161fd63cc99506dc966b0a5241cc54b9e29590740844df + unrolled_ast: ab2005980064f5a4a5161fd63cc99506dc966b0a5241cc54b9e29590740844df + ssa_ast: 7544a4b992ea433959eb56d4cc90b1fd9fec17cfbbf7e30e905734b3c8c22433 diff --git a/tests/expectations/compiler/integers/i64/operator_methods.out b/tests/expectations/compiler/integers/i64/operator_methods.out index 7682ec3c04..953c77d7e4 100644 --- a/tests/expectations/compiler/integers/i64/operator_methods.out +++ b/tests/expectations/compiler/integers/i64/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ed44bf24f3cbad10f77985da1b969b1ebebfbb35f07b81a83086457d81b7aa08 - initial_ast: 331549161c420dfe744c90f719a2f3b3060304d27af67d245cc27e0ae80c40aa - unrolled_ast: 331549161c420dfe744c90f719a2f3b3060304d27af67d245cc27e0ae80c40aa - ssa_ast: 372a90588f647276cedb2ce08a01c07f2ef35fbec7e1634f44245ae662fd44e5 + - initial_input_ast: de07b6b28270e1e477b9e4e1040e2f82c18218b0eb1cc0f4057e1ca0aac8a933 + initial_ast: 179bae8a2a377a1d4f19f617f988a86f48dc1ca09d9c2e2b8c1f4f8d7a6d12fe + unrolled_ast: 179bae8a2a377a1d4f19f617f988a86f48dc1ca09d9c2e2b8c1f4f8d7a6d12fe + ssa_ast: fa6b214914c3269238adcaef77bf923ac2b61e7979252e6f2c1eae9ff3120609 diff --git a/tests/expectations/compiler/integers/i64/or.out b/tests/expectations/compiler/integers/i64/or.out index 0e9ca59950..b601416477 100644 --- a/tests/expectations/compiler/integers/i64/or.out +++ b/tests/expectations/compiler/integers/i64/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 72f3b357e61d584331132a2392a397a2d6dddd303c459784a56b1ecd2db861f0 - initial_ast: 1264031d6a6b7aec3506348c2790df9052d12505e0eb2b5fdbe71a88fdb8d69e - unrolled_ast: 1264031d6a6b7aec3506348c2790df9052d12505e0eb2b5fdbe71a88fdb8d69e - ssa_ast: 15c6e5b2fa26bddcd7cb6bc13f9d21d8c2b21cfd116a10705c7fbd929ce1deba + - initial_input_ast: 6fc33f607dbe5193ab8d46e6f9a005e71951aaade01779089cf7a6494ac02fa1 + initial_ast: e1334108f0125ccbfc10ca0f0ef7bd3d6f394e9f1a2a3a4c1e3ba329879fc6a7 + unrolled_ast: e1334108f0125ccbfc10ca0f0ef7bd3d6f394e9f1a2a3a4c1e3ba329879fc6a7 + ssa_ast: 2fd5eb017802df02c1e3b1a51b019420338f381592dd6f1031cfbeaa7725c7b5 diff --git a/tests/expectations/compiler/integers/i64/pow.out b/tests/expectations/compiler/integers/i64/pow.out index c7b4b2bec8..eec2e85972 100644 --- a/tests/expectations/compiler/integers/i64/pow.out +++ b/tests/expectations/compiler/integers/i64/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 469522b75bbbe1f7a9bdd490a4a0d8c6f8f8f39f14770517349c4beb2de603ca - initial_ast: ec68f26a9121e9eb36b69f3239009c06c287df9d826bbdbc4ea2d4407ca5a4c4 - unrolled_ast: ec68f26a9121e9eb36b69f3239009c06c287df9d826bbdbc4ea2d4407ca5a4c4 - ssa_ast: 94a12291ae1a550785a3fc4a1493fdda983b01056d689850d72400fa330606a7 + - initial_input_ast: 0da70c2f24624227869305a4261b1df30da723d2fba03591f2815f2cd1bd3a55 + initial_ast: 4c959dcd55fb1d7bdda1353e0a516b031ea6d386fb79d50ed3d5b11c0e86e478 + unrolled_ast: 4c959dcd55fb1d7bdda1353e0a516b031ea6d386fb79d50ed3d5b11c0e86e478 + ssa_ast: 742ca49efada5d6ba8dbe47a56b2115afcf22baaa8466203444d47f773d0f38c diff --git a/tests/expectations/compiler/integers/i64/rem.out b/tests/expectations/compiler/integers/i64/rem.out index e5908af737..c2c1bd1422 100644 --- a/tests/expectations/compiler/integers/i64/rem.out +++ b/tests/expectations/compiler/integers/i64/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 38b990381cdc53033626ff2bd890627961a1d86facc2266bc6667069927e1595 - initial_ast: f7fdc4c619e878c7bf77172429204ff0149bc104336941022f01392e52b7d24f - unrolled_ast: f7fdc4c619e878c7bf77172429204ff0149bc104336941022f01392e52b7d24f - ssa_ast: 48d082fcd045b159d89fce18c558fd5c2f7b37393f1541e5f618a8ef2c76544f + - initial_input_ast: d2e3fe44006c568658f67f08eda96db15b8d7e13b719ffad9905b892782249b3 + initial_ast: f37f8e6f7fc06e539772730519ed5df0a957bebc9933cd5f718a44c458999b29 + unrolled_ast: f37f8e6f7fc06e539772730519ed5df0a957bebc9933cd5f718a44c458999b29 + ssa_ast: d5eae025f20eb86dac00d093b87eb7e3ed916ebdda6a4987722565d7d2a380c4 diff --git a/tests/expectations/compiler/integers/i64/shl.out b/tests/expectations/compiler/integers/i64/shl.out index 9b9032602e..db79298bb6 100644 --- a/tests/expectations/compiler/integers/i64/shl.out +++ b/tests/expectations/compiler/integers/i64/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 495d0ddc7dc8b10d4fe2e33cd69e8f600e97dbe8b62c70dddddac82a859199fb - initial_ast: 44b4c779d7dc102f5ad950bd24565a37ff9c6ea1f1374ae47af86597409e2f23 - unrolled_ast: 44b4c779d7dc102f5ad950bd24565a37ff9c6ea1f1374ae47af86597409e2f23 - ssa_ast: c209c5f7ac9d7dbf497243a51101360b54645d499c2440fba6587b108d37f1da + - initial_input_ast: 44e3e3627853e3f3a20bb0b9f213b6af266a6a2d228eaa0689cebf4a2fb7c051 + initial_ast: a863628f1041ef2b2b32c3a3843656caf923168dd03e0f7bc7bda8be7ac6e290 + unrolled_ast: a863628f1041ef2b2b32c3a3843656caf923168dd03e0f7bc7bda8be7ac6e290 + ssa_ast: 298a7f599e42ff30f22fa273c2857917d50e7ed69b9d0bb82c28e56192cb9048 diff --git a/tests/expectations/compiler/integers/i64/shr.out b/tests/expectations/compiler/integers/i64/shr.out index 49ae752d33..4618ab15e9 100644 --- a/tests/expectations/compiler/integers/i64/shr.out +++ b/tests/expectations/compiler/integers/i64/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 495d0ddc7dc8b10d4fe2e33cd69e8f600e97dbe8b62c70dddddac82a859199fb - initial_ast: bd049df7d0135a8e2059f6a996e41f2cdcc7b9369ef8d491e52e6c8792482a0b - unrolled_ast: bd049df7d0135a8e2059f6a996e41f2cdcc7b9369ef8d491e52e6c8792482a0b - ssa_ast: f170cea8f12c453c59956984e2917a681e03750bfd7d3464423087caaf9b99db + - initial_input_ast: 44e3e3627853e3f3a20bb0b9f213b6af266a6a2d228eaa0689cebf4a2fb7c051 + initial_ast: d7d15071becec75d2f99a6ec5f3f1e499519f20db8cdf4f300231c9e815cfb44 + unrolled_ast: d7d15071becec75d2f99a6ec5f3f1e499519f20db8cdf4f300231c9e815cfb44 + ssa_ast: 3758e6aef10f3bec1686294110e6e4f2d0c651575662d751cfde644fbc8793d2 diff --git a/tests/expectations/compiler/integers/i64/sub.out b/tests/expectations/compiler/integers/i64/sub.out index 79f5400f63..0df10d2a41 100644 --- a/tests/expectations/compiler/integers/i64/sub.out +++ b/tests/expectations/compiler/integers/i64/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bfb446d05acdc1696d2cc4ee05862f5ebcde89878458d0a7d5b8399d8b3845ac - initial_ast: 2f3720fbc16e8307b7969e6dcdf1eace2e8bfffe9c21cca4faaabd5fd20b57a8 - unrolled_ast: 2f3720fbc16e8307b7969e6dcdf1eace2e8bfffe9c21cca4faaabd5fd20b57a8 - ssa_ast: 7bb9c04011eb6f00c3dfd3dd8950d89e0bcf8443bc496bcdc04de3c93a73b25a + - initial_input_ast: b6b4f785068a4b898ec9b8efd801b7251f11b13d396b7b0e64f44ff9c3e9560a + initial_ast: ca90b0e1cfc70706283b4d640f77cf82255f89bbee41fa13394292fdbfad8449 + unrolled_ast: ca90b0e1cfc70706283b4d640f77cf82255f89bbee41fa13394292fdbfad8449 + ssa_ast: eb8e04d7bf264256bd54c1d8aedf175a8744efd53f000064fc4d1d0b0f29df36 diff --git a/tests/expectations/compiler/integers/i64/ternary.out b/tests/expectations/compiler/integers/i64/ternary.out index 9e366017b7..ef572e43e9 100644 --- a/tests/expectations/compiler/integers/i64/ternary.out +++ b/tests/expectations/compiler/integers/i64/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bd817dd8eac9174b205ebf4f56e754e16008b4c5f1c94b6ea3356c7dc4c63c52 - - initial_input_ast: 7be3058b183b362d35e74fb45d8108ab6156d5183e3c1613cbe0a8a4447e2046 - initial_ast: c2b330171599f08a5537a85cef19995ee929f36f2887471436b6490aaf75edca - unrolled_ast: c2b330171599f08a5537a85cef19995ee929f36f2887471436b6490aaf75edca - ssa_ast: bbc13f12ac125d3da3e2e23d86aa6c52f7528acd0ea7cbf3e288f4beaf3b1702 + - initial_input_ast: cea990f9b29fdc1bf1caf09f6ee0035e40187d31f628560551559f705748690b + - initial_input_ast: e4bd5abe3d4330c103e167d8ed7eed9aed518e5bef3fb0b7a234a81ae942e2a7 + initial_ast: 821a42aa2ed0de6eb4fd35072897e54b29983b1912fc04a4efa77680d236ea7c + unrolled_ast: 821a42aa2ed0de6eb4fd35072897e54b29983b1912fc04a4efa77680d236ea7c + ssa_ast: b4e50fdc357902d53fe559d2f6a464bc58e253f82ff45411142babbc6d8378a0 diff --git a/tests/expectations/compiler/integers/i64/xor.out b/tests/expectations/compiler/integers/i64/xor.out index 709beb3dec..ec3bf5df7a 100644 --- a/tests/expectations/compiler/integers/i64/xor.out +++ b/tests/expectations/compiler/integers/i64/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9aae3f487bb6ea24ed63c4b27c1925106781ff5ff1964a516d363f49ecbad421 - initial_ast: bc91bef725e39744d45a7e85d454c55c27b8cb6687d91798671ec6d0d453d412 - unrolled_ast: bc91bef725e39744d45a7e85d454c55c27b8cb6687d91798671ec6d0d453d412 - ssa_ast: 4e23df8d5f9b6bb478288f44fd06a88ee29fc4c132bc4fa228790319f65d98ff + - initial_input_ast: a4ec848f96832d119dde4f63a155deb438afc1d7642ed7e33be05acfb474b7de + initial_ast: e04c1f98bbef82d7b046a23554aa6b7d416ca018e67be25adf4dfaedc683e149 + unrolled_ast: e04c1f98bbef82d7b046a23554aa6b7d416ca018e67be25adf4dfaedc683e149 + ssa_ast: 9c38990b3b8402dafef561389f234bfb13ef6b051e533fe071cd7a0facf228d4 diff --git a/tests/expectations/compiler/integers/i8/add.out b/tests/expectations/compiler/integers/i8/add.out index af65453a65..c660fd8d9d 100644 --- a/tests/expectations/compiler/integers/i8/add.out +++ b/tests/expectations/compiler/integers/i8/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3033ab547cde0c4c082414e1693c34b8412994b8757c81824ee3da20fe227b2f - initial_ast: c1e8eb82c8cdfc6bd175424699ba1ed7173d1273454258ceb9e4c2c412de200e - unrolled_ast: c1e8eb82c8cdfc6bd175424699ba1ed7173d1273454258ceb9e4c2c412de200e - ssa_ast: 824376dd1351f27f5e1f2ddaa2f6f8551e0030ae477f571670c3a483ac71e20e + - initial_input_ast: 9d85de327955beffad413de3c18fffcb6e8995caaebc7cdef0f08c9af1eb4a43 + initial_ast: a4c410e025b010167442fa3c3a41fbba8f5f3f3d606c5d77c492f226110fdbcf + unrolled_ast: a4c410e025b010167442fa3c3a41fbba8f5f3f3d606c5d77c492f226110fdbcf + ssa_ast: 60410bc60296a4c099190d9a9e477dc0eb1cd670deb59e28d8bd94b52bad7bc3 diff --git a/tests/expectations/compiler/integers/i8/and.out b/tests/expectations/compiler/integers/i8/and.out index 0fa7469732..be076b369b 100644 --- a/tests/expectations/compiler/integers/i8/and.out +++ b/tests/expectations/compiler/integers/i8/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3033ab547cde0c4c082414e1693c34b8412994b8757c81824ee3da20fe227b2f - initial_ast: 78638a252c9c7803f745fb83380a9ae885e921461362627ad5e3bd831ba543fa - unrolled_ast: 78638a252c9c7803f745fb83380a9ae885e921461362627ad5e3bd831ba543fa - ssa_ast: 3c5fab4413fd4a3cde1f932f4a60bfa57b3799c1f4ed3dcdbcb3360632cb1b8f + - initial_input_ast: 9d85de327955beffad413de3c18fffcb6e8995caaebc7cdef0f08c9af1eb4a43 + initial_ast: 896345be0c4fa91bd3dc8d5717168018b455814c249871beed95d510fb8f8952 + unrolled_ast: 896345be0c4fa91bd3dc8d5717168018b455814c249871beed95d510fb8f8952 + ssa_ast: 0d83210c272e162734341571c2f68f81f5cf5748efc72c09e01329cf1749acac diff --git a/tests/expectations/compiler/integers/i8/console_assert.out b/tests/expectations/compiler/integers/i8/console_assert.out index ce855b1fd2..82d478b28c 100644 --- a/tests/expectations/compiler/integers/i8/console_assert.out +++ b/tests/expectations/compiler/integers/i8/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: fcc03e535541ac76dd8e75e4fc69b9cd2c897eab2684831b4fb0be3fa9b68d52 - initial_ast: 3302783d02e904c1fd15e973cf6513c8745e7a370a67147fc0d50963468f2184 - unrolled_ast: 3302783d02e904c1fd15e973cf6513c8745e7a370a67147fc0d50963468f2184 - ssa_ast: 8a15d2713e1966674c642ad880608eb59edf1eb5968d62dccf346e5c73fe2238 + - initial_input_ast: c1866727cd7a45ae29dc69693a8996c0d0705eafc204957cafa8fa6bf6fb6d68 + initial_ast: b85dd46bb14f1c98185c4a125b5c77b9969c96f40c2d2142f0c7ef4c0d06f906 + unrolled_ast: b85dd46bb14f1c98185c4a125b5c77b9969c96f40c2d2142f0c7ef4c0d06f906 + ssa_ast: b6df9fe4fb5c43cfda14d61654660f04c56d341322e819660835aa10e42468c9 diff --git a/tests/expectations/compiler/integers/i8/div.out b/tests/expectations/compiler/integers/i8/div.out index 752b19a5bc..276a580c06 100644 --- a/tests/expectations/compiler/integers/i8/div.out +++ b/tests/expectations/compiler/integers/i8/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e69b8b89d79048d0e0b6a71a051c9bfaa331175af9d8a328d2e7d4a9eadd61cd - initial_ast: 20a5c411e31108516bc97f02b01e4a88a94c6698aa7f3adff8496364d38996eb - unrolled_ast: 20a5c411e31108516bc97f02b01e4a88a94c6698aa7f3adff8496364d38996eb - ssa_ast: c1d7f21183148a75e7be3b3dfdfd687f374e7ff6235b889e90110375e1309f3e + - initial_input_ast: 831f3aeaac9f0826cc41ac261dbdd38890478d837e32a85fd61850bf0fbf2ff4 + initial_ast: 48e133dc38141782a9ada9ad464190ee87de461633a89b59776c1075e8b80de9 + unrolled_ast: 48e133dc38141782a9ada9ad464190ee87de461633a89b59776c1075e8b80de9 + ssa_ast: 6648ef73a824153a6ea61e70668108a5805f0d8bad2acc443b654cf458bef3f6 diff --git a/tests/expectations/compiler/integers/i8/eq.out b/tests/expectations/compiler/integers/i8/eq.out index 44d4cf8e33..28540269e4 100644 --- a/tests/expectations/compiler/integers/i8/eq.out +++ b/tests/expectations/compiler/integers/i8/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f55a5d3b90666b92ae5a062a5361c3771f21ff810a679535f74464e10dbeabbf - initial_ast: 4704ac09fe7bb57c21d56322cf98aed4fc267a0ba48c57948b393b676eb5743e - unrolled_ast: 4704ac09fe7bb57c21d56322cf98aed4fc267a0ba48c57948b393b676eb5743e - ssa_ast: f26109047d6dd0d28d28e2a21ff6944065ff999e5dac295fafdac03a89624ef9 + - initial_input_ast: 67e06a6d3fb0cc1d0a638b61bab10e477e0c99df13f224da4f958652a793d60c + initial_ast: 6cd858dbd5cc6ef7d7e4a7061d68b0a059614e6320af12dbf51e01f7aad33ccc + unrolled_ast: 6cd858dbd5cc6ef7d7e4a7061d68b0a059614e6320af12dbf51e01f7aad33ccc + ssa_ast: 041dfd20991f5ea79ce846da2d62f22d2725f263c542ab2e350019e677b335e9 diff --git a/tests/expectations/compiler/integers/i8/ge.out b/tests/expectations/compiler/integers/i8/ge.out index 0eca90f5ed..01bd9197b4 100644 --- a/tests/expectations/compiler/integers/i8/ge.out +++ b/tests/expectations/compiler/integers/i8/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 77fae0ebab3b6e710b4a63c81f885cc8825312c0a1e5d55183f80820b2da3456 - - initial_input_ast: 93398217de9e8df6bf4b999cb6974cc9583804637a1a200411447132e7ec6643 - initial_ast: 5c9087a06380a1a1a2849f4f36652a829c2f1d01d69281e27345a52d6c6f2354 - unrolled_ast: 5c9087a06380a1a1a2849f4f36652a829c2f1d01d69281e27345a52d6c6f2354 - ssa_ast: 432ca079e7c491cbc030bd02dd4e330cfeb061f7092d2942706503a1ee31a0e3 + - initial_input_ast: 82d053893c54bace369ef2e90a85326caab57bf9995b2cf83bc8e8bc4c2ea4cf + - initial_input_ast: 0f93127cd3645c6ee80996cc681ba75b5ac7b21548c2c7075dcab2c1ccacd308 + initial_ast: 55d37f5657e960cc7b593840e4923b7afc24e78dc86a3ffc344cea25e360036d + unrolled_ast: 55d37f5657e960cc7b593840e4923b7afc24e78dc86a3ffc344cea25e360036d + ssa_ast: 64c3da5f89eeef374f1f59426480798945f7da178ccd883ab1e25ffac5b9d5f1 diff --git a/tests/expectations/compiler/integers/i8/gt.out b/tests/expectations/compiler/integers/i8/gt.out index 40430c7dd2..73655eb7ad 100644 --- a/tests/expectations/compiler/integers/i8/gt.out +++ b/tests/expectations/compiler/integers/i8/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ed8b8b6918036e8d0ad71eb3a63dbd51b8e5d4dc1b6c0b4b4d24ba9554bd4d77 - - initial_input_ast: dc7e20d77911e45e807f31b3111405eff2c3c7757b6fbcb53d76c67327111ba2 - initial_ast: c92ed831ea2bd6f9f475882c9471bcfef9d7a1d01f04231f5ce26f1f87d62e90 - unrolled_ast: c92ed831ea2bd6f9f475882c9471bcfef9d7a1d01f04231f5ce26f1f87d62e90 - ssa_ast: d6ce3ff665bd0b29857aa8885c1a566ec9b21fd670e85caa4b82a351b3694057 + - initial_input_ast: 11a434a8b3430503476027519203b3ef7547c5cbc207226957163b3f72bf544b + - initial_input_ast: 572b929a946620a917d13bf4736f51b4388684c1526b806def1c4f698b8bc124 + initial_ast: 729f21f5d417986f328ce5cb909c034c0e70d97bb04528b2df2d4f692bce7785 + unrolled_ast: 729f21f5d417986f328ce5cb909c034c0e70d97bb04528b2df2d4f692bce7785 + ssa_ast: 197916713f20b3748b1fbf836341f5fd315451c4534167f9d1dab2eaaee1e565 diff --git a/tests/expectations/compiler/integers/i8/le.out b/tests/expectations/compiler/integers/i8/le.out index 8a2992d5a6..370bf0485e 100644 --- a/tests/expectations/compiler/integers/i8/le.out +++ b/tests/expectations/compiler/integers/i8/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 77fae0ebab3b6e710b4a63c81f885cc8825312c0a1e5d55183f80820b2da3456 - - initial_input_ast: 765397ece9747b8514a0bdbe1be734daa094a488f0631ed627c92730727605a4 - initial_ast: e4a46266de4e9b7b78c08421f37cb3e43d8717314256bf64f7c7a8b2b4273490 - unrolled_ast: e4a46266de4e9b7b78c08421f37cb3e43d8717314256bf64f7c7a8b2b4273490 - ssa_ast: e50dc66c34a74074fa1c86b5ad0d18f9606255d687ecfd0fa5ef0b73457581bc + - initial_input_ast: 82d053893c54bace369ef2e90a85326caab57bf9995b2cf83bc8e8bc4c2ea4cf + - initial_input_ast: 6419cdc254f90d5859667d19e6c9d190630e2789c714ab6bb23ad28082552ec5 + initial_ast: b30a1c485c9d9db68c8356cf868c432cfa764d1d6e749dec077ca61a21bfd51d + unrolled_ast: b30a1c485c9d9db68c8356cf868c432cfa764d1d6e749dec077ca61a21bfd51d + ssa_ast: a71b1acc4c1791772fdffa8087f8e9fccc07c6b4da6cdd1419f9fc46e5ec89cb diff --git a/tests/expectations/compiler/integers/i8/lt.out b/tests/expectations/compiler/integers/i8/lt.out index 158e8ccb83..572c1477e4 100644 --- a/tests/expectations/compiler/integers/i8/lt.out +++ b/tests/expectations/compiler/integers/i8/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 72d98585d73fbf00d6ba6f7188f85a51cfd97f329453d660cc20746b106c9527 - - initial_input_ast: 2e38188fcab20a440aeb328ac585ed50ea11f660170bafd7a1e0131599740e15 - initial_ast: c62dbc22b461eb91478cfc0f15e4d0ae994d285be3f7b6ec74da2e9d09e5cfd6 - unrolled_ast: c62dbc22b461eb91478cfc0f15e4d0ae994d285be3f7b6ec74da2e9d09e5cfd6 - ssa_ast: 8a79eeabb009d00a19ae1b757dbc6af3d84c4e6a7dde4c190d135b456ec779fb + - initial_input_ast: 816243ce2c8d49409e938b1ccc3a28ad53657cc311cc77cf43efcd0daf5449bf + - initial_input_ast: 238a7290b2ea1984e43fdb11f837fc1ad48f8f0fde3da9e6872f5bed291958b3 + initial_ast: d26b1777ac53a34c89fd289ddb7580a33baa7730e4b7c3966da7634c04ca5d42 + unrolled_ast: d26b1777ac53a34c89fd289ddb7580a33baa7730e4b7c3966da7634c04ca5d42 + ssa_ast: e4d0ad9a6978b48bc42d73e19b20879993d1a6c0d1f38d3dd2ba55d7759c57cc diff --git a/tests/expectations/compiler/integers/i8/max.out b/tests/expectations/compiler/integers/i8/max.out index e334ced885..0734cd1a14 100644 --- a/tests/expectations/compiler/integers/i8/max.out +++ b/tests/expectations/compiler/integers/i8/max.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ba83c4b232ca7cb9f1b320fbe00fc76c9e76059f192afb54f5878b9cca9f23eb - initial_ast: ffbaf3e540c6614b16d723262dddc7a034d30b7b9c8cd792bf32f8749760ee7a - unrolled_ast: ffbaf3e540c6614b16d723262dddc7a034d30b7b9c8cd792bf32f8749760ee7a - ssa_ast: c1265bf39519e1008d2c38c7faf37c03817aa985e34fc1cea5d0a4743a0d39c4 + - initial_input_ast: 240435adb5bb971214ef6d0c8137edabcf08ac333107853eaff24e9e67dd4122 + initial_ast: 0d30b22c31c92ed51f4e3ed6d07c882420bb54d1969eddb589d03e200b3458a1 + unrolled_ast: 0d30b22c31c92ed51f4e3ed6d07c882420bb54d1969eddb589d03e200b3458a1 + ssa_ast: 2309c9ae3e29076cadbbfc3cf4e2f8bc08fab31c58c095a7ea7cd537e1ade776 diff --git a/tests/expectations/compiler/integers/i8/min.out b/tests/expectations/compiler/integers/i8/min.out index 7be8f18841..4d0ea49ac0 100644 --- a/tests/expectations/compiler/integers/i8/min.out +++ b/tests/expectations/compiler/integers/i8/min.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3e63ac0f1c06b032de265411bd6b2e699c930841e0978be6b9233cbeb86cc605 - initial_ast: 57852b7a300e4c1c2cf7b9401fef66287c1adbaa4767a5c475fad0c71d4eb960 - unrolled_ast: 57852b7a300e4c1c2cf7b9401fef66287c1adbaa4767a5c475fad0c71d4eb960 - ssa_ast: b92dc45d25f7fb25ea1f82278d68a1c30c02fb7c90453a96c1f853331a4e1b54 + - initial_input_ast: 21d32583dd1af9cd3003f8cf666078c729d433275cd1e4978e228cf09899e706 + initial_ast: 89519b2f9d1f0433b7cef791e48c93a5449d4d51a44bb9d6be58fbb8d489955b + unrolled_ast: 89519b2f9d1f0433b7cef791e48c93a5449d4d51a44bb9d6be58fbb8d489955b + ssa_ast: f27bb6f151eb9cca81491adf0ebed83b4f2f156e2a8b3f1f9ea84f28a12cd7e2 diff --git a/tests/expectations/compiler/integers/i8/min_fail.out b/tests/expectations/compiler/integers/i8/min_fail.out index 8bf0f5f394..428a7ec452 100644 --- a/tests/expectations/compiler/integers/i8/min_fail.out +++ b/tests/expectations/compiler/integers/i8/min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: b31dfe6cd2720310b35822c841634998be88bc3f57fc4a22375b567a92f46133 - initial_ast: 82baa72f7b009875bbfb9a52e59a24b2cbb8befbf0ff0926b7f113a54b4afdf4 - unrolled_ast: 82baa72f7b009875bbfb9a52e59a24b2cbb8befbf0ff0926b7f113a54b4afdf4 - ssa_ast: ab56766b1d3ba302a545a6b55067afbe0ab1a439faea632e19356aad3d7197c9 + initial_ast: b53da8bc866fd4baadc69f2f265563d8be0e1a64a11f8aea8bae4123217d63c8 + unrolled_ast: b53da8bc866fd4baadc69f2f265563d8be0e1a64a11f8aea8bae4123217d63c8 + ssa_ast: eb7fa346f12149354d7521f979a1f4a8a12fd646001a646f6bb92422135693b0 diff --git a/tests/expectations/compiler/integers/i8/mul.out b/tests/expectations/compiler/integers/i8/mul.out index 169a1d1bc2..5828fc7330 100644 --- a/tests/expectations/compiler/integers/i8/mul.out +++ b/tests/expectations/compiler/integers/i8/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e66426f412a6418ac15a8685ea2f0e6a7758b05481f2bacf1636a86a2ae88589 - initial_ast: 71efcfd14b2889accb63170b3aae7eac31be03428de92ee8d80a22f14607307f - unrolled_ast: 71efcfd14b2889accb63170b3aae7eac31be03428de92ee8d80a22f14607307f - ssa_ast: d7f7ec9ed4890098f9dc9789a9ee2068cf650c80535f4f1b88d5667b41962c33 + - initial_input_ast: 9cd98b6ae90f89e657b39e6e48831d59cfbb475ea7642346f32e074499eac93a + initial_ast: 9ce8ec74f6c19a2e37899fcd35fae1b13cc1ee1d7c9beeec2f8bc33e29e1f305 + unrolled_ast: 9ce8ec74f6c19a2e37899fcd35fae1b13cc1ee1d7c9beeec2f8bc33e29e1f305 + ssa_ast: 0ee37985a66ea5d06fd28612e35ee2ec2831249f0062974dbdf3d0d2b0220ba4 diff --git a/tests/expectations/compiler/integers/i8/ne.out b/tests/expectations/compiler/integers/i8/ne.out index 9d556c563b..ad74e35de2 100644 --- a/tests/expectations/compiler/integers/i8/ne.out +++ b/tests/expectations/compiler/integers/i8/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ce16e0723443e02e9bd68e3378291635035ece3e1f996bb1c8e45f61bc8d0ff7 - - initial_input_ast: fc1688fdc700aadb85d5dc04dd3eca80f2d19254856f5d7df1f80ce192450d15 - initial_ast: 68d967dfa4589f227167222cf47f4c1a1686a0f58a10ec293fad1afc01489ea8 - unrolled_ast: 68d967dfa4589f227167222cf47f4c1a1686a0f58a10ec293fad1afc01489ea8 - ssa_ast: 22753ce7f538ec184be122e6b84c81e6492ae10dfb5c2c4a69f26f0fc58e98a4 + - initial_input_ast: c08fa79935838db79db59c24fa163d64d3c62b0ff33757981a31aa0111f20e6e + - initial_input_ast: 2b6d865edf568084559de273c7259f8148308b59aa3d3c4c9cf62049b80dd3c3 + initial_ast: 3e4bb36f3d09676be810382ac02551bb2a0be07a043eb32ea37efddb3c29bc95 + unrolled_ast: 3e4bb36f3d09676be810382ac02551bb2a0be07a043eb32ea37efddb3c29bc95 + ssa_ast: 8e13789c930d9aad54884f3c7c3386cd3f53f46d7264a1e939b7adcea38766b8 diff --git a/tests/expectations/compiler/integers/i8/negate.out b/tests/expectations/compiler/integers/i8/negate.out index 177e633b0a..bada89d710 100644 --- a/tests/expectations/compiler/integers/i8/negate.out +++ b/tests/expectations/compiler/integers/i8/negate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1bd20ea148c690dea235babece3a0cc7be442369a8d7f68580cea025c6815899 - - initial_input_ast: 5617dd2ded7e70af83fba9ae83760664c1d0255c49fd4ae7f81f96d54956c593 - initial_ast: 3d91e13f420b7ff1c0249ccfb27ffeeffd09ad171ccb382ad386522eef62e7af - unrolled_ast: 3d91e13f420b7ff1c0249ccfb27ffeeffd09ad171ccb382ad386522eef62e7af - ssa_ast: 02c7b689cb8af367b4dc045d99a2a5076f175454755c9c95046cec05270ca818 + - initial_input_ast: 16bd51814a5af337388caa4e36772c181be384c3bfc98b6abc1c756c190368bb + - initial_input_ast: e0416453d180f6623cb3302e3686345483d3cb250e819c73a907919e3ba35ac5 + initial_ast: 9b296f9aa744b7ff383018d9d9b14640dbbed092e41daa513ecc51f076d9e562 + unrolled_ast: 9b296f9aa744b7ff383018d9d9b14640dbbed092e41daa513ecc51f076d9e562 + ssa_ast: 06d65f439f89f703e567cb0775ba568d606f5de1b4fab3f91b5bb5247ec8e849 diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index 3ea585d3c8..1afe34e405 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 53570f9b01fe828f720945ab561a01e4c514f52cec152aa4b458f1f0da94bcd2 - initial_ast: 4b3b640379d93cb35bf40aa911b4a20ee38fe3fc12eb5f288e337fa5eb01e03c - unrolled_ast: 4b3b640379d93cb35bf40aa911b4a20ee38fe3fc12eb5f288e337fa5eb01e03c - ssa_ast: b3d97eac6bd352d60fa2e84ac88933d8b03a2ec222a2df68fd005bc6d350ad59 + initial_ast: da5ed5d49f447486e6ddb77ccf04513ca4bf3294a908756a820f7f06fdadbe61 + unrolled_ast: da5ed5d49f447486e6ddb77ccf04513ca4bf3294a908756a820f7f06fdadbe61 + ssa_ast: 4040cbed0e5f812353e3481b44ef8b51b597790856a8a611e9c7dba27352ccb0 diff --git a/tests/expectations/compiler/integers/i8/negate_zero.out b/tests/expectations/compiler/integers/i8/negate_zero.out index bcf469cb40..773ccf630e 100644 --- a/tests/expectations/compiler/integers/i8/negate_zero.out +++ b/tests/expectations/compiler/integers/i8/negate_zero.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 3ae28983e2d2b8955095c5982e00f0841d541858f9c43f24867766bb351a96f4 - initial_ast: a966b9bf552feaa7bb8541bddf1443be910f814b5f5356d07252f47cfde28643 - unrolled_ast: a966b9bf552feaa7bb8541bddf1443be910f814b5f5356d07252f47cfde28643 - ssa_ast: d1e432e51eeb98ffdf7dd0f69a8c14d214abbf95b1b08a8a3fcadb3c131fe8e4 + initial_ast: ac50469f2f2e9514b26d6c489c655bc0c74ed85bf40b944a1680a07258f89dac + unrolled_ast: ac50469f2f2e9514b26d6c489c655bc0c74ed85bf40b944a1680a07258f89dac + ssa_ast: 370d145158890a5bd842f7fbb7d3e5f5c091040c994c855eb52536ea035830ce diff --git a/tests/expectations/compiler/integers/i8/operator_methods.out b/tests/expectations/compiler/integers/i8/operator_methods.out index 66b1caad69..d2ad4d865e 100644 --- a/tests/expectations/compiler/integers/i8/operator_methods.out +++ b/tests/expectations/compiler/integers/i8/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7bfad30da9e9acd1d9cd8065df89a7a83c904c3d9ec5585e8faed80bd30691bb - initial_ast: 00b7f3038ab1fe893fc43b2edfc594606d16ca8426db927413830ebf2a58cae3 - unrolled_ast: 00b7f3038ab1fe893fc43b2edfc594606d16ca8426db927413830ebf2a58cae3 - ssa_ast: da09fdde88e12e7919102fa804ad89fc2ca534c053d242973ae29e0477a590fc + - initial_input_ast: 7138e90a6a8e9256d2ed7d7abab5a20921790f0ca30400b24b7a08aae7fb9a15 + initial_ast: a3e61477f73cfb4990689d4b567c8f90dc0ea79afa9ac7ab905c06a714bd79f8 + unrolled_ast: a3e61477f73cfb4990689d4b567c8f90dc0ea79afa9ac7ab905c06a714bd79f8 + ssa_ast: 1345182944a8c8f94ab8aa30432808eeebce8f504d305881e22136303a3660c7 diff --git a/tests/expectations/compiler/integers/i8/or.out b/tests/expectations/compiler/integers/i8/or.out index a90099e5a9..85a5d6d51e 100644 --- a/tests/expectations/compiler/integers/i8/or.out +++ b/tests/expectations/compiler/integers/i8/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3033ab547cde0c4c082414e1693c34b8412994b8757c81824ee3da20fe227b2f - initial_ast: fe3c11825205d96d5f32f90f7fbf20da6a636b3ae93cd0858d824515b3515dfa - unrolled_ast: fe3c11825205d96d5f32f90f7fbf20da6a636b3ae93cd0858d824515b3515dfa - ssa_ast: 5141669304f473abe88b568478934bd744c239002ffb4af4f9035cef856d8e78 + - initial_input_ast: 9d85de327955beffad413de3c18fffcb6e8995caaebc7cdef0f08c9af1eb4a43 + initial_ast: c355e2864fc3b4d23d0f29c59a9725d7b01f0160ef2deb421b399998fff80edc + unrolled_ast: c355e2864fc3b4d23d0f29c59a9725d7b01f0160ef2deb421b399998fff80edc + ssa_ast: 054f6237f7b4048b75374b096056b4e8c74f76e0939d52d3df66b453bd848a37 diff --git a/tests/expectations/compiler/integers/i8/pow.out b/tests/expectations/compiler/integers/i8/pow.out index e28aec5ab3..d67bf78b6a 100644 --- a/tests/expectations/compiler/integers/i8/pow.out +++ b/tests/expectations/compiler/integers/i8/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 98df0cd25fcba08db2d3b409c4cb1ff5242c793f920bc0affacedd4edb8abfa3 - initial_ast: 03e0ceb6cf0a6c8a61842d5a25ac56dc38e9d44dbd685837dee42351e6e78122 - unrolled_ast: 03e0ceb6cf0a6c8a61842d5a25ac56dc38e9d44dbd685837dee42351e6e78122 - ssa_ast: c45f04309ddbd5017a3bb1677de08eecfadd3e61bc117903021896b55b9d7031 + - initial_input_ast: 5b2b50540908e17d48fe81725ea72a21c8c6b99ceaaa69f21fe3ed5f67848ab6 + initial_ast: 58d9a18305a41f8ffc15b1a798e91f5a24d280f6015ef1c47bbbb8493c6a9316 + unrolled_ast: 58d9a18305a41f8ffc15b1a798e91f5a24d280f6015ef1c47bbbb8493c6a9316 + ssa_ast: a4948c6c5581b7ce8f2312594c73aa8a1bd54e9a4ad72bc047c9df9ecbebbc2b diff --git a/tests/expectations/compiler/integers/i8/rem.out b/tests/expectations/compiler/integers/i8/rem.out index 8fa9cdd00e..b8030f49f5 100644 --- a/tests/expectations/compiler/integers/i8/rem.out +++ b/tests/expectations/compiler/integers/i8/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e69b8b89d79048d0e0b6a71a051c9bfaa331175af9d8a328d2e7d4a9eadd61cd - initial_ast: db78ee26832c360f14f17ab1a76c0af8a510c36233a7ff89f868aef5bfbe462f - unrolled_ast: db78ee26832c360f14f17ab1a76c0af8a510c36233a7ff89f868aef5bfbe462f - ssa_ast: 33e7b98f2e75cbec93fbbd7bec745278ed096e8632dd965305eb49fd95ff3dfa + - initial_input_ast: 831f3aeaac9f0826cc41ac261dbdd38890478d837e32a85fd61850bf0fbf2ff4 + initial_ast: c68c4939e9dde4c7397262f2fc189e784f63892e32d3b8f981ddb17128ce8a66 + unrolled_ast: c68c4939e9dde4c7397262f2fc189e784f63892e32d3b8f981ddb17128ce8a66 + ssa_ast: 03d2c2e92af25e2cef46ca5af0b7a9b1bd46a3932eb66c4134978c9379db78a5 diff --git a/tests/expectations/compiler/integers/i8/shl.out b/tests/expectations/compiler/integers/i8/shl.out index 26df09db3c..9b83807001 100644 --- a/tests/expectations/compiler/integers/i8/shl.out +++ b/tests/expectations/compiler/integers/i8/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 679628cd6daaf4a56171759aad7cb9f5e682d5c65ac33d52d0f5678765401232 - initial_ast: 2ad06314e02616a9b5c317114ca87891bd7139c14b76addf1137893bb5f83346 - unrolled_ast: 2ad06314e02616a9b5c317114ca87891bd7139c14b76addf1137893bb5f83346 - ssa_ast: d24f410bd07de1eb8a69a0716d97d883a30d63812e0de389b9862952a4dc6f5c + - initial_input_ast: 555db3a1cecd97a8eafe72365b094c4465a815d16fd251e47e7d0c51c0ecc747 + initial_ast: 732a9872985eea638db8c71fbddb58c2a532c4b029ad15109e95ba43b5ee7da2 + unrolled_ast: 732a9872985eea638db8c71fbddb58c2a532c4b029ad15109e95ba43b5ee7da2 + ssa_ast: 1d4b6b0fec45f84324197a196a7a332da626d10f9a5acc91d76a178dcfe10138 diff --git a/tests/expectations/compiler/integers/i8/shr.out b/tests/expectations/compiler/integers/i8/shr.out index 31e7b66b53..f256a4572a 100644 --- a/tests/expectations/compiler/integers/i8/shr.out +++ b/tests/expectations/compiler/integers/i8/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 679628cd6daaf4a56171759aad7cb9f5e682d5c65ac33d52d0f5678765401232 - initial_ast: c447a73a3f8857b90b83ade3e92cc3dee6108ec7c6b87c840df09566965b856c - unrolled_ast: c447a73a3f8857b90b83ade3e92cc3dee6108ec7c6b87c840df09566965b856c - ssa_ast: e1eefa23d66b23a486f75de44d3a0f48bfac055276c26730d67980480d653a43 + - initial_input_ast: 555db3a1cecd97a8eafe72365b094c4465a815d16fd251e47e7d0c51c0ecc747 + initial_ast: eee3a576953abb0d1f5bd7de7c83f28b12864b79fa38565aa7688276b21e5142 + unrolled_ast: eee3a576953abb0d1f5bd7de7c83f28b12864b79fa38565aa7688276b21e5142 + ssa_ast: 6dcdce71f60554579b6d610fb08ea947514c7694515906628a296eed0b990d63 diff --git a/tests/expectations/compiler/integers/i8/sub.out b/tests/expectations/compiler/integers/i8/sub.out index b36589ebc1..837098f3d0 100644 --- a/tests/expectations/compiler/integers/i8/sub.out +++ b/tests/expectations/compiler/integers/i8/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f841cbee0a18a31cdb92a2182c2a0e912171fd93e8b00ffe23cd2d75b9908cae - initial_ast: 60f4ae03ae16e889b22b233024cd19fc10d3f430258c4396938b32dcca2868d2 - unrolled_ast: 60f4ae03ae16e889b22b233024cd19fc10d3f430258c4396938b32dcca2868d2 - ssa_ast: c8d617b6cd423851add52c6303e349907a1596b0bfab21d3bc8aaba637392e56 + - initial_input_ast: 5c37cf7e21cea3fb27e40899a8d0b622a415b93b3cf444b51a3f0c20502ef930 + initial_ast: 3416ff03204c4e1c70ca102a4c69097ddecbb06cbf87ea2df0a037a8205dd6b2 + unrolled_ast: 3416ff03204c4e1c70ca102a4c69097ddecbb06cbf87ea2df0a037a8205dd6b2 + ssa_ast: 6b463ac652e31af20e6c7d3ca6c8e47919f219feac3c7f84cab2b53067fc71c1 diff --git a/tests/expectations/compiler/integers/i8/ternary.out b/tests/expectations/compiler/integers/i8/ternary.out index f1e8d2a8ca..f163893633 100644 --- a/tests/expectations/compiler/integers/i8/ternary.out +++ b/tests/expectations/compiler/integers/i8/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ef1dbe8a80ba0b6f2f0fb163faef4a93b3fd6c4f4baa80b416a1a71f2431671c - - initial_input_ast: dc27e0e21a03336ec3bd452bdc40b02e904b28cdb449e23c7b4de698eee9efad - initial_ast: f185943f99db39813e360640e446822fdb9df3971615ccd81f4ba6f35ab527df - unrolled_ast: f185943f99db39813e360640e446822fdb9df3971615ccd81f4ba6f35ab527df - ssa_ast: ac42870a894f35a8b464bdde12e4a6b103a930340c1b1b4f9f6ec4945ffae2b8 + - initial_input_ast: 6a73f5728b4c45c5547aa30db6766382b307d271454f5db593db3456a0e42146 + - initial_input_ast: f27d04bbf16c4e8633181d2318c1297ceede65e5ed8d5607d5e09b8babca5430 + initial_ast: 69f49d958a44f2cc49c20c18b3da0e9c1b971ecd0ee6260387aee441adade2d8 + unrolled_ast: 69f49d958a44f2cc49c20c18b3da0e9c1b971ecd0ee6260387aee441adade2d8 + ssa_ast: 113846406e1156379d7d2bf3f1f5595f76a6ba95b665e4172c9f6820653f228f diff --git a/tests/expectations/compiler/integers/i8/xor.out b/tests/expectations/compiler/integers/i8/xor.out index 5ec5c8007d..a4c8088f3f 100644 --- a/tests/expectations/compiler/integers/i8/xor.out +++ b/tests/expectations/compiler/integers/i8/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3d50fec6ccedd367c06ff9da391c4cc76906588c617dc0800dff3485bceeec5f - initial_ast: 1b070b962d6af941cc82a11612b2007442efe124a59ab6e9fc9c9114ab9af31f - unrolled_ast: 1b070b962d6af941cc82a11612b2007442efe124a59ab6e9fc9c9114ab9af31f - ssa_ast: cc2153a81486cdfd288027a8b591405ce067ae8b006a01ef647afad9ae02a35c + - initial_input_ast: 92a80b16b4ca2de724e7f0c645ff81b89ff8490f3d6395ac379d410ca2530904 + initial_ast: d138af89a9e5c24ccb91c9ddc4eeab28ab1572d72d9673257d406bfed1c0db59 + unrolled_ast: d138af89a9e5c24ccb91c9ddc4eeab28ab1572d72d9673257d406bfed1c0db59 + ssa_ast: b25669789da77bf95a9f4436d8ac2e98e171d2af2dd742ddbbfb86c674e40c62 diff --git a/tests/expectations/compiler/integers/u128/add.out b/tests/expectations/compiler/integers/u128/add.out index a323fcd11d..d01efe2419 100644 --- a/tests/expectations/compiler/integers/u128/add.out +++ b/tests/expectations/compiler/integers/u128/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2db6e39798c7e89a5440df84f215bef2e86a04ada119c3b52d6b5e655d18f49f - initial_ast: 63f7f6b6f17e44a0be0526fe2b6efbc3f41c136c96dd972a874e96b6dc4016e5 - unrolled_ast: 63f7f6b6f17e44a0be0526fe2b6efbc3f41c136c96dd972a874e96b6dc4016e5 - ssa_ast: 0419a8b1ba7b73c14dd0ee1171e6c2f05c3a6918ab9047a296ab5010bac99371 + - initial_input_ast: 8b68efb82f47709e186ad5ea8458fe5de332a9ab1d04fb32ce4d126cb3de60a3 + initial_ast: e71b2ec11679ebf002634f6f69d9f5490ea8a48535ce72eb2330aa90b97856e0 + unrolled_ast: e71b2ec11679ebf002634f6f69d9f5490ea8a48535ce72eb2330aa90b97856e0 + ssa_ast: 4125fde9335870d94f62c7e74a5e758530ad1a45c9757ea8fa9cca52c6af2b7a diff --git a/tests/expectations/compiler/integers/u128/and.out b/tests/expectations/compiler/integers/u128/and.out index ac201165c2..36aa941812 100644 --- a/tests/expectations/compiler/integers/u128/and.out +++ b/tests/expectations/compiler/integers/u128/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2db6e39798c7e89a5440df84f215bef2e86a04ada119c3b52d6b5e655d18f49f - initial_ast: 32398035f0e3f8ab50e10239764c5d5830fbf17ee4185b59fda74fbe82d35f62 - unrolled_ast: 32398035f0e3f8ab50e10239764c5d5830fbf17ee4185b59fda74fbe82d35f62 - ssa_ast: 0ed1521a137213f63a987b1c83ffc77191c0f750ea98d6381693cf6262eff0fa + - initial_input_ast: 8b68efb82f47709e186ad5ea8458fe5de332a9ab1d04fb32ce4d126cb3de60a3 + initial_ast: 5b5fe83620b92e2db2e1525d779050a2158f936f8359dda9eb018cd4ff85cbfe + unrolled_ast: 5b5fe83620b92e2db2e1525d779050a2158f936f8359dda9eb018cd4ff85cbfe + ssa_ast: 4abf885e8418d94fe4e99c60cca8d4e1e548f2bd6cac1d48f9eeeb317d18b256 diff --git a/tests/expectations/compiler/integers/u128/console_assert.out b/tests/expectations/compiler/integers/u128/console_assert.out index b7e905721d..a9781985fa 100644 --- a/tests/expectations/compiler/integers/u128/console_assert.out +++ b/tests/expectations/compiler/integers/u128/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b19003e1292f9d8c35f159a014560d387de467bbcbd8985a78310a5de91756d1 - initial_ast: aff3b5bfede3b4fb0271622b43bf44fba40a3b3f7ccb5b0c01d18078b4a41cc0 - unrolled_ast: aff3b5bfede3b4fb0271622b43bf44fba40a3b3f7ccb5b0c01d18078b4a41cc0 - ssa_ast: 0728923e1ddc51088bfff4f7cac568666769df40d2e883b4871defcde7432dca + - initial_input_ast: cdf9a7256a1e0526714d5ead47bc3cddb49dc4e1eafa28de3610b20412a33006 + initial_ast: 3068a340188c5282d62594d0e2f06c02ff5bd2e592bbb9e39bdadf47f42e61b4 + unrolled_ast: 3068a340188c5282d62594d0e2f06c02ff5bd2e592bbb9e39bdadf47f42e61b4 + ssa_ast: 03a01bb6c18c9f57a62107b2bda3f166f937c6dc9a32be7d29f74531f3e4d149 diff --git a/tests/expectations/compiler/integers/u128/div.out b/tests/expectations/compiler/integers/u128/div.out index 0933a59376..770e684f8e 100644 --- a/tests/expectations/compiler/integers/u128/div.out +++ b/tests/expectations/compiler/integers/u128/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8c769b219fb103fdfd75d8ae79e6328345eac639c7a498279ef78b84129f1783 - initial_ast: 5233620ea03d70e864f5835df7eb4616e37560cf7ed6d82adc68dcb81125650b - unrolled_ast: 5233620ea03d70e864f5835df7eb4616e37560cf7ed6d82adc68dcb81125650b - ssa_ast: 3369a294ca44cca04d6aadb05a20435733d8bee4e9d7f5d1d02dfe557e591875 + - initial_input_ast: 65f203354453a926238320a2b63c7e807c464a851fed89fea81defeddbde0bbb + initial_ast: 7d34d0b86519b42c489f34f87ddf26cd741da8fcca5deb77e29ee8a3d69fa36b + unrolled_ast: 7d34d0b86519b42c489f34f87ddf26cd741da8fcca5deb77e29ee8a3d69fa36b + ssa_ast: 515b08b6a6c8bddd6086ef3ff4078349debd57d3c2c31eca894bbd715404c60e diff --git a/tests/expectations/compiler/integers/u128/eq.out b/tests/expectations/compiler/integers/u128/eq.out index 602b99f76d..8c7e91be39 100644 --- a/tests/expectations/compiler/integers/u128/eq.out +++ b/tests/expectations/compiler/integers/u128/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: cf09f86b83f8dec2770e6b1cd39446d53df852c7b4672b13541e9affdef43f41 - initial_ast: eb52d4982cef98c98465cb71b9b498d18b5b857a8c524fea4e95ce6f339e29d4 - unrolled_ast: eb52d4982cef98c98465cb71b9b498d18b5b857a8c524fea4e95ce6f339e29d4 - ssa_ast: 784387223e04fd0de65dd6a2cf68d0116fc2afa941b07a4838a286622d0be481 + - initial_input_ast: 30c558a016d9a6649da4661e01121800b656b51c9373596936d7a6d4fa0fe2a9 + initial_ast: e22aa4fcd5411141aa3a70cdc3334ea0d5518edf45302b1079671c3cc02cd993 + unrolled_ast: e22aa4fcd5411141aa3a70cdc3334ea0d5518edf45302b1079671c3cc02cd993 + ssa_ast: 93023f2fde71d8ce6203dbca2aac2cfc6df8057b529a438d88de35d8686dad0c diff --git a/tests/expectations/compiler/integers/u128/ge.out b/tests/expectations/compiler/integers/u128/ge.out index 216d254474..e2a7ba851f 100644 --- a/tests/expectations/compiler/integers/u128/ge.out +++ b/tests/expectations/compiler/integers/u128/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8e31fdef96be39cf099dce1b9d7f01a0fe95fbea9cb1522f57910ec9048c1bbd - - initial_input_ast: 9f81fe3817e0b0c4b94b872e251ec8ef2e06148cd3a641bd5f945fe5b040765a - initial_ast: 86c0a68bd78f437cdf2a7375ad67c1b92832fd936471bfedea82c88880ea5a55 - unrolled_ast: 86c0a68bd78f437cdf2a7375ad67c1b92832fd936471bfedea82c88880ea5a55 - ssa_ast: 55b7bcb2f56e10268cc6aba4c9d998f939c12dfa91928de9f1702610f0f5270b + - initial_input_ast: 9f6ff7676276fd71e69205fd2a37b2a517f2e6d2bbab71bea3780f9b3e4ce9d7 + - initial_input_ast: 2b77a054e534e53a6339be6690e9b8492116bda105fc6e9608d8a3974716b1c6 + initial_ast: 908d70ca9aba563469aa4a076ee8ffc7ce6fd0f5c8c421ccfab3ded2ce4e7696 + unrolled_ast: 908d70ca9aba563469aa4a076ee8ffc7ce6fd0f5c8c421ccfab3ded2ce4e7696 + ssa_ast: 78f3b208745d9420bb2afe9d08de0c216a74fe14414dbf7708169fda29688e4d diff --git a/tests/expectations/compiler/integers/u128/gt.out b/tests/expectations/compiler/integers/u128/gt.out index ed3e32f530..247006428b 100644 --- a/tests/expectations/compiler/integers/u128/gt.out +++ b/tests/expectations/compiler/integers/u128/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: dbabe8825eb53f7a6acc13e2aa1a0c635edfe3522d4490446228420311d63d6e - - initial_input_ast: 905e1f378b79d4ac0a1f19fa596dbf187954537ea9104ce8b7225913c9c8ae83 - initial_ast: b4a5dfc74e2fe6ef83406cf4f33fce47bced7e403cc86278a199a18b89bdf2c5 - unrolled_ast: b4a5dfc74e2fe6ef83406cf4f33fce47bced7e403cc86278a199a18b89bdf2c5 - ssa_ast: ea34bcbe73044206a7f5406ac2383c756e503b5b392561260d4a9bca91dddaaa + - initial_input_ast: 68b296c4baad237c3ee5ec1ff93b1b590b33ef7bfe40c7cb755e744eaf3a25fb + - initial_input_ast: 48c61c6af91816a96b47dd8b04f0c9c15bdae360953595c9b4ee4873e12d1858 + initial_ast: c261e28470ab881be1560a49fe3ba36f91aca34ea1411ab87304b5db9287e211 + unrolled_ast: c261e28470ab881be1560a49fe3ba36f91aca34ea1411ab87304b5db9287e211 + ssa_ast: 6d494ed8897343b5069def79ba7cd598965ff4fc56a05bf5fccb3bb66ef432d7 diff --git a/tests/expectations/compiler/integers/u128/le.out b/tests/expectations/compiler/integers/u128/le.out index 3f40e26f9f..82ef53abe3 100644 --- a/tests/expectations/compiler/integers/u128/le.out +++ b/tests/expectations/compiler/integers/u128/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8e31fdef96be39cf099dce1b9d7f01a0fe95fbea9cb1522f57910ec9048c1bbd - - initial_input_ast: dc77285319c53ad509a416f20d5e320d03162761b5d15a65ccf233d93ad9f8f0 - initial_ast: e721c369e7e5a21a55be72b3c7d9cb2875f67bcec1a228aaa243c07da40fe806 - unrolled_ast: e721c369e7e5a21a55be72b3c7d9cb2875f67bcec1a228aaa243c07da40fe806 - ssa_ast: ef53c02853a0c13a2cbbe1769c0c89780ea0ab6c7838fe0240c6814aa79baf92 + - initial_input_ast: 9f6ff7676276fd71e69205fd2a37b2a517f2e6d2bbab71bea3780f9b3e4ce9d7 + - initial_input_ast: 11bf41d31880a7a74f59076840eee2f09884209a800a99c7c6ccc07c938caeb1 + initial_ast: a82221c5f3f14fd34f9d8b55742f18f68d4c0ce19867bc3ec80f03fbafe8cfc4 + unrolled_ast: a82221c5f3f14fd34f9d8b55742f18f68d4c0ce19867bc3ec80f03fbafe8cfc4 + ssa_ast: f62dafd2b5702887ace9a8b73b2ea855c74198457c4846256cb2de61c96dd417 diff --git a/tests/expectations/compiler/integers/u128/lt.out b/tests/expectations/compiler/integers/u128/lt.out index 89d472279b..ab308aa2ce 100644 --- a/tests/expectations/compiler/integers/u128/lt.out +++ b/tests/expectations/compiler/integers/u128/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5a863bf5ebeaec416e94e2966bebc05e38d18af9a48b69f39b52faa23fd3fdaa - - initial_input_ast: 98579c0b187b0695a449047bfcec75484b6f9e2d5d9b04418ab33aaca3696d30 - initial_ast: 2ec8f8a9a3cf5e5e4728bcd74082c6c18680391db38a9614ffd68e8a46431b0d - unrolled_ast: 2ec8f8a9a3cf5e5e4728bcd74082c6c18680391db38a9614ffd68e8a46431b0d - ssa_ast: 821fa54e85c9e43f4dd834b104fc1651b35933c09663ba35c03c0a43975fa0fb + - initial_input_ast: d77d5bebce02dc2a7dc4f014b85e6e4bce36aa7d2f313519e70b30b0ed059882 + - initial_input_ast: 791995324ae1ffb6ec382ef4c8061ae9b67854844da64e6113e2368a7ae3bace + initial_ast: ed56bc2e7595b5537e4a38b3e1980db6c89df90bd9e87993e0f15325cefad254 + unrolled_ast: ed56bc2e7595b5537e4a38b3e1980db6c89df90bd9e87993e0f15325cefad254 + ssa_ast: 45743bad842796cc49d6d963684c4516e8a31a9587b5bbee1b91773d35a78fa4 diff --git a/tests/expectations/compiler/integers/u128/max.out b/tests/expectations/compiler/integers/u128/max.out index c0fc1d40e2..bec3242f75 100644 --- a/tests/expectations/compiler/integers/u128/max.out +++ b/tests/expectations/compiler/integers/u128/max.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: bc29c81534e8ff7275a2857bb6120478100e179a5edec8ef101fb4092a8483ee - initial_ast: 7e1d2ccf1a7a27885b4a6dbe41cf4299d71e751c6d9c39b4b9de54ca7a88c674 - unrolled_ast: 7e1d2ccf1a7a27885b4a6dbe41cf4299d71e751c6d9c39b4b9de54ca7a88c674 - ssa_ast: e3252d651abb48883b544b1dbc2e1a44645bc6e13a54499f9c7eb79f9fd453ee + initial_ast: 1e8d1a61631e81720d14bcc2106671fc5a090a4627c861ed0a698989d1a870fd + unrolled_ast: 1e8d1a61631e81720d14bcc2106671fc5a090a4627c861ed0a698989d1a870fd + ssa_ast: ce8c3195b7106931d0708b64cfe615cfdcccc78376e96af8135631dcbac9105b diff --git a/tests/expectations/compiler/integers/u128/min.out b/tests/expectations/compiler/integers/u128/min.out index faece0d92c..d796c84bae 100644 --- a/tests/expectations/compiler/integers/u128/min.out +++ b/tests/expectations/compiler/integers/u128/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: 3a1cc3a7687324fe758ba99ebc73bf0bfb713dafd1bb0f4ffe1d182c5a27817a - initial_ast: 8069197bcad6e4d55dcbfb0d4511bcab77c8adc26fe75ea9be8b10336da611f7 - unrolled_ast: 8069197bcad6e4d55dcbfb0d4511bcab77c8adc26fe75ea9be8b10336da611f7 - ssa_ast: b14484c4268ec905bc8be8a43b0d1e361778e94db0ccdb9870b1e0add5cad342 + initial_ast: 5befee9cba2f8cbd5d59bd3d6c9cb252f0d8d1bd143a58c13d1a42f78e737855 + unrolled_ast: 5befee9cba2f8cbd5d59bd3d6c9cb252f0d8d1bd143a58c13d1a42f78e737855 + ssa_ast: 15304e93f72076d58134482646b1bd2093628d461e680bc582ccfe49c3052e88 diff --git a/tests/expectations/compiler/integers/u128/mul.out b/tests/expectations/compiler/integers/u128/mul.out index 54aeb320ab..13befb10cf 100644 --- a/tests/expectations/compiler/integers/u128/mul.out +++ b/tests/expectations/compiler/integers/u128/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c0b68222285227dd54b76e2cd22237123392da3d8a06b272f8a678a0e84a9060 - initial_ast: 971f417c143556a5415f33922d0eadb504a2d844962994c02e2497f6bc42fcf8 - unrolled_ast: 971f417c143556a5415f33922d0eadb504a2d844962994c02e2497f6bc42fcf8 - ssa_ast: 9b6d5ccf52bc2837f7b88a7c4822d28baa873c852f97a655d9a569d1178b0587 + - initial_input_ast: 65c5104f29487cd8df18594b81b484c408e97346f2e80dd74fed61a876fc3429 + initial_ast: f9961d9ca9e1a82e465953e8a0a06f310272793b7ab20ef77dc489c43018a0b7 + unrolled_ast: f9961d9ca9e1a82e465953e8a0a06f310272793b7ab20ef77dc489c43018a0b7 + ssa_ast: 78ec5018d5f8d95caf7676a5f759b54d9d4351dd0a0ac19a9771ecdfd58454d2 diff --git a/tests/expectations/compiler/integers/u128/ne.out b/tests/expectations/compiler/integers/u128/ne.out index af756a559a..7cacf486ce 100644 --- a/tests/expectations/compiler/integers/u128/ne.out +++ b/tests/expectations/compiler/integers/u128/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 786d173f737c70976dba8790a3451aac5835e4f9ab2021b56ec2e420f87eaed9 - - initial_input_ast: 9488c580ed146c97046c62ea548065899d6032224680b0147777cf26247c078e - initial_ast: bc0c4ac7d59445e1ae5950c22a348114f9d3c1167f6114183c79aac5bb26bcbd - unrolled_ast: bc0c4ac7d59445e1ae5950c22a348114f9d3c1167f6114183c79aac5bb26bcbd - ssa_ast: f9e9917db29edc8df266896e8a98a30cd70427ac42518243f2a2307184e35c3c + - initial_input_ast: 19819a14a7cdb32e06e422d7c669988ca8e8908efef2f701cdedc863bd2976a5 + - initial_input_ast: c15ac07970141bc18560a65d34478a953916f51489b383ae1b3d908b5139115b + initial_ast: c41e127f7a05b76110e3dec9bc39dbd2a8d4a894e5abf3c8cfe883f36392abf7 + unrolled_ast: c41e127f7a05b76110e3dec9bc39dbd2a8d4a894e5abf3c8cfe883f36392abf7 + ssa_ast: d9a499e50c46c0cce116478b29641608ec2eace10c23a282d8d379f327a1413e diff --git a/tests/expectations/compiler/integers/u128/operator_methods.out b/tests/expectations/compiler/integers/u128/operator_methods.out index 6822ab7458..7130f0fcc4 100644 --- a/tests/expectations/compiler/integers/u128/operator_methods.out +++ b/tests/expectations/compiler/integers/u128/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a44be1f2160e047fe2a3e290168893855384215d04636bfce2fca1789a13f79a - initial_ast: ae0434dd4cd10268e860e0078f73253667d608509e0252b8eda4530d890221fa - unrolled_ast: ae0434dd4cd10268e860e0078f73253667d608509e0252b8eda4530d890221fa - ssa_ast: d2efc45b9a258dc063e105dd322161c3fcc2cd7891c6d2e55abd0e9107416987 + - initial_input_ast: 15fcfeb52a5274901910e91c8908712d76aa231b6a5f8c2406b90c2854f503a5 + initial_ast: 85141aa27228e46eeb03d89d82d9accaebaa339e75f633cad0777aff14d12e8b + unrolled_ast: 85141aa27228e46eeb03d89d82d9accaebaa339e75f633cad0777aff14d12e8b + ssa_ast: c28d7de4c798399e4a37eec849ac9bb50e5a8a7193d59f0f40d1ca40e85f51a0 diff --git a/tests/expectations/compiler/integers/u128/or.out b/tests/expectations/compiler/integers/u128/or.out index 8278fc9a24..54c795bb1a 100644 --- a/tests/expectations/compiler/integers/u128/or.out +++ b/tests/expectations/compiler/integers/u128/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 2db6e39798c7e89a5440df84f215bef2e86a04ada119c3b52d6b5e655d18f49f - initial_ast: 4f53b2d7fc4fc1f841c27a920a30313fdd38b005cdc8d59bd3ad2deb99b3de1b - unrolled_ast: 4f53b2d7fc4fc1f841c27a920a30313fdd38b005cdc8d59bd3ad2deb99b3de1b - ssa_ast: 5f34387f210f348bed1d961959328b2442944b25064cd5376b1e4556eeebe30a + - initial_input_ast: 8b68efb82f47709e186ad5ea8458fe5de332a9ab1d04fb32ce4d126cb3de60a3 + initial_ast: e9275a07a367c72a929d3d98ff2028f0d9c5537c001b8d4a0861ac37935cf097 + unrolled_ast: e9275a07a367c72a929d3d98ff2028f0d9c5537c001b8d4a0861ac37935cf097 + ssa_ast: 647f1bf5b013b36bf14defac0f1aba3702aa2424f39f4e9676fc8dfa29f13553 diff --git a/tests/expectations/compiler/integers/u128/pow.out b/tests/expectations/compiler/integers/u128/pow.out index 0b1dc5be12..d98b7a39ba 100644 --- a/tests/expectations/compiler/integers/u128/pow.out +++ b/tests/expectations/compiler/integers/u128/pow.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 30d114cb3c00f5987aaf01c568968b265d3aad048d5375198a7d83d72f4e4ff3 - unrolled_ast: 30d114cb3c00f5987aaf01c568968b265d3aad048d5375198a7d83d72f4e4ff3 - ssa_ast: 34536d77852af4e2b32de4f37b4677cbf3a436604a78c5446f35b671ce09bf3b + initial_ast: 1e3209d9b716cf622b82d33ada6e0c40d7fd0a8cea5c77fed3c5a6c78461be12 + unrolled_ast: 1e3209d9b716cf622b82d33ada6e0c40d7fd0a8cea5c77fed3c5a6c78461be12 + ssa_ast: c8520b08f1c3a0bde4406115fcf2a248ff380ea57c9e830fa3f9fce7d7798a80 diff --git a/tests/expectations/compiler/integers/u128/rem.out b/tests/expectations/compiler/integers/u128/rem.out index 9aad47d2f7..d15bc34870 100644 --- a/tests/expectations/compiler/integers/u128/rem.out +++ b/tests/expectations/compiler/integers/u128/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8c769b219fb103fdfd75d8ae79e6328345eac639c7a498279ef78b84129f1783 - initial_ast: 69c0e00ef5f7ef4fe38fa1fedaed81bb2628bdff83514b43485dd19a6f895c22 - unrolled_ast: 69c0e00ef5f7ef4fe38fa1fedaed81bb2628bdff83514b43485dd19a6f895c22 - ssa_ast: af5bccf1f12f56cc042439116bca82758c2eba9c4e77a66ff22ad1be76f39c60 + - initial_input_ast: 65f203354453a926238320a2b63c7e807c464a851fed89fea81defeddbde0bbb + initial_ast: 1eeea25f5b8d02757df4434c6a5a8cd63381171454fda51b70d4fabfb0908901 + unrolled_ast: 1eeea25f5b8d02757df4434c6a5a8cd63381171454fda51b70d4fabfb0908901 + ssa_ast: 1f9cadebbda8f063b0f9affca047c8852f85567eeb3de9e78f54dda98b267d3c diff --git a/tests/expectations/compiler/integers/u128/shl.out b/tests/expectations/compiler/integers/u128/shl.out index 7750df46dc..4eacf7a5dd 100644 --- a/tests/expectations/compiler/integers/u128/shl.out +++ b/tests/expectations/compiler/integers/u128/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7258b3caaf0e022c0892e0887ae060ac4458d293065c325773b00e49cf9b65c3 - initial_ast: 4906df1e4163a47f4e83f715fc3b60aa8cab8deb44b7ff834d0ec3f10fb716a7 - unrolled_ast: 4906df1e4163a47f4e83f715fc3b60aa8cab8deb44b7ff834d0ec3f10fb716a7 - ssa_ast: 68aa78c84e190b2278c24174e95742cc0731e18cd0cfee7c1889f7c7611939e2 + - initial_input_ast: 3abeb6ce0b494b4a3d8970b59223f585d5b3ee3746d01157635855bdd076303e + initial_ast: aa3ce955f7acdd9d5e65af2cffec311a2cd14c3b7f51067e4a3d6d8f2bfadad4 + unrolled_ast: aa3ce955f7acdd9d5e65af2cffec311a2cd14c3b7f51067e4a3d6d8f2bfadad4 + ssa_ast: cce7fe545e376566d61885a774f4b70005da55fcd6bacc862aae34d52012eb59 diff --git a/tests/expectations/compiler/integers/u128/shr.out b/tests/expectations/compiler/integers/u128/shr.out index ff101f4858..4e957d93c7 100644 --- a/tests/expectations/compiler/integers/u128/shr.out +++ b/tests/expectations/compiler/integers/u128/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7258b3caaf0e022c0892e0887ae060ac4458d293065c325773b00e49cf9b65c3 - initial_ast: 3658f444d0c10f0264ba336c9524141836b1c2c67363c200031159b5cb177beb - unrolled_ast: 3658f444d0c10f0264ba336c9524141836b1c2c67363c200031159b5cb177beb - ssa_ast: b790a0af640cf6d24be6c50056fa5179b91548ec8dbb5680266efc3f8d6bfc4f + - initial_input_ast: 3abeb6ce0b494b4a3d8970b59223f585d5b3ee3746d01157635855bdd076303e + initial_ast: fc0b1800e976a7a87b63eff901046be0e44994c719d2d10d4b006963e1f9d376 + unrolled_ast: fc0b1800e976a7a87b63eff901046be0e44994c719d2d10d4b006963e1f9d376 + ssa_ast: 71196da1797f81aef024d8e6b85c074c167beec3e6a522493810f24676184872 diff --git a/tests/expectations/compiler/integers/u128/sub.out b/tests/expectations/compiler/integers/u128/sub.out index eb438fa71d..43ebe4f131 100644 --- a/tests/expectations/compiler/integers/u128/sub.out +++ b/tests/expectations/compiler/integers/u128/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 770f2d25334557fc4ed92172651c7ffba6d9bacc70a5cd9117e5097fc9d45e8b - initial_ast: f06d83c26b818f4ffd42411cad3ce4b2fd082438f57e99280e2feca3ba8a54ae - unrolled_ast: f06d83c26b818f4ffd42411cad3ce4b2fd082438f57e99280e2feca3ba8a54ae - ssa_ast: 414379bff5e7b1fa4da931c8a4dde2849deadafd87df4d59f1a89e2fa24a2aa3 + - initial_input_ast: bb82184e58a17c8852e54e1b91b47f0898f62a5e4a21ca5102120b9779a4dd64 + initial_ast: da9090550ec6f6587fc5cdddf9aec222a38049b65bfafda736aaf6ac91e2f20c + unrolled_ast: da9090550ec6f6587fc5cdddf9aec222a38049b65bfafda736aaf6ac91e2f20c + ssa_ast: d942cf2c8b6a42e6c365a5e8a53d00495f261f553069f55a0df8cb33123cb4e2 diff --git a/tests/expectations/compiler/integers/u128/ternary.out b/tests/expectations/compiler/integers/u128/ternary.out index d71b897a6c..7936cab854 100644 --- a/tests/expectations/compiler/integers/u128/ternary.out +++ b/tests/expectations/compiler/integers/u128/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b31daecdd307e3e911478acc67909b5a88d3b240daec3fb6f1ebb3793e8c1103 - - initial_input_ast: 02fce4b6d2ee0d3df51d59d40c7b2cd75f57536d93fbe9bd829a92b4f2aa9efc - initial_ast: ddd37406c1052b9150a9629fb668bc49f3bfc196fe8c156172a274f3163b9aa3 - unrolled_ast: ddd37406c1052b9150a9629fb668bc49f3bfc196fe8c156172a274f3163b9aa3 - ssa_ast: a2542d1560239c16e9820db1dd40c8b07dea2007804d50fe936b2dd58e7bb7e4 + - initial_input_ast: 1aaa2706cef21c490be0a8348a4855f0deb1801d915f61bb75e0b588ed458efc + - initial_input_ast: 7446eb31cafbfa66057d1011ae50643b3c7673bdb13b806325537cc32409efee + initial_ast: 88ae709a0407367b6f5f1bc0d6c532a9241223a2d66ee5eeebd320e33597cca3 + unrolled_ast: 88ae709a0407367b6f5f1bc0d6c532a9241223a2d66ee5eeebd320e33597cca3 + ssa_ast: 20aefb930b35ced65f395c0658b2247f426d03ba92cfe261c62a24c6fab3bb74 diff --git a/tests/expectations/compiler/integers/u128/xor.out b/tests/expectations/compiler/integers/u128/xor.out index d924f1eafa..ee608ddb7a 100644 --- a/tests/expectations/compiler/integers/u128/xor.out +++ b/tests/expectations/compiler/integers/u128/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1cc1a5dda4e64d8e06272646bbcc90422293b5607902f3a46ec01404d06cdd8a - initial_ast: f80330c3a02e3f25bcaa77588f84f72b265b90fe1ceb6f0113ae644785f34ab2 - unrolled_ast: f80330c3a02e3f25bcaa77588f84f72b265b90fe1ceb6f0113ae644785f34ab2 - ssa_ast: 25dcce91bed51a99cb8996b922cc7aa547c1f8756268fd41febd41e8649fd54c + - initial_input_ast: b8f2b8136d76b046c8e2ce4fadeea68c449fd8667c610522532b4c958d7cd52e + initial_ast: 143b6c5f606d8ececc8fef7770ab8f4a06a99086ee4848c21eef8d50cbe5bcee + unrolled_ast: 143b6c5f606d8ececc8fef7770ab8f4a06a99086ee4848c21eef8d50cbe5bcee + ssa_ast: ffb228675984d1202d475850feb97105c0564c6183e95823a99612b4dccec168 diff --git a/tests/expectations/compiler/integers/u16/add.out b/tests/expectations/compiler/integers/u16/add.out index 48919daf40..3b7b5932db 100644 --- a/tests/expectations/compiler/integers/u16/add.out +++ b/tests/expectations/compiler/integers/u16/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 87e6dc2898485d1368912cbad53acab9ee04a612dd34d7b30ddd0c59290d5dd4 - initial_ast: 24a3d1f81e8a45d17a326adcaf71db8043650fb83c57005b472b3e6f224c76c2 - unrolled_ast: 24a3d1f81e8a45d17a326adcaf71db8043650fb83c57005b472b3e6f224c76c2 - ssa_ast: 46254cfe1972d4a47307d6dbfddf5ebd38cc3bbe1b197cccda6530947611e27e + - initial_input_ast: 993a5fc14ee2734fdf2229df93f6bae75d35324cfecb0ee5146d8afe871c148b + initial_ast: 7f71e347fceee8a2c31f06f0a65397c22a30a53d1ec014831b21236844c0a64a + unrolled_ast: 7f71e347fceee8a2c31f06f0a65397c22a30a53d1ec014831b21236844c0a64a + ssa_ast: c0c2c6276aa20b4d291ecc80f8210b57bc8f24858fb5bb2f6034a23abca80389 diff --git a/tests/expectations/compiler/integers/u16/and.out b/tests/expectations/compiler/integers/u16/and.out index 8acca6f283..947d516bbb 100644 --- a/tests/expectations/compiler/integers/u16/and.out +++ b/tests/expectations/compiler/integers/u16/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 87e6dc2898485d1368912cbad53acab9ee04a612dd34d7b30ddd0c59290d5dd4 - initial_ast: e76f427df6ce83c158d82452afd3088cd9b856254722f90a7678e97899e7317b - unrolled_ast: e76f427df6ce83c158d82452afd3088cd9b856254722f90a7678e97899e7317b - ssa_ast: d566cf47ee725b46e63513adf33da480849ab030c893599d7344b28bf7d66ccb + - initial_input_ast: 993a5fc14ee2734fdf2229df93f6bae75d35324cfecb0ee5146d8afe871c148b + initial_ast: 183cb790519fa903d863c36e5231ab1529d85ed858962af48b5dbea9b648406b + unrolled_ast: 183cb790519fa903d863c36e5231ab1529d85ed858962af48b5dbea9b648406b + ssa_ast: e7140f57f71d998a2f23d9881e169f4a6369579b7c441a140d2546438ae02bc0 diff --git a/tests/expectations/compiler/integers/u16/console_assert.out b/tests/expectations/compiler/integers/u16/console_assert.out index 80213a354d..e9d1406ecd 100644 --- a/tests/expectations/compiler/integers/u16/console_assert.out +++ b/tests/expectations/compiler/integers/u16/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 87a6a724f80661e51dd9d651be0e5c84ab3090f64297727b01e80eee548633b2 - initial_ast: 6cd4b56869b79fffec80619b93f82a4b63a5d9b4cff5abea94c97a309fe526f8 - unrolled_ast: 6cd4b56869b79fffec80619b93f82a4b63a5d9b4cff5abea94c97a309fe526f8 - ssa_ast: 9b0b2413a1235a044cd31334897803ada88b56a3e78ef2b006c3e91567828eca + - initial_input_ast: d732d00f10e47c172697f0edb8c525156925d9322ab202fe848b07ef7be1054e + initial_ast: 69813dc5cbf493aa1d832529f368066fe59801b66f2e4259829cc3d32c33b1b6 + unrolled_ast: 69813dc5cbf493aa1d832529f368066fe59801b66f2e4259829cc3d32c33b1b6 + ssa_ast: 50b8e1f8e8728d1756fe22485659830844b3d827cdd1e2aa64c6101dc43f857d diff --git a/tests/expectations/compiler/integers/u16/div.out b/tests/expectations/compiler/integers/u16/div.out index 3a24b2bbf6..af298d4313 100644 --- a/tests/expectations/compiler/integers/u16/div.out +++ b/tests/expectations/compiler/integers/u16/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7f94f146d8c17cf107753a765aedddff34d3e75a0f9b3ac6430c40de7284de8e - initial_ast: 820e5791480b0407b84daddcc5ba96469eab98501d2bd681f9d45176af0a6711 - unrolled_ast: 820e5791480b0407b84daddcc5ba96469eab98501d2bd681f9d45176af0a6711 - ssa_ast: 7664f7758a5f6b00a22eb7a29df4350c1226db3b7042ac7543ad5862cdf4293a + - initial_input_ast: 16cef0c3d31d3893ebd9ce62218078de2a48a29e85237013b4faa8c0b2477c02 + initial_ast: 4649f042741bb8d5496b3a9d1b95adbbc6d60c733252adf3afcfeab25771c592 + unrolled_ast: 4649f042741bb8d5496b3a9d1b95adbbc6d60c733252adf3afcfeab25771c592 + ssa_ast: 4e9332c28f858270abcecd9c707b8819caf65b97f4674509cfc36cb781e8a4f3 diff --git a/tests/expectations/compiler/integers/u16/eq.out b/tests/expectations/compiler/integers/u16/eq.out index bc406725d3..da4142a41c 100644 --- a/tests/expectations/compiler/integers/u16/eq.out +++ b/tests/expectations/compiler/integers/u16/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 993032e6ca2ff9383a65caf591bc60527cdfeee01ad7b57f84831594d4caf73b - initial_ast: 111a001b6904bf6157adc241acb91801624408a70b82a9bd30dc5829c4f89b7e - unrolled_ast: 111a001b6904bf6157adc241acb91801624408a70b82a9bd30dc5829c4f89b7e - ssa_ast: 12671c6840b648eaacb098a3938c8f177f3e76199c195fd10325827ee2e2d2a3 + - initial_input_ast: f390ad1f3be58b85c4aafabe4f8968e8d4ead0a2c323db40dfa323f57472d8e9 + initial_ast: 2a75c0e505b0c995237c9f2309970ee0693d27e6df2b5261261faf4ffc2aace2 + unrolled_ast: 2a75c0e505b0c995237c9f2309970ee0693d27e6df2b5261261faf4ffc2aace2 + ssa_ast: 47104d7f668c68a65e1ab7082737fbdd6805f89693ace63d3a88ef1a61e93d8c diff --git a/tests/expectations/compiler/integers/u16/ge.out b/tests/expectations/compiler/integers/u16/ge.out index 6db68688b9..41bbfa1cba 100644 --- a/tests/expectations/compiler/integers/u16/ge.out +++ b/tests/expectations/compiler/integers/u16/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e632779157159dfaab98a7209ff5cedab67283f80e6aa204b81e5fedc1695a1b - - initial_input_ast: cb74d38ef4ae9d311991dc941aac1e624dd6db15256243dc045e4ad6223d02e3 - initial_ast: a8fd0facfc5dd735723546fe744cf65444996f7af25a23c113ef9f8f5e3f11bb - unrolled_ast: a8fd0facfc5dd735723546fe744cf65444996f7af25a23c113ef9f8f5e3f11bb - ssa_ast: cfb8d14ed3879107e91f0b1ab6c2a67b7fa644b68700f3a838992113eeb7d897 + - initial_input_ast: 5c7892d223be41430082e72a4768647efa6b992fa373e04cc3196ccc88bab8fd + - initial_input_ast: 316cdb75fca37c149bfdb728865c9c75263f880a5dbdcf8b85c2db9014a837c4 + initial_ast: 02741e1fecc332a39d55c719fe2dc44a9c752f568312d537f18acd3dcd9128e5 + unrolled_ast: 02741e1fecc332a39d55c719fe2dc44a9c752f568312d537f18acd3dcd9128e5 + ssa_ast: 810f5ebfb8fddd936f94ac1fdeba5b167804ce63e9bb70924dc7ced9c05e52b8 diff --git a/tests/expectations/compiler/integers/u16/gt.out b/tests/expectations/compiler/integers/u16/gt.out index 88b3bb6336..d4473e535f 100644 --- a/tests/expectations/compiler/integers/u16/gt.out +++ b/tests/expectations/compiler/integers/u16/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 39c358476a336fc9b8e0939e9c11cfb7dd66eb5196dce7c427f7179e596bed73 - - initial_input_ast: 9decf911743f2cc5b9777f80dade6fc561efbf63b60b37a6905e09dfe3f63d56 - initial_ast: 2ae0f6810b84b2cd6d149de03039eb3ebe631b63d0c0634a19034fe444594bae - unrolled_ast: 2ae0f6810b84b2cd6d149de03039eb3ebe631b63d0c0634a19034fe444594bae - ssa_ast: 78d8804fff99c4f16bdcc8a65dff10675c60197942d8f616df41a23ae067826f + - initial_input_ast: b3ba9bc6f5eb91d695b9cddb79d208b960232ba498593ea91b14727febbc65ca + - initial_input_ast: 31d09d3096d5acb457e30fa11760cc94f5dff6a4e6fcf22eab0bdbfee0bf73a1 + initial_ast: 605ae7504183a89ad463169b960925bf54ca475f524a32daea2edccff34a6387 + unrolled_ast: 605ae7504183a89ad463169b960925bf54ca475f524a32daea2edccff34a6387 + ssa_ast: f94239bcebde7c035f8003103fb3cae3f4816999324fdf706abece8e329fa8e2 diff --git a/tests/expectations/compiler/integers/u16/le.out b/tests/expectations/compiler/integers/u16/le.out index a671b8a5d1..14db390b67 100644 --- a/tests/expectations/compiler/integers/u16/le.out +++ b/tests/expectations/compiler/integers/u16/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e632779157159dfaab98a7209ff5cedab67283f80e6aa204b81e5fedc1695a1b - - initial_input_ast: 919ee98a5c8a661be06588b8cf62b3a21da8edc2c3aa682c37899d812d5daf64 - initial_ast: 1139fbcd092f9cc21bbb483fdede1d782d581c9810c31b45dca52f5064923f85 - unrolled_ast: 1139fbcd092f9cc21bbb483fdede1d782d581c9810c31b45dca52f5064923f85 - ssa_ast: 7b7f1dddfbfddddebe39f6f58dd6c1040c5a4c20d9232b74ab33004dd9ed50e0 + - initial_input_ast: 5c7892d223be41430082e72a4768647efa6b992fa373e04cc3196ccc88bab8fd + - initial_input_ast: e2098a986970b489c90368ab0891e009b60fc6458d3218d1f738f44e3ebbe062 + initial_ast: 13c318c102b08a299a88e741c38e899fe755f29b28148c2c03265f9dd1c93ac2 + unrolled_ast: 13c318c102b08a299a88e741c38e899fe755f29b28148c2c03265f9dd1c93ac2 + ssa_ast: a63ca29b6265cc291488ff4e8bfdecaf7c25299881f170cda35be5fc77d43d15 diff --git a/tests/expectations/compiler/integers/u16/lt.out b/tests/expectations/compiler/integers/u16/lt.out index 42374b8e7d..db29770cba 100644 --- a/tests/expectations/compiler/integers/u16/lt.out +++ b/tests/expectations/compiler/integers/u16/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 211e7a9731f3e1513be8b1f101c09de8a764ec20feca4a54dd1b4c7e42d14f00 - - initial_input_ast: 75db432f1ca27bd81e3d06153457fa19b4559740ebcb4408b1ffcf614ad254dd - initial_ast: 76ec46181e89b61282f14c660de8be21d5b23335ca495d7ecb5fec12241d30a3 - unrolled_ast: 76ec46181e89b61282f14c660de8be21d5b23335ca495d7ecb5fec12241d30a3 - ssa_ast: 9bf124bba3c19d845e4851a20d9ac5442761c8f43a9981fdc5d9a1f3e69b93c6 + - initial_input_ast: 173acccf217827ae3052a3d44be4c7535b7ef53a7a5d30c92f080f9e601399fa + - initial_input_ast: 46ddd7878bbe5c5eb390094dff0b5de1c52fe28550011015136e7a5197ce2f88 + initial_ast: 9667704b75285936817d97b849d6e67b49f49f7bf82b50cedc0412b24374259c + unrolled_ast: 9667704b75285936817d97b849d6e67b49f49f7bf82b50cedc0412b24374259c + ssa_ast: 4a67a7b6f1a78f7f6aee2deb94cdff9f7f6c5252e64065eb15ee22e300f10fe2 diff --git a/tests/expectations/compiler/integers/u16/max.out b/tests/expectations/compiler/integers/u16/max.out index 89aa83afcd..1b71b85948 100644 --- a/tests/expectations/compiler/integers/u16/max.out +++ b/tests/expectations/compiler/integers/u16/max.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: d17c8a902f7db5b98db912fb42ef2b8b2c3d8c20eb234922abb93c64424dec55 - initial_ast: 4270fe98a37838028a51c965a19bac043181b5b39336b4bddd3a1296e2ea1d2f - unrolled_ast: 4270fe98a37838028a51c965a19bac043181b5b39336b4bddd3a1296e2ea1d2f - ssa_ast: 768e77996e01a99b637f670ac9733096c05df229b195dec55b0461f42586816d + initial_ast: 200014522657fe279b02885f256b04a86e3bba52bc5401c4b7d8cca09ed4ab4b + unrolled_ast: 200014522657fe279b02885f256b04a86e3bba52bc5401c4b7d8cca09ed4ab4b + ssa_ast: 9df5a8812d311052fb0bd4564f0b4c72c04e32473063d60e8a0b8707f2d729af diff --git a/tests/expectations/compiler/integers/u16/min.out b/tests/expectations/compiler/integers/u16/min.out index 5cdd01ff1c..97a097c12c 100644 --- a/tests/expectations/compiler/integers/u16/min.out +++ b/tests/expectations/compiler/integers/u16/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 - initial_ast: a3a93c102e43e31c9e9078731935cd7d95f78966d6fb946211e3e92870a2d358 - unrolled_ast: a3a93c102e43e31c9e9078731935cd7d95f78966d6fb946211e3e92870a2d358 - ssa_ast: 0e6be078e8cfaa068995ba747e6a62d531e767a7f53ec71334cde15cc26fe539 + initial_ast: 58c418ee5eb8a918c243676b2b2046783fd010031ac027b772c011942f0a8e41 + unrolled_ast: 58c418ee5eb8a918c243676b2b2046783fd010031ac027b772c011942f0a8e41 + ssa_ast: eefe5ee52a0bb72131fead2e5d1184dc76064eadee57d18b625ca32c4ca20001 diff --git a/tests/expectations/compiler/integers/u16/mul.out b/tests/expectations/compiler/integers/u16/mul.out index 43f071e08e..5f7163f575 100644 --- a/tests/expectations/compiler/integers/u16/mul.out +++ b/tests/expectations/compiler/integers/u16/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: bcd736b4823be148394d4531263a44b9aac16cd87bccd1275825d4480dfb6d2e - initial_ast: f9a9754b86beaa630c947ba5fc8d2786a16a01d7726895b01a33663bd21e0e4c - unrolled_ast: f9a9754b86beaa630c947ba5fc8d2786a16a01d7726895b01a33663bd21e0e4c - ssa_ast: ca6a7f6fd12865a651399fb622f181c5f9095edc5fbf6eeadad2e1a8796b7414 + - initial_input_ast: 0305f61fc0b426a3bfe87b17ef67d050db7ff5df4dc269bdef7767108ccfbf7b + initial_ast: 2c0a0df7d56f190b97ac67e5a719cacb77f823e8f9bf24251928911cd0cac49c + unrolled_ast: 2c0a0df7d56f190b97ac67e5a719cacb77f823e8f9bf24251928911cd0cac49c + ssa_ast: 995e0fe3f64e15cd3328201f62bee5aa141aa195723881a9b9b5df9fbb686c6d diff --git a/tests/expectations/compiler/integers/u16/ne.out b/tests/expectations/compiler/integers/u16/ne.out index bef85e9426..a89cf1b5ce 100644 --- a/tests/expectations/compiler/integers/u16/ne.out +++ b/tests/expectations/compiler/integers/u16/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e0077a8da9dab0a36da68a2f48de00560153473f3f64f34144a4c01ee4df5c4f - - initial_input_ast: e1fc0fea01e3f060bdf70aea0827152223c0e96b5b58c58ee2fd5cd7014d0c94 - initial_ast: 0e29dfb51375132ac01717880cebc74bab6c1a84b0589af8b6b776d6f15d373d - unrolled_ast: 0e29dfb51375132ac01717880cebc74bab6c1a84b0589af8b6b776d6f15d373d - ssa_ast: 9f66559c131bb1a6ecb84efb6f6d5632705e41501ad4ec27d4d44ec9acdbbf98 + - initial_input_ast: 2804fe3ab5df443beee5be6a51146770dda94b5606d5c3401427e4bd41c07050 + - initial_input_ast: a68ce9ff32662164ef5cff8e3b1797dc11821054de227a1f9212941389ffe03a + initial_ast: 34cb4842ce046e652abb1d4de3ba50938e68f56741bc0593b0584172ce7cd9f5 + unrolled_ast: 34cb4842ce046e652abb1d4de3ba50938e68f56741bc0593b0584172ce7cd9f5 + ssa_ast: cc33a23cfc5293d6ef5b149ef57473e4bf40278a56b5f0a9fcf73a21b47b6c39 diff --git a/tests/expectations/compiler/integers/u16/operator_methods.out b/tests/expectations/compiler/integers/u16/operator_methods.out index 58fb327556..43de543a98 100644 --- a/tests/expectations/compiler/integers/u16/operator_methods.out +++ b/tests/expectations/compiler/integers/u16/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0987a244d41346dab2d168efa3179f87a6958346b68b69824aff427787b651f4 - initial_ast: c7ca0c096d01edeffe0a4ce946afb91b2309e4bb32a659d8b8593b9f67faf98e - unrolled_ast: c7ca0c096d01edeffe0a4ce946afb91b2309e4bb32a659d8b8593b9f67faf98e - ssa_ast: 29bac62b24425de132ec687722900874c8baa997a6f8d7b1675c51dcf2d82487 + - initial_input_ast: 9869aaa1d8d9fb4bfaa989ac65837e6d00bd8f6c61d814fb27818d6bf09116d6 + initial_ast: 17d038a8b5c6c86e6642699f861cde095d625a5fc74b4fa91a9e8f805a3cd5f7 + unrolled_ast: 17d038a8b5c6c86e6642699f861cde095d625a5fc74b4fa91a9e8f805a3cd5f7 + ssa_ast: 17b63383f856772fc0cb59f3a2bb25b519cc03b863fee17655f228c4261f64c1 diff --git a/tests/expectations/compiler/integers/u16/or.out b/tests/expectations/compiler/integers/u16/or.out index 361b5aa1b0..1e2897789d 100644 --- a/tests/expectations/compiler/integers/u16/or.out +++ b/tests/expectations/compiler/integers/u16/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 87e6dc2898485d1368912cbad53acab9ee04a612dd34d7b30ddd0c59290d5dd4 - initial_ast: b2e9e01c70cef220e8b38adab18ed4cbe9a39695128f6bc5940d802f96429e5b - unrolled_ast: b2e9e01c70cef220e8b38adab18ed4cbe9a39695128f6bc5940d802f96429e5b - ssa_ast: ef425870fc1a34b1356662c2ae2db57a2665b632dec323544c70535ab056b3d5 + - initial_input_ast: 993a5fc14ee2734fdf2229df93f6bae75d35324cfecb0ee5146d8afe871c148b + initial_ast: 697f9e8869c135ae6ea0ddc30801fa555633a9981e9bfaa62bd26e0781c48c2c + unrolled_ast: 697f9e8869c135ae6ea0ddc30801fa555633a9981e9bfaa62bd26e0781c48c2c + ssa_ast: 854775efce22104c3c7feb5554f9c66c192223ae18e148d970cf74786c4ec9e2 diff --git a/tests/expectations/compiler/integers/u16/pow.out b/tests/expectations/compiler/integers/u16/pow.out index 1601357818..bb05b7de26 100644 --- a/tests/expectations/compiler/integers/u16/pow.out +++ b/tests/expectations/compiler/integers/u16/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7fd3ec699c1ba0c49bdc91c4f7a92ab94ff0b2fb64a0a74a6482ea23b3fcb62e - initial_ast: e94cb57be6dd475865b1f35af4807006b8f628b4bcb4cbccb4c792ed2e4abd3c - unrolled_ast: e94cb57be6dd475865b1f35af4807006b8f628b4bcb4cbccb4c792ed2e4abd3c - ssa_ast: 7de791c578587f5be5565674d2c056c2b7061658ebf1df0d25fe15ef3f5b6db6 + - initial_input_ast: 512c3e88d6e6aabdc1cedbaace53b2125b2310c6203056e8ff3fe9198ea18fed + initial_ast: 3136fcd1d45b8e3dc3893baeab8106484bfadc6493fa342d6327666d599f7944 + unrolled_ast: 3136fcd1d45b8e3dc3893baeab8106484bfadc6493fa342d6327666d599f7944 + ssa_ast: 1b1230f03f4c32347b78e257d11009554e4eaa97daefea630e06b7e4539fb67e diff --git a/tests/expectations/compiler/integers/u16/rem.out b/tests/expectations/compiler/integers/u16/rem.out index 2f4387a076..3254768a1e 100644 --- a/tests/expectations/compiler/integers/u16/rem.out +++ b/tests/expectations/compiler/integers/u16/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7f94f146d8c17cf107753a765aedddff34d3e75a0f9b3ac6430c40de7284de8e - initial_ast: 3da6c3ba390075975472836560a271ce4df0a01aea607e4f234b10beb7bcd76f - unrolled_ast: 3da6c3ba390075975472836560a271ce4df0a01aea607e4f234b10beb7bcd76f - ssa_ast: 142ba4ef3f141d10b39516807692314c9ad65fc714395054922bad93c040d24f + - initial_input_ast: 16cef0c3d31d3893ebd9ce62218078de2a48a29e85237013b4faa8c0b2477c02 + initial_ast: 89a9d676d654f42f84799fd57ce6d3b18d5159b1ad02693ab2212e362922046f + unrolled_ast: 89a9d676d654f42f84799fd57ce6d3b18d5159b1ad02693ab2212e362922046f + ssa_ast: 40963901ec864106af9029aa37d42b0292559f148bb4b7ca87df491b5a698081 diff --git a/tests/expectations/compiler/integers/u16/shl.out b/tests/expectations/compiler/integers/u16/shl.out index 4f0fcb953a..7e63a9b6b1 100644 --- a/tests/expectations/compiler/integers/u16/shl.out +++ b/tests/expectations/compiler/integers/u16/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0f4e515cb3d9f6790d37e6a11184ed7d072396c0fcee1013719af1168df6b73d - initial_ast: 1fc8a1a15ba5c57c76440c566096be842e6cf63130b8ed370053a255dfb4ac88 - unrolled_ast: 1fc8a1a15ba5c57c76440c566096be842e6cf63130b8ed370053a255dfb4ac88 - ssa_ast: 1011a4e5f00785687af88e89ac16ab772842120ed2d13233cd77cd86d09467a6 + - initial_input_ast: 9e31bca38b0d03af19a6a5af2a635bc70f0c797d7a3fdbcb8e6c5e74cfda039c + initial_ast: 34725375cdf6aa28fd39c02806cd21bfb13071d093ce1b88439fe5439f899615 + unrolled_ast: 34725375cdf6aa28fd39c02806cd21bfb13071d093ce1b88439fe5439f899615 + ssa_ast: e55e3c2f3d10f520c3967b0382d01dd8795eaa4ce5a84a938a4064135507eed1 diff --git a/tests/expectations/compiler/integers/u16/shr.out b/tests/expectations/compiler/integers/u16/shr.out index a716982b15..2ac000ff8a 100644 --- a/tests/expectations/compiler/integers/u16/shr.out +++ b/tests/expectations/compiler/integers/u16/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0f4e515cb3d9f6790d37e6a11184ed7d072396c0fcee1013719af1168df6b73d - initial_ast: 7ee36167e33b821b3e806dabe1a94ce98b17b901adc3cd227fb2610577f6927d - unrolled_ast: 7ee36167e33b821b3e806dabe1a94ce98b17b901adc3cd227fb2610577f6927d - ssa_ast: 138229ddf8b15433033edc41bbfaa02c6ba06d5acc301e0af5f5665a1c914c92 + - initial_input_ast: 9e31bca38b0d03af19a6a5af2a635bc70f0c797d7a3fdbcb8e6c5e74cfda039c + initial_ast: becbb617dae0cc99e0a6347ec3e6c0e4eed01e81543580f1e9496e6c3b347ad2 + unrolled_ast: becbb617dae0cc99e0a6347ec3e6c0e4eed01e81543580f1e9496e6c3b347ad2 + ssa_ast: 4142e160cffb426952419ea21c59a397920cbed4a1a6d1aaa3392e5c34be7b8a diff --git a/tests/expectations/compiler/integers/u16/sub.out b/tests/expectations/compiler/integers/u16/sub.out index 460312ca06..46ef263dde 100644 --- a/tests/expectations/compiler/integers/u16/sub.out +++ b/tests/expectations/compiler/integers/u16/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 76e1a7b3341dbcbb169a797a4bcee5507c82395dd7ec99afbcc543322662c1ad - initial_ast: 8f2a2c871cff6297a6975ba5553ccee7c23aae34ed3a181dc95e3afb8bc1631b - unrolled_ast: 8f2a2c871cff6297a6975ba5553ccee7c23aae34ed3a181dc95e3afb8bc1631b - ssa_ast: 108a6829caaecea46318faaf070c65a0f49dff61e23532e05233e0d5fa2691be + - initial_input_ast: ef6dc49e27ac338a1a13f58ed93cfd97a1ea54c737ad99f2239657dbe162b27a + initial_ast: 551fa8abd9cf78538411568f573c89e56afca8cc35736b56d84dd1cfdae6675a + unrolled_ast: 551fa8abd9cf78538411568f573c89e56afca8cc35736b56d84dd1cfdae6675a + ssa_ast: 67221a31eaed0acd678d3e88f0a476a1c7fd653ef6ce62a8c7fba7b3c5828a20 diff --git a/tests/expectations/compiler/integers/u16/ternary.out b/tests/expectations/compiler/integers/u16/ternary.out index f8a523fd69..6a23d2d1bd 100644 --- a/tests/expectations/compiler/integers/u16/ternary.out +++ b/tests/expectations/compiler/integers/u16/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3c16fa794f6851696c06fbe6d7801f794cea51a1f382a37f48af2304795671ff - - initial_input_ast: e9cc8a1730f4606eb90ea0a382b059cf7ed7325f27281c6f9be7d7b8bf3132f1 - initial_ast: 5373376f39d8e6d0646f1ae2d8ac767dfc0ca2e99ee3399587d3e838c4c47a98 - unrolled_ast: 5373376f39d8e6d0646f1ae2d8ac767dfc0ca2e99ee3399587d3e838c4c47a98 - ssa_ast: b81dd38012af4457735416aabda70cb3b216bae2945d446860e99879d1a9d5ed + - initial_input_ast: 974c56843dfb3ab88100a02caf99a6eb0cd56593cd18420dbe7f5b7a4556aa57 + - initial_input_ast: f3bfa524cc034083bae89d91575591cce93d7baa7b059c2b1af3ff2575d1b598 + initial_ast: 238f7e66408878df71c43aaebac254d876949fbc3753b2f6cd5395165e235e7b + unrolled_ast: 238f7e66408878df71c43aaebac254d876949fbc3753b2f6cd5395165e235e7b + ssa_ast: fb24f7bbca6e6c68d0bfa3c1100212d7577b16afafae08bd14287aa5a9adce69 diff --git a/tests/expectations/compiler/integers/u16/xor.out b/tests/expectations/compiler/integers/u16/xor.out index 2d6a27647b..0a4b83940c 100644 --- a/tests/expectations/compiler/integers/u16/xor.out +++ b/tests/expectations/compiler/integers/u16/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f434d381712c61a7fdca1361c3bb935451c0014460ccad9b2f6f20c36494acb9 - initial_ast: d041f5beae0287577ecc86a7f7b8e873d1a2b2c9d9126b2fb81375b86dfe5e0b - unrolled_ast: d041f5beae0287577ecc86a7f7b8e873d1a2b2c9d9126b2fb81375b86dfe5e0b - ssa_ast: 55c6e6c32f18616a20bca823292aaa9c257621633869171d7fef91197d0b78c9 + - initial_input_ast: cf9a478ff98a432f98f853d2f508167ddc0c74815c6eb0456d3f6c8ef11f6302 + initial_ast: 3ceecb9fc9f565f938090717724030d2d028e25dc5a9dfec0305b6455fbbe567 + unrolled_ast: 3ceecb9fc9f565f938090717724030d2d028e25dc5a9dfec0305b6455fbbe567 + ssa_ast: 2e6c8e88782697b8555bf5badb7e08fa6d970557b89796c2ca6178dccaffbd80 diff --git a/tests/expectations/compiler/integers/u32/add.out b/tests/expectations/compiler/integers/u32/add.out index 1802e47b2d..e966459d86 100644 --- a/tests/expectations/compiler/integers/u32/add.out +++ b/tests/expectations/compiler/integers/u32/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 11d5b5abd778f1484f09184ee0ef5d3473fb0fa2dca971a5af3b8bd72ba66bc2 - initial_ast: cb70fdf65780750c3576605acf9c875856191118822ad09dbb36059a1a5794b7 - unrolled_ast: cb70fdf65780750c3576605acf9c875856191118822ad09dbb36059a1a5794b7 - ssa_ast: 3e27dc9732e2daa8d173c30b6f86c9366077d6cb64da4eba5e4e5361d45b2762 + - initial_input_ast: 1d6cb8fd8bb08fd5d5ba6987bdd553e22154575d209a822a4b7c2f0fe9aef12c + initial_ast: 627201f9dce57364375cb4d5de9d0224985c15868fa94d270fff458e546ae47b + unrolled_ast: 627201f9dce57364375cb4d5de9d0224985c15868fa94d270fff458e546ae47b + ssa_ast: 17e25d6142586dc1f3076c946673ea47d91d5aeb0d55303cb7c849a527ed382e diff --git a/tests/expectations/compiler/integers/u32/and.out b/tests/expectations/compiler/integers/u32/and.out index 489ab9f355..3e6e75df12 100644 --- a/tests/expectations/compiler/integers/u32/and.out +++ b/tests/expectations/compiler/integers/u32/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 11d5b5abd778f1484f09184ee0ef5d3473fb0fa2dca971a5af3b8bd72ba66bc2 - initial_ast: 51d8759fda76401e8dcab37c3ffff64658e456264a1d2073832fca53241d2e6b - unrolled_ast: 51d8759fda76401e8dcab37c3ffff64658e456264a1d2073832fca53241d2e6b - ssa_ast: d89fcce4a26503df2a9bd5d8b5e0f00e3ca62c233aa6ebaa2706cff40bf077cb + - initial_input_ast: 1d6cb8fd8bb08fd5d5ba6987bdd553e22154575d209a822a4b7c2f0fe9aef12c + initial_ast: 621e0100c063f6764a7f1ec917901e77d949ea24b9605509d24771a98591c637 + unrolled_ast: 621e0100c063f6764a7f1ec917901e77d949ea24b9605509d24771a98591c637 + ssa_ast: da2b4ff682c44e0d071afcef9716e0b30806c0a38b1c58540b74230f16535633 diff --git a/tests/expectations/compiler/integers/u32/console_assert.out b/tests/expectations/compiler/integers/u32/console_assert.out index 47b7367a09..b086a18be6 100644 --- a/tests/expectations/compiler/integers/u32/console_assert.out +++ b/tests/expectations/compiler/integers/u32/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: eb2475c0dea8f30f22e8d59aeca4d60c94b5787c353cee86739e0fdf547cc5d7 - initial_ast: 900997a78ba49bc65d93948b0a4ec7808cdc87caa49ee6eb4a86ba9d20d17354 - unrolled_ast: 900997a78ba49bc65d93948b0a4ec7808cdc87caa49ee6eb4a86ba9d20d17354 - ssa_ast: ad999036db0c9a6a588417a4262d3ed13fcc73fa3ae91ea0c6f06095f236de6f + - initial_input_ast: 2f1d5397a6fb480a25c8af6da60e3aae90f79f027c06991326db1dd0f3bf0c2e + initial_ast: 91894fee1bbde7d9c7388fd02cd5e644e107e5c5db23fdea783b06f3c419b76b + unrolled_ast: 91894fee1bbde7d9c7388fd02cd5e644e107e5c5db23fdea783b06f3c419b76b + ssa_ast: 63e7d281259432f3d64f190212c57cd359557461bd7254965a5047528b4eb06e diff --git a/tests/expectations/compiler/integers/u32/div.out b/tests/expectations/compiler/integers/u32/div.out index d76a7b88ff..75530fbc91 100644 --- a/tests/expectations/compiler/integers/u32/div.out +++ b/tests/expectations/compiler/integers/u32/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 903e4cb36d075f7d5edb97a9c89a9922b312ab788e7908be573c03c206db4597 - initial_ast: c3baceee8caef312d52e80584efb69ecffa9a060a05ed07cc7f151c00c2de35a - unrolled_ast: c3baceee8caef312d52e80584efb69ecffa9a060a05ed07cc7f151c00c2de35a - ssa_ast: 0dc9414162c54f74ebce16b3db4748bbcce91b21be8e49b0720e3113bddc23cf + - initial_input_ast: 48f85455877550aaf0a5e842943ebf471f6aa571aaa183f6db989538a5e1bcf8 + initial_ast: 073e2c4c8a743d1f23bff6c378e73c1316855bb385ebeeb2d656721cf859a354 + unrolled_ast: 073e2c4c8a743d1f23bff6c378e73c1316855bb385ebeeb2d656721cf859a354 + ssa_ast: 38bff3a7af8d05aac675b64182fa20c7f91a9f8022c350c6b7167c79368cb8d0 diff --git a/tests/expectations/compiler/integers/u32/eq.out b/tests/expectations/compiler/integers/u32/eq.out index 03bd846e27..08d0b77c72 100644 --- a/tests/expectations/compiler/integers/u32/eq.out +++ b/tests/expectations/compiler/integers/u32/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: d4b8e37e224549f4fa7d4ed2bfed37909f838085319a1e44b0ea47c9b4b3d324 - initial_ast: e93ba10e786c6485cf53f314362656ecaa99aca4a6783f2f5eba562cd5e639a6 - unrolled_ast: e93ba10e786c6485cf53f314362656ecaa99aca4a6783f2f5eba562cd5e639a6 - ssa_ast: 3c9ef252ed31f8581b878c540c9916eb77073bcbaca12f27a89eb0e15d2fff7a + - initial_input_ast: 73f783e291d8e9575065142cfbc126f91ecd8bb09b882338bfbb63f8d3d70301 + initial_ast: a8fbbacbd8a0ff7517f48bfb8beea3f6099d82248d2bd07e7f2d5619763cdf18 + unrolled_ast: a8fbbacbd8a0ff7517f48bfb8beea3f6099d82248d2bd07e7f2d5619763cdf18 + ssa_ast: 718a9dc4fd8bb097b628f54763a0664c4165b517222d689c4ce0943e86de22a8 diff --git a/tests/expectations/compiler/integers/u32/ge.out b/tests/expectations/compiler/integers/u32/ge.out index 5a1477388a..700330868c 100644 --- a/tests/expectations/compiler/integers/u32/ge.out +++ b/tests/expectations/compiler/integers/u32/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 42de2984bd788499f5cad5cca900a185b744aa1d1d688b8f7fadbb3a5c7874c8 - - initial_input_ast: d9bec5a7745fe13bdfb4c07a7a5a2170334817f56c0ce04a2bfea3f7cfd569cb - initial_ast: 3e6b848920471d5e68b5eaccbe5c6b4fe976255a3f8d1a8f0b033c07424b9ceb - unrolled_ast: 3e6b848920471d5e68b5eaccbe5c6b4fe976255a3f8d1a8f0b033c07424b9ceb - ssa_ast: 46142ce6902fe3147ea86c6aa449ba5e11db4d01fd53e00512106ab5c572c529 + - initial_input_ast: c785cf879d181995ff74f4a07a6bf889fe4d436785e86241e4df1b090834e9cd + - initial_input_ast: 2d556dc336117a3f25c3f378bfd8e43a333263d85e53dcb95825bef6bda4bf2d + initial_ast: 0a68649d3ea02eb101bb749a767ed4a50fcc28cadac58f6dee652e43579fd04d + unrolled_ast: 0a68649d3ea02eb101bb749a767ed4a50fcc28cadac58f6dee652e43579fd04d + ssa_ast: b94eca7ea7a75baa07e66c21d73f43f42e1d6ed1b79cbfdbd555ffd2a5e323a0 diff --git a/tests/expectations/compiler/integers/u32/gt.out b/tests/expectations/compiler/integers/u32/gt.out index 0ff680377b..63507e3f47 100644 --- a/tests/expectations/compiler/integers/u32/gt.out +++ b/tests/expectations/compiler/integers/u32/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 39fd7e0127cf6c3bb26044dacf50fc23fec06c912f4f221b7fbb08268ccf376d - - initial_input_ast: 93702f3e565a2705947780c063b72752106c019422ab9f11e7dfc8f3be7a003e - initial_ast: 0c4aef847b6abddd287cb5b7986f47a23b953a2711140de807c6286eddab4905 - unrolled_ast: 0c4aef847b6abddd287cb5b7986f47a23b953a2711140de807c6286eddab4905 - ssa_ast: 4585552cc5dcfaa917570561f886f5be8cf08cab1853112b74e312d9be1b8b6d + - initial_input_ast: eb286de6bd0fce78c0348d4c402d7652e9586b0f546cc642e5521a214d6eb01f + - initial_input_ast: bcfea19a22b25b9f234270d648fb274b350d1648d4a9ea1f0bc501e03ffa354a + initial_ast: e8ddebd3d053ed2e041eabc4a26d02dfafd5c3b6aeabecbb46bb6df61049f084 + unrolled_ast: e8ddebd3d053ed2e041eabc4a26d02dfafd5c3b6aeabecbb46bb6df61049f084 + ssa_ast: 48181125cbb710f2e5c80a5d7eed0ba5a2b966e498d0fdded9dfa0f11ae0edf5 diff --git a/tests/expectations/compiler/integers/u32/le.out b/tests/expectations/compiler/integers/u32/le.out index 6a8f2a96ff..92f8c065e0 100644 --- a/tests/expectations/compiler/integers/u32/le.out +++ b/tests/expectations/compiler/integers/u32/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 42de2984bd788499f5cad5cca900a185b744aa1d1d688b8f7fadbb3a5c7874c8 - - initial_input_ast: 6d9de8d41ba4aea105721c5628f71982abc87c2a386c4bc119b35a508f1c5097 - initial_ast: a2e2d0a88b67c2f09040cc4370074891b8ce98c6fcc0ef0ddfea94d1f9e8cd1d - unrolled_ast: a2e2d0a88b67c2f09040cc4370074891b8ce98c6fcc0ef0ddfea94d1f9e8cd1d - ssa_ast: b3a89d0b963a9fad83fcc0fa3b9b4b3ac7ca3c013cedc636a9cb917423d87860 + - initial_input_ast: c785cf879d181995ff74f4a07a6bf889fe4d436785e86241e4df1b090834e9cd + - initial_input_ast: 80e6f2e121ff4ba23b4fdc6002053d95d1ded29c163d022fbd4ee502da415dde + initial_ast: c74606466432dab223f1861b5fef88dc4e777d831b45ef585981d363ad381555 + unrolled_ast: c74606466432dab223f1861b5fef88dc4e777d831b45ef585981d363ad381555 + ssa_ast: 05c7d2812ceef6ef673677878afcf2d08ef87bf33e64ba0cf170d65266fbdd7c diff --git a/tests/expectations/compiler/integers/u32/lt.out b/tests/expectations/compiler/integers/u32/lt.out index 83b791d454..b97de3470a 100644 --- a/tests/expectations/compiler/integers/u32/lt.out +++ b/tests/expectations/compiler/integers/u32/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 21b377c00de3931dc46ecd00ca4b1a71afeb7b860f03af15feae1b89f5aba4f4 - - initial_input_ast: fd5a0f22d6fe92d657b7fa9545c0e4de3447d597f2f1cd7fe80e532d1e6b426e - initial_ast: aee7fd5775d86751343e19dea982ae4b443886e8b856c1bf713583110d8a1060 - unrolled_ast: aee7fd5775d86751343e19dea982ae4b443886e8b856c1bf713583110d8a1060 - ssa_ast: a8933cf30a8e4742cb99eb76b54779b2d06b2da28cbff023e6ab32e481acf420 + - initial_input_ast: 7cdd50ab0ab9969faa45fddb4868d00a5e699dae062cadb4010aebea8ecbc993 + - initial_input_ast: b6b1dcbf84b431d61acb2129ad0c0f07d179f94e2b6e8dd28960b67a25482843 + initial_ast: 62bea813eac62edbd03b322870a8d1fd4a211bceb56bb3ae1514513385d9adda + unrolled_ast: 62bea813eac62edbd03b322870a8d1fd4a211bceb56bb3ae1514513385d9adda + ssa_ast: c8b7db961438fcb8718e0d3c0a8316240770c2e02e485468e3cd970242c7a426 diff --git a/tests/expectations/compiler/integers/u32/max.out b/tests/expectations/compiler/integers/u32/max.out index 758fb9265c..f1e2719403 100644 --- a/tests/expectations/compiler/integers/u32/max.out +++ b/tests/expectations/compiler/integers/u32/max.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: d7efb950b283e8043cb74d699f193749324f2fb6714df5fde527c348f849a179 - initial_ast: c89af557c57ce2e965f5ce5c113233bc2f468dcc327ed3e4b68e9c2ec7091eb6 - unrolled_ast: c89af557c57ce2e965f5ce5c113233bc2f468dcc327ed3e4b68e9c2ec7091eb6 - ssa_ast: 4290737a36e4e2acbecff93988a424555d98f9af52f3d9fc194733d38ad86f3a + initial_ast: 791f23c1f1c973d3d1b342af1f997733faaaf26e90af6916651591af829689ce + unrolled_ast: 791f23c1f1c973d3d1b342af1f997733faaaf26e90af6916651591af829689ce + ssa_ast: 076ef3b380acde3b21949d19c8954c54ddf228e14be89b125decead478e7ad81 diff --git a/tests/expectations/compiler/integers/u32/min.out b/tests/expectations/compiler/integers/u32/min.out index 09fc8e99f7..6ed30d5b9e 100644 --- a/tests/expectations/compiler/integers/u32/min.out +++ b/tests/expectations/compiler/integers/u32/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 - initial_ast: 1a1393d473c9ec50c23f75687928162ec127d6aab03d8de8edc69f82ac4669a9 - unrolled_ast: 1a1393d473c9ec50c23f75687928162ec127d6aab03d8de8edc69f82ac4669a9 - ssa_ast: f2640b304cad311c2948ed5c53fa5685ac1e849594a9656aa241c1d5956ed1d7 + initial_ast: 84b1086e700cf9bed2a49ff86913419a55ee430627952dffaf81702c6a66c241 + unrolled_ast: 84b1086e700cf9bed2a49ff86913419a55ee430627952dffaf81702c6a66c241 + ssa_ast: 4b4c2ddf4402208163963321c45b6d10b0c56a521c13d0b0d42494506e1adad3 diff --git a/tests/expectations/compiler/integers/u32/mul.out b/tests/expectations/compiler/integers/u32/mul.out index 320db82ca0..9a1a27347f 100644 --- a/tests/expectations/compiler/integers/u32/mul.out +++ b/tests/expectations/compiler/integers/u32/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a81abbadd0c9da9cd12fd728f4d2e521416aab8f181dde4c466eb22bd81bc896 - initial_ast: 77cd651f16b8bdb0e6768c6e11af6b7aed5f1fa719fc5365cee048322d174aa7 - unrolled_ast: 77cd651f16b8bdb0e6768c6e11af6b7aed5f1fa719fc5365cee048322d174aa7 - ssa_ast: 3062062216d0f70940e33e7114e1962e6a362cc57a17723c41f1649d10eaa791 + - initial_input_ast: ff573edd9432f0ca8449181b916fb7c087a21359e7f6de1505245ace1b383e43 + initial_ast: 74ca13d6dd4b3ac21327a3e0e0d8d902e3136d8ce849a7ecd05b13e648390300 + unrolled_ast: 74ca13d6dd4b3ac21327a3e0e0d8d902e3136d8ce849a7ecd05b13e648390300 + ssa_ast: 255b7b5b5f71dd981fb9a8563e0c7422369fbdc0f83c0178eef1fd871377db5c diff --git a/tests/expectations/compiler/integers/u32/ne.out b/tests/expectations/compiler/integers/u32/ne.out index 25005fc2ee..37aa3cc2e6 100644 --- a/tests/expectations/compiler/integers/u32/ne.out +++ b/tests/expectations/compiler/integers/u32/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 70887868066391ac9d6cf51c6bb1512f4f053d8e8e4edf399648d1420e605e9b - - initial_input_ast: b1759d55c76f495966c1c2093dec894d261ee044deb49457961557b391389b43 - initial_ast: aa75f6bd3f9dc9845919bb8b17ad7e6e2ac8b49238909f40b0e3cfc85b99540e - unrolled_ast: aa75f6bd3f9dc9845919bb8b17ad7e6e2ac8b49238909f40b0e3cfc85b99540e - ssa_ast: 4b0efcbb2726d71a7830a7e847c19effb703769aefd223ee28c35d227629fb11 + - initial_input_ast: f58a5fbb544ac66c637d47b70157f37c6f1cf0ec20e6803cb89578bbeaa36e92 + - initial_input_ast: 77899745913819e6bf5f84a0e6780c778f6baecc76bc8c8538fa1b7d42eb5376 + initial_ast: c7885f774200c84f1b2e743c0e7e997ee8477c31cf11c9c7812432bd573665ba + unrolled_ast: c7885f774200c84f1b2e743c0e7e997ee8477c31cf11c9c7812432bd573665ba + ssa_ast: 189f7e21f7278e03fcf9d2d1c3dae2ae507074c26dd009388d584bb1e6d44b01 diff --git a/tests/expectations/compiler/integers/u32/operator_methods.out b/tests/expectations/compiler/integers/u32/operator_methods.out index 2def5fd6b8..0a5332b73c 100644 --- a/tests/expectations/compiler/integers/u32/operator_methods.out +++ b/tests/expectations/compiler/integers/u32/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8825dc0753febadfd6b526c47a0e5464912bc358708bd30ddf40e1d21cd76c2b - initial_ast: f92d03f034bc79b9dc5837a1103d45e56dfb8c630bcede97fd0e409b78567671 - unrolled_ast: f92d03f034bc79b9dc5837a1103d45e56dfb8c630bcede97fd0e409b78567671 - ssa_ast: f24c72cfdda24982b24f4d40bb79a47fb0d70a7f358dae9e49f85274f28c7ac8 + - initial_input_ast: 5bd28ba9321ddf2a6b7b2f74764d316e991096225b25359c1efcbf75702a8baf + initial_ast: 5a1225638b02b7241dece932f0281fcb1907318f999c8205320a38495f5934f3 + unrolled_ast: 5a1225638b02b7241dece932f0281fcb1907318f999c8205320a38495f5934f3 + ssa_ast: c8474f945c740c050f1cc3cdded2fd67e1f5806dc31ffa380d52a516b83eeea7 diff --git a/tests/expectations/compiler/integers/u32/or.out b/tests/expectations/compiler/integers/u32/or.out index 8d0cac8dca..230c3cda3a 100644 --- a/tests/expectations/compiler/integers/u32/or.out +++ b/tests/expectations/compiler/integers/u32/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 11d5b5abd778f1484f09184ee0ef5d3473fb0fa2dca971a5af3b8bd72ba66bc2 - initial_ast: a10b9b536e788eb584c5a054ffafa06c73bf75ac872fcb12dd54277ddeee87f5 - unrolled_ast: a10b9b536e788eb584c5a054ffafa06c73bf75ac872fcb12dd54277ddeee87f5 - ssa_ast: 194944fdff6f2755b78b84b845800e8bc3b7615222755d2873bf2b794bfc1de0 + - initial_input_ast: 1d6cb8fd8bb08fd5d5ba6987bdd553e22154575d209a822a4b7c2f0fe9aef12c + initial_ast: ce3fe43104f25ee8eb0c5b1bfa39665c2af3f25bb2e3a6a3e5abddf25f684d62 + unrolled_ast: ce3fe43104f25ee8eb0c5b1bfa39665c2af3f25bb2e3a6a3e5abddf25f684d62 + ssa_ast: d26c152d354206a3a833cadfe0cc6425b6ab6dc3dc2a1b9a0d4614f4d8560f75 diff --git a/tests/expectations/compiler/integers/u32/pow.out b/tests/expectations/compiler/integers/u32/pow.out index ba3cd89870..8a76856907 100644 --- a/tests/expectations/compiler/integers/u32/pow.out +++ b/tests/expectations/compiler/integers/u32/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 7734625af76ab1e8efe63f804f0be3228cb0acf5369dec720b348e6a8d88b247 - initial_ast: 5bdd5f445de04ac2652076a8f1bceff32581590cd9d9a7233a2880e4d87557c0 - unrolled_ast: 5bdd5f445de04ac2652076a8f1bceff32581590cd9d9a7233a2880e4d87557c0 - ssa_ast: 3ea69f9018c3a206b2a343d689fa9443359b384855301e02fb5765f0585ed45e + - initial_input_ast: e2143107fe54a709ec1b0439745e210bba42e78c2cd3ba099649876febbbaf77 + initial_ast: f70546e19b7ab05368840de939d675fe54418afe38fe090b6e2c2c3f1ecf8960 + unrolled_ast: f70546e19b7ab05368840de939d675fe54418afe38fe090b6e2c2c3f1ecf8960 + ssa_ast: 8e3712449e4349beada42066d234b6f3626441ad9a763dcc9cd663da871f56c2 diff --git a/tests/expectations/compiler/integers/u32/rem.out b/tests/expectations/compiler/integers/u32/rem.out index 4451fac947..140e884d8d 100644 --- a/tests/expectations/compiler/integers/u32/rem.out +++ b/tests/expectations/compiler/integers/u32/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 903e4cb36d075f7d5edb97a9c89a9922b312ab788e7908be573c03c206db4597 - initial_ast: c474dcd48c1ef03eb5bd71e1ee115bc6dd945cb468b62ba43c6159d5a4da3a84 - unrolled_ast: c474dcd48c1ef03eb5bd71e1ee115bc6dd945cb468b62ba43c6159d5a4da3a84 - ssa_ast: 46797ea6497dacbae03da9502ed1c2e05d03a57205008a95b8b4d210e3b61a18 + - initial_input_ast: 48f85455877550aaf0a5e842943ebf471f6aa571aaa183f6db989538a5e1bcf8 + initial_ast: 048820e6ae790a0b171136e7b1e753858f656905edd48ddbed0a9bcc97373e71 + unrolled_ast: 048820e6ae790a0b171136e7b1e753858f656905edd48ddbed0a9bcc97373e71 + ssa_ast: b5ce9995bc70ce70294db7a5fc7b53625445f67e1c43f42a8d335364c05991aa diff --git a/tests/expectations/compiler/integers/u32/shl.out b/tests/expectations/compiler/integers/u32/shl.out index 0a20241995..c9fb9bed54 100644 --- a/tests/expectations/compiler/integers/u32/shl.out +++ b/tests/expectations/compiler/integers/u32/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 648134ff8c8d1237bf5a069d55da469e1679ef9eed10a52c2ef836230cc8f796 - initial_ast: 6c4a547f46451c51a48120514d96ef56b728e2cfbfff137588ef195fb5bd2e4b - unrolled_ast: 6c4a547f46451c51a48120514d96ef56b728e2cfbfff137588ef195fb5bd2e4b - ssa_ast: b2c699b89d99f1ff471635c93ab8771c9b47c857e43a63f1fa2d06684d944be8 + - initial_input_ast: 247f59706c38b2a6c03e64c910943e4e2e246915c0288ffc7bd15f1eaa960f15 + initial_ast: fec5d348ada8c6204328bbf55809b2625a18f5fbb5396dcaec798d88ed0e03d8 + unrolled_ast: fec5d348ada8c6204328bbf55809b2625a18f5fbb5396dcaec798d88ed0e03d8 + ssa_ast: 8a592c892857ff3d68376695cdfee46d8f7326e7ac4ab60e5221ac729b96064e diff --git a/tests/expectations/compiler/integers/u32/shr.out b/tests/expectations/compiler/integers/u32/shr.out index 1800192e48..514e3b3cc5 100644 --- a/tests/expectations/compiler/integers/u32/shr.out +++ b/tests/expectations/compiler/integers/u32/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 648134ff8c8d1237bf5a069d55da469e1679ef9eed10a52c2ef836230cc8f796 - initial_ast: 339f25581f3450e5938654abf07423fe8f596cab42531bed5140cc1530cc4b5f - unrolled_ast: 339f25581f3450e5938654abf07423fe8f596cab42531bed5140cc1530cc4b5f - ssa_ast: 55a63c4706eb6c79c9e51fd119bc9bb1c0c8d4d6ec5f397e0b1f4f7155e15427 + - initial_input_ast: 247f59706c38b2a6c03e64c910943e4e2e246915c0288ffc7bd15f1eaa960f15 + initial_ast: e37dd0e46a3c1f54cde791fe6c986fa9169f1c94b4cdbb752945e14d3cca8b0b + unrolled_ast: e37dd0e46a3c1f54cde791fe6c986fa9169f1c94b4cdbb752945e14d3cca8b0b + ssa_ast: 2c23ae01c376d5ebfda58e6a0fae5f1d818ae747e08c195724becc1d0d2e5af3 diff --git a/tests/expectations/compiler/integers/u32/sub.out b/tests/expectations/compiler/integers/u32/sub.out index d9e9a023ec..3fdb3f31af 100644 --- a/tests/expectations/compiler/integers/u32/sub.out +++ b/tests/expectations/compiler/integers/u32/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: cdd70a1a1b45a2f640f5564c489fa206bdad3d9a6da30e377b8f9a261582f79b - initial_ast: 5568380339145840a86edd91ba53e146ce4112fdca8ede0985b4194310855c67 - unrolled_ast: 5568380339145840a86edd91ba53e146ce4112fdca8ede0985b4194310855c67 - ssa_ast: c97e1d7068f8f8269ddbfc20a822ac42d03ff982d36c51f74334935de7b594c2 + - initial_input_ast: 882ee42da32dd726f4dfabe1330f30fe548105ba3f66896ec1f2ec37fae76a67 + initial_ast: 8db0db6f532df42894335c83a78e0f330c93560f15bdc88c4fdeca0530174e6f + unrolled_ast: 8db0db6f532df42894335c83a78e0f330c93560f15bdc88c4fdeca0530174e6f + ssa_ast: e5674bf54a7b3d8fd44b537139f5c9bd37d8ccf2ab3c31a710ecbad7e9f7cd06 diff --git a/tests/expectations/compiler/integers/u32/ternary.out b/tests/expectations/compiler/integers/u32/ternary.out index 7a7c7af0a0..e90e02b8db 100644 --- a/tests/expectations/compiler/integers/u32/ternary.out +++ b/tests/expectations/compiler/integers/u32/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: cbaef99c2e0f48a0da50b391edbf70438b9d0baf3d8b3ae1901e0da5fe7cdf4c - - initial_input_ast: b4eee61b2e4659116aa928d7f44962cc640cc48fbdaf9a29422cae3de77b3a35 - initial_ast: e14ea6d8ce53ba4c7e8b3db4a6659ffcb23b068cfe63c90bc13951845ec767f5 - unrolled_ast: e14ea6d8ce53ba4c7e8b3db4a6659ffcb23b068cfe63c90bc13951845ec767f5 - ssa_ast: a09551e788bf2e0581348209313f4cf0a7346d60d1acb08c6a952d5b292b8fa8 + - initial_input_ast: fa17885ede22083d38b7ba1fed3fa5610818c6d912aa2dc5f3e99ba99ec6bcde + - initial_input_ast: e64ed5abfb4738239a100ec503f6cac47d208c9272ddcb9fad92ca86e21e0994 + initial_ast: 4e48ce7a7c2cafadd6aec9973895725d8bb12006735377dcc5670e4a40909dc7 + unrolled_ast: 4e48ce7a7c2cafadd6aec9973895725d8bb12006735377dcc5670e4a40909dc7 + ssa_ast: 9540924b5e9ddf044fd677a0ca22d07d435fc4e70be2ef4f1bd41753d3b5e3b4 diff --git a/tests/expectations/compiler/integers/u32/xor.out b/tests/expectations/compiler/integers/u32/xor.out index a33a257c4f..e96966f9ae 100644 --- a/tests/expectations/compiler/integers/u32/xor.out +++ b/tests/expectations/compiler/integers/u32/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 76ee8a09578a0edcac95f27cb70aca139a042bb094d674a6b98601f89c3f8907 - initial_ast: 5b05895fb1b873f0c1c2cb6717f1516ce8df018d0bdef16a4a40716aa325cb07 - unrolled_ast: 5b05895fb1b873f0c1c2cb6717f1516ce8df018d0bdef16a4a40716aa325cb07 - ssa_ast: 5c9351142ccc68dd25a4b9050c3f3dbb26682ac441acd98174021efc0925a161 + - initial_input_ast: 75e743ebd4c86ed8178eb359d792183ddc204539be443cf65fec2d109cf5a85f + initial_ast: b516a3c0634636d1abb62485252a3c2c8a66c05fcf245f077a767172d854bf47 + unrolled_ast: b516a3c0634636d1abb62485252a3c2c8a66c05fcf245f077a767172d854bf47 + ssa_ast: 83d920db80050050e415f0eee3f2b0a0e4bc10270a67f10ab90a1331d64293bb diff --git a/tests/expectations/compiler/integers/u64/add.out b/tests/expectations/compiler/integers/u64/add.out index 94260e4bc8..e0094f53dc 100644 --- a/tests/expectations/compiler/integers/u64/add.out +++ b/tests/expectations/compiler/integers/u64/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1c418c1df2ee521b1c1c9789510b6bf656ba87f2fd4f29f2bdb36c69e796ba8f - initial_ast: 52401b990d88f694bdab0d550198260431c68a981043b5d5c5bbfdacfe31af81 - unrolled_ast: 52401b990d88f694bdab0d550198260431c68a981043b5d5c5bbfdacfe31af81 - ssa_ast: fa20b22b6a78ebb3a9208da8c4c7188cf06dd530d69b3340cd06f317b3380ea1 + - initial_input_ast: eb0d423d8e380cd1459e98e517d28ad95611d1c0a4603ecae405f17496f95d72 + initial_ast: 3fb70114498038f4b52ea65b11da9aeee2784281888ad998005033423e0902f3 + unrolled_ast: 3fb70114498038f4b52ea65b11da9aeee2784281888ad998005033423e0902f3 + ssa_ast: 70ec81e910e27232a83f6e984691a5b4bfba22361da2ec931ad270de8a79946f diff --git a/tests/expectations/compiler/integers/u64/and.out b/tests/expectations/compiler/integers/u64/and.out index 192cefca3a..e9b10f95fc 100644 --- a/tests/expectations/compiler/integers/u64/and.out +++ b/tests/expectations/compiler/integers/u64/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1c418c1df2ee521b1c1c9789510b6bf656ba87f2fd4f29f2bdb36c69e796ba8f - initial_ast: 1776401f4bd0b65066a58fcc9d3d02fa366e7b2914e08bad5ef3878591a281a4 - unrolled_ast: 1776401f4bd0b65066a58fcc9d3d02fa366e7b2914e08bad5ef3878591a281a4 - ssa_ast: 94ef9b05df7bf2d949b7f7fdc21351d247aa4087f0d7e406d33f64253930cdc0 + - initial_input_ast: eb0d423d8e380cd1459e98e517d28ad95611d1c0a4603ecae405f17496f95d72 + initial_ast: 7568aee503664a977a758a87779c09a055786dfc2242036a07d02bef7fad3c64 + unrolled_ast: 7568aee503664a977a758a87779c09a055786dfc2242036a07d02bef7fad3c64 + ssa_ast: 1fee1daff8ec622ffacd082207d952fbaf019b0801c29c94377ba726f55d3d31 diff --git a/tests/expectations/compiler/integers/u64/console_assert.out b/tests/expectations/compiler/integers/u64/console_assert.out index 0f9774caf0..ff432a62df 100644 --- a/tests/expectations/compiler/integers/u64/console_assert.out +++ b/tests/expectations/compiler/integers/u64/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: dd2aac4c6f630f7b4dbe5bfb5d78168b94e0901beec8736b770037ec96495802 - initial_ast: abfe6a8b4dd7e0f522b49cd5cf87a9bdc884a37d9b61ba5b2284e69e1958c99c - unrolled_ast: abfe6a8b4dd7e0f522b49cd5cf87a9bdc884a37d9b61ba5b2284e69e1958c99c - ssa_ast: 421fe12125d778b52d8cdce98cde62443af803a1fedb8c73d3ad48a135895751 + - initial_input_ast: 3050dd8c1831b1f44cbd57ad9e99509a619bf198ad5eee27b39f176bba5ed107 + initial_ast: abdcb00443ebd8cbbc2574766c86e8fd9669327c49e94534f793abbb1dccc2c4 + unrolled_ast: abdcb00443ebd8cbbc2574766c86e8fd9669327c49e94534f793abbb1dccc2c4 + ssa_ast: 39231d6066d1e9bf5638885d1281304cfe17c310d352b467fdb9a6bb7c017198 diff --git a/tests/expectations/compiler/integers/u64/div.out b/tests/expectations/compiler/integers/u64/div.out index 1e857e19b6..516e58417f 100644 --- a/tests/expectations/compiler/integers/u64/div.out +++ b/tests/expectations/compiler/integers/u64/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 56b0e41a6d327961abeda2b6f85158c44f94013c711931edee526fc0fa002a4f - initial_ast: 03dc770f05b638b2ec11c31a7ccedd6da6442145d07e236691d542a68ef13657 - unrolled_ast: 03dc770f05b638b2ec11c31a7ccedd6da6442145d07e236691d542a68ef13657 - ssa_ast: 973251334d87d69cd75a32f68a08a3e945b9ec28a7f1984333cf922c2f0cb221 + - initial_input_ast: 763414cdacfe133d15422931f04d6a4ae70023787d4278d207772b309373d4ab + initial_ast: f2662336ccefb5b8bd3a3f742f7af351134bf0fd0ba722949607604d7333f6c3 + unrolled_ast: f2662336ccefb5b8bd3a3f742f7af351134bf0fd0ba722949607604d7333f6c3 + ssa_ast: 8955bdffc371165ebf33716da019b590250744e4366397c20ab1661f673a1ec5 diff --git a/tests/expectations/compiler/integers/u64/eq.out b/tests/expectations/compiler/integers/u64/eq.out index b7c7577dca..5c15cd9c72 100644 --- a/tests/expectations/compiler/integers/u64/eq.out +++ b/tests/expectations/compiler/integers/u64/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ce979079da83c10e402376fd94b777349557b28c106ce84d3f05ac441f19e3b4 - initial_ast: 429e87ee200ba216a0b19dfd8ecdac2915e68312c9e295d71d680f8aa1b5f596 - unrolled_ast: 429e87ee200ba216a0b19dfd8ecdac2915e68312c9e295d71d680f8aa1b5f596 - ssa_ast: a25819fe04db233a34946c6729007930eab82fdeca4345c5ceebe9fecbd3e497 + - initial_input_ast: dfb55e5ff58ce4f85113d4ba50ee20717587fe0b45b22ab7b99e7becd08783aa + initial_ast: 8b0aa96850bfdfa6bd86e07961d9d56e363d86a42dd0f59f1fcc1cac6a56b5ae + unrolled_ast: 8b0aa96850bfdfa6bd86e07961d9d56e363d86a42dd0f59f1fcc1cac6a56b5ae + ssa_ast: c2dbe249d4757f86843fe362a077e1d5a18c3decf18767353acbca008e4b04b7 diff --git a/tests/expectations/compiler/integers/u64/ge.out b/tests/expectations/compiler/integers/u64/ge.out index 3698a142ad..190f352016 100644 --- a/tests/expectations/compiler/integers/u64/ge.out +++ b/tests/expectations/compiler/integers/u64/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: deb50c041b424221a0527767410234b8d21a0bbad0a5946bd5e7e1026fb1d15c - - initial_input_ast: 250243a2f6b5862fc8aaabe181ef12ec6f9e273c384f81c4973f93059e0baaf3 - initial_ast: 92c9907890c6f457783f10cf981af8651cba93a540b245b31418ff604a4510c7 - unrolled_ast: 92c9907890c6f457783f10cf981af8651cba93a540b245b31418ff604a4510c7 - ssa_ast: 6bb015326147fa74b256f6b74bdb266935b8961ad9fe00f31d071e78ba10becc + - initial_input_ast: a50cf721f61d260cccc9656070eb1259b041dd28a2111ae5da74a937039b3e5c + - initial_input_ast: a77841035082db1e722299d5b2d05a8b8747776bdde8ee7f8980627da85ba5e0 + initial_ast: 985862b9804feb7bad05d5113cf779627f28af43eca3eabc0828a0fe17bfef05 + unrolled_ast: 985862b9804feb7bad05d5113cf779627f28af43eca3eabc0828a0fe17bfef05 + ssa_ast: 0d25af09795c4f21ae978f43b6e79fea4cb2ede5587fc516d6d1dc889d34b0f4 diff --git a/tests/expectations/compiler/integers/u64/gt.out b/tests/expectations/compiler/integers/u64/gt.out index 50df953d7c..d34e301db5 100644 --- a/tests/expectations/compiler/integers/u64/gt.out +++ b/tests/expectations/compiler/integers/u64/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6dad794fb664dd6b6321c0348b355b4b9af70e3ad9f0a686f49a78bff9f032d0 - - initial_input_ast: c861678970a2cdf4425ebbb66a46473167eb7c497371761200f9c8512236a569 - initial_ast: 12458f74be936078763e646c30e99027325f5549863b053b43238aa6cb9fffc6 - unrolled_ast: 12458f74be936078763e646c30e99027325f5549863b053b43238aa6cb9fffc6 - ssa_ast: 2095e585423d50180d1d4bec60a8d65822f94cd7c0bd0662cb803bd239291320 + - initial_input_ast: 981226e817742f032dc4f458c4509893799c30a756c965f18cdb1f8e5d0c24b7 + - initial_input_ast: ae4d484a70ece580907c84c26943e1a75facbda23a5df181db813fac201e6c08 + initial_ast: ff9ebbc6ff31b2e02f68670a15c4fd3c2289a70ec7d53a5b31c1456d02001586 + unrolled_ast: ff9ebbc6ff31b2e02f68670a15c4fd3c2289a70ec7d53a5b31c1456d02001586 + ssa_ast: 3fa6377710c892b9d4f7ab5b4914eb11c580bddf2f3a39de2e3da8cf3c7a743b diff --git a/tests/expectations/compiler/integers/u64/le.out b/tests/expectations/compiler/integers/u64/le.out index 6adbc92d1e..a5f4515790 100644 --- a/tests/expectations/compiler/integers/u64/le.out +++ b/tests/expectations/compiler/integers/u64/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: deb50c041b424221a0527767410234b8d21a0bbad0a5946bd5e7e1026fb1d15c - - initial_input_ast: 9fb87430833bfb86619a44824939c7817d9a486f44f184a298f8f44e09bfff9c - initial_ast: c98cf65db30f8796f5e626f42b5b5a192d382c8ea7269dc4efc6a242ea5fa2e5 - unrolled_ast: c98cf65db30f8796f5e626f42b5b5a192d382c8ea7269dc4efc6a242ea5fa2e5 - ssa_ast: fa772ecde011409afc429ea1ecca6af2197d31c32785a8dd3c65975264e1a186 + - initial_input_ast: a50cf721f61d260cccc9656070eb1259b041dd28a2111ae5da74a937039b3e5c + - initial_input_ast: 87a24e3fe44b31b29489a5b17704a88038943cc6660277222c9aed34b87bda99 + initial_ast: dbbdf976825b645d318906d75a7d2a4989a266afb812b6c5b98c4af28908604d + unrolled_ast: dbbdf976825b645d318906d75a7d2a4989a266afb812b6c5b98c4af28908604d + ssa_ast: d9d6447c12142c2c77b15728160b3b62128b1f04703402e137e37ae7faec6d12 diff --git a/tests/expectations/compiler/integers/u64/lt.out b/tests/expectations/compiler/integers/u64/lt.out index d70b758509..25ddac4820 100644 --- a/tests/expectations/compiler/integers/u64/lt.out +++ b/tests/expectations/compiler/integers/u64/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a10d21c10f5379e100eaf0a379b07f15dc833339873735013bae95118fca33da - - initial_input_ast: 5350421741bb69a6a8b66b31e8e2120711caa858b41b929b39d6632ee3c0bc5e - initial_ast: d5ea8879fefe162957d24fc9808030c2b488e01667f4952be7df0a6d6ec5c330 - unrolled_ast: d5ea8879fefe162957d24fc9808030c2b488e01667f4952be7df0a6d6ec5c330 - ssa_ast: 771f67234e6976baa5375d8aa3c1f8d8bb5ca216a94e9c33d3b6494030403918 + - initial_input_ast: d574f29089a3ffa65c320198ffc9b3959106e80bf2e9bb749e892c214d4b1dd3 + - initial_input_ast: c2d4d47613332053145ecef24b67291557215ef83bac541cd3d3845b4e666fb1 + initial_ast: 4ae8fe94efb3f14c9685198110899d1576b5e988c2a5a6a691b4fde407d11c1f + unrolled_ast: 4ae8fe94efb3f14c9685198110899d1576b5e988c2a5a6a691b4fde407d11c1f + ssa_ast: 4922a21dc6e3d536d88761226885d2b36892338e5e4cde7b3e85d5763e6047da diff --git a/tests/expectations/compiler/integers/u64/max.out b/tests/expectations/compiler/integers/u64/max.out index 0c80aef35f..fd4eb5d619 100644 --- a/tests/expectations/compiler/integers/u64/max.out +++ b/tests/expectations/compiler/integers/u64/max.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: e1384263a1c0a020dfb2e479ac003bf88585716f7492d60429e4a030a81760e1 - initial_ast: 523b8d3d11a2d384860371f53a12af46fa314581767a6d6c7075a0de7d219ef6 - unrolled_ast: 523b8d3d11a2d384860371f53a12af46fa314581767a6d6c7075a0de7d219ef6 - ssa_ast: a150b6c5b49f262234e524473b80352a2da459a0c5e535466d61036df28b1e7d + initial_ast: 11cc45ddba0b076cd32ea43a363182d002ff963da7bdf67a2e67edf3f4d11b63 + unrolled_ast: 11cc45ddba0b076cd32ea43a363182d002ff963da7bdf67a2e67edf3f4d11b63 + ssa_ast: 90837c2213db0fcbcfc9f9f792a2e3c8dae77140da9d1b188d0cb569682525b8 diff --git a/tests/expectations/compiler/integers/u64/min.out b/tests/expectations/compiler/integers/u64/min.out index 23e1b84cfc..6b8157137e 100644 --- a/tests/expectations/compiler/integers/u64/min.out +++ b/tests/expectations/compiler/integers/u64/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 - initial_ast: 5e0a90e585de125ee9b2ca43ec70a662c71f8ad3f7ba714aa7d22a32311ab5a2 - unrolled_ast: 5e0a90e585de125ee9b2ca43ec70a662c71f8ad3f7ba714aa7d22a32311ab5a2 - ssa_ast: d252f893f7fc80a06b6afccaa5fa47eb8b8ef5e4b3d01f2cd5cf22f3fb5349b4 + initial_ast: a3ce8906562525efbad4acbee6135fc5e4094d7cd3da4c7b1900664c40d6ffff + unrolled_ast: a3ce8906562525efbad4acbee6135fc5e4094d7cd3da4c7b1900664c40d6ffff + ssa_ast: a94745e4f76563c4d6c11486f2f16468633c2cbaaea442dfab809ea4b9c8136b diff --git a/tests/expectations/compiler/integers/u64/mul.out b/tests/expectations/compiler/integers/u64/mul.out index 9d033cc889..c3e668fe90 100644 --- a/tests/expectations/compiler/integers/u64/mul.out +++ b/tests/expectations/compiler/integers/u64/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 23a906b985700448c85dc782785a7a12d57b5f54b3964f78a82fd2acb85d0541 - initial_ast: 52d41ceae639d091666306b90fb56f3eaa47f4913fb053ef01199d34aa30c5b7 - unrolled_ast: 52d41ceae639d091666306b90fb56f3eaa47f4913fb053ef01199d34aa30c5b7 - ssa_ast: 9271f86573f71e5c06a108d2e7a8b897b62bf099fc25f0970a36016a973bf87d + - initial_input_ast: d2b1592270a3624346e6e60899c0c85335516d130486e8e0394c4d8dcf74b0de + initial_ast: a332d48655484dc3fe8df3e3629b284cb052a3fc2eaee4f6e4968807673b3dfe + unrolled_ast: a332d48655484dc3fe8df3e3629b284cb052a3fc2eaee4f6e4968807673b3dfe + ssa_ast: 6b83463a6d0956ee0938eb4fe737708241cf4107789169521f10a014f83523f4 diff --git a/tests/expectations/compiler/integers/u64/ne.out b/tests/expectations/compiler/integers/u64/ne.out index 4150e20366..03b02ec42c 100644 --- a/tests/expectations/compiler/integers/u64/ne.out +++ b/tests/expectations/compiler/integers/u64/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9a24530e1fe79a522c2f0149e7a2c25e2bfd5bfba8898479ccd6fae108571c48 - - initial_input_ast: a22b91e67486c9cc3a70bb18f94f84668ca7b40affff6e3a04e5a084e3cb0e64 - initial_ast: 8e8a712b02e089c43b931902896d0791e40132ef9ab8b83d5c6f5415031fa31c - unrolled_ast: 8e8a712b02e089c43b931902896d0791e40132ef9ab8b83d5c6f5415031fa31c - ssa_ast: ca7fb5a5ea6675c90e3d6fbcd3cad9f08aefe625fc52806cc25ac39c10b2ba8d + - initial_input_ast: db286612d59c502e80b92887558f3a963465ae7e103f84de0e6818d912ead4a4 + - initial_input_ast: 185a5c03e8fe87a97a3ae33fbeb3cf80d6b17cd629f0e7fe9872be33f5877b23 + initial_ast: 64705be388efaa2b7b0eb4e77daf494c5882967f91ed98895f0848e7a77a9ae4 + unrolled_ast: 64705be388efaa2b7b0eb4e77daf494c5882967f91ed98895f0848e7a77a9ae4 + ssa_ast: d3a906b7bf9469f4c9f69984c9fbca8176e6779a26f697b37cfbe9434787686a diff --git a/tests/expectations/compiler/integers/u64/operator_methods.out b/tests/expectations/compiler/integers/u64/operator_methods.out index c2b43e413c..6635f6a7dc 100644 --- a/tests/expectations/compiler/integers/u64/operator_methods.out +++ b/tests/expectations/compiler/integers/u64/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 9dab1d380e32f26f89054c23ec40da61f704f51e980519eeb28176c7aea74ee2 - initial_ast: 6fa70d9cad84f9ae8711c2f28f647cf60742ce7d163fa5292e643e3f2955edeb - unrolled_ast: 6fa70d9cad84f9ae8711c2f28f647cf60742ce7d163fa5292e643e3f2955edeb - ssa_ast: 35059085e4452f09a864704acaa72521ab0f3081d81095322518c1e36153d385 + - initial_input_ast: 5b844be6c87e0f969a2b66393bd811d93b508181e78ceb5e3d5e67ac2703d2fb + initial_ast: 5f13118cc2619b6b89840f034342539f041e8f7732d1cc4d86c525c293075f80 + unrolled_ast: 5f13118cc2619b6b89840f034342539f041e8f7732d1cc4d86c525c293075f80 + ssa_ast: a0c5759ffc82b451c41a16ff8fea477491d68ab428657eb2bc8dd2f572b1cf26 diff --git a/tests/expectations/compiler/integers/u64/or.out b/tests/expectations/compiler/integers/u64/or.out index 6db18cbfe6..a5786960ae 100644 --- a/tests/expectations/compiler/integers/u64/or.out +++ b/tests/expectations/compiler/integers/u64/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1c418c1df2ee521b1c1c9789510b6bf656ba87f2fd4f29f2bdb36c69e796ba8f - initial_ast: 413c64516959e5b2a41958518a3ae966204c51f9f3faabac068f72e69c970925 - unrolled_ast: 413c64516959e5b2a41958518a3ae966204c51f9f3faabac068f72e69c970925 - ssa_ast: a46c4a2d6d6de147f3c18a126b73490d91d288e90c89df3848d5462361a52242 + - initial_input_ast: eb0d423d8e380cd1459e98e517d28ad95611d1c0a4603ecae405f17496f95d72 + initial_ast: 110488049025f88e9e85426a32d9874119c51a736377d032dc221d1f93183986 + unrolled_ast: 110488049025f88e9e85426a32d9874119c51a736377d032dc221d1f93183986 + ssa_ast: cef185424191475f374cc5d2396caf8824846fbffe445f5df62a0f93f3663158 diff --git a/tests/expectations/compiler/integers/u64/pow.out b/tests/expectations/compiler/integers/u64/pow.out index 03f6381aa1..32dc875bbf 100644 --- a/tests/expectations/compiler/integers/u64/pow.out +++ b/tests/expectations/compiler/integers/u64/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b5786208358b4e25617c777914b274f9559624fb7b23d62979a54514fe322ad9 - initial_ast: b94954b7d3b6850aab2acea36df5b7c8da4d0580ad10169df21f521b7085f82c - unrolled_ast: b94954b7d3b6850aab2acea36df5b7c8da4d0580ad10169df21f521b7085f82c - ssa_ast: fe8f1015bfd56cf48034513a87dc47f69ff798b8046a0f00cfb8ffc63003dfff + - initial_input_ast: 9d31c8ab7b4d93888af0d50d7057366dfb6d38d0d91f882f8539b333277fcec1 + initial_ast: b22f17fcbc1b1737e6462a8e9b617547d4b98c05f749374e21f05049852f1e1e + unrolled_ast: b22f17fcbc1b1737e6462a8e9b617547d4b98c05f749374e21f05049852f1e1e + ssa_ast: b24f899a8980860fb2590949d236de7015fcb46c433479ac5e7ca5d8be529dda diff --git a/tests/expectations/compiler/integers/u64/rem.out b/tests/expectations/compiler/integers/u64/rem.out index dd83054e93..af7ae72a8a 100644 --- a/tests/expectations/compiler/integers/u64/rem.out +++ b/tests/expectations/compiler/integers/u64/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 56b0e41a6d327961abeda2b6f85158c44f94013c711931edee526fc0fa002a4f - initial_ast: e65aabf9c7f57b846f9cae12aabc1a88cfa2ce90246c230bd6c598178e0ea450 - unrolled_ast: e65aabf9c7f57b846f9cae12aabc1a88cfa2ce90246c230bd6c598178e0ea450 - ssa_ast: f6db483b435c937d57d59fb7eced8d182ad605431c1fa228b9badd6beae9f468 + - initial_input_ast: 763414cdacfe133d15422931f04d6a4ae70023787d4278d207772b309373d4ab + initial_ast: 5b1f3a303a53b41a9007e3361cc918d6876703d16075b554bf2bf7e35994cc51 + unrolled_ast: 5b1f3a303a53b41a9007e3361cc918d6876703d16075b554bf2bf7e35994cc51 + ssa_ast: bddf6e05ec649ef96b5358f8749e5f268995258432a6689ecc186b1443ad509c diff --git a/tests/expectations/compiler/integers/u64/shl.out b/tests/expectations/compiler/integers/u64/shl.out index 803557bf35..14b949c04c 100644 --- a/tests/expectations/compiler/integers/u64/shl.out +++ b/tests/expectations/compiler/integers/u64/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3254df274e088a65749fb037e4202e73fad5738b19ffc5ba02393ecd3fd3d095 - initial_ast: 075ded39c1ba75e8baec2ff01943fdf0b5114603310a4ea7ac2690f09e665c42 - unrolled_ast: 075ded39c1ba75e8baec2ff01943fdf0b5114603310a4ea7ac2690f09e665c42 - ssa_ast: d7b688fe8c5d51d76d85ac00aa9da978f56debe59dc0790f7300b125b154ebe6 + - initial_input_ast: ee30b7433ae4ec45bd2e0b777544eebcf75ef350efc62281a389be7e9df835ff + initial_ast: ea9f4d883419470ec0493ea8a95df8a7bc147ecd3f9825ce7f62bb1efcd6cb9b + unrolled_ast: ea9f4d883419470ec0493ea8a95df8a7bc147ecd3f9825ce7f62bb1efcd6cb9b + ssa_ast: 0f5f03067d81c20c91d75fdcd24416d195b958a6e90bf235d34991372229a714 diff --git a/tests/expectations/compiler/integers/u64/shr.out b/tests/expectations/compiler/integers/u64/shr.out index 516235b7a5..9657670fef 100644 --- a/tests/expectations/compiler/integers/u64/shr.out +++ b/tests/expectations/compiler/integers/u64/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3254df274e088a65749fb037e4202e73fad5738b19ffc5ba02393ecd3fd3d095 - initial_ast: aaa56a7dc8a4573e16befd2191d680df41be2021581324fd090d662a0f1cdc6a - unrolled_ast: aaa56a7dc8a4573e16befd2191d680df41be2021581324fd090d662a0f1cdc6a - ssa_ast: c14454bdc0936a36a151c9257ccb2ecbc644525bc5403e56d33715ae768d89c7 + - initial_input_ast: ee30b7433ae4ec45bd2e0b777544eebcf75ef350efc62281a389be7e9df835ff + initial_ast: 0babd0b6b12bc3f24d68a43f2b795786f3e2440014f7fc7810bf0df9d8d2e27b + unrolled_ast: 0babd0b6b12bc3f24d68a43f2b795786f3e2440014f7fc7810bf0df9d8d2e27b + ssa_ast: 4e8a59fd581028d79d3c42b7f26edd17c6cb62f71a44607099b4f8354739e8c9 diff --git a/tests/expectations/compiler/integers/u64/sub.out b/tests/expectations/compiler/integers/u64/sub.out index 914957b84b..516907cbcf 100644 --- a/tests/expectations/compiler/integers/u64/sub.out +++ b/tests/expectations/compiler/integers/u64/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 0097e6e4f1a3206e8ba99b9f7706f17d471fc3841b6a43723e356e6b9a55df43 - initial_ast: 020c4cd7855ce5d7be819e3874652d4232c2d6ffd22637ec98fe17c91993339c - unrolled_ast: 020c4cd7855ce5d7be819e3874652d4232c2d6ffd22637ec98fe17c91993339c - ssa_ast: c81e1e53cd45ce615137530e2e90d7dfc1aad944bc2f8e649e98c5040fb39276 + - initial_input_ast: 0bd35280293db72af9dc04ac909146c552fe6360cea5d8938e5791b04ce46643 + initial_ast: 6c4245339d94b4d8c1f9831c5eb14a79390ed85e548044a916469324579d016a + unrolled_ast: 6c4245339d94b4d8c1f9831c5eb14a79390ed85e548044a916469324579d016a + ssa_ast: f00eededcb236a1de0f41a5cfe66a0bcda566ae331d32be42580b97c3194c8f3 diff --git a/tests/expectations/compiler/integers/u64/ternary.out b/tests/expectations/compiler/integers/u64/ternary.out index 6775f30377..f88e54a3fe 100644 --- a/tests/expectations/compiler/integers/u64/ternary.out +++ b/tests/expectations/compiler/integers/u64/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 74e68f198fb6601a32edfc83b03ec053289234a8bf1223bb8be08c1c793de420 - - initial_input_ast: 4ae6aaeb5d347247c9171908ba7c7bf7f93e6857cdb8743da9f97426ee3714d9 - initial_ast: ff3e99f2dd2819dd91af0fd72fabd57e462ff0fb243bb883b5b21a503b70f1a4 - unrolled_ast: ff3e99f2dd2819dd91af0fd72fabd57e462ff0fb243bb883b5b21a503b70f1a4 - ssa_ast: 992eb8982b31fcfd584e3c73452fce12fe5a216d9bf6a7b9b5fef7df68504b91 + - initial_input_ast: aefbdc1a57dffeb6ab6279dbe40bc27ba3658cb5391d65a59d9dd8a16dd6f89c + - initial_input_ast: 3932aaf15ea9e1a1d765d755853bf144fdc2928013288d9da8ccda7900a8d852 + initial_ast: a554d9972e8450af5f62a6833fd269db0593b8b3c89a49ce8bb2c22c4f251fd4 + unrolled_ast: a554d9972e8450af5f62a6833fd269db0593b8b3c89a49ce8bb2c22c4f251fd4 + ssa_ast: 095a869c9e324e67bca18a297f5e0542645a11394b596275da8e36c34a26a704 diff --git a/tests/expectations/compiler/integers/u64/xor.out b/tests/expectations/compiler/integers/u64/xor.out index 2c235b551c..b095d32952 100644 --- a/tests/expectations/compiler/integers/u64/xor.out +++ b/tests/expectations/compiler/integers/u64/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 208c954a311fbf4f94ac71f3db9ee760367facb18d96d4a23b6d5a708932fc2e - initial_ast: c0a16a019a554cfd8b1ae8bdf6bc826e9fe06248d89fb179f9772e7ce676b549 - unrolled_ast: c0a16a019a554cfd8b1ae8bdf6bc826e9fe06248d89fb179f9772e7ce676b549 - ssa_ast: 4d4ae1fa210fb28e9f2053011a0f9f326c0b9fd7d496a1018326879c4c0ed3e0 + - initial_input_ast: 5025d5e83bc398fdfff5bc9e7dcdbdde88fbd08eb125bce2f42967b4bae9801d + initial_ast: 0eb8b6ebe045b2595d23cea01d57c4a7f66cc426d34baf66fb426b095e7ea46a + unrolled_ast: 0eb8b6ebe045b2595d23cea01d57c4a7f66cc426d34baf66fb426b095e7ea46a + ssa_ast: c0c6cca29782e33ee0d8361bcd972d3922ae371bd7bd793bbab61bfe1da7227f diff --git a/tests/expectations/compiler/integers/u8/add.out b/tests/expectations/compiler/integers/u8/add.out index ea7fa747d4..8b076d19b3 100644 --- a/tests/expectations/compiler/integers/u8/add.out +++ b/tests/expectations/compiler/integers/u8/add.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a64524af3bcdb3bc17c2399168a8bcf78ef90bf4a276f4c06335525e8aeab7d0 - initial_ast: 74ec8841613b3902f2e92d01556a08a07c33ac398a2c188e8ba0cc916cb3d274 - unrolled_ast: 74ec8841613b3902f2e92d01556a08a07c33ac398a2c188e8ba0cc916cb3d274 - ssa_ast: 7cfae9c78d4b70c266ca96efb893640a8adc224f8488a02d401241bafaf19721 + - initial_input_ast: da9cbc3b198d4979155523b6003c948a8851461a84397220fba7cdb6167d3bae + initial_ast: ffd8d078fa0294ceb9151806aa564593c6a50d5ffaea21eddd7badfda454ae22 + unrolled_ast: ffd8d078fa0294ceb9151806aa564593c6a50d5ffaea21eddd7badfda454ae22 + ssa_ast: 2bae43401b2ebc2bffe76ec3bbe300ec5c64375bc7104971028053e275f8bf53 diff --git a/tests/expectations/compiler/integers/u8/and.out b/tests/expectations/compiler/integers/u8/and.out index 1e2570c62a..b55ed93827 100644 --- a/tests/expectations/compiler/integers/u8/and.out +++ b/tests/expectations/compiler/integers/u8/and.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a64524af3bcdb3bc17c2399168a8bcf78ef90bf4a276f4c06335525e8aeab7d0 - initial_ast: 3e09df75e723b5ecef7bbf72eddff6040faff4c5803c255f1427f5765d743f7c - unrolled_ast: 3e09df75e723b5ecef7bbf72eddff6040faff4c5803c255f1427f5765d743f7c - ssa_ast: f1ea355f1de11c33867f807d06443527ce05dc5112321dfe2d1c98a081a0a33a + - initial_input_ast: da9cbc3b198d4979155523b6003c948a8851461a84397220fba7cdb6167d3bae + initial_ast: a7703f443a496d23f812e178ef30000caa24e7533b18bef18d5838b066f8694b + unrolled_ast: a7703f443a496d23f812e178ef30000caa24e7533b18bef18d5838b066f8694b + ssa_ast: eb72a987bb35180f008c89e273a76462a5de9aa83e0e3869c835f5929b99bbaf diff --git a/tests/expectations/compiler/integers/u8/console_assert.out b/tests/expectations/compiler/integers/u8/console_assert.out index 89bfa0a7b8..1b89969f56 100644 --- a/tests/expectations/compiler/integers/u8/console_assert.out +++ b/tests/expectations/compiler/integers/u8/console_assert.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1b807f417d2897a2bfcff5a92efc07455f077c76697d8f3bc0eeef1146c111b5 - initial_ast: 2dd5660737fc9b146c50d59ab2a162ba904ee5fff7c442294e9bbaae844e2b32 - unrolled_ast: 2dd5660737fc9b146c50d59ab2a162ba904ee5fff7c442294e9bbaae844e2b32 - ssa_ast: 8a24b95bfe48f5a12748520dd740cf2cf2c4b849567a5a3a736e2218010b7995 + - initial_input_ast: 0566cab3fead101aa0182d9dc200865db44131872f9442055cfa4f1fa65d4216 + initial_ast: 83e2b320ad685eba8a201e1619672e2fa1ead5e85f48302f89566d0bca7e97aa + unrolled_ast: 83e2b320ad685eba8a201e1619672e2fa1ead5e85f48302f89566d0bca7e97aa + ssa_ast: aa6863acbcdc86a38cd0ce43e58263fbd93835336ea928b8e7d9dea95160bb36 diff --git a/tests/expectations/compiler/integers/u8/div.out b/tests/expectations/compiler/integers/u8/div.out index 135b43dcf2..7e68c39942 100644 --- a/tests/expectations/compiler/integers/u8/div.out +++ b/tests/expectations/compiler/integers/u8/div.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a79303eeb1d658a95db2b1912c2b4d6fb84e1184ee699cc8e41d32b42c1a4daa - initial_ast: dc2802e5ae0c6edcb7247f9667ce407022cac6ac62741eb0b9d9ae51a08b36bc - unrolled_ast: dc2802e5ae0c6edcb7247f9667ce407022cac6ac62741eb0b9d9ae51a08b36bc - ssa_ast: 809f9f30caa86ca8c9bafc685e3e1a61da763b5d0a0ec4960b34e0c6f0056043 + - initial_input_ast: 5bbec5d16f5d680c993359292946db566654eb0b16392dd64db71b2f9c66a34d + initial_ast: d2956b4487d9cff8a173ac33eb518abc07afe3ff250d9ca1bcc5b998bda1f12a + unrolled_ast: d2956b4487d9cff8a173ac33eb518abc07afe3ff250d9ca1bcc5b998bda1f12a + ssa_ast: 91469f14fc33cc9a5aae5cd4dc3ad424ff752eea3b7a255f145dc0501b8bd68f diff --git a/tests/expectations/compiler/integers/u8/eq.out b/tests/expectations/compiler/integers/u8/eq.out index 1c039d1330..cfa6d93ac4 100644 --- a/tests/expectations/compiler/integers/u8/eq.out +++ b/tests/expectations/compiler/integers/u8/eq.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: e9732bdd9f6b529606c29f791eab10b25c56342816b11c0af2c410ec610b04b3 - initial_ast: d112877e5caa0ea5222b051c5163f7aa3883fd50c13a529757920ee71a190ca1 - unrolled_ast: d112877e5caa0ea5222b051c5163f7aa3883fd50c13a529757920ee71a190ca1 - ssa_ast: 4876d03ae8cccf0175856135cb0de82a519064472a1b76918289edd78ee9f958 + - initial_input_ast: 3392aaa03c8e5204dd6b88339c413ebe8e028bcc1065a1ccb6fa21fb5c59b0d5 + initial_ast: 20127776a68cfa38928b3c1086682749f4dabc1576ddefef7b5e5386313b557c + unrolled_ast: 20127776a68cfa38928b3c1086682749f4dabc1576ddefef7b5e5386313b557c + ssa_ast: 151b226c6184f684055484ab15675399b7757b55c27bca7b66a1a6a466729c7d diff --git a/tests/expectations/compiler/integers/u8/ge.out b/tests/expectations/compiler/integers/u8/ge.out index bc292ee867..e5ebb4e627 100644 --- a/tests/expectations/compiler/integers/u8/ge.out +++ b/tests/expectations/compiler/integers/u8/ge.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 749bd98400013631ee3e6fce48ed39140b90ea70cc6bc1aeb5be88a6c0db62d6 - - initial_input_ast: b435f805fbc84036c90950ba960e9f4a779511b3ba2588567e26a2e88b050130 - initial_ast: f2662bd13e8b2442ee6e0e7f623bb63b1dcfdc665bb6182dd94f097a0b50389d - unrolled_ast: f2662bd13e8b2442ee6e0e7f623bb63b1dcfdc665bb6182dd94f097a0b50389d - ssa_ast: 7d708674b69bcfd39d1593db74dcb2d4d9264d7cad4c14ad177f403195b25766 + - initial_input_ast: 3714b8c1301c3dd1b1ca0d487aa44c7f62c3e4c184c47f6da5ac0019a66879e8 + - initial_input_ast: 4257922b155aef73a6ba335801cdda0ded2e747c1460fa86f79b79b7b29f0aa9 + initial_ast: 51b73630c0e1bed00084a319311aeb91cd52654916ec8d6df3443b7781c9be21 + unrolled_ast: 51b73630c0e1bed00084a319311aeb91cd52654916ec8d6df3443b7781c9be21 + ssa_ast: 398cb336a1b5a3df6a3035d574959a4819beb97ffc5905911e6a9a2f5ad420c1 diff --git a/tests/expectations/compiler/integers/u8/gt.out b/tests/expectations/compiler/integers/u8/gt.out index fef0252385..63ce54b4f2 100644 --- a/tests/expectations/compiler/integers/u8/gt.out +++ b/tests/expectations/compiler/integers/u8/gt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: cd43326ada623ba3e19df234b7368cf9b18e3796301dcdf6ece684b8944a4ef8 - - initial_input_ast: 7b59724eadc6df6e47e753a8727a989a1d445af44929526db8051cf07fccaa89 - initial_ast: bc75b5e37a5ecdfe0436e61ee475734f2dc43ab86296b3bd520aceabd6a61183 - unrolled_ast: bc75b5e37a5ecdfe0436e61ee475734f2dc43ab86296b3bd520aceabd6a61183 - ssa_ast: 6c137ea4c678945e4c783647a8700c0b6b6b18c2f589fa12f3c8dbd5b717a209 + - initial_input_ast: f8597af926db1450f826087f3edd5d209cedaaf46623c147acd6e13415967b94 + - initial_input_ast: a43357af695abc926970c0c91f0a0d08d70b60feccc2b693947b201c8e924717 + initial_ast: 8b884b05b9ce77ba6474fe737f0fca86fba27384a29690f07e8f7e6ada047c01 + unrolled_ast: 8b884b05b9ce77ba6474fe737f0fca86fba27384a29690f07e8f7e6ada047c01 + ssa_ast: 5e40651c9ed8f331ab5b5cf0c7c4e79b125dbeeab598a585df1dde3703b352ed diff --git a/tests/expectations/compiler/integers/u8/le.out b/tests/expectations/compiler/integers/u8/le.out index 853d31dde3..a7910bad6e 100644 --- a/tests/expectations/compiler/integers/u8/le.out +++ b/tests/expectations/compiler/integers/u8/le.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 749bd98400013631ee3e6fce48ed39140b90ea70cc6bc1aeb5be88a6c0db62d6 - - initial_input_ast: 1d576678ee3a3c315ed141d068ce5792f61a325bdaaf0d46f842858e24bfe19f - initial_ast: eecbc8aecab7ccddb2bf6677d82fe0134f382509b35d60ead6bf369c28801658 - unrolled_ast: eecbc8aecab7ccddb2bf6677d82fe0134f382509b35d60ead6bf369c28801658 - ssa_ast: 535e4384d61f9199ee72fadebcae97e99b00974d105e1784bd4dc29371e6c7c5 + - initial_input_ast: 3714b8c1301c3dd1b1ca0d487aa44c7f62c3e4c184c47f6da5ac0019a66879e8 + - initial_input_ast: cbed552889b23b16dbcc2ab12b551c747620aa9fc3326967473521c4af180a7b + initial_ast: fa81b9add51be54110d8df2f267e2bfddcf5b2cfd015fff642817492de253320 + unrolled_ast: fa81b9add51be54110d8df2f267e2bfddcf5b2cfd015fff642817492de253320 + ssa_ast: 57ebc4c54d60a1993cd1a0a99d12d6a23d6f74c8f962fb9d9338733b48750197 diff --git a/tests/expectations/compiler/integers/u8/lt.out b/tests/expectations/compiler/integers/u8/lt.out index cc12c347a7..f4a7e0b7ca 100644 --- a/tests/expectations/compiler/integers/u8/lt.out +++ b/tests/expectations/compiler/integers/u8/lt.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: ce90fdeb5e0cf434a7495e15f4dbf4ff740329313eaeeca332e3f9d92bd740aa - - initial_input_ast: 17d9b002da7e45baee9b68318515accfbb46816ac6c477c0f2da3b35a380750d - initial_ast: 8ff0236a8cc1ac7f065345d4dc21fa15e6e1b0b7547a086bef4e874acd5fbb1b - unrolled_ast: 8ff0236a8cc1ac7f065345d4dc21fa15e6e1b0b7547a086bef4e874acd5fbb1b - ssa_ast: c4c989cfa6c56de82fa403561ce8700aa6ea1e63f43256de9576ebcc66941b2f + - initial_input_ast: 4ced05aeaa53f2cb7600508ea19c652991edd3bce79a3ee74b318318e5e5683b + - initial_input_ast: 4373a9128ffe9064bafdec83a6613dfe2b9dc8eb7fff93d0d93dc4b28bdcc42b + initial_ast: 8aaf8c8a78b09667e877e2834fa93dc5a80e9b7d604348227a1d8a5c653c59f4 + unrolled_ast: 8aaf8c8a78b09667e877e2834fa93dc5a80e9b7d604348227a1d8a5c653c59f4 + ssa_ast: 2adc504bd7111325bbb48566b84825164fa8d9a947a3bd0a5771b778de4be1e9 diff --git a/tests/expectations/compiler/integers/u8/max.out b/tests/expectations/compiler/integers/u8/max.out index 3e924df313..eb7d3cfb23 100644 --- a/tests/expectations/compiler/integers/u8/max.out +++ b/tests/expectations/compiler/integers/u8/max.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: c82b4b7f26a3647900a1669a09055618ad25db71a06ad82171f22d66bad41351 - initial_ast: 2e2d09567fb66dc788518d8a2580330969c22b8996840e6bac6f8f751ed10e71 - unrolled_ast: 2e2d09567fb66dc788518d8a2580330969c22b8996840e6bac6f8f751ed10e71 - ssa_ast: b787135e4cedfaf8a7666f8b7df74201d0f4e37212643c2707065a7be312fbdd + initial_ast: caae912a3d98554d4f04f4e6614cf47f84031e73dbd9eda0ec13bc96a17e3268 + unrolled_ast: caae912a3d98554d4f04f4e6614cf47f84031e73dbd9eda0ec13bc96a17e3268 + ssa_ast: bc340235cc4ea164a8ea67345885fefc7f2fd1f97d602017d9926b25af59201b diff --git a/tests/expectations/compiler/integers/u8/min.out b/tests/expectations/compiler/integers/u8/min.out index 158cbf3974..fec7f3fc10 100644 --- a/tests/expectations/compiler/integers/u8/min.out +++ b/tests/expectations/compiler/integers/u8/min.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: a1a34a6c86c699c5d6619fb0a62bcba7304c61a47948782864b22feecedbd5dd - initial_ast: 60aaca7e9034a71c1326134484408ef37388d5be4ffc98a1ec5e1abad16970a9 - unrolled_ast: 60aaca7e9034a71c1326134484408ef37388d5be4ffc98a1ec5e1abad16970a9 - ssa_ast: 3441810b1906a17fa99987d57b90105d757edac7caae8916358c79f4131c4816 + initial_ast: a4a58f627a4dfab25c16f2d6eeebaaf76eeaafa1ef54dc204aef80a6b1b727b0 + unrolled_ast: a4a58f627a4dfab25c16f2d6eeebaaf76eeaafa1ef54dc204aef80a6b1b727b0 + ssa_ast: c7d09cb8109f1736d40b7519feb49734aed78f1a4c050da2953302c0e8096005 diff --git a/tests/expectations/compiler/integers/u8/mul.out b/tests/expectations/compiler/integers/u8/mul.out index 26c51d1273..697f5485e0 100644 --- a/tests/expectations/compiler/integers/u8/mul.out +++ b/tests/expectations/compiler/integers/u8/mul.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: f9b7f9b28070d1803a87853b4f21cba76209b462414d0fa688e73ddaaca591c2 - initial_ast: 00021e63a745f3ecb0b8504a056569d657539fe16529a3b0f639bfa1e792ede0 - unrolled_ast: 00021e63a745f3ecb0b8504a056569d657539fe16529a3b0f639bfa1e792ede0 - ssa_ast: 6824bbe3c34ee8d496d768e8629e13d95b241e532d594e8b9792537ffa85665e + - initial_input_ast: b6b76e341c85b58e7b2aabbd1f364eb07caa75c3fa43cf87956605b3b49a20f2 + initial_ast: f4459f4a6b59aff66d1511990d275b8e2b1ded7809aa96c543a927cd8d046a8f + unrolled_ast: f4459f4a6b59aff66d1511990d275b8e2b1ded7809aa96c543a927cd8d046a8f + ssa_ast: a2b70b281b8deb6af85f558e67ba9a793fc1e75f4871372cba54030610eb1b56 diff --git a/tests/expectations/compiler/integers/u8/ne.out b/tests/expectations/compiler/integers/u8/ne.out index 9786df01f1..cbee780072 100644 --- a/tests/expectations/compiler/integers/u8/ne.out +++ b/tests/expectations/compiler/integers/u8/ne.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 49589618198121f8642d8dbd48fb5d61fa14039a065ec9cfa58a4f13184a6291 - - initial_input_ast: 8a1bec8bdb6b2d2894a13521cea0ee690a4b74dd05abdc21281bf5901745c645 - initial_ast: 9d47743cc46370b492ab4ddac1c671298c9bfd2e84a7de91227c3f02e37b6ba8 - unrolled_ast: 9d47743cc46370b492ab4ddac1c671298c9bfd2e84a7de91227c3f02e37b6ba8 - ssa_ast: f3c8afa9348f07b086a57e3b0c1ea0857d49c62fc32e89b3b8ffbee49c1735c3 + - initial_input_ast: cb1414242c37bdb26deea0a57d41ad26a1755ec0681ce8b4fdcfecc8cfd80cad + - initial_input_ast: 30a3d51db9d5e2a43a67de69e441e552838a451baf8a9e19077b06ee943e51dc + initial_ast: 11f0b977a88e504170c69fabd710cf51eec729fd2b6d6134e1ee387ae3ce0a98 + unrolled_ast: 11f0b977a88e504170c69fabd710cf51eec729fd2b6d6134e1ee387ae3ce0a98 + ssa_ast: 1a4879b1154b092e61c83abd002538fa593ec988487b4a08ecd61fd1b2756cd8 diff --git a/tests/expectations/compiler/integers/u8/operator_methods.out b/tests/expectations/compiler/integers/u8/operator_methods.out index 7a80c9ea18..fe3ffbee8a 100644 --- a/tests/expectations/compiler/integers/u8/operator_methods.out +++ b/tests/expectations/compiler/integers/u8/operator_methods.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 5af325bba59f403fed6434398ef0e989ec325425782f6194891929734864866b - initial_ast: 1f3a60bfccfb592bfdddda2081da7c5bed330602d3d84586dc88fa75bf0d1109 - unrolled_ast: 1f3a60bfccfb592bfdddda2081da7c5bed330602d3d84586dc88fa75bf0d1109 - ssa_ast: cb5f1b759102b6a2ebaaac97d50b3d41ad2ee2dcde961302099d4703c5f33f39 + - initial_input_ast: f412eac0d2e73c9c7058e571c75584880db3c411f2c59eea0a620504d6cb3825 + initial_ast: 73f2f76367fe3bf4e5e8f10bf71e84b6f624e48137378916b690a42cd6b56883 + unrolled_ast: 73f2f76367fe3bf4e5e8f10bf71e84b6f624e48137378916b690a42cd6b56883 + ssa_ast: 813b0a4df4ed1c1fbd686244f3b8d9f2848d53a6addae3d67260039101fd8a4a diff --git a/tests/expectations/compiler/integers/u8/or.out b/tests/expectations/compiler/integers/u8/or.out index 96a361ca6f..6ef55adc4a 100644 --- a/tests/expectations/compiler/integers/u8/or.out +++ b/tests/expectations/compiler/integers/u8/or.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a64524af3bcdb3bc17c2399168a8bcf78ef90bf4a276f4c06335525e8aeab7d0 - initial_ast: 6341ad501cc75c55f1644167e82769101649d5f62c69abc07c7e565d4a695230 - unrolled_ast: 6341ad501cc75c55f1644167e82769101649d5f62c69abc07c7e565d4a695230 - ssa_ast: edfc352f19befb32f85641d541d9597982e949aa5a4bfed97b3eb9fe8a070023 + - initial_input_ast: da9cbc3b198d4979155523b6003c948a8851461a84397220fba7cdb6167d3bae + initial_ast: 2e47c426edcaf3548ed502e1b3903f56b25720a7dd8c40710268803bd8e1dba4 + unrolled_ast: 2e47c426edcaf3548ed502e1b3903f56b25720a7dd8c40710268803bd8e1dba4 + ssa_ast: 109984990cd26db63be36a90b3126df28e2cf4302e86961b7ed6ed25f6788dd3 diff --git a/tests/expectations/compiler/integers/u8/pow.out b/tests/expectations/compiler/integers/u8/pow.out index f69b4be253..c0c111b5ed 100644 --- a/tests/expectations/compiler/integers/u8/pow.out +++ b/tests/expectations/compiler/integers/u8/pow.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 17c0d742189c0c4b6b01f9d9858e3f344840df13db4e212bcf56b65e4d28fbf6 - initial_ast: 5cad4704d11a1527ab886df88509f744718456919f2a84a9bde060ec6f7b0621 - unrolled_ast: 5cad4704d11a1527ab886df88509f744718456919f2a84a9bde060ec6f7b0621 - ssa_ast: 0f911b46eecef66e0256a9a8bfbe4fff6072a1e03c4a12d8e3722d8313c4de00 + - initial_input_ast: 1c274ffd5072383cfdd3241b0bf547a2a12be43d8e37d712e151b3576b9223be + initial_ast: 14c35bc19ead1104be80ecdb1418ea887ef96f16ecc41cf86c1c2215ab3d3fcd + unrolled_ast: 14c35bc19ead1104be80ecdb1418ea887ef96f16ecc41cf86c1c2215ab3d3fcd + ssa_ast: a841a348766ecb00ec996247722c03806b7195e519ccb2a85dd1ddb775e280ec diff --git a/tests/expectations/compiler/integers/u8/rem.out b/tests/expectations/compiler/integers/u8/rem.out index ce54a19909..51c1638fb8 100644 --- a/tests/expectations/compiler/integers/u8/rem.out +++ b/tests/expectations/compiler/integers/u8/rem.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: a79303eeb1d658a95db2b1912c2b4d6fb84e1184ee699cc8e41d32b42c1a4daa - initial_ast: 9c28e85520c0cdb50476515bd354734fcd811e5aa7d7b7ff09f84dd5a96613b1 - unrolled_ast: 9c28e85520c0cdb50476515bd354734fcd811e5aa7d7b7ff09f84dd5a96613b1 - ssa_ast: 199663b11d655b9b5e2e71e56e67e6e589d64fa4c4b2e51a9d8ea262b5a70b67 + - initial_input_ast: 5bbec5d16f5d680c993359292946db566654eb0b16392dd64db71b2f9c66a34d + initial_ast: 1f2e8337b8449fdc9dfc9d4770d5197996de010ddd5b7dbf3b8d0eb5f995e08a + unrolled_ast: 1f2e8337b8449fdc9dfc9d4770d5197996de010ddd5b7dbf3b8d0eb5f995e08a + ssa_ast: 275a17ed7b2b5a06207acbb8c7cf9fb1ce90d5f30ba852d83d4b555214cb0560 diff --git a/tests/expectations/compiler/integers/u8/shl.out b/tests/expectations/compiler/integers/u8/shl.out index c00be1dc08..522db9e918 100644 --- a/tests/expectations/compiler/integers/u8/shl.out +++ b/tests/expectations/compiler/integers/u8/shl.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c4e9db4467549a6823ba1ddb8752195f49253c86161f55e6bfb2a98b9fa47ad1 - initial_ast: 69f32a63f9f455fd3d5c1b4aa77282a550071d3d0d3d352548373e1c50bd8843 - unrolled_ast: 69f32a63f9f455fd3d5c1b4aa77282a550071d3d0d3d352548373e1c50bd8843 - ssa_ast: f2ee8f69b4b2b5805fe2812f41d1d3d47b39f3268e198a7c2d4bc476997b5836 + - initial_input_ast: 8e86862b6bf9dfc4ab6ba11f6f5a1789b436ad993d8e4c508816ec7575487b06 + initial_ast: 51a5c4d6b13ce96df21e26da1316fb04f60a4bcb7f446bae36761ecf9f582c0a + unrolled_ast: 51a5c4d6b13ce96df21e26da1316fb04f60a4bcb7f446bae36761ecf9f582c0a + ssa_ast: 31bf2551c04cff0e68069b1c92db000e2f11d8218f0ec5909b4fe1f2ab2c048d diff --git a/tests/expectations/compiler/integers/u8/shr.out b/tests/expectations/compiler/integers/u8/shr.out index 147385658e..596e4776d7 100644 --- a/tests/expectations/compiler/integers/u8/shr.out +++ b/tests/expectations/compiler/integers/u8/shr.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c4e9db4467549a6823ba1ddb8752195f49253c86161f55e6bfb2a98b9fa47ad1 - initial_ast: 1c17aeb6de9d5885ed105850ed1e49163a845de4e6c91df60b9642c5f2d4f429 - unrolled_ast: 1c17aeb6de9d5885ed105850ed1e49163a845de4e6c91df60b9642c5f2d4f429 - ssa_ast: a17d3fd0282952a771769c5b0f3cb335c320ed75b5540aa48425c457f3bcaa5d + - initial_input_ast: 8e86862b6bf9dfc4ab6ba11f6f5a1789b436ad993d8e4c508816ec7575487b06 + initial_ast: e941c94c54480adc05c735ac3b594a51e6f83c1f813707d720d4a367d031d411 + unrolled_ast: e941c94c54480adc05c735ac3b594a51e6f83c1f813707d720d4a367d031d411 + ssa_ast: ce32fe55cef2bbf2c8b3f4246145132031fe11c2b5e899dadfe693ac8a7df1e0 diff --git a/tests/expectations/compiler/integers/u8/sub.out b/tests/expectations/compiler/integers/u8/sub.out index 3b7cfdc889..a37f0e48a0 100644 --- a/tests/expectations/compiler/integers/u8/sub.out +++ b/tests/expectations/compiler/integers/u8/sub.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b16d14070bb902e168ef5050620c983a15f535d58801fb5b90e195fa5ea0e451 - initial_ast: dc962d5da597ab8be2a252bebe49aca6b746fa37dfac6781f58d2062236a4c6b - unrolled_ast: dc962d5da597ab8be2a252bebe49aca6b746fa37dfac6781f58d2062236a4c6b - ssa_ast: 29257433f1172bdfa76dce5f3e2b8df9da9775187ac282541064924e55dff865 + - initial_input_ast: 0d6280d75da81c7f57bef3e5878c016be8c603cf0ca0476c39116a8da049c462 + initial_ast: 5f7353e11217c002764b778d93de9ad851238e14401fa426ad0709cca774a18f + unrolled_ast: 5f7353e11217c002764b778d93de9ad851238e14401fa426ad0709cca774a18f + ssa_ast: 1694661dc92eea4cbd711dee4868f10766059aaad22bf7c043274152f3412c63 diff --git a/tests/expectations/compiler/integers/u8/ternary.out b/tests/expectations/compiler/integers/u8/ternary.out index 9f6261b822..5b7cf14670 100644 --- a/tests/expectations/compiler/integers/u8/ternary.out +++ b/tests/expectations/compiler/integers/u8/ternary.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: be998483d07126edb4d8de85aaed7ff21d37fd9a7f37666d61077f1fb588ccf1 - - initial_input_ast: 283b3755126f6db462ffe0912b4f2aa42c7db0782b23995dd7d4c4aeda3103be - initial_ast: ff17ab92b81db3319f9e5bceb2920e647ffcb0f41ccbc3da751135a5558fe160 - unrolled_ast: ff17ab92b81db3319f9e5bceb2920e647ffcb0f41ccbc3da751135a5558fe160 - ssa_ast: d1fbf72956aa61a5268fd87f32f2aba1e94732517bcf0dcfb3dbc02520be1f4d + - initial_input_ast: 0ce01c5744a4edd9ee2a31332e052f6d52534bcd13a57b459527d478e4124acf + - initial_input_ast: b9e96a28e358cbe8efe681e28e47ca50fd331b27da8fe7df6df0de5d600b39b4 + initial_ast: 12f1e1c31bea6f5ed66b47275707eeb3b122c98e13078c011b8b0357da46a0a0 + unrolled_ast: 12f1e1c31bea6f5ed66b47275707eeb3b122c98e13078c011b8b0357da46a0a0 + ssa_ast: c826c584ef091bedc9d3206557003802d06a1546d1a89a7c9d02abfb38d7aa91 diff --git a/tests/expectations/compiler/integers/u8/xor.out b/tests/expectations/compiler/integers/u8/xor.out index b659b29777..21bc44ba60 100644 --- a/tests/expectations/compiler/integers/u8/xor.out +++ b/tests/expectations/compiler/integers/u8/xor.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 48b4ad5cec505f6f162385961cec0e85730279d83d3ccb11bafd1c724483ebc7 - initial_ast: fdd7099bf48afc03948a2919e6bfb014f361bc5792257684000daff55d3ce7f9 - unrolled_ast: fdd7099bf48afc03948a2919e6bfb014f361bc5792257684000daff55d3ce7f9 - ssa_ast: 3b7c4aa6bf0a222e6a3d273bca8c79e40c8334b87651a7484bc0e89f244749db + - initial_input_ast: 3556e01eb78b34bc6aa109af636dfc2787371488cc9950b1e016bde826c007e3 + initial_ast: d2f56307bdd7b378e4ceb12011beacbd2a5b403adc665a087f25c1838a17a89c + unrolled_ast: d2f56307bdd7b378e4ceb12011beacbd2a5b403adc665a087f25c1838a17a89c + ssa_ast: 3091d1f8d75747147f560c32e07ea02230622a5d9ed7be70d4826969a553cf8d diff --git a/tests/expectations/compiler/records/declaration.out b/tests/expectations/compiler/records/declaration.out index 8044b37427..536c915af7 100644 --- a/tests/expectations/compiler/records/declaration.out +++ b/tests/expectations/compiler/records/declaration.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 7850725d5045eaafa3df7e8f037e62c68b8134eb5303774a65b8580c03172996 - unrolled_ast: 7850725d5045eaafa3df7e8f037e62c68b8134eb5303774a65b8580c03172996 - ssa_ast: e01dd3f48254e70e74aff927208c59a2a5b8dc32e20cb9092eea03e3f38bbfbe + initial_ast: a33a9447b9681a531641ce719b09719f4d964eb09569b66fd72ff2139d374a5d + unrolled_ast: a33a9447b9681a531641ce719b09719f4d964eb09569b66fd72ff2139d374a5d + ssa_ast: d8e23c5b93415bd02da1d11810a90bb727e8b497d25f0355991dee1bdb3d54e3 diff --git a/tests/expectations/compiler/records/init_expression.out b/tests/expectations/compiler/records/init_expression.out index 77a08ff936..a7cc3b1660 100644 --- a/tests/expectations/compiler/records/init_expression.out +++ b/tests/expectations/compiler/records/init_expression.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: e735a6b80e361f2eaafc99e3adab1d8e952b9235e705f01c4176f3f87cfbd92b - unrolled_ast: e735a6b80e361f2eaafc99e3adab1d8e952b9235e705f01c4176f3f87cfbd92b - ssa_ast: 75f50583ee1303a3de891277a03987ee97449cff38d938504ca1e3bbeedd3288 + initial_ast: 08f6c86c1678425452fb8cc9613a9307b132135400d14cf862a8f212bd328cf7 + unrolled_ast: 08f6c86c1678425452fb8cc9613a9307b132135400d14cf862a8f212bd328cf7 + ssa_ast: 9c5a652a5439737b455a01e73fe4c2eb1626761f895eb7aa6b3a899bfc9d6147 diff --git a/tests/expectations/compiler/records/init_expression_shorthand.out b/tests/expectations/compiler/records/init_expression_shorthand.out index 065a37f03d..a6f6ebad2b 100644 --- a/tests/expectations/compiler/records/init_expression_shorthand.out +++ b/tests/expectations/compiler/records/init_expression_shorthand.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 042cc942051ac490f6242bd23c886f37cdfef1f72ba957233c8ecf8253cb89a6 - unrolled_ast: 042cc942051ac490f6242bd23c886f37cdfef1f72ba957233c8ecf8253cb89a6 - ssa_ast: 2d77436767a56af5bdfae8f005634910c2b6ad126a78ee1173f41f49dcdb9252 + initial_ast: 8ba65e37aa7cafbe07ca66b746eb1d9f663d0c2d083a6a9a168ca96d0b706ca1 + unrolled_ast: 8ba65e37aa7cafbe07ca66b746eb1d9f663d0c2d083a6a9a168ca96d0b706ca1 + ssa_ast: d73fc2e5dd3811c95f1fa8c9862c50dd2dd374b472af9100679042f654c3d51f diff --git a/tests/expectations/compiler/statements/assign.out b/tests/expectations/compiler/statements/assign.out index cdb24f162b..25856dcab5 100644 --- a/tests/expectations/compiler/statements/assign.out +++ b/tests/expectations/compiler/statements/assign.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: da16ca9cc5f5e030a6f400cab491032378620f9ca67871d8827753e2833d62ef - initial_ast: 3a0d58aacf97aab553af48062c125e663613d421d7e32b9ca2926c8e0002cca7 - unrolled_ast: 3a0d58aacf97aab553af48062c125e663613d421d7e32b9ca2926c8e0002cca7 - ssa_ast: e55e27d182539f9df4218344f0431c35f33e45e6dff1c88b8bbed3d29c2d1a29 + - initial_input_ast: 1a1667298d727c7ed5249b12209be44385a8751fb788e6bf54dd02ac7e69eea6 + initial_ast: c040731d3011d749ecd4a9672b497e30e1e2a2f072bd4e5e912c3e891eacb4aa + unrolled_ast: c040731d3011d749ecd4a9672b497e30e1e2a2f072bd4e5e912c3e891eacb4aa + ssa_ast: 3c9bfbfecdab723fd2348e6a411e9e4dfcddbb523dbbc0270c71b02c1471dc9e diff --git a/tests/expectations/compiler/statements/block.out b/tests/expectations/compiler/statements/block.out index 851373a00b..a384e32016 100644 --- a/tests/expectations/compiler/statements/block.out +++ b/tests/expectations/compiler/statements/block.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c814430a6d87a963572a33b47b241da47e4b902d07fe1188b2034d352cdc825f - initial_ast: 3d0d8d68f40b860e924a8de2c4c56ba3c33024168a28d03805f6b04e9a54252e - unrolled_ast: 3d0d8d68f40b860e924a8de2c4c56ba3c33024168a28d03805f6b04e9a54252e - ssa_ast: 37fe04da0da1138c0ce9be9bf864f30c55e7c57d147f152de7c990a33d51e679 + - initial_input_ast: e0ecb9ab54864c97215d3a8dc14f7f1913c944c753c9991688c2a2db4f4026ec + initial_ast: e17ea83531843048035d3c6ace60972c93d8d6daca129092095d896536186558 + unrolled_ast: e17ea83531843048035d3c6ace60972c93d8d6daca129092095d896536186558 + ssa_ast: ff3fe88ebd2a0b5367c82ec6ed0e885773f212dcc63b2da70720e53e39b08ca2 diff --git a/tests/expectations/compiler/statements/chain.out b/tests/expectations/compiler/statements/chain.out index b0d5763b22..b7f0b5be23 100644 --- a/tests/expectations/compiler/statements/chain.out +++ b/tests/expectations/compiler/statements/chain.out @@ -3,9 +3,9 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b3d4dc6696e6075283e7d90011a6654b1d906785aa4af4555449802068aa6849 - - initial_input_ast: 5d5e239a3024366f9b2f73cb46e4c238a10e99497dc8aab165a366fc1042088d - - initial_input_ast: 1ca93c805d4bc9d9304e909d835a1b864cd51191b887e5b30fd3621bd8522aa8 - initial_ast: 07b32110d8c00b0dd10c236c0d97cd238f798c404a5c4ebd88392d92072851d1 - unrolled_ast: 07b32110d8c00b0dd10c236c0d97cd238f798c404a5c4ebd88392d92072851d1 - ssa_ast: 3f8eb4fb9d7bd222c5f1d1d9ad859435209be32434b7ceb658112568c1cca0d2 + - initial_input_ast: b5ef7b7986b5248a94615154bef9032fc0314acabf12c5eb22454b75d232bd11 + - initial_input_ast: d7b189d5e91a3eb928802dc9833af0dd2047975ae6390f27ed2580309b644b4e + - initial_input_ast: 4c73cc4d60dd535ca2d782e45811516699eeb0be3a28826d6c2f6799181a41f7 + initial_ast: bb2bee53e2326294e2f2a3aa54450289d86f655025c2889a5cf836b03ec76d4c + unrolled_ast: bb2bee53e2326294e2f2a3aa54450289d86f655025c2889a5cf836b03ec76d4c + ssa_ast: 15604ca42dd19d40fa5fb0291e324e6c269001bca803dde65f37f98e216e81f9 diff --git a/tests/expectations/compiler/statements/compare_invalid_negates_fail.out b/tests/expectations/compiler/statements/compare_invalid_negates_fail.out index 8e9bc6ec7b..bfc3b8f2f8 100644 --- a/tests/expectations/compiler/statements/compare_invalid_negates_fail.out +++ b/tests/expectations/compiler/statements/compare_invalid_negates_fail.out @@ -2,4 +2,4 @@ namespace: Compile expectation: Fail outputs: - - "Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:4:20\n |\n 4 | 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:4:26\n |\n 4 | 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:5:20\n |\n 5 | 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:5:25\n |\n 5 | 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:6:20\n |\n 6 | 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:6:25\n |\n 6 | 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:7:20\n |\n 7 | 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:7:26\n |\n 7 | 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:8:20\n |\n 8 | 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:8:26\n |\n 8 | 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:9:18\n |\n 9 | 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:9:23\n |\n 9 | 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:10:18\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^\nError [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:10:24\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^^^\n" + - "Error [ETYC0372007]: Expected one type from `field, group, i8, i16, i32, i64, i128`, but got `u8`\n --> compiler-test:4:20\n |\n 4 | let b: bool = -a == -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:4:25\n |\n 4 | 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:5:20\n |\n 5 | let c: bool = -a > -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:5:24\n |\n 5 | 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:6:20\n |\n 6 | let d: bool = -a < -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:6:24\n |\n 6 | 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:7:20\n |\n 7 | let e: bool = -a >= -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:7:25\n |\n 7 | 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:8:20\n |\n 8 | let f: bool = -a <= -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:8:25\n |\n 8 | 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:9:18\n |\n 9 | let g: u8 = -a * -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:9:22\n |\n 9 | 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:10:18\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^\nError [ETYC0372008]: The value -1 is not a valid `u8`\n --> compiler-test:10:23\n |\n 10 | let h: u8 = -a ** -1u8;\n | ^^^^\n" diff --git a/tests/expectations/compiler/statements/iteration_basic.out b/tests/expectations/compiler/statements/iteration_basic.out index b20be0264f..02e4ca40f3 100644 --- a/tests/expectations/compiler/statements/iteration_basic.out +++ b/tests/expectations/compiler/statements/iteration_basic.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1c444d1778aabb953db94fb10ecb73f5a00c5743673fa79f97a4cee8eda10856 - initial_ast: 46c289fe9d642ce9d35556d540e1fc3d12553f1b98b49bc5268c883df71f6c1c - unrolled_ast: 0b95c0fae35a77432bfc4c0d8316f6904b1039f7b69963edbdcf3a244c3129f1 - ssa_ast: 165a8e860069c99be156b1bfcf64db9fc5f1a7e19b11f47a1226977e1a7fa02e + - initial_input_ast: f08c71e3e0b85f673152dddb038d33d9714f6c286ec5cb9b0cc476deabf731d9 + initial_ast: 7781532cb4a8a8ae57640b47e9f2d139eaeb4fefc2f7505567411e4c3687ff81 + unrolled_ast: a79b3b8e5bf1bb900879541641c3ac42b07b5a373a1769b82d314b05104ca3b2 + ssa_ast: 422a6dd94ec1aae3986abbf82dcc242c2781970ae66c5ba6bb08c1a629a735ee diff --git a/tests/expectations/compiler/statements/iteration_nested.out b/tests/expectations/compiler/statements/iteration_nested.out index 4f7fdebceb..596733f426 100644 --- a/tests/expectations/compiler/statements/iteration_nested.out +++ b/tests/expectations/compiler/statements/iteration_nested.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 8c841cc7cc27d721bb11f1faa911ea1d1f6f6572000c49c2da1ea46ebd04930f - initial_ast: 677905cdab5ec31ef23559a7c44436c5b00b30c25c0d9dcb7fc688a5e78c3bd6 - unrolled_ast: e70d9544fd8a995f868d410b0d24a9fc37d71ce0c5ff1b5cc8d219ee74aff400 - ssa_ast: a2edb0c93c4f1ca9b5313efb63946847a21a346ca161a4b9b6a8552112a73a19 + - initial_input_ast: ad0d3998aeb1df690fbe23f1fd3df7b91d1b003ddb5858961c830edf8c683fe1 + initial_ast: 8f7205a82d4212b2d12337c28241663d481205ba6680b49054d089854a53b701 + unrolled_ast: 32f0a10924aabcd0afe3cec9712465f807e376ba6f04b522788aa67db7be0fda + ssa_ast: 664e02c6ddf5a5192717640738bf6e8f6d580a3793a18c2ad8ad3ae25c661a78 diff --git a/tests/expectations/compiler/statements/multiple_returns.out b/tests/expectations/compiler/statements/multiple_returns.out index cbc6934077..537a950f5e 100644 --- a/tests/expectations/compiler/statements/multiple_returns.out +++ b/tests/expectations/compiler/statements/multiple_returns.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: c814430a6d87a963572a33b47b241da47e4b902d07fe1188b2034d352cdc825f - - initial_input_ast: d82831ef1e3012a9d7b5b0b8cf1ab6d14e05147f36b35a5fc5b295467bf6a489 - initial_ast: 562fbdf20c53634cbaa4f30ed342ea80fbe7969428d505a16800595ba6afe5c9 - unrolled_ast: 562fbdf20c53634cbaa4f30ed342ea80fbe7969428d505a16800595ba6afe5c9 - ssa_ast: ee7e71f70a94c38f0e083fc6667dece51136ed39248710c3ea7a1d714d3f436e + - initial_input_ast: e0ecb9ab54864c97215d3a8dc14f7f1913c944c753c9991688c2a2db4f4026ec + - initial_input_ast: 23334c9c6f3741f0659966764b58cd0313d2dd73d04be862b0c3d156a6f14c72 + initial_ast: b5195c5e4b08decfcb273b30d4910a7ae8304ff0bee3538cf7895ec65bd86834 + unrolled_ast: b5195c5e4b08decfcb273b30d4910a7ae8304ff0bee3538cf7895ec65bd86834 + ssa_ast: c1c551125ff8e0b63074263e9cfb459456619be613a262c904fdac56be8b6b89 diff --git a/tests/expectations/compiler/statements/mutate.out b/tests/expectations/compiler/statements/mutate.out index f93b441900..6f61013eca 100644 --- a/tests/expectations/compiler/statements/mutate.out +++ b/tests/expectations/compiler/statements/mutate.out @@ -3,8 +3,8 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 1777774f27da1f01dda8335321a1f9b39c2d511103728c40d2d7137a85f2af1a - - initial_input_ast: d54f96bcbb8e510356b0cd457e477b5cdc8b4ee9b029a18ff722431770a9d5ef - initial_ast: c2a43bdef4a78871c452aa3d4c0b1d5825156985c9185673369eb6a0441dc533 - unrolled_ast: c2a43bdef4a78871c452aa3d4c0b1d5825156985c9185673369eb6a0441dc533 - ssa_ast: 728d161f3ae6286b316b957a9d1298a13708df624a5addaef2d5f5a1f3594a04 + - initial_input_ast: eb6471b59179f70f0b3fff95f61f9e9fdad4fa56db0a36e38df2cd609bb128f4 + - initial_input_ast: 6ad39429c1fdf45e582200bc1b2d3eef49dac71f921332d3b074ebd38e2cbd76 + initial_ast: be86c36d13bf5aa649eb83c254acc532e215ff39e026fe65a2b819a6bdca5db4 + unrolled_ast: be86c36d13bf5aa649eb83c254acc532e215ff39e026fe65a2b819a6bdca5db4 + ssa_ast: 1083d7fa1d7516abadfc5768453f9b3919d3973dffdd4c475bb6a3c8c64dffb4 diff --git a/tests/expectations/compiler/statements/operations/add_assign.out b/tests/expectations/compiler/statements/operations/add_assign.out index afee354df3..efc1ef19ef 100644 --- a/tests/expectations/compiler/statements/operations/add_assign.out +++ b/tests/expectations/compiler/statements/operations/add_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: fb4619ddba94ce8e436aaa5f71c744e5e75d7b95c6e43ce8212ff299b0237e66 - unrolled_ast: fb4619ddba94ce8e436aaa5f71c744e5e75d7b95c6e43ce8212ff299b0237e66 - ssa_ast: 6dc700d4c376d0bf654de35f6b062843b98eed1ee69449549ccd9be85d72d573 + initial_ast: 28cdc1aa7063ff5dc677ac79a1c8f25976379337f69fce633ddf4bd0a4b75413 + unrolled_ast: 28cdc1aa7063ff5dc677ac79a1c8f25976379337f69fce633ddf4bd0a4b75413 + ssa_ast: 5ca6f5ab72b8f2648af88e4264fba64dc8e2c34dac59e3462ccc77f49ccf9be2 diff --git a/tests/expectations/compiler/statements/operations/bitand_assign.out b/tests/expectations/compiler/statements/operations/bitand_assign.out index 07f95584a5..ab96466b4c 100644 --- a/tests/expectations/compiler/statements/operations/bitand_assign.out +++ b/tests/expectations/compiler/statements/operations/bitand_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 5b2209d956002d14de11d3dbf242fb640a0fee0af2f7e380d68795d1e4f8b0f1 - unrolled_ast: 5b2209d956002d14de11d3dbf242fb640a0fee0af2f7e380d68795d1e4f8b0f1 - ssa_ast: 5de2da7fe8f24a6eb6b55c163fa2c37c6530444fed9344fabe50080b873262c1 + initial_ast: c9a3139d23613533e105265ece7a51e7b8d769023d8fdc0b504f32dd1263c63f + unrolled_ast: c9a3139d23613533e105265ece7a51e7b8d769023d8fdc0b504f32dd1263c63f + ssa_ast: 06a207f31884013596e137e442a26697f90a56db759b246fc855e6bf5bcd5cd4 diff --git a/tests/expectations/compiler/statements/operations/bitor_assign.out b/tests/expectations/compiler/statements/operations/bitor_assign.out index 36d689b619..0865723bb3 100644 --- a/tests/expectations/compiler/statements/operations/bitor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitor_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 0cb8bb1e58a5f7863020b5eef622f1934b79a6a3cc8193b18712d207b1e5ce4f - unrolled_ast: 0cb8bb1e58a5f7863020b5eef622f1934b79a6a3cc8193b18712d207b1e5ce4f - ssa_ast: 4dadaf2dab5b1ddb29a9a83c4ec3626d109c6661b07c2682884713485d6ab184 + initial_ast: edd1a14c55ec136b0d4f385a50ddb6754dfd39bd8b5a156b9db10103748fb5f1 + unrolled_ast: edd1a14c55ec136b0d4f385a50ddb6754dfd39bd8b5a156b9db10103748fb5f1 + ssa_ast: 7ebfc01dd76079ceec50fa1df745bbad3fadd2dbb36ce381e72dd4b7f3b259b0 diff --git a/tests/expectations/compiler/statements/operations/bitxor_assign.out b/tests/expectations/compiler/statements/operations/bitxor_assign.out index 00096b5e78..0e4186fee2 100644 --- a/tests/expectations/compiler/statements/operations/bitxor_assign.out +++ b/tests/expectations/compiler/statements/operations/bitxor_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: a437062d2190479116af2a1effef4c6f3e327fa7b426f64c11afeba5dd6861ca - unrolled_ast: a437062d2190479116af2a1effef4c6f3e327fa7b426f64c11afeba5dd6861ca - ssa_ast: 9dfa9377bf9d34dd627c7b3d28129919d448ebe9702b18228f199593d9026a7e + initial_ast: 0d3b95b38f092d32706f4ffecb1ea342311d5153875226c934d28daedcba6647 + unrolled_ast: 0d3b95b38f092d32706f4ffecb1ea342311d5153875226c934d28daedcba6647 + ssa_ast: c56f904cec8388a9feeb151fae9e5a1904f1b410f176423e12e34e317608d786 diff --git a/tests/expectations/compiler/statements/operations/div_assign.out b/tests/expectations/compiler/statements/operations/div_assign.out index 4d3d8d6bc6..783c8b3d69 100644 --- a/tests/expectations/compiler/statements/operations/div_assign.out +++ b/tests/expectations/compiler/statements/operations/div_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: c9807042a16e1f209bca05ae1894d3a8a94b31a7eaed9defc8fa16e90305a89c - unrolled_ast: c9807042a16e1f209bca05ae1894d3a8a94b31a7eaed9defc8fa16e90305a89c - ssa_ast: 6fe0fc973b0b5fb982cb71833433b07ab19e5bdf9ff466bfe9e92044720c7828 + initial_ast: bca48bb7601e343efeb44e4192cd47fb61640bcf7ed2575faa4f2fd80b6e30b5 + unrolled_ast: bca48bb7601e343efeb44e4192cd47fb61640bcf7ed2575faa4f2fd80b6e30b5 + ssa_ast: 3d1a727c224cd31015b0e41571f3233100f43e1fdc79342dca814a86065fb9c7 diff --git a/tests/expectations/compiler/statements/operations/mul_assign.out b/tests/expectations/compiler/statements/operations/mul_assign.out index f803eb7dae..20b7fe8869 100644 --- a/tests/expectations/compiler/statements/operations/mul_assign.out +++ b/tests/expectations/compiler/statements/operations/mul_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 85879e6e67cc342899691d1acff86a6557c810724711e1d23525bad77be2cc1c - unrolled_ast: 85879e6e67cc342899691d1acff86a6557c810724711e1d23525bad77be2cc1c - ssa_ast: 50933481aaefcfeb1abceb763351c01995e36e206626e0f57a7c50d47463c972 + initial_ast: cf92dbb16f1ff52b33faa067778fe070c7e14282f5437e7c85e1b20ab264653b + unrolled_ast: cf92dbb16f1ff52b33faa067778fe070c7e14282f5437e7c85e1b20ab264653b + ssa_ast: 966910289cc0c913d8b0d64537534677ca1d14a0f2071bd0f7e726896b685ed5 diff --git a/tests/expectations/compiler/statements/operations/pow_assign.out b/tests/expectations/compiler/statements/operations/pow_assign.out index fde3a492ba..6e732ee1e5 100644 --- a/tests/expectations/compiler/statements/operations/pow_assign.out +++ b/tests/expectations/compiler/statements/operations/pow_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 7621b0ccbdea62773b8ff9ea18bb3260f274a83f81718a9056bfc206bff10808 - unrolled_ast: 7621b0ccbdea62773b8ff9ea18bb3260f274a83f81718a9056bfc206bff10808 - ssa_ast: ee72df4e3344366a0efc244ca4addffd8a2da67f94a005ec3707aa08a410f53b + initial_ast: 29f47dd8ea5127eaffe2f61452c8ca3069dcab622a92071de2b4f6fda457d74c + unrolled_ast: 29f47dd8ea5127eaffe2f61452c8ca3069dcab622a92071de2b4f6fda457d74c + ssa_ast: 64fafd6e61643ba66eeb4ef46950276f67ec4fc1694eaa88f5a934e8f6c8a72b diff --git a/tests/expectations/compiler/statements/operations/rem_assign.out b/tests/expectations/compiler/statements/operations/rem_assign.out index e8baffd827..9f7c2e2a3e 100644 --- a/tests/expectations/compiler/statements/operations/rem_assign.out +++ b/tests/expectations/compiler/statements/operations/rem_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 1884c9d9215f89779d3283ec0a74f458f5e018f2beb24b026a579f9d16fb8df5 - unrolled_ast: 1884c9d9215f89779d3283ec0a74f458f5e018f2beb24b026a579f9d16fb8df5 - ssa_ast: 6d0d095c00bb5a02a0dec2f3a98b82af86ee27fee27a1bcc0f948b3d1d86051a + initial_ast: 72db1dae4f5673a68aeb7702534a87cd0e12e84643371a8a4fb3916a418f68e2 + unrolled_ast: 72db1dae4f5673a68aeb7702534a87cd0e12e84643371a8a4fb3916a418f68e2 + ssa_ast: 684c7a6aa4cbb1907d04b61069426e30e91872cbcb6271d16181ea909b1b05cf diff --git a/tests/expectations/compiler/statements/operations/shl_assign.out b/tests/expectations/compiler/statements/operations/shl_assign.out index 51d4a30cb2..63d93bce87 100644 --- a/tests/expectations/compiler/statements/operations/shl_assign.out +++ b/tests/expectations/compiler/statements/operations/shl_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: ae23a657f21c5427e64f3f02ef6a622d874263972ae20af07daf0d9135b6bcbb - unrolled_ast: ae23a657f21c5427e64f3f02ef6a622d874263972ae20af07daf0d9135b6bcbb - ssa_ast: 6142bada18056659fc264642c6f9a6199ae95ed16e7bd28168551eeb0cd641ae + initial_ast: 97c002f74a56573e4ec1807f32e6f1e12e135a5ea0256814abe94e0ad3478934 + unrolled_ast: 97c002f74a56573e4ec1807f32e6f1e12e135a5ea0256814abe94e0ad3478934 + ssa_ast: bf3d706ed24fedab813cd7f8197066df129b6f79e192158bb90f3d848dc81090 diff --git a/tests/expectations/compiler/statements/operations/shr_assign.out b/tests/expectations/compiler/statements/operations/shr_assign.out index a154f2201c..533fc138ed 100644 --- a/tests/expectations/compiler/statements/operations/shr_assign.out +++ b/tests/expectations/compiler/statements/operations/shr_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: db923fbe40a3054a0a341d8240f7aba4496da54b661744efc89e2e7d0e8c04e5 - unrolled_ast: db923fbe40a3054a0a341d8240f7aba4496da54b661744efc89e2e7d0e8c04e5 - ssa_ast: 8770b7fba178e97b4c4478f13bc9acf4e4c6e3af8f07de76a012e7ceafd279b3 + initial_ast: 2ee595dfca2b696f7462fa1b00851f9178fcf08d72362303bb7e11a2bfa56b53 + unrolled_ast: 2ee595dfca2b696f7462fa1b00851f9178fcf08d72362303bb7e11a2bfa56b53 + ssa_ast: ebfd6c7bfad016c131a6dbc266ff7586b4d6c8486d30f7f2a1715c9eeec4150c diff --git a/tests/expectations/compiler/statements/operations/sub_assign.out b/tests/expectations/compiler/statements/operations/sub_assign.out index aa3e5b470b..e36185a549 100644 --- a/tests/expectations/compiler/statements/operations/sub_assign.out +++ b/tests/expectations/compiler/statements/operations/sub_assign.out @@ -4,6 +4,6 @@ expectation: Pass outputs: - output: - initial_input_ast: no input - initial_ast: 869b5929abbc5d2c73f7356b38fd508d3c857b79489f0818cc443e358a5a79ce - unrolled_ast: 869b5929abbc5d2c73f7356b38fd508d3c857b79489f0818cc443e358a5a79ce - ssa_ast: 0c74cbcc96fcff2fc3903528370a30ab69afd81b643c0175508f99630120f930 + initial_ast: 55511f082180df0e7f85b388c4b3c35ac80a8df38de576f61d7f77955911e318 + unrolled_ast: 55511f082180df0e7f85b388c4b3c35ac80a8df38de576f61d7f77955911e318 + ssa_ast: 64144cb689ffea4fa94212bad2ba320c9136705021dee6194b4dceb8a5304c51 diff --git a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out index abe6c5d620..68e39370f6 100644 --- a/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out +++ b/tests/expectations/compiler/statements/ternary_explicit_and_implicit.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 4d8b3897d62246c2bbfccb2ea825650895626a775125d37594cc4de4bb6d8569 - initial_ast: 97741a66f74629b8c79b593da2ce9301faea0d72af4d81265f51e0fa53c5aa25 - unrolled_ast: 97741a66f74629b8c79b593da2ce9301faea0d72af4d81265f51e0fa53c5aa25 - ssa_ast: e6e7c81ce711dd585f2f24ad2926320e34748a79545f817788910f690685a5dc + - initial_input_ast: fa02d6008d76acfee2bad7c041abd05c85a2f2a50568d23dd79e3d6e82216572 + initial_ast: bcbb4f34ba34561bf416433cdcfd6bbe71993e418634fc7d5d3b5f78ba3363ec + unrolled_ast: bcbb4f34ba34561bf416433cdcfd6bbe71993e418634fc7d5d3b5f78ba3363ec + ssa_ast: b4d91fce470468bf72750f45026b833a748cb12686d223ebe0c31483d8b5a8f4 diff --git a/tests/expectations/compiler/tuple/function_early_return.out b/tests/expectations/compiler/tuple/function_early_return.out index 548845fd01..dd8533cdc5 100644 --- a/tests/expectations/compiler/tuple/function_early_return.out +++ b/tests/expectations/compiler/tuple/function_early_return.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 71350549991d77f8a5a6d8c91774c9bf1512f757bd2a0e57f9a2e0ecc717cd42 - initial_ast: 1628dd52c5c9ca6da95cb61c239ae8d5b62ffcf4c426a9fd50d2cc816348a2df - unrolled_ast: 1628dd52c5c9ca6da95cb61c239ae8d5b62ffcf4c426a9fd50d2cc816348a2df - ssa_ast: c9e8faa86e9bf9286cfba0f885e75ff19a21949aba2c92bc1c906a637bf7b905 + - initial_input_ast: 2a38fc7740cc89715b62627a8f8600456df8de97c4cfd9ddeb98c60e04d71622 + initial_ast: 76409ed4ed525d5a2eb049393f755ee9da3f1c0fd2091bbb1ec4e32743bc3353 + unrolled_ast: 76409ed4ed525d5a2eb049393f755ee9da3f1c0fd2091bbb1ec4e32743bc3353 + ssa_ast: ec5106f4629f84d78b122926c6fc92cdad246aecd87202359411b040e74a049b diff --git a/tests/expectations/compiler/tuple/function_return.out b/tests/expectations/compiler/tuple/function_return.out index 5392fccd08..dc3ea33afd 100644 --- a/tests/expectations/compiler/tuple/function_return.out +++ b/tests/expectations/compiler/tuple/function_return.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 050fc6edb09fe21105c11c3a13fd345ce09129e4317dc2c1d24b22c2dfcc4c4b - initial_ast: 1684dd804e7257193572235b9575a8106a36d5df8b8b97d1d17040e780ce6cb5 - unrolled_ast: 1684dd804e7257193572235b9575a8106a36d5df8b8b97d1d17040e780ce6cb5 - ssa_ast: beab3c80b70684788d9dc8ed78bfffc80da432fc32e68ae90611705c918fd5c0 + - initial_input_ast: 252190961c79cf78b20ef54c7c525e52c3c85cd5f65adb022c4eaac1393f6c02 + initial_ast: 9923b7a035104eeda0f76d328ae3bc5b3e52853c038d288ee0f92d9ef14888c2 + unrolled_ast: 9923b7a035104eeda0f76d328ae3bc5b3e52853c038d288ee0f92d9ef14888c2 + ssa_ast: 9dde2c7b194006ca0bdb535eeb593c981ec07cf719e3d8d8bbf571b0f8c60179 diff --git a/tests/expectations/parser/expression/binary/add.out b/tests/expectations/parser/expression/binary/add.out index 26f43b48e4..4a37b71a7f 100644 --- a/tests/expectations/parser/expression/binary/add.out +++ b/tests/expectations/parser/expression/binary/add.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -63,7 +69,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 @@ -122,14 +133,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -140,7 +153,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -156,14 +170,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -176,14 +192,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 @@ -200,14 +218,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 24 hi: 27 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 30 diff --git a/tests/expectations/parser/expression/binary/bit_and.out b/tests/expectations/parser/expression/binary/bit_and.out index 365c867eb1..28816988e9 100644 --- a/tests/expectations/parser/expression/binary/bit_and.out +++ b/tests/expectations/parser/expression/binary/bit_and.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -63,7 +69,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -77,7 +84,8 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 @@ -86,14 +94,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -108,7 +118,8 @@ outputs: hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 @@ -122,14 +133,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -140,7 +153,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -156,7 +170,8 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 @@ -165,14 +180,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -189,14 +206,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 hi: 21 right: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 24 @@ -211,7 +230,8 @@ outputs: hi: 27 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 30 diff --git a/tests/expectations/parser/expression/binary/bit_or.out b/tests/expectations/parser/expression/binary/bit_or.out index a2e14d0a9a..2717872d8e 100644 --- a/tests/expectations/parser/expression/binary/bit_or.out +++ b/tests/expectations/parser/expression/binary/bit_or.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -63,7 +69,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -77,7 +84,8 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 @@ -86,14 +94,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -108,7 +118,8 @@ outputs: hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 @@ -122,14 +133,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -140,7 +153,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -156,7 +170,8 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 @@ -165,14 +180,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -189,14 +206,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 hi: 21 right: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 24 @@ -211,7 +230,8 @@ outputs: hi: 27 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 30 diff --git a/tests/expectations/parser/expression/binary/bit_xor.out b/tests/expectations/parser/expression/binary/bit_xor.out index 02adbc3561..92b087105d 100644 --- a/tests/expectations/parser/expression/binary/bit_xor.out +++ b/tests/expectations/parser/expression/binary/bit_xor.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -63,7 +69,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 @@ -122,14 +133,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -140,7 +153,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -156,14 +170,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -176,14 +192,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 @@ -200,14 +218,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 24 hi: 27 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 30 diff --git a/tests/expectations/parser/expression/binary/div.out b/tests/expectations/parser/expression/binary/div.out index 8c6bb1505f..784a4cf719 100644 --- a/tests/expectations/parser/expression/binary/div.out +++ b/tests/expectations/parser/expression/binary/div.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -63,7 +69,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 20 diff --git a/tests/expectations/parser/expression/binary/eq.out b/tests/expectations/parser/expression/binary/eq.out index 473792d084..baf16a11b0 100644 --- a/tests/expectations/parser/expression/binary/eq.out +++ b/tests/expectations/parser/expression/binary/eq.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 7 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 5 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -65,14 +71,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -92,14 +100,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -112,14 +122,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -138,14 +150,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 26 hi: 29 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 32 @@ -158,14 +172,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 39 hi: 42 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 45 diff --git a/tests/expectations/parser/expression/binary/ge.out b/tests/expectations/parser/expression/binary/ge.out index 86ce9ad764..ab8e053aef 100644 --- a/tests/expectations/parser/expression/binary/ge.out +++ b/tests/expectations/parser/expression/binary/ge.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 7 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 7 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -65,14 +71,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 diff --git a/tests/expectations/parser/expression/binary/gt.out b/tests/expectations/parser/expression/binary/gt.out index 6cb8177cd9..e63a5ad20a 100644 --- a/tests/expectations/parser/expression/binary/gt.out +++ b/tests/expectations/parser/expression/binary/gt.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -65,14 +71,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 diff --git a/tests/expectations/parser/expression/binary/le.out b/tests/expectations/parser/expression/binary/le.out index 47f1a1463a..ffb8cc8bc8 100644 --- a/tests/expectations/parser/expression/binary/le.out +++ b/tests/expectations/parser/expression/binary/le.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 7 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 7 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -65,14 +71,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 diff --git a/tests/expectations/parser/expression/binary/lt.out b/tests/expectations/parser/expression/binary/lt.out index 3a69a75dc0..12ad96fed1 100644 --- a/tests/expectations/parser/expression/binary/lt.out +++ b/tests/expectations/parser/expression/binary/lt.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -65,14 +71,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 hi: 15 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 18 diff --git a/tests/expectations/parser/expression/binary/mul.out b/tests/expectations/parser/expression/binary/mul.out index 836a1bbd94..2a9ef88f99 100644 --- a/tests/expectations/parser/expression/binary/mul.out +++ b/tests/expectations/parser/expression/binary/mul.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -63,7 +69,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 20 @@ -124,14 +135,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -144,14 +157,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 20 @@ -168,14 +183,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 26 hi: 29 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 33 diff --git a/tests/expectations/parser/expression/binary/neq.out b/tests/expectations/parser/expression/binary/neq.out index d47b861603..faadb4b150 100644 --- a/tests/expectations/parser/expression/binary/neq.out +++ b/tests/expectations/parser/expression/binary/neq.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 7 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 5 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -65,14 +71,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -92,14 +100,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -112,14 +122,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -138,14 +150,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 26 hi: 29 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 32 @@ -158,14 +172,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 39 hi: 42 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 45 diff --git a/tests/expectations/parser/expression/binary/pow.out b/tests/expectations/parser/expression/binary/pow.out index 8cf1975cfc..3518b91ced 100644 --- a/tests/expectations/parser/expression/binary/pow.out +++ b/tests/expectations/parser/expression/binary/pow.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 7 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 5 @@ -43,7 +47,8 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 @@ -52,14 +57,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 hi: 10 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 14 diff --git a/tests/expectations/parser/expression/binary/rem.out b/tests/expectations/parser/expression/binary/rem.out index 6cc44cf749..6f660566ab 100644 --- a/tests/expectations/parser/expression/binary/rem.out +++ b/tests/expectations/parser/expression/binary/rem.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 4 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -63,7 +69,8 @@ outputs: hi: 9 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 12 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 20 diff --git a/tests/expectations/parser/expression/binary/shl.out b/tests/expectations/parser/expression/binary/shl.out index eff86a37a0..b48a76d608 100644 --- a/tests/expectations/parser/expression/binary/shl.out +++ b/tests/expectations/parser/expression/binary/shl.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 7 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 5 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -63,7 +69,8 @@ outputs: hi: 10 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 14 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -122,14 +133,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -140,7 +153,8 @@ outputs: hi: 10 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 14 @@ -156,14 +170,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -176,14 +192,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -200,14 +218,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 26 hi: 29 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 32 diff --git a/tests/expectations/parser/expression/binary/shr.out b/tests/expectations/parser/expression/binary/shr.out index 04082f6b28..8db4b5803d 100644 --- a/tests/expectations/parser/expression/binary/shr.out +++ b/tests/expectations/parser/expression/binary/shr.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 7 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 5 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -63,7 +69,8 @@ outputs: hi: 10 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 14 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -122,14 +133,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 7 @@ -140,7 +153,8 @@ outputs: hi: 10 right: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 14 @@ -156,14 +170,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 6 @@ -176,14 +192,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "3" - span: lo: 13 hi: 16 right: Literal: - U8: + Integer: + - U8 - "4" - span: lo: 19 @@ -200,14 +218,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 26 hi: 29 right: Literal: - U8: + Integer: + - U8 - "6" - span: lo: 32 diff --git a/tests/expectations/parser/expression/binary/sub.out b/tests/expectations/parser/expression/binary/sub.out index 33bfc0af35..9135e81167 100644 --- a/tests/expectations/parser/expression/binary/sub.out +++ b/tests/expectations/parser/expression/binary/sub.out @@ -5,14 +5,16 @@ outputs: - Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 6 @@ -24,14 +26,16 @@ outputs: - Binary: left: Literal: - U16: + Integer: + - U16 - "2" - span: lo: 0 hi: 4 right: Literal: - U64: + Integer: + - U64 - "3" - span: lo: 5 @@ -45,14 +49,16 @@ outputs: Binary: left: Literal: - U32: + Integer: + - U32 - "1" - span: lo: 0 hi: 4 right: Literal: - U32: + Integer: + - U32 - "2" - span: lo: 7 @@ -63,7 +69,8 @@ outputs: hi: 11 right: Literal: - U32: + Integer: + - U32 - "3" - span: lo: 14 @@ -77,14 +84,16 @@ outputs: Binary: left: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 0 hi: 3 right: Literal: - U16: + Integer: + - U16 - "2" - span: lo: 6 @@ -97,14 +106,16 @@ outputs: Binary: left: Literal: - U32: + Integer: + - U32 - "3" - span: lo: 13 hi: 17 right: Literal: - I64: + Integer: + - I64 - "4" - span: lo: 20 diff --git a/tests/expectations/parser/expression/literal/int_parse/i128.out b/tests/expectations/parser/expression/literal/int_parse/i128.out index 0e61e79d70..d54232b9b3 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i128.out +++ b/tests/expectations/parser/expression/literal/int_parse/i128.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - I128: + Integer: + - I128 - "123" - span: lo: 0 hi: 7 - Literal: - I128: + Integer: + - I128 - "123" - span: lo: 0 hi: 7 - Literal: - I128: + Integer: + - I128 - "456" - span: lo: 0 hi: 7 - Literal: - I128: + Integer: + - I128 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 84 - Literal: - I128: + Integer: + - I128 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 404 - Literal: - I128: + Integer: + - I128 - "340130024" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "158951116" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "155529659" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "642023166" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "228481736" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "469712960" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "929437719" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "721072814" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "363254789" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "906732565" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "288246391" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "724940549" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "487101620" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "261373583" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "891163927" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "743967544" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "8372586" - span: lo: 0 hi: 11 - Literal: - I128: + Integer: + - I128 - "461793278" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "806307045" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "122764546" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "356336181" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "158370903" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "774460877" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "557174131" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "492401267" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "893445620" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "957757048" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "721540649" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "390746493" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "211251725" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "938266114" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "156985870" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "703831126" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "729964155" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "988151305" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "320872435" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "719287167" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "152289486" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "740067975" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "728627816" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "385008978" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "553967635" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "71980713" - span: lo: 0 hi: 12 - Literal: - I128: + Integer: + - I128 - "519444716" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "116499965" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "717422268" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "18966279" - span: lo: 0 hi: 12 - Literal: - I128: + Integer: + - I128 - "22458638" - span: lo: 0 hi: 12 - Literal: - I128: + Integer: + - I128 - "857282620" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "920675898" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "762235516" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "469018377" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "199986521" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "536679358" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "591399452" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "83083158" - span: lo: 0 hi: 12 - Literal: - I128: + Integer: + - I128 - "599449051" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "445442318" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "585486590" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "209278800" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "873568117" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "664470940" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "465262783" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "605652874" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "376803940" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "965247040" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "598474509" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "845119918" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "648159133" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "669051032" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "800600261" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "434689764" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "520060080" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "804659385" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "537828058" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "716600292" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "387020273" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "199375617" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "680337189" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "818479931" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "893693281" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "87377802" - span: lo: 0 hi: 12 - Literal: - I128: + Integer: + - I128 - "84699261" - span: lo: 0 hi: 12 - Literal: - I128: + Integer: + - I128 - "292826090" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "569171405" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "387436237" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "150682190" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "888770419" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "824696431" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "765659803" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "270163693" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "427940240" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "504997332" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "337808338" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "907200008" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "757177889" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "696697188" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "41376051" - span: lo: 0 hi: 12 - Literal: - I128: + Integer: + - I128 - "496293518" - span: lo: 0 hi: 13 - Literal: - I128: + Integer: + - I128 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/i16.out b/tests/expectations/parser/expression/literal/int_parse/i16.out index 4da22229ad..5ed924e1a1 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i16.out +++ b/tests/expectations/parser/expression/literal/int_parse/i16.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - I16: + Integer: + - I16 - "123" - span: lo: 0 hi: 6 - Literal: - I16: + Integer: + - I16 - "123" - span: lo: 0 hi: 6 - Literal: - I16: + Integer: + - I16 - "456" - span: lo: 0 hi: 6 - Literal: - I16: + Integer: + - I16 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 83 - Literal: - I16: + Integer: + - I16 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 403 - Literal: - I16: + Integer: + - I16 - "340130024" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "158951116" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "155529659" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "642023166" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "228481736" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "469712960" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "929437719" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "721072814" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "363254789" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "906732565" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "288246391" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "724940549" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "487101620" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "261373583" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "891163927" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "743967544" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "8372586" - span: lo: 0 hi: 10 - Literal: - I16: + Integer: + - I16 - "461793278" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "806307045" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "122764546" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "356336181" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "158370903" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "774460877" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "557174131" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "492401267" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "893445620" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "957757048" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "721540649" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "390746493" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "211251725" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "938266114" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "156985870" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "703831126" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "729964155" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "988151305" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "320872435" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "719287167" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "152289486" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "740067975" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "728627816" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "385008978" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "553967635" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "71980713" - span: lo: 0 hi: 11 - Literal: - I16: + Integer: + - I16 - "519444716" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "116499965" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "717422268" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "18966279" - span: lo: 0 hi: 11 - Literal: - I16: + Integer: + - I16 - "22458638" - span: lo: 0 hi: 11 - Literal: - I16: + Integer: + - I16 - "857282620" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "920675898" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "762235516" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "469018377" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "199986521" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "536679358" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "591399452" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "83083158" - span: lo: 0 hi: 11 - Literal: - I16: + Integer: + - I16 - "599449051" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "445442318" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "585486590" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "209278800" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "873568117" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "664470940" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "465262783" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "605652874" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "376803940" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "965247040" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "598474509" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "845119918" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "648159133" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "669051032" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "800600261" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "434689764" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "520060080" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "804659385" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "537828058" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "716600292" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "387020273" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "199375617" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "680337189" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "818479931" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "893693281" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "87377802" - span: lo: 0 hi: 11 - Literal: - I16: + Integer: + - I16 - "84699261" - span: lo: 0 hi: 11 - Literal: - I16: + Integer: + - I16 - "292826090" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "569171405" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "387436237" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "150682190" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "888770419" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "824696431" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "765659803" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "270163693" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "427940240" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "504997332" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "337808338" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "907200008" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "757177889" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "696697188" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "41376051" - span: lo: 0 hi: 11 - Literal: - I16: + Integer: + - I16 - "496293518" - span: lo: 0 hi: 12 - Literal: - I16: + Integer: + - I16 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/i32.out b/tests/expectations/parser/expression/literal/int_parse/i32.out index 2ab28183df..cd2750609b 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i32.out +++ b/tests/expectations/parser/expression/literal/int_parse/i32.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - I32: + Integer: + - I32 - "123" - span: lo: 0 hi: 6 - Literal: - I32: + Integer: + - I32 - "123" - span: lo: 0 hi: 6 - Literal: - I32: + Integer: + - I32 - "456" - span: lo: 0 hi: 6 - Literal: - I32: + Integer: + - I32 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 83 - Literal: - I32: + Integer: + - I32 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 403 - Literal: - I32: + Integer: + - I32 - "340130024" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "158951116" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "155529659" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "642023166" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "228481736" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "469712960" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "929437719" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "721072814" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "363254789" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "906732565" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "288246391" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "724940549" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "487101620" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "261373583" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "891163927" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "743967544" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "8372586" - span: lo: 0 hi: 10 - Literal: - I32: + Integer: + - I32 - "461793278" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "806307045" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "122764546" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "356336181" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "158370903" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "774460877" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "557174131" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "492401267" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "893445620" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "957757048" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "721540649" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "390746493" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "211251725" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "938266114" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "156985870" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "703831126" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "729964155" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "988151305" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "320872435" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "719287167" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "152289486" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "740067975" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "728627816" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "385008978" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "553967635" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "71980713" - span: lo: 0 hi: 11 - Literal: - I32: + Integer: + - I32 - "519444716" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "116499965" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "717422268" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "18966279" - span: lo: 0 hi: 11 - Literal: - I32: + Integer: + - I32 - "22458638" - span: lo: 0 hi: 11 - Literal: - I32: + Integer: + - I32 - "857282620" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "920675898" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "762235516" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "469018377" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "199986521" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "536679358" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "591399452" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "83083158" - span: lo: 0 hi: 11 - Literal: - I32: + Integer: + - I32 - "599449051" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "445442318" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "585486590" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "209278800" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "873568117" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "664470940" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "465262783" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "605652874" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "376803940" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "965247040" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "598474509" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "845119918" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "648159133" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "669051032" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "800600261" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "434689764" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "520060080" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "804659385" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "537828058" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "716600292" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "387020273" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "199375617" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "680337189" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "818479931" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "893693281" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "87377802" - span: lo: 0 hi: 11 - Literal: - I32: + Integer: + - I32 - "84699261" - span: lo: 0 hi: 11 - Literal: - I32: + Integer: + - I32 - "292826090" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "569171405" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "387436237" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "150682190" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "888770419" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "824696431" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "765659803" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "270163693" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "427940240" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "504997332" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "337808338" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "907200008" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "757177889" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "696697188" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "41376051" - span: lo: 0 hi: 11 - Literal: - I32: + Integer: + - I32 - "496293518" - span: lo: 0 hi: 12 - Literal: - I32: + Integer: + - I32 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/i64.out b/tests/expectations/parser/expression/literal/int_parse/i64.out index 31870870f2..e2d0a25612 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i64.out +++ b/tests/expectations/parser/expression/literal/int_parse/i64.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - I64: + Integer: + - I64 - "123" - span: lo: 0 hi: 6 - Literal: - I64: + Integer: + - I64 - "123" - span: lo: 0 hi: 6 - Literal: - I64: + Integer: + - I64 - "456" - span: lo: 0 hi: 6 - Literal: - I64: + Integer: + - I64 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 83 - Literal: - I64: + Integer: + - I64 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 403 - Literal: - I64: + Integer: + - I64 - "340130024" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "158951116" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "155529659" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "642023166" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "228481736" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "469712960" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "929437719" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "721072814" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "363254789" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "906732565" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "288246391" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "724940549" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "487101620" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "261373583" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "891163927" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "743967544" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "8372586" - span: lo: 0 hi: 10 - Literal: - I64: + Integer: + - I64 - "461793278" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "806307045" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "122764546" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "356336181" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "158370903" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "774460877" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "557174131" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "492401267" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "893445620" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "957757048" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "721540649" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "390746493" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "211251725" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "938266114" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "156985870" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "703831126" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "729964155" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "988151305" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "320872435" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "719287167" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "152289486" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "740067975" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "728627816" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "385008978" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "553967635" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "71980713" - span: lo: 0 hi: 11 - Literal: - I64: + Integer: + - I64 - "519444716" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "116499965" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "717422268" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "18966279" - span: lo: 0 hi: 11 - Literal: - I64: + Integer: + - I64 - "22458638" - span: lo: 0 hi: 11 - Literal: - I64: + Integer: + - I64 - "857282620" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "920675898" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "762235516" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "469018377" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "199986521" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "536679358" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "591399452" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "83083158" - span: lo: 0 hi: 11 - Literal: - I64: + Integer: + - I64 - "599449051" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "445442318" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "585486590" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "209278800" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "873568117" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "664470940" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "465262783" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "605652874" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "376803940" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "965247040" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "598474509" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "845119918" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "648159133" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "669051032" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "800600261" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "434689764" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "520060080" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "804659385" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "537828058" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "716600292" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "387020273" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "199375617" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "680337189" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "818479931" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "893693281" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "87377802" - span: lo: 0 hi: 11 - Literal: - I64: + Integer: + - I64 - "84699261" - span: lo: 0 hi: 11 - Literal: - I64: + Integer: + - I64 - "292826090" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "569171405" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "387436237" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "150682190" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "888770419" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "824696431" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "765659803" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "270163693" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "427940240" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "504997332" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "337808338" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "907200008" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "757177889" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "696697188" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "41376051" - span: lo: 0 hi: 11 - Literal: - I64: + Integer: + - I64 - "496293518" - span: lo: 0 hi: 12 - Literal: - I64: + Integer: + - I64 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/i8.out b/tests/expectations/parser/expression/literal/int_parse/i8.out index cf6fe6fb31..fc26243b66 100644 --- a/tests/expectations/parser/expression/literal/int_parse/i8.out +++ b/tests/expectations/parser/expression/literal/int_parse/i8.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - I8: + Integer: + - I8 - "123" - span: lo: 0 hi: 5 - Literal: - I8: + Integer: + - I8 - "123" - span: lo: 0 hi: 5 - Literal: - I8: + Integer: + - I8 - "456" - span: lo: 0 hi: 5 - Literal: - I8: + Integer: + - I8 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 82 - Literal: - I8: + Integer: + - I8 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 402 - Literal: - I8: + Integer: + - I8 - "340130024" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "158951116" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "155529659" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "642023166" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "228481736" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "469712960" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "929437719" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "721072814" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "363254789" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "906732565" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "288246391" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "724940549" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "487101620" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "261373583" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "891163927" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "743967544" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "8372586" - span: lo: 0 hi: 9 - Literal: - I8: + Integer: + - I8 - "461793278" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "806307045" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "122764546" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "356336181" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "158370903" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "774460877" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "557174131" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "492401267" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "893445620" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "957757048" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "721540649" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "390746493" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "211251725" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "938266114" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "156985870" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "703831126" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "729964155" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "988151305" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "320872435" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "719287167" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "152289486" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "740067975" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "728627816" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "385008978" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "553967635" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "71980713" - span: lo: 0 hi: 10 - Literal: - I8: + Integer: + - I8 - "519444716" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "116499965" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "717422268" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "18966279" - span: lo: 0 hi: 10 - Literal: - I8: + Integer: + - I8 - "22458638" - span: lo: 0 hi: 10 - Literal: - I8: + Integer: + - I8 - "857282620" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "920675898" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "762235516" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "469018377" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "199986521" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "536679358" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "591399452" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "83083158" - span: lo: 0 hi: 10 - Literal: - I8: + Integer: + - I8 - "599449051" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "445442318" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "585486590" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "209278800" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "873568117" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "664470940" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "465262783" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "605652874" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "376803940" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "965247040" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "598474509" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "845119918" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "648159133" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "669051032" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "800600261" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "434689764" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "520060080" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "804659385" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "537828058" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "716600292" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "387020273" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "199375617" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "680337189" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "818479931" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "893693281" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "87377802" - span: lo: 0 hi: 10 - Literal: - I8: + Integer: + - I8 - "84699261" - span: lo: 0 hi: 10 - Literal: - I8: + Integer: + - I8 - "292826090" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "569171405" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "387436237" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "150682190" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "888770419" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "824696431" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "765659803" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "270163693" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "427940240" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "504997332" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "337808338" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "907200008" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "757177889" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "696697188" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "41376051" - span: lo: 0 hi: 10 - Literal: - I8: + Integer: + - I8 - "496293518" - span: lo: 0 hi: 11 - Literal: - I8: + Integer: + - I8 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/u128.out b/tests/expectations/parser/expression/literal/int_parse/u128.out index b8cab02aa0..50de8b53dc 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u128.out +++ b/tests/expectations/parser/expression/literal/int_parse/u128.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - U128: + Integer: + - U128 - "123" - span: lo: 0 hi: 7 - Literal: - U128: + Integer: + - U128 - "123" - span: lo: 0 hi: 7 - Literal: - U128: + Integer: + - U128 - "456" - span: lo: 0 hi: 7 - Literal: - U128: + Integer: + - U128 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 84 - Literal: - U128: + Integer: + - U128 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 404 - Literal: - U128: + Integer: + - U128 - "340130024" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "158951116" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "155529659" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "642023166" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "228481736" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "469712960" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "929437719" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "721072814" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "363254789" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "906732565" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "288246391" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "724940549" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "487101620" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "261373583" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "891163927" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "743967544" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "8372586" - span: lo: 0 hi: 11 - Literal: - U128: + Integer: + - U128 - "461793278" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "806307045" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "122764546" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "356336181" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "158370903" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "774460877" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "557174131" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "492401267" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "893445620" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "957757048" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "721540649" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "390746493" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "211251725" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "938266114" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "156985870" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "703831126" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "729964155" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "988151305" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "320872435" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "719287167" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "152289486" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "740067975" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "728627816" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "385008978" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "553967635" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "71980713" - span: lo: 0 hi: 12 - Literal: - U128: + Integer: + - U128 - "519444716" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "116499965" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "717422268" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "18966279" - span: lo: 0 hi: 12 - Literal: - U128: + Integer: + - U128 - "22458638" - span: lo: 0 hi: 12 - Literal: - U128: + Integer: + - U128 - "857282620" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "920675898" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "762235516" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "469018377" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "199986521" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "536679358" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "591399452" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "83083158" - span: lo: 0 hi: 12 - Literal: - U128: + Integer: + - U128 - "599449051" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "445442318" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "585486590" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "209278800" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "873568117" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "664470940" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "465262783" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "605652874" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "376803940" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "965247040" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "598474509" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "845119918" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "648159133" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "669051032" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "800600261" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "434689764" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "520060080" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "804659385" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "537828058" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "716600292" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "387020273" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "199375617" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "680337189" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "818479931" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "893693281" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "87377802" - span: lo: 0 hi: 12 - Literal: - U128: + Integer: + - U128 - "84699261" - span: lo: 0 hi: 12 - Literal: - U128: + Integer: + - U128 - "292826090" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "569171405" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "387436237" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "150682190" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "888770419" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "824696431" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "765659803" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "270163693" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "427940240" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "504997332" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "337808338" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "907200008" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "757177889" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "696697188" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "41376051" - span: lo: 0 hi: 12 - Literal: - U128: + Integer: + - U128 - "496293518" - span: lo: 0 hi: 13 - Literal: - U128: + Integer: + - U128 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/u16.out b/tests/expectations/parser/expression/literal/int_parse/u16.out index 18a3d874ca..6ff88e91f0 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u16.out +++ b/tests/expectations/parser/expression/literal/int_parse/u16.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - U16: + Integer: + - U16 - "123" - span: lo: 0 hi: 6 - Literal: - U16: + Integer: + - U16 - "123" - span: lo: 0 hi: 6 - Literal: - U16: + Integer: + - U16 - "456" - span: lo: 0 hi: 6 - Literal: - U16: + Integer: + - U16 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 83 - Literal: - U16: + Integer: + - U16 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 403 - Literal: - U16: + Integer: + - U16 - "340130024" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "158951116" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "155529659" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "642023166" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "228481736" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "469712960" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "929437719" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "721072814" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "363254789" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "906732565" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "288246391" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "724940549" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "487101620" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "261373583" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "891163927" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "743967544" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "8372586" - span: lo: 0 hi: 10 - Literal: - U16: + Integer: + - U16 - "461793278" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "806307045" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "122764546" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "356336181" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "158370903" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "774460877" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "557174131" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "492401267" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "893445620" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "957757048" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "721540649" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "390746493" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "211251725" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "938266114" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "156985870" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "703831126" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "729964155" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "988151305" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "320872435" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "719287167" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "152289486" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "740067975" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "728627816" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "385008978" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "553967635" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "71980713" - span: lo: 0 hi: 11 - Literal: - U16: + Integer: + - U16 - "519444716" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "116499965" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "717422268" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "18966279" - span: lo: 0 hi: 11 - Literal: - U16: + Integer: + - U16 - "22458638" - span: lo: 0 hi: 11 - Literal: - U16: + Integer: + - U16 - "857282620" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "920675898" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "762235516" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "469018377" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "199986521" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "536679358" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "591399452" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "83083158" - span: lo: 0 hi: 11 - Literal: - U16: + Integer: + - U16 - "599449051" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "445442318" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "585486590" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "209278800" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "873568117" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "664470940" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "465262783" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "605652874" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "376803940" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "965247040" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "598474509" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "845119918" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "648159133" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "669051032" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "800600261" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "434689764" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "520060080" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "804659385" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "537828058" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "716600292" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "387020273" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "199375617" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "680337189" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "818479931" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "893693281" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "87377802" - span: lo: 0 hi: 11 - Literal: - U16: + Integer: + - U16 - "84699261" - span: lo: 0 hi: 11 - Literal: - U16: + Integer: + - U16 - "292826090" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "569171405" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "387436237" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "150682190" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "888770419" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "824696431" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "765659803" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "270163693" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "427940240" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "504997332" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "337808338" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "907200008" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "757177889" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "696697188" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "41376051" - span: lo: 0 hi: 11 - Literal: - U16: + Integer: + - U16 - "496293518" - span: lo: 0 hi: 12 - Literal: - U16: + Integer: + - U16 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/u32.out b/tests/expectations/parser/expression/literal/int_parse/u32.out index 3e75200db9..40ce000c3b 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u32.out +++ b/tests/expectations/parser/expression/literal/int_parse/u32.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - U32: + Integer: + - U32 - "123" - span: lo: 0 hi: 6 - Literal: - U32: + Integer: + - U32 - "123" - span: lo: 0 hi: 6 - Literal: - U32: + Integer: + - U32 - "456" - span: lo: 0 hi: 6 - Literal: - U32: + Integer: + - U32 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 83 - Literal: - U32: + Integer: + - U32 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 403 - Literal: - U32: + Integer: + - U32 - "340130024" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "158951116" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "155529659" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "642023166" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "228481736" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "469712960" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "929437719" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "721072814" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "363254789" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "906732565" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "288246391" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "724940549" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "487101620" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "261373583" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "891163927" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "743967544" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "8372586" - span: lo: 0 hi: 10 - Literal: - U32: + Integer: + - U32 - "461793278" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "806307045" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "122764546" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "356336181" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "158370903" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "774460877" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "557174131" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "492401267" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "893445620" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "957757048" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "721540649" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "390746493" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "211251725" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "938266114" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "156985870" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "703831126" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "729964155" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "988151305" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "320872435" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "719287167" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "152289486" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "740067975" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "728627816" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "385008978" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "553967635" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "71980713" - span: lo: 0 hi: 11 - Literal: - U32: + Integer: + - U32 - "519444716" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "116499965" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "717422268" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "18966279" - span: lo: 0 hi: 11 - Literal: - U32: + Integer: + - U32 - "22458638" - span: lo: 0 hi: 11 - Literal: - U32: + Integer: + - U32 - "857282620" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "920675898" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "762235516" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "469018377" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "199986521" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "536679358" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "591399452" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "83083158" - span: lo: 0 hi: 11 - Literal: - U32: + Integer: + - U32 - "599449051" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "445442318" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "585486590" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "209278800" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "873568117" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "664470940" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "465262783" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "605652874" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "376803940" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "965247040" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "598474509" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "845119918" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "648159133" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "669051032" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "800600261" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "434689764" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "520060080" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "804659385" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "537828058" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "716600292" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "387020273" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "199375617" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "680337189" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "818479931" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "893693281" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "87377802" - span: lo: 0 hi: 11 - Literal: - U32: + Integer: + - U32 - "84699261" - span: lo: 0 hi: 11 - Literal: - U32: + Integer: + - U32 - "292826090" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "569171405" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "387436237" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "150682190" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "888770419" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "824696431" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "765659803" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "270163693" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "427940240" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "504997332" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "337808338" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "907200008" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "757177889" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "696697188" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "41376051" - span: lo: 0 hi: 11 - Literal: - U32: + Integer: + - U32 - "496293518" - span: lo: 0 hi: 12 - Literal: - U32: + Integer: + - U32 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/u64.out b/tests/expectations/parser/expression/literal/int_parse/u64.out index 722dd4bd20..218688217d 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u64.out +++ b/tests/expectations/parser/expression/literal/int_parse/u64.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - U64: + Integer: + - U64 - "123" - span: lo: 0 hi: 6 - Literal: - U64: + Integer: + - U64 - "123" - span: lo: 0 hi: 6 - Literal: - U64: + Integer: + - U64 - "456" - span: lo: 0 hi: 6 - Literal: - U64: + Integer: + - U64 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 83 - Literal: - U64: + Integer: + - U64 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 403 - Literal: - U64: + Integer: + - U64 - "340130024" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "158951116" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "155529659" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "642023166" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "228481736" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "469712960" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "929437719" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "721072814" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "363254789" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "906732565" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "288246391" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "724940549" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "487101620" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "261373583" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "891163927" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "743967544" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "8372586" - span: lo: 0 hi: 10 - Literal: - U64: + Integer: + - U64 - "461793278" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "806307045" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "122764546" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "356336181" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "158370903" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "774460877" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "557174131" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "492401267" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "893445620" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "957757048" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "721540649" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "390746493" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "211251725" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "938266114" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "156985870" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "703831126" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "729964155" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "988151305" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "320872435" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "719287167" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "152289486" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "740067975" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "728627816" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "385008978" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "553967635" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "71980713" - span: lo: 0 hi: 11 - Literal: - U64: + Integer: + - U64 - "519444716" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "116499965" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "717422268" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "18966279" - span: lo: 0 hi: 11 - Literal: - U64: + Integer: + - U64 - "22458638" - span: lo: 0 hi: 11 - Literal: - U64: + Integer: + - U64 - "857282620" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "920675898" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "762235516" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "469018377" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "199986521" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "536679358" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "591399452" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "83083158" - span: lo: 0 hi: 11 - Literal: - U64: + Integer: + - U64 - "599449051" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "445442318" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "585486590" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "209278800" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "873568117" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "664470940" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "465262783" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "605652874" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "376803940" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "965247040" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "598474509" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "845119918" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "648159133" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "669051032" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "800600261" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "434689764" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "520060080" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "804659385" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "537828058" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "716600292" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "387020273" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "199375617" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "680337189" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "818479931" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "893693281" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "87377802" - span: lo: 0 hi: 11 - Literal: - U64: + Integer: + - U64 - "84699261" - span: lo: 0 hi: 11 - Literal: - U64: + Integer: + - U64 - "292826090" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "569171405" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "387436237" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "150682190" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "888770419" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "824696431" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "765659803" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "270163693" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "427940240" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "504997332" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "337808338" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "907200008" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "757177889" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "696697188" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "41376051" - span: lo: 0 hi: 11 - Literal: - U64: + Integer: + - U64 - "496293518" - span: lo: 0 hi: 12 - Literal: - U64: + Integer: + - U64 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/literal/int_parse/u8.out b/tests/expectations/parser/expression/literal/int_parse/u8.out index 710cf4c164..251b5521d4 100644 --- a/tests/expectations/parser/expression/literal/int_parse/u8.out +++ b/tests/expectations/parser/expression/literal/int_parse/u8.out @@ -3,631 +3,736 @@ namespace: ParseExpression expectation: Pass outputs: - Literal: - U8: + Integer: + - U8 - "123" - span: lo: 0 hi: 5 - Literal: - U8: + Integer: + - U8 - "123" - span: lo: 0 hi: 5 - Literal: - U8: + Integer: + - U8 - "456" - span: lo: 0 hi: 5 - Literal: - U8: + Integer: + - U8 - "87377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 82 - Literal: - U8: + Integer: + - U8 - "8737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802873778028737780287377802" - span: lo: 0 hi: 402 - Literal: - U8: + Integer: + - U8 - "340130024" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "158951116" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "155529659" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "642023166" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "228481736" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "469712960" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "929437719" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "721072814" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "363254789" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "906732565" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "288246391" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "724940549" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "487101620" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "261373583" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "891163927" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "743967544" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "8372586" - span: lo: 0 hi: 9 - Literal: - U8: + Integer: + - U8 - "461793278" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "806307045" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "122764546" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "356336181" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "158370903" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "774460877" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "557174131" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "492401267" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "893445620" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "957757048" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "721540649" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "390746493" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "211251725" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "938266114" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "156985870" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "703831126" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "729964155" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "988151305" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "320872435" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "719287167" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "152289486" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "740067975" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "728627816" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "385008978" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "553967635" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "71980713" - span: lo: 0 hi: 10 - Literal: - U8: + Integer: + - U8 - "519444716" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "116499965" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "717422268" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "18966279" - span: lo: 0 hi: 10 - Literal: - U8: + Integer: + - U8 - "22458638" - span: lo: 0 hi: 10 - Literal: - U8: + Integer: + - U8 - "857282620" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "920675898" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "762235516" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "469018377" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "199986521" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "536679358" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "591399452" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "83083158" - span: lo: 0 hi: 10 - Literal: - U8: + Integer: + - U8 - "599449051" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "445442318" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "585486590" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "209278800" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "873568117" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "664470940" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "465262783" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "605652874" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "376803940" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "965247040" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "598474509" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "845119918" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "648159133" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "669051032" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "800600261" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "434689764" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "520060080" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "804659385" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "537828058" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "716600292" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "387020273" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "199375617" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "680337189" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "818479931" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "893693281" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "87377802" - span: lo: 0 hi: 10 - Literal: - U8: + Integer: + - U8 - "84699261" - span: lo: 0 hi: 10 - Literal: - U8: + Integer: + - U8 - "292826090" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "569171405" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "387436237" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "150682190" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "888770419" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "824696431" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "765659803" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "270163693" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "427940240" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "504997332" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "337808338" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "907200008" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "757177889" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "696697188" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "41376051" - span: lo: 0 hi: 10 - Literal: - U8: + Integer: + - U8 - "496293518" - span: lo: 0 hi: 11 - Literal: - U8: + Integer: + - U8 - "251218820" - span: lo: 0 diff --git a/tests/expectations/parser/expression/unary/neg.out b/tests/expectations/parser/expression/unary/neg.out index fc6fcf5448..d601da4c66 100644 --- a/tests/expectations/parser/expression/unary/neg.out +++ b/tests/expectations/parser/expression/unary/neg.out @@ -49,13 +49,15 @@ outputs: lo: 0 hi: 3 - Literal: - I8: + Integer: + - I8 - "-5" - span: lo: 0 hi: 4 - Literal: - I8: + Integer: + - I8 - "-128" - span: lo: 0 @@ -63,7 +65,8 @@ outputs: - Unary: receiver: Literal: - I8: + Integer: + - I8 - "128" - span: lo: 2 diff --git a/tests/expectations/parser/functions/annotated_context.out b/tests/expectations/parser/functions/annotated_context.out index e688312018..dc9796c726 100644 --- a/tests/expectations/parser/functions/annotated_context.out +++ b/tests/expectations/parser/functions/annotated_context.out @@ -15,14 +15,16 @@ outputs: hi: 10 identifier: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 43 @@ -44,14 +46,16 @@ outputs: hi: 59 identifier: "{\"name\":\"g\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 112 diff --git a/tests/expectations/parser/functions/annotated_functions.out b/tests/expectations/parser/functions/annotated_functions.out index 97691673d4..c087230503 100644 --- a/tests/expectations/parser/functions/annotated_functions.out +++ b/tests/expectations/parser/functions/annotated_functions.out @@ -23,7 +23,8 @@ outputs: hi: 16 identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":26,\\\"hi\\\":29}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: [] @@ -41,7 +42,8 @@ outputs: hi: 50 identifier: "{\"name\":\"mint\",\"span\":\"{\\\"lo\\\":60,\\\"hi\\\":64}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: [] @@ -59,7 +61,8 @@ outputs: hi: 82 identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":92,\\\"hi\\\":96}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: [] diff --git a/tests/expectations/parser/functions/const_input.out b/tests/expectations/parser/functions/const_input.out index 73ea99fecc..a39e88c584 100644 --- a/tests/expectations/parser/functions/const_input.out +++ b/tests/expectations/parser/functions/const_input.out @@ -13,11 +13,13 @@ outputs: input: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":19,\\\"hi\\\":20}\"}" mode: Const - type_: U8 + type_: + Integer: U8 span: lo: 19 hi: 20 - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: [] @@ -33,11 +35,13 @@ outputs: input: - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":56,\\\"hi\\\":57}\"}" mode: Const - type_: U64 + type_: + Integer: U64 span: lo: 56 hi: 57 - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: [] diff --git a/tests/expectations/parser/functions/const_param.out b/tests/expectations/parser/functions/const_param.out index a7fcb683a5..8fe78a3c7d 100644 --- a/tests/expectations/parser/functions/const_param.out +++ b/tests/expectations/parser/functions/const_param.out @@ -13,24 +13,28 @@ outputs: input: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" mode: None - type_: U32 + type_: + Integer: U32 span: lo: 13 hi: 14 - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":30,\\\"hi\\\":31}\"}" mode: Const - type_: I32 + type_: + Integer: I32 span: lo: 30 hi: 31 - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 57 @@ -50,24 +54,28 @@ outputs: input: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}" mode: Const - type_: U32 + type_: + Integer: U32 span: lo: 85 hi: 86 - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":93,\\\"hi\\\":94}\"}" mode: None - type_: I32 + type_: + Integer: I32 span: lo: 93 hi: 94 - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 120 diff --git a/tests/expectations/parser/functions/danling_annotations_fail.out b/tests/expectations/parser/functions/danling_annotations_fail.out index d477814b4f..4471cf7911 100644 --- a/tests/expectations/parser/functions/danling_annotations_fail.out +++ b/tests/expectations/parser/functions/danling_annotations_fail.out @@ -15,7 +15,8 @@ outputs: hi: 83 identifier: "{\"name\":\"test\",\"span\":\"{\\\"lo\\\":94,\\\"hi\\\":98}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: [] diff --git a/tests/expectations/parser/functions/empty2.out b/tests/expectations/parser/functions/empty2.out index 5c75c5ba66..d1be42f5f9 100644 --- a/tests/expectations/parser/functions/empty2.out +++ b/tests/expectations/parser/functions/empty2.out @@ -11,7 +11,8 @@ outputs: annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: [] diff --git a/tests/expectations/parser/functions/params.out b/tests/expectations/parser/functions/params.out index 3afe5504a9..d625899a44 100644 --- a/tests/expectations/parser/functions/params.out +++ b/tests/expectations/parser/functions/params.out @@ -13,24 +13,28 @@ outputs: input: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" mode: None - type_: U32 + type_: + Integer: U32 span: lo: 13 hi: 14 - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" mode: None - type_: I32 + type_: + Integer: I32 span: lo: 21 hi: 22 - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 48 diff --git a/tests/expectations/parser/functions/params_return.out b/tests/expectations/parser/functions/params_return.out index 3c457d7ee1..f5eaca7547 100644 --- a/tests/expectations/parser/functions/params_return.out +++ b/tests/expectations/parser/functions/params_return.out @@ -13,24 +13,28 @@ outputs: input: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" mode: None - type_: U32 + type_: + Integer: U32 span: lo: 13 hi: 14 - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}" mode: None - type_: I32 + type_: + Integer: I32 span: lo: 21 hi: 22 - output: U32 + output: + Integer: U32 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 49 diff --git a/tests/expectations/parser/functions/public_param.out b/tests/expectations/parser/functions/public_param.out index 67597a6272..dc1631944c 100644 --- a/tests/expectations/parser/functions/public_param.out +++ b/tests/expectations/parser/functions/public_param.out @@ -13,24 +13,28 @@ outputs: input: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}" mode: None - type_: U32 + type_: + Integer: U32 span: lo: 13 hi: 14 - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}" mode: Public - type_: I32 + type_: + Integer: I32 span: lo: 28 hi: 29 - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 55 @@ -50,24 +54,28 @@ outputs: input: - identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":81,\\\"hi\\\":82}\"}" mode: Public - type_: U32 + type_: + Integer: U32 span: lo: 81 hi: 82 - identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}" mode: None - type_: I32 + type_: + Integer: I32 span: lo: 89 hi: 90 - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 116 diff --git a/tests/expectations/parser/functions/return.out b/tests/expectations/parser/functions/return.out index 31736d3e0e..f43374c19a 100644 --- a/tests/expectations/parser/functions/return.out +++ b/tests/expectations/parser/functions/return.out @@ -11,14 +11,16 @@ outputs: annotations: [] identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}" input: [] - output: U32 + output: + Integer: U32 core_mapping: ~ block: statements: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 35 diff --git a/tests/expectations/parser/inputs/input_const.out b/tests/expectations/parser/inputs/input_const.out index 9cde03ff64..7e3adb68a3 100644 --- a/tests/expectations/parser/inputs/input_const.out +++ b/tests/expectations/parser/inputs/input_const.out @@ -19,11 +19,13 @@ outputs: lo: 18 hi: 22 - mode: Const - type_: U8 + type_: + Integer: U8 name: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}" value: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 49 @@ -83,11 +85,13 @@ outputs: lo: 118 hi: 125 - mode: Const - type_: I8 + type_: + Integer: I8 name: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":199,\\\"hi\\\":200}\"}" value: Literal: - I8: + Integer: + - I8 - "-2" - span: lo: 210 @@ -114,11 +118,13 @@ outputs: lo: 233 hi: 237 - mode: None - type_: U8 + type_: + Integer: U8 name: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":247,\\\"hi\\\":249}\"}" value: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 259 @@ -178,11 +184,13 @@ outputs: lo: 313 hi: 320 - mode: None - type_: I8 + type_: + Integer: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":388,\\\"hi\\\":390}\"}" value: Literal: - I8: + Integer: + - I8 - "-1" - span: lo: 397 diff --git a/tests/expectations/parser/inputs/input_constant.out b/tests/expectations/parser/inputs/input_constant.out index ded04d93cc..1722335e47 100644 --- a/tests/expectations/parser/inputs/input_constant.out +++ b/tests/expectations/parser/inputs/input_constant.out @@ -19,11 +19,13 @@ outputs: lo: 21 hi: 25 - mode: Const - type_: U8 + type_: + Integer: U8 name: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}" value: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 55 @@ -83,11 +85,13 @@ outputs: lo: 133 hi: 140 - mode: Const - type_: I8 + type_: + Integer: I8 name: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":217,\\\"hi\\\":218}\"}" value: Literal: - I8: + Integer: + - I8 - "-2" - span: lo: 228 @@ -114,11 +118,13 @@ outputs: lo: 251 hi: 255 - mode: None - type_: U8 + type_: + Integer: U8 name: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":265,\\\"hi\\\":267}\"}" value: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 277 @@ -178,11 +184,13 @@ outputs: lo: 331 hi: 338 - mode: None - type_: I8 + type_: + Integer: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":406,\\\"hi\\\":408}\"}" value: Literal: - I8: + Integer: + - I8 - "-1" - span: lo: 415 diff --git a/tests/expectations/parser/inputs/input_public.out b/tests/expectations/parser/inputs/input_public.out index 33eea2b888..341286a657 100644 --- a/tests/expectations/parser/inputs/input_public.out +++ b/tests/expectations/parser/inputs/input_public.out @@ -19,11 +19,13 @@ outputs: lo: 19 hi: 23 - mode: Public - type_: U8 + type_: + Integer: U8 name: "{\"name\":\"b\",\"span\":\"{\\\"lo\\\":57,\\\"hi\\\":58}\"}" value: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 68 @@ -83,11 +85,13 @@ outputs: lo: 190 hi: 197 - mode: Public - type_: I8 + type_: + Integer: I8 name: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":272,\\\"hi\\\":273}\"}" value: Literal: - I8: + Integer: + - I8 - "-2" - span: lo: 283 @@ -114,11 +118,13 @@ outputs: lo: 306 hi: 310 - mode: None - type_: U8 + type_: + Integer: U8 name: "{\"name\":\"r1\",\"span\":\"{\\\"lo\\\":337,\\\"hi\\\":339}\"}" value: Literal: - U8: + Integer: + - U8 - "2" - span: lo: 349 @@ -178,11 +184,13 @@ outputs: lo: 453 hi: 460 - mode: None - type_: I8 + type_: + Integer: I8 name: "{\"name\":\"r4\",\"span\":\"{\\\"lo\\\":528,\\\"hi\\\":530}\"}" value: Literal: - I8: + Integer: + - I8 - "-1" - span: lo: 537 diff --git a/tests/expectations/parser/serialize/one_plus_one.out b/tests/expectations/parser/serialize/one_plus_one.out index c8742bbc5a..0bf0c45f17 100644 --- a/tests/expectations/parser/serialize/one_plus_one.out +++ b/tests/expectations/parser/serialize/one_plus_one.out @@ -11,7 +11,8 @@ outputs: annotations: [] identifier: "{\"name\":\"main\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":15}\"}" input: [] - output: U8 + output: + Integer: U8 core_mapping: ~ block: statements: @@ -20,9 +21,13 @@ outputs: Binary: left: Literal: - U8: "1" + Integer: + - U8 + - "1" right: Literal: - U8: "1" + Integer: + - U8 + - "1" op: Add circuits: {} diff --git a/tests/expectations/parser/statement/block.out b/tests/expectations/parser/statement/block.out index cef6defe29..732c8d6833 100644 --- a/tests/expectations/parser/statement/block.out +++ b/tests/expectations/parser/statement/block.out @@ -12,7 +12,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 9 @@ -40,7 +41,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 11 @@ -64,7 +66,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 16 diff --git a/tests/expectations/parser/statement/conditional.out b/tests/expectations/parser/statement/conditional.out index bd6e2b982d..286acfb3a6 100644 --- a/tests/expectations/parser/statement/conditional.out +++ b/tests/expectations/parser/statement/conditional.out @@ -10,7 +10,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 14 @@ -33,7 +34,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 16 @@ -126,7 +128,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 16 diff --git a/tests/expectations/parser/statement/definition.out b/tests/expectations/parser/statement/definition.out index 8d87c528ca..afac36bf29 100644 --- a/tests/expectations/parser/statement/definition.out +++ b/tests/expectations/parser/statement/definition.out @@ -5,7 +5,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -14,7 +15,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U16 + type_: + Integer: U16 value: Binary: left: @@ -31,7 +33,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Call: function: @@ -55,7 +58,8 @@ outputs: - Definition: declaration_type: Const variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - type_: I8 + type_: + Integer: I8 value: Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":18}\"}" span: @@ -64,7 +68,8 @@ outputs: - Definition: declaration_type: Const variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - type_: I16 + type_: + Integer: I16 value: Binary: left: @@ -81,7 +86,8 @@ outputs: - Definition: declaration_type: Const variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - type_: I8 + type_: + Integer: I8 value: Call: function: @@ -105,7 +111,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U32 + type_: + Integer: U32 value: Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":17}\"}" span: @@ -114,7 +121,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U32 + type_: + Integer: U32 value: Binary: left: @@ -131,7 +139,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U32 + type_: + Integer: U32 value: Call: function: @@ -146,7 +155,8 @@ outputs: - Definition: declaration_type: Const variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - type_: U32 + type_: + Integer: U32 value: Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":19}\"}" span: @@ -155,7 +165,8 @@ outputs: - Definition: declaration_type: Const variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - type_: U32 + type_: + Integer: U32 value: Binary: left: @@ -172,7 +183,8 @@ outputs: - Definition: declaration_type: Const variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}" - type_: U32 + type_: + Integer: U32 value: Call: function: diff --git a/tests/expectations/parser/statement/iteration.out b/tests/expectations/parser/statement/iteration.out index 404942821b..2e246fd07e 100644 --- a/tests/expectations/parser/statement/iteration.out +++ b/tests/expectations/parser/statement/iteration.out @@ -4,17 +4,20 @@ expectation: Pass outputs: - Iteration: variable: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 start: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 13 hi: 16 stop: Literal: - U8: + Integer: + - U8 - "7" - span: lo: 18 @@ -30,17 +33,20 @@ outputs: hi: 24 - Iteration: variable: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: I64 + type_: + Integer: I64 start: Literal: - I64: + Integer: + - I64 - "0" - span: lo: 14 hi: 18 stop: Literal: - I64: + Integer: + - I64 - "7" - span: lo: 20 @@ -51,7 +57,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 34 @@ -77,7 +84,8 @@ outputs: hi: 22 stop: Literal: - U8: + Integer: + - U8 - "99" - span: lo: 24 @@ -88,7 +96,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 38 @@ -107,7 +116,8 @@ outputs: type_: Boolean start: Literal: - U8: + Integer: + - U8 - "0" - span: lo: 15 @@ -120,7 +130,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "1" - span: lo: 34 diff --git a/tests/expectations/parser/statement/return.out b/tests/expectations/parser/statement/return.out index 9b608bd054..3c5d92787f 100644 --- a/tests/expectations/parser/statement/return.out +++ b/tests/expectations/parser/statement/return.out @@ -11,7 +11,8 @@ outputs: - Return: expression: Literal: - U8: + Integer: + - U8 - "5" - span: lo: 7 diff --git a/tests/expectations/parser/unreachable/math_op_pass.out b/tests/expectations/parser/unreachable/math_op_pass.out index 1347044e70..41a3c21178 100644 --- a/tests/expectations/parser/unreachable/math_op_pass.out +++ b/tests/expectations/parser/unreachable/math_op_pass.out @@ -5,7 +5,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Binary: left: @@ -22,7 +23,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Binary: left: @@ -39,7 +41,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Binary: left: @@ -56,7 +59,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Binary: left: @@ -73,7 +77,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Binary: left: @@ -90,7 +95,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Binary: left: @@ -107,7 +113,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Binary: left: diff --git a/tests/expectations/parser/unreachable/postfix_pass.out b/tests/expectations/parser/unreachable/postfix_pass.out index 74b006212c..6765dc0c08 100644 --- a/tests/expectations/parser/unreachable/postfix_pass.out +++ b/tests/expectations/parser/unreachable/postfix_pass.out @@ -5,7 +5,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aimport\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":19}\"}" span: @@ -14,7 +15,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"a_\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":14}\"}" span: @@ -23,7 +25,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aas\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" span: @@ -32,7 +35,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aconsole\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":20}\"}" span: @@ -41,7 +45,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aconst\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":18}\"}" span: @@ -50,7 +55,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"alet\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -59,7 +65,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"afor\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -68,7 +75,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aif\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" span: @@ -77,7 +85,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aelse\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" span: @@ -86,7 +95,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"ai8\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" span: @@ -95,7 +105,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"ai16\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -104,7 +115,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"ai32\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -113,7 +125,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"ai64\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -122,7 +135,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"ai128\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" span: @@ -131,7 +145,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"au8\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":15}\"}" span: @@ -140,7 +155,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"au16\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -149,7 +165,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"au32\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -158,7 +175,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"au64\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}" span: @@ -167,7 +185,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"au128\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" span: @@ -176,7 +195,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"areturn\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":19}\"}" span: @@ -185,7 +205,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aself\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" span: @@ -194,7 +215,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"aSelf\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" span: @@ -203,7 +225,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"atrue\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":17}\"}" span: @@ -212,7 +235,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"afalse\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":18}\"}" span: @@ -221,7 +245,8 @@ outputs: - Definition: declaration_type: Let variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}" - type_: U8 + type_: + Integer: U8 value: Identifier: "{\"name\":\"a0\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":14}\"}" span: From 566d23915320379fdeedd2eb14f774ae7bf40fe9 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Wed, 10 Aug 2022 09:27:50 -0700 Subject: [PATCH 11/16] Fix some tests --- tests/compiler/integers/i128/negate_min_fail.leo | 5 ++--- tests/compiler/integers/i16/negate_min_fail.leo | 5 ++--- tests/compiler/integers/i32/negate_min_fail.leo | 5 ++--- tests/compiler/integers/i64/negate_min_fail.leo | 5 ++--- tests/compiler/integers/i8/negate_min_fail.leo | 5 ++--- .../compiler/integers/i128/negate_min_fail.out | 8 ++++---- .../compiler/integers/i16/negate_min_fail.out | 8 ++++---- .../compiler/integers/i32/negate_min_fail.out | 8 ++++---- .../compiler/integers/i64/negate_min_fail.out | 8 ++++---- .../expectations/compiler/integers/i8/negate_min_fail.out | 8 ++++---- 10 files changed, 30 insertions(+), 35 deletions(-) diff --git a/tests/compiler/integers/i128/negate_min_fail.leo b/tests/compiler/integers/i128/negate_min_fail.leo index 1f5d5ed74c..7a6039d462 100644 --- a/tests/compiler/integers/i128/negate_min_fail.leo +++ b/tests/compiler/integers/i128/negate_min_fail.leo @@ -8,8 +8,7 @@ input_file: ../inputs/dummy.in @program function main(y: bool) -> i128 { - let a: i128 = -170141183460469231731687303715884105727i128; - let b: i128 = a - 1i128; + let a: i128 = -170141183460469231731687303715884105728i128; - return -b; // This line attempts to return 170141183460469231731687303715884105728i128 however, the largest i128 value is 170141183460469231731687303715884105727i128. + return -a; // This line attempts to return 170141183460469231731687303715884105728i128 however, the largest i128 value is 170141183460469231731687303715884105727i128. } diff --git a/tests/compiler/integers/i16/negate_min_fail.leo b/tests/compiler/integers/i16/negate_min_fail.leo index 07215ece6b..07d74bd73d 100644 --- a/tests/compiler/integers/i16/negate_min_fail.leo +++ b/tests/compiler/integers/i16/negate_min_fail.leo @@ -8,8 +8,7 @@ input_file: ../inputs/dummy.in @program function main(y: bool) -> i16 { - let a: i16 = -32767i16; - let b: i16 = a - 1i16; + let a: i16 = -32768i16; - return -b; // This line attempts to return 32768i16 however, the largest i16 value is 32767i16. + return -a; // This line attempts to return 32768i16 however, the largest i16 value is 32767i16. } diff --git a/tests/compiler/integers/i32/negate_min_fail.leo b/tests/compiler/integers/i32/negate_min_fail.leo index 48c79b3c6a..ea663d3831 100644 --- a/tests/compiler/integers/i32/negate_min_fail.leo +++ b/tests/compiler/integers/i32/negate_min_fail.leo @@ -8,8 +8,7 @@ input_file: ../inputs/dummy.in @program function main(y: bool) -> i32 { - let a: i32 = -2147483647i32; - let b: i32 = a - 1i32; + let a: i32 = -2147483648i32; - return -b; // This line attempts to return 2147483648i32 however, the largest i32 value is 2147483647i32. + return -a; // This line attempts to return 2147483648i32 however, the largest i32 value is 2147483647i32. } diff --git a/tests/compiler/integers/i64/negate_min_fail.leo b/tests/compiler/integers/i64/negate_min_fail.leo index 1ea7c0189f..98b936056e 100644 --- a/tests/compiler/integers/i64/negate_min_fail.leo +++ b/tests/compiler/integers/i64/negate_min_fail.leo @@ -8,8 +8,7 @@ input_file: ../inputs/dummy.in @program function main(y: bool) -> i64 { - let a: i64 = -9223372036854775807i64; - let b: i64 = a - 1i64; + let a: i64 = -9223372036854775808i64; - return -b; // This line attempts to return 9223372036854775808i64 however, the largest i64 value is 9223372036854775807i64. + return -a; // This line attempts to return 9223372036854775808i64 however, the largest i64 value is 9223372036854775807i64. } diff --git a/tests/compiler/integers/i8/negate_min_fail.leo b/tests/compiler/integers/i8/negate_min_fail.leo index 8db789fcef..58e3e79e46 100644 --- a/tests/compiler/integers/i8/negate_min_fail.leo +++ b/tests/compiler/integers/i8/negate_min_fail.leo @@ -8,8 +8,7 @@ input_file: ../inputs/dummy.in @program function main(y: bool) -> i8 { - let a: i8 = -127i8; - let b: i8 = a - 1i8; + let a: i8 = -128i8; - return -b; // This line attempts to return 128i8 however, the largest i8 value is 127i8. + return -a; // This line attempts to return 128i8 however, the largest i8 value is 127i8. } diff --git a/tests/expectations/compiler/integers/i128/negate_min_fail.out b/tests/expectations/compiler/integers/i128/negate_min_fail.out index df2e5ea92c..6f389f0d1d 100644 --- a/tests/expectations/compiler/integers/i128/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i128/negate_min_fail.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: cc445b61155a660fbbd967b7736f50f07a9f5a139143a7f486b80eca2aaa29f2 - initial_ast: 805299a00fb71e9fb1d001b4a9706e58965a8aeb3189b269021e1d28d4aa4039 - unrolled_ast: 805299a00fb71e9fb1d001b4a9706e58965a8aeb3189b269021e1d28d4aa4039 - ssa_ast: 84c94b86325af97e2fc4e2ba2fd959e2ecaa4500249935d1e08b074a588a8e40 + - initial_input_ast: bebb28a7f8a3f608d135f8e25ddff07a36e01448741c59b662c8d6f98a7f302c + initial_ast: 274c41a99717c990553f9f21404ef3fa78a992e81d8db0b9c866be2b1365add9 + unrolled_ast: 274c41a99717c990553f9f21404ef3fa78a992e81d8db0b9c866be2b1365add9 + ssa_ast: ae4a25d296a61714c14209db27c3e9da80c3f9af2b5f0bba0a3cfadf6f8c82cc diff --git a/tests/expectations/compiler/integers/i16/negate_min_fail.out b/tests/expectations/compiler/integers/i16/negate_min_fail.out index d5a169c384..dec431bf45 100644 --- a/tests/expectations/compiler/integers/i16/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i16/negate_min_fail.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 6b4cdfe5abc1c4ee9ebc7c514658f87e6c179a03a18a7d9249849c1fdff20e39 - initial_ast: 0440d94eecc9c17b787fe02d2adce7e59ec555b3757abccb69d052fa9c45366a - unrolled_ast: 0440d94eecc9c17b787fe02d2adce7e59ec555b3757abccb69d052fa9c45366a - ssa_ast: 0e509b5959c4db25344bdc086628e149390fdb2640cd369362ff838469c866be + - initial_input_ast: 7d7d24b1f2f5007157bd3955352c5c5a27447c23c7c5c9d0760aaddec8de6c6b + initial_ast: 3dfddcf4607fa1b360809fc8a8ad1e20903f5d22fe4c74d89abfa25a949ffd33 + unrolled_ast: 3dfddcf4607fa1b360809fc8a8ad1e20903f5d22fe4c74d89abfa25a949ffd33 + ssa_ast: ab32ff2e18e2eeb5274738fad98678896bd5a6d152868a5e9cf805bb51a16b34 diff --git a/tests/expectations/compiler/integers/i32/negate_min_fail.out b/tests/expectations/compiler/integers/i32/negate_min_fail.out index e5876222c6..2edc40465d 100644 --- a/tests/expectations/compiler/integers/i32/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i32/negate_min_fail.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 3ca155c33debfdfb0192a7bddb387e5e7fafeeaf31f0ef5089be2352d74faed3 - initial_ast: 363b5086541a48fb6f45600281a01b2b29ebd11364eb7bd7f99df619c4335ae4 - unrolled_ast: 363b5086541a48fb6f45600281a01b2b29ebd11364eb7bd7f99df619c4335ae4 - ssa_ast: 6dfca0c27bda52e7578da2abd3f209ad58769d1087f0ef6c0bcb0fe8395f9185 + - initial_input_ast: 83b4ce2489e23f80e3cfbcecbde6664a9c98966c4b0ceff53c41d4ac9f1aa5d4 + initial_ast: 0c959c2e3f8e965b48b144c8a907f737dfc7b2fc6123ff45452885eda7dd5569 + unrolled_ast: 0c959c2e3f8e965b48b144c8a907f737dfc7b2fc6123ff45452885eda7dd5569 + ssa_ast: 4480e8d0d649d5c404fa4a2aaeec95c3ed4250f4ad3a6300cf156740334d9b55 diff --git a/tests/expectations/compiler/integers/i64/negate_min_fail.out b/tests/expectations/compiler/integers/i64/negate_min_fail.out index aa11612fa0..83b31bd913 100644 --- a/tests/expectations/compiler/integers/i64/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i64/negate_min_fail.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: b92bed9f53de41035d8001d9f8be4a5631049b47066b2d71de4c461f7f2a464d - initial_ast: 0cc342cea14752ac6e0a311fb66df84fa36e3f2a58dc7f9947a69aed91dfc410 - unrolled_ast: 0cc342cea14752ac6e0a311fb66df84fa36e3f2a58dc7f9947a69aed91dfc410 - ssa_ast: 1669ebc39317a0782b40b3b6fc21b48f1e8b3d0e5363eeeb12df66a21fb45372 + - initial_input_ast: 3ca155c33debfdfb0192a7bddb387e5e7fafeeaf31f0ef5089be2352d74faed3 + initial_ast: 66ea25d2b8cb34ebbfa4e2cb29c0a2b24c4a2ecc2c0c196187cc5d152ea0f497 + unrolled_ast: 66ea25d2b8cb34ebbfa4e2cb29c0a2b24c4a2ecc2c0c196187cc5d152ea0f497 + ssa_ast: 76ba17718a3480dce449628c113c5d2d6267b47b133197353b3a8aa039d1a19c diff --git a/tests/expectations/compiler/integers/i8/negate_min_fail.out b/tests/expectations/compiler/integers/i8/negate_min_fail.out index 1afe34e405..2c974ef346 100644 --- a/tests/expectations/compiler/integers/i8/negate_min_fail.out +++ b/tests/expectations/compiler/integers/i8/negate_min_fail.out @@ -3,7 +3,7 @@ namespace: Compile expectation: Pass outputs: - output: - - initial_input_ast: 53570f9b01fe828f720945ab561a01e4c514f52cec152aa4b458f1f0da94bcd2 - initial_ast: da5ed5d49f447486e6ddb77ccf04513ca4bf3294a908756a820f7f06fdadbe61 - unrolled_ast: da5ed5d49f447486e6ddb77ccf04513ca4bf3294a908756a820f7f06fdadbe61 - ssa_ast: 4040cbed0e5f812353e3481b44ef8b51b597790856a8a611e9c7dba27352ccb0 + - initial_input_ast: c206fdfeceed348568d29f8eac48d60fb03306f23294b6b7a88d873cea5becdd + initial_ast: 4f5793ec5e9217775d74b734c81a425380b1e9f2fcd6a5f1e4f5d1966b2247f1 + unrolled_ast: 4f5793ec5e9217775d74b734c81a425380b1e9f2fcd6a5f1e4f5d1966b2247f1 + ssa_ast: 48a982de96518499fb7c4b06b61a1c41528c2762b1dadb818e862d1a823d3ba5 From a69954b64a5d05ff6eefc3397c9f5220b5fdfc03 Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Thu, 11 Aug 2022 00:36:22 -0700 Subject: [PATCH 12/16] Add tests for undefined types --- .../compiler/circuits/unknown_member_type_fail.leo | 14 ++++++++++++++ .../function/unknown_parameter_type_fail.leo | 14 ++++++++++++++ .../statements/unknown_type_in_definition_fail.leo | 11 +++++++++++ .../compiler/circuits/unknown_member_type_fail.out | 5 +++++ .../function/unknown_parameter_type_fail.out | 5 +++++ .../statements/unknown_type_in_definition_fail.out | 5 +++++ 6 files changed, 54 insertions(+) create mode 100644 tests/compiler/circuits/unknown_member_type_fail.leo create mode 100644 tests/compiler/function/unknown_parameter_type_fail.leo create mode 100644 tests/compiler/statements/unknown_type_in_definition_fail.leo create mode 100644 tests/expectations/compiler/circuits/unknown_member_type_fail.out create mode 100644 tests/expectations/compiler/function/unknown_parameter_type_fail.out create mode 100644 tests/expectations/compiler/statements/unknown_type_in_definition_fail.out diff --git a/tests/compiler/circuits/unknown_member_type_fail.leo b/tests/compiler/circuits/unknown_member_type_fail.leo new file mode 100644 index 0000000000..ef47254ce9 --- /dev/null +++ b/tests/compiler/circuits/unknown_member_type_fail.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Fail +*/ + +circuit Foo { + a: u8, + bar: Bar, +} + +@program +function main(a: u8) -> u8 { + return a + 1u8; +} \ No newline at end of file diff --git a/tests/compiler/function/unknown_parameter_type_fail.leo b/tests/compiler/function/unknown_parameter_type_fail.leo new file mode 100644 index 0000000000..5f456b333e --- /dev/null +++ b/tests/compiler/function/unknown_parameter_type_fail.leo @@ -0,0 +1,14 @@ +/* +namespace: Compile +expectation: Fail +*/ + +@program +function main(a: u8, foo: Foo) -> u8 { + return a; +} + +@program +function returns_foo(a: u8) -> Foo { + return a; +} \ No newline at end of file diff --git a/tests/compiler/statements/unknown_type_in_definition_fail.leo b/tests/compiler/statements/unknown_type_in_definition_fail.leo new file mode 100644 index 0000000000..347260f11c --- /dev/null +++ b/tests/compiler/statements/unknown_type_in_definition_fail.leo @@ -0,0 +1,11 @@ +/* +namespace: Compile +expectation: Fail +input_file: inputs/dummy.in +*/ + +@program +function main(k: bool) -> bool { + let b: Foo = 1u8; + return k == true; +} \ No newline at end of file diff --git a/tests/expectations/compiler/circuits/unknown_member_type_fail.out b/tests/expectations/compiler/circuits/unknown_member_type_fail.out new file mode 100644 index 0000000000..620975de68 --- /dev/null +++ b/tests/expectations/compiler/circuits/unknown_member_type_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372017]: The type `Bar` is not found in the current scope.\n --> compiler-test:3:1\n |\n 3 | circuit Foo {\n 4 | a: u8,\n 5 | bar: Bar,\n 6 | }\n | ^\n" diff --git a/tests/expectations/compiler/function/unknown_parameter_type_fail.out b/tests/expectations/compiler/function/unknown_parameter_type_fail.out new file mode 100644 index 0000000000..4ecc9aacd6 --- /dev/null +++ b/tests/expectations/compiler/function/unknown_parameter_type_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:4:22\n |\n 4 | function main(a: u8, foo: Foo) -> u8 {\n | ^^^\nError [ETYC0372003]: Expected type `circuit Foo` but type `u8` was found\n --> compiler-test:9:22\n |\n 9 | function returns_foo(a: u8) -> Foo {\n | ^\nError [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:9:1\n |\n 9 | function returns_foo(a: u8) -> Foo {\n 10 | return a;\n 11 | }\n | ^\n" diff --git a/tests/expectations/compiler/statements/unknown_type_in_definition_fail.out b/tests/expectations/compiler/statements/unknown_type_in_definition_fail.out new file mode 100644 index 0000000000..e7db4e6e49 --- /dev/null +++ b/tests/expectations/compiler/statements/unknown_type_in_definition_fail.out @@ -0,0 +1,5 @@ +--- +namespace: Compile +expectation: Fail +outputs: + - "Error [ETYC0372017]: The type `Foo` is not found in the current scope.\n --> compiler-test:5:2\n |\n 5 | \tlet b: Foo = 1u8;\n | ^^^^^^^^^^^^^^^^\nError [ETYC0372003]: Expected type `circuit Foo` but type `u8` was found\n --> compiler-test:5:15\n |\n 5 | \tlet b: Foo = 1u8;\n | ^^^\n" From 974e93cadf8dbd6e37d1bde74a860105c186542f Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Thu, 11 Aug 2022 00:37:04 -0700 Subject: [PATCH 13/16] Tyc checks that types are defined --- .../src/type_checking/check_expressions.rs | 2 +- .../passes/src/type_checking/check_program.rs | 17 ++++++++++++++++- .../src/type_checking/check_statements.rs | 3 +++ compiler/passes/src/type_checking/checker.rs | 19 +++++++++++++++++++ .../errors/type_checker/type_checker_error.rs | 6 +++--- 5 files changed, 42 insertions(+), 5 deletions(-) diff --git a/compiler/passes/src/type_checking/check_expressions.rs b/compiler/passes/src/type_checking/check_expressions.rs index b7442c1c3a..7d079aff5d 100644 --- a/compiler/passes/src/type_checking/check_expressions.rs +++ b/compiler/passes/src/type_checking/check_expressions.rs @@ -146,7 +146,7 @@ impl<'a> ExpressionVisitor<'a> for TypeChecker<'a> { } } } else { - self.emit_err(TypeCheckerError::invalid_circuit(&access.inner, access.inner.span())); + self.emit_err(TypeCheckerError::undefined_type(&access.inner, access.inner.span())); } } Some(type_) => { diff --git a/compiler/passes/src/type_checking/check_program.rs b/compiler/passes/src/type_checking/check_program.rs index 342da11195..4a3a9b3fd2 100644 --- a/compiler/passes/src/type_checking/check_program.rs +++ b/compiler/passes/src/type_checking/check_program.rs @@ -43,6 +43,8 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { self.has_return = false; self.parent = Some(input.name()); input.input.iter().for_each(|input_var| { + // Check that the type of input parameter is valid. + self.assert_type_is_valid(input_var.span, &input_var.type_); self.assert_not_tuple(input_var.span, &input_var.type_); // If the function is not a program function, then check that the parameters do not have an associated mode. @@ -68,6 +70,10 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { if !self.has_return { self.emit_err(TypeCheckerError::function_has_no_return(input.name(), input.span())); + } else { + // Check that the return type is valid. + // TODO: Span should be just for the return type. + self.assert_type_is_valid(input.span, &input.output); } // Ensure there are no nested tuples in the return type. @@ -88,7 +94,16 @@ impl<'a> ProgramVisitor<'a> for TypeChecker<'a> { fn visit_circuit(&mut self, input: &'a Circuit) { // Check for conflicting circuit/record member names. let mut used = HashSet::new(); - if !input.members.iter().all(|member| used.insert(member.name())) { + if !input + .members + .iter() + .all(|CircuitMember::CircuitVariable(ident, type_)| { + // TODO: Better spans. + // Check that the member types are valid. + self.assert_type_is_valid(input.span, type_); + used.insert(ident.name) + }) + { self.emit_err(if input.is_record { TypeCheckerError::duplicate_record_variable(input.name(), input.span()) } else { diff --git a/compiler/passes/src/type_checking/check_statements.rs b/compiler/passes/src/type_checking/check_statements.rs index 9be5bb3aa7..583bd37446 100644 --- a/compiler/passes/src/type_checking/check_statements.rs +++ b/compiler/passes/src/type_checking/check_statements.rs @@ -61,6 +61,9 @@ impl<'a> StatementVisitor<'a> for TypeChecker<'a> { VariableType::Mut }; + // Check that the type of the definition is valid. + self.assert_type_is_valid(input.span, &input.type_); + self.visit_expression(&input.value, &Some(input.type_.clone())); if let Err(err) = self.symbol_table.borrow_mut().insert_variable( diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index ae9b71be6e..79166ea721 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -317,6 +317,25 @@ impl<'a> TypeChecker<'a> { self.emit_err(TypeCheckerError::tuple_not_allowed(span)) } } + + /// Emits an error if the type is not valid. + pub(crate) fn assert_type_is_valid(&self, span: Span, type_: &Type) { + match type_ { + // Check that the named composite type has been defined. + Type::Identifier(identifier) => { + if self.symbol_table.borrow().lookup_circuit(identifier.name).is_none() { + self.emit_err(TypeCheckerError::undefined_type(identifier.name, span)); + } + } + // Check that the constituent types are valid. + Type::Tuple(tuple_type) => { + for type_ in tuple_type.iter() { + self.assert_type_is_valid(span, type_) + } + } + _ => {} // Do nothing. + } + } } fn types_to_string(types: &[Type]) -> String { diff --git a/errors/src/errors/type_checker/type_checker_error.rs b/errors/src/errors/type_checker/type_checker_error.rs index 0e93e66c4b..394d2ca0f2 100644 --- a/errors/src/errors/type_checker/type_checker_error.rs +++ b/errors/src/errors/type_checker/type_checker_error.rs @@ -193,10 +193,10 @@ create_messages!( /// Attempted to access an invalid circuit. @formatted - invalid_circuit { - args: (circuit: impl Display), + undefined_type { + args: (type_: impl Display), msg: format!( - "Circuit {circuit} is not found in the current scope." + "The type `{type_}` is not found in the current scope." ), help: None, } From 1009c3fd4dfd85e847b5e4e5ef8c8e9d3845c3ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 11 Aug 2022 10:19:08 +0000 Subject: [PATCH 14/16] Bump anyhow from 1.0.60 to 1.0.61 Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.60 to 1.0.61. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.60...1.0.61) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a5a4dc8014..c24b56025d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -160,9 +160,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.60" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c794e162a5eff65c72ef524dfe393eb923c354e350bb78b9c7383df13f3bc142" +checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8" [[package]] name = "arrayref" From 67f989065324ef3d17de6836062f1edbc6f5196d Mon Sep 17 00:00:00 2001 From: Pranav Gaddamadugu Date: Thu, 11 Aug 2022 07:50:10 -0700 Subject: [PATCH 15/16] Address feedback --- compiler/passes/src/type_checking/checker.rs | 6 ++---- tests/compiler/circuits/unknown_member_type_fail.leo | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/compiler/passes/src/type_checking/checker.rs b/compiler/passes/src/type_checking/checker.rs index 79166ea721..e7bdfebd8f 100644 --- a/compiler/passes/src/type_checking/checker.rs +++ b/compiler/passes/src/type_checking/checker.rs @@ -322,10 +322,8 @@ impl<'a> TypeChecker<'a> { pub(crate) fn assert_type_is_valid(&self, span: Span, type_: &Type) { match type_ { // Check that the named composite type has been defined. - Type::Identifier(identifier) => { - if self.symbol_table.borrow().lookup_circuit(identifier.name).is_none() { - self.emit_err(TypeCheckerError::undefined_type(identifier.name, span)); - } + Type::Identifier(identifier) if self.symbol_table.borrow().lookup_circuit(identifier.name).is_none() => { + self.emit_err(TypeCheckerError::undefined_type(identifier.name, span)); } // Check that the constituent types are valid. Type::Tuple(tuple_type) => { diff --git a/tests/compiler/circuits/unknown_member_type_fail.leo b/tests/compiler/circuits/unknown_member_type_fail.leo index ef47254ce9..3ae7ea0a4a 100644 --- a/tests/compiler/circuits/unknown_member_type_fail.leo +++ b/tests/compiler/circuits/unknown_member_type_fail.leo @@ -11,4 +11,4 @@ circuit Foo { @program function main(a: u8) -> u8 { return a + 1u8; -} \ No newline at end of file +} From 322fd1ab545ada14fec2d1068a3ec1ca11ca95eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Aug 2022 10:15:19 +0000 Subject: [PATCH 16/16] Bump clap from 3.2.16 to 3.2.17 Bumps [clap](https://github.com/clap-rs/clap) from 3.2.16 to 3.2.17. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/v3.2.17/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/v3.2.16...v3.2.17) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c24b56025d..b36bd45f0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -74,7 +74,7 @@ version = "0.2.0" source = "git+https://github.com/AleoHQ/aleo.git?rev=4064f1c#4064f1cfbc612cdea8f5bcb8781453b3697abd27" dependencies = [ "anyhow", - "clap 3.2.16", + "clap 3.2.17", "colored", "rand", "rand_chacha", @@ -390,9 +390,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.16" +version = "3.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3dbbb6653e7c55cc8595ad3e1f7be8f32aba4eb7ff7f0fd1163d4f3d137c0a9" +checksum = "29e724a68d9319343bb3328c9cc2dfde263f4b3142ee1059a9980580171c954b" dependencies = [ "atty", "bitflags", @@ -407,9 +407,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.2.15" +version = "3.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba52acd3b0a5c33aeada5cdaa3267cdc7c594a98731d4268cdc1532f4264cb4" +checksum = "13547f7012c01ab4a0e8f8967730ada8f9fdf419e8b6c792788f39cf4e46eefa" dependencies = [ "heck", "proc-macro-error", @@ -1195,7 +1195,7 @@ dependencies = [ "ansi_term", "assert_cmd", "backtrace", - "clap 3.2.16", + "clap 3.2.17", "color-backtrace", "colored", "console", @@ -1241,7 +1241,7 @@ dependencies = [ name = "leo-parser" version = "1.5.3" dependencies = [ - "clap 3.2.16", + "clap 3.2.17", "indexmap", "lazy_static", "leo-ast", @@ -1285,7 +1285,7 @@ name = "leo-test-framework" version = "1.5.3" dependencies = [ "backtrace", - "clap 3.2.16", + "clap 3.2.17", "criterion", "leo-compiler", "leo-errors", @@ -2281,7 +2281,7 @@ version = "0.7.5" source = "git+https://github.com/AleoHQ/snarkVM.git?rev=22f3aa8#22f3aa8f566e1dfe80070ec4d78a1e55c72427dc" dependencies = [ "anyhow", - "clap 3.2.16", + "clap 3.2.17", "colored", "indexmap", "once_cell",